mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-06 04:44:16 +02:00
Merge 0fe86115d0 into e529dd0f88
This commit is contained in:
commit
9a16ad0423
4 changed files with 36 additions and 50 deletions
BIN
assets/parchments/dh-parchment-button-dark.png
Normal file
BIN
assets/parchments/dh-parchment-button-dark.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
|
|
@ -99,15 +99,16 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
button:where(:not(.plain, color-picker *, file-picker *)) {
|
button:where(:not(.plain, color-picker *, file-picker *)) {
|
||||||
background: light-dark(transparent, @golden);
|
background: var(--dh-button-background);
|
||||||
border: 1px solid light-dark(@dark-blue, @dark-blue);
|
border: 1px solid light-dark(@dark-blue, #efe6d850);
|
||||||
color: light-dark(@dark-blue, @dark-blue);
|
color: light-dark(@dark-blue, #efe6d8);
|
||||||
outline: none;
|
outline: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
border-radius: 0;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: light-dark(@light-black, @dark-blue);
|
background-color: @golden-40;
|
||||||
color: light-dark(@dark-blue, @golden);
|
background-blend-mode: lighten;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.glow {
|
&.glow {
|
||||||
|
|
@ -115,15 +116,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&:disabled {
|
&:disabled {
|
||||||
background: light-dark(transparent, @golden);
|
|
||||||
color: light-dark(@dark-blue, @dark-blue);
|
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
cursor: not-allowed;
|
cursor: not-allowed;
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background: light-dark(transparent, @golden);
|
|
||||||
color: light-dark(@dark-blue, @dark-blue);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.reverted {
|
&.reverted {
|
||||||
|
|
@ -558,38 +552,31 @@
|
||||||
|
|
||||||
.item-button {
|
.item-button {
|
||||||
display: flex;
|
display: flex;
|
||||||
border: 1px solid light-dark(#18162e, #18162e);
|
|
||||||
color: light-dark(#18162e, #18162e);
|
|
||||||
outline: none;
|
outline: none;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
border-radius: 6px;
|
border-radius: 0;
|
||||||
|
|
||||||
button {
|
button {
|
||||||
border-radius: 3px 0px 0px 3px;
|
--button-size: 2.25em;
|
||||||
color: light-dark(@dark-blue, @dark-blue);
|
font-size: var(--font-size-12);
|
||||||
|
font-family: @font-body;
|
||||||
|
font-weight: 500;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
border: 0;
|
|
||||||
|
|
||||||
&:hover {
|
&:not(:last-child) {
|
||||||
color: light-dark(@dark-blue, @golden);
|
border-right-width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:not(:first-child) {
|
&:not(:first-child) {
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
background: light-dark(@dark-blue-10, @golden-secondary);
|
border-left-width: 0;
|
||||||
border-radius: 0px 3px 3px 0px;
|
|
||||||
color: light-dark(@dark-blue, @dark-golden);
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background: light-dark(@light-black, @dark-blue);
|
|
||||||
color: light-dark(@dark-blue, @golden-secondary);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.spacer {
|
.spacer {
|
||||||
border-right: 1px solid black;
|
border-right: 1px solid light-dark(#18162e, #efe6d850);
|
||||||
content: '';
|
content: '';
|
||||||
|
margin-left: -1px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -701,6 +688,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.theme-light {
|
.theme-light {
|
||||||
|
--dh-button-background: transparent;
|
||||||
|
|
||||||
.application {
|
.application {
|
||||||
&.sheet.dh-style {
|
&.sheet.dh-style {
|
||||||
button.glow {
|
button.glow {
|
||||||
|
|
@ -723,6 +712,11 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.theme-dark .dh-style,
|
||||||
|
.theme-dark.dh-style {
|
||||||
|
--dh-button-background: url('../assets/parchments/dh-parchment-button-dark.png');
|
||||||
|
}
|
||||||
|
|
||||||
.application .component.dh-style.card-preview-container {
|
.application .component.dh-style.card-preview-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
border: 2px solid transparent;
|
border: 2px solid transparent;
|
||||||
|
|
|
||||||
|
|
@ -93,6 +93,17 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.status-label {
|
||||||
|
position: relative;
|
||||||
|
background: light-dark(@dark-blue, @golden);
|
||||||
|
h4 {
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 18px;
|
||||||
|
color: light-dark(@beige, @dark-blue);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.resources-section {
|
.resources-section {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
|
|
@ -106,19 +117,10 @@
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
|
||||||
.status-label {
|
.status-label {
|
||||||
position: relative;
|
|
||||||
top: 40px;
|
top: 40px;
|
||||||
height: 22px;
|
height: 22px;
|
||||||
width: 79px;
|
width: 79px;
|
||||||
clip-path: path('M0 0H79L74 16.5L39 22L4 16.5L0 0Z');
|
clip-path: path('M0 0H79L74 16.5L39 22L4 16.5L0 0Z');
|
||||||
background: light-dark(@dark-blue, @golden);
|
|
||||||
|
|
||||||
h4 {
|
|
||||||
font-weight: bold;
|
|
||||||
text-align: center;
|
|
||||||
line-height: 18px;
|
|
||||||
color: light-dark(@beige, @dark-blue);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.status-value {
|
.status-value {
|
||||||
|
|
@ -253,12 +255,10 @@
|
||||||
|
|
||||||
.status-label {
|
.status-label {
|
||||||
padding: 2px 2px;
|
padding: 2px 2px;
|
||||||
position: relative;
|
|
||||||
top: 30px;
|
top: 30px;
|
||||||
height: 22px;
|
height: 22px;
|
||||||
width: 95px;
|
width: 95px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
background: light-dark(@dark-blue, @golden);
|
|
||||||
clip-path: none;
|
clip-path: none;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
@ -268,10 +268,6 @@
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
font-weight: bold;
|
|
||||||
text-align: center;
|
|
||||||
line-height: 18px;
|
|
||||||
color: light-dark(@beige, @dark-blue);
|
|
||||||
font-size: var(--font-size-12);
|
font-size: var(--font-size-12);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -494,14 +490,8 @@
|
||||||
padding: 2px 10px;
|
padding: 2px 10px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
background: light-dark(@dark-blue, @golden);
|
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
font-weight: bold;
|
|
||||||
text-align: center;
|
|
||||||
line-height: 18px;
|
|
||||||
font-size: var(--font-size-12);
|
font-size: var(--font-size-12);
|
||||||
color: light-dark(@beige, @dark-blue);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@
|
||||||
type='feature'
|
type='feature'
|
||||||
actorType='character'
|
actorType='character'
|
||||||
collection=category.values
|
collection=category.values
|
||||||
|
isGlassy=true
|
||||||
canCreate=@root.editable
|
canCreate=@root.editable
|
||||||
showActions=@root.editable
|
showActions=@root.editable
|
||||||
}}
|
}}
|
||||||
|
|
@ -17,6 +18,7 @@
|
||||||
type='feature'
|
type='feature'
|
||||||
actorType='character'
|
actorType='character'
|
||||||
collection=category.values
|
collection=category.values
|
||||||
|
isGlassy=true
|
||||||
canCreate=false
|
canCreate=false
|
||||||
showActions=@root.editable
|
showActions=@root.editable
|
||||||
}}
|
}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue