mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
bugfix: prevent style conflicts between tooltips
This commit is contained in:
parent
1f5d330e06
commit
a486345d47
10 changed files with 16 additions and 15 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
@import '../../utils/colors.less';
|
@import '../../utils/colors.less';
|
||||||
@import '../../utils/fonts.less';
|
@import '../../utils/fonts.less';
|
||||||
|
|
||||||
#tooltip:has(div.daggerheart.dh-style.tooltip),
|
#tooltip:has(div.daggerheart.dh-style.tooltip.card-style),
|
||||||
aside[role='tooltip']:has(div.daggerheart.dh-style.tooltip) {
|
aside[role='tooltip']:has(div.daggerheart.dh-style.tooltip.card-style) {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
|
@ -143,12 +143,12 @@ aside[role='tooltip']:has(div.daggerheart.dh-style.tooltip) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
aside[role='tooltip'].locked-tooltip:has(div.daggerheart.dh-style.tooltip) {
|
aside[role='tooltip'].locked-tooltip:has(div.daggerheart.dh-style.tooltip.card-style) {
|
||||||
box-shadow: 0 0 25px @golden-90;
|
box-shadow: 0 0 25px @golden-90;
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-light #tooltip:has(div.daggerheart.dh-style.tooltip),
|
.theme-light #tooltip:has(div.daggerheart.dh-style.tooltip.card-style),
|
||||||
.theme-light aside[role='tooltip']:has(div.daggerheart.dh-style.tooltip) {
|
.theme-light aside[role='tooltip']:has(div.daggerheart.dh-style.tooltip.card-style) {
|
||||||
background-image: url('../assets/parchments/dh-parchment-light.png');
|
background-image: url('../assets/parchments/dh-parchment-light.png');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -157,7 +157,8 @@ aside[role='tooltip'].locked-tooltip:has(div.daggerheart.dh-style.tooltip) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#tooltip,
|
#tooltip,
|
||||||
.locked-tooltip {
|
.locked-tooltip,
|
||||||
|
.daggerheart.dh-style.tooltip {
|
||||||
&.wide {
|
&.wide {
|
||||||
max-width: 480px;
|
max-width: 480px;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="daggerheart dh-style tooltip">
|
<div class="daggerheart dh-style tooltip card-style">
|
||||||
<h2 class="tooltip-title">{{localize item.name}}</h2>
|
<h2 class="tooltip-title">{{localize item.name}}</h2>
|
||||||
<img class="tooltip-image" src="{{item.img}}" />
|
<img class="tooltip-image" src="{{item.img}}" />
|
||||||
<div class="tooltip-description">{{{description}}}</div>
|
<div class="tooltip-description">{{{description}}}</div>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="daggerheart dh-style tooltip armor">
|
<div class="daggerheart dh-style tooltip armor card-style">
|
||||||
<img class="tooltip-image" src="{{item.img}}" />
|
<img class="tooltip-image" src="{{item.img}}" />
|
||||||
<h2 class="tooltip-title">{{item.name}}</h2>
|
<h2 class="tooltip-title">{{item.name}}</h2>
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="daggerheart dh-style tooltip">
|
<div class="daggerheart dh-style tooltip card-style">
|
||||||
<h2 class="tooltip-title">{{attack.name}}</h2>
|
<h2 class="tooltip-title">{{attack.name}}</h2>
|
||||||
<img class="tooltip-image" src="{{attack.img}}" />
|
<img class="tooltip-image" src="{{attack.img}}" />
|
||||||
<div class="tooltip-description">{{{description}}}</div>
|
<div class="tooltip-description">{{{description}}}</div>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="daggerheart dh-style tooltip">
|
<div class="daggerheart dh-style tooltip card-style">
|
||||||
<img class="tooltip-image" src="{{item.img}}" />
|
<img class="tooltip-image" src="{{item.img}}" />
|
||||||
<h2 class="tooltip-title">{{item.name}}</h2>
|
<h2 class="tooltip-title">{{item.name}}</h2>
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="daggerheart dh-style tooltip domain-card">
|
<div class="daggerheart dh-style tooltip domain-card card-style">
|
||||||
<div class="item-icons-list">
|
<div class="item-icons-list">
|
||||||
<span class="item-icon">
|
<span class="item-icon">
|
||||||
<span class="recall-value">{{item.system.recallCost}}</span>
|
<span class="recall-value">{{item.system.recallCost}}</span>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="daggerheart dh-style tooltip">
|
<div class="daggerheart dh-style tooltip card-style">
|
||||||
<h2 class="tooltip-title">{{item.name}}</h2>
|
<h2 class="tooltip-title">{{item.name}}</h2>
|
||||||
<img class="tooltip-image" src="{{item.img}}" />
|
<img class="tooltip-image" src="{{item.img}}" />
|
||||||
<div class="tooltip-description">{{{description}}}</div>
|
<div class="tooltip-description">{{{description}}}</div>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="daggerheart dh-style tooltip">
|
<div class="daggerheart dh-style tooltip card-style">
|
||||||
<img class="tooltip-image" src="{{item.img}}" />
|
<img class="tooltip-image" src="{{item.img}}" />
|
||||||
<h2 class="tooltip-title">{{item.name}}</h2>
|
<h2 class="tooltip-title">{{item.name}}</h2>
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="daggerheart dh-style tooltip">
|
<div class="daggerheart dh-style tooltip card-style">
|
||||||
<img class="tooltip-image" src="{{item.img}}" />
|
<img class="tooltip-image" src="{{item.img}}" />
|
||||||
<h2 class="tooltip-title">{{item.name}}</h2>
|
<h2 class="tooltip-title">{{item.name}}</h2>
|
||||||
{{#if description}}
|
{{#if description}}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="daggerheart dh-style tooltip weapon">
|
<div class="daggerheart dh-style tooltip weapon card-style">
|
||||||
<img class="tooltip-image" src="{{item.img}}" />
|
<img class="tooltip-image" src="{{item.img}}" />
|
||||||
<h2 class="tooltip-title">{{item.name}}</h2>
|
<h2 class="tooltip-title">{{item.name}}</h2>
|
||||||
<div class="tags">
|
<div class="tags">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue