Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added assets/parchments/dh-parchment-button-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 23 additions & 29 deletions styles/less/global/elements.less
Original file line number Diff line number Diff line change
Expand Up @@ -99,31 +99,25 @@
}

button:where(:not(.plain, color-picker *, file-picker *)) {
background: light-dark(transparent, @golden);
border: 1px solid light-dark(@dark-blue, @dark-blue);
color: light-dark(@dark-blue, @dark-blue);
background: var(--dh-button-background);
border: 1px solid light-dark(@dark-blue, #efe6d850);
color: light-dark(@dark-blue, #efe6d8);
outline: none;
box-shadow: none;
border-radius: 0;

&:hover {
background: light-dark(@light-black, @dark-blue);
color: light-dark(@dark-blue, @golden);
background-color: @golden-40;
background-blend-mode: lighten;
}

&.glow {
animation: glow 0.75s infinite alternate;
}

&:disabled {
background: light-dark(transparent, @golden);
color: light-dark(@dark-blue, @dark-blue);
opacity: 0.6;
cursor: not-allowed;

&:hover {
background: light-dark(transparent, @golden);
color: light-dark(@dark-blue, @dark-blue);
}
}

&.reverted {
Expand Down Expand Up @@ -558,38 +552,31 @@

.item-button {
display: flex;
border: 1px solid light-dark(#18162e, #18162e);
color: light-dark(#18162e, #18162e);
outline: none;
box-shadow: none;
border-radius: 6px;
border-radius: 0;

button {
border-radius: 3px 0px 0px 3px;
color: light-dark(@dark-blue, @dark-blue);
--button-size: 2.25em;
font-size: var(--font-size-12);
font-family: @font-body;
font-weight: 500;
white-space: nowrap;
border: 0;

&:hover {
color: light-dark(@dark-blue, @golden);
&:not(:last-child) {
border-right-width: 0;
}

&:not(:first-child) {
padding: 6px;
background: light-dark(@dark-blue-10, @golden-secondary);
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);
}
border-left-width: 0;
}
}

.spacer {
border-right: 1px solid black;
border-right: 1px solid light-dark(#18162e, #efe6d850);
content: '';
margin-left: -1px;
}
}
}
Expand Down Expand Up @@ -701,6 +688,8 @@
}

.theme-light {
--dh-button-background: transparent;

.application {
&.sheet.dh-style {
button.glow {
Expand All @@ -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 {
position: relative;
border: 2px solid transparent;
Expand Down
32 changes: 11 additions & 21 deletions styles/less/sheets/actors/character/sidebar.less
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
display: flex;
justify-content: space-evenly;
Expand All @@ -106,19 +117,10 @@
height: 40px;

.status-label {
position: relative;
top: 40px;
height: 22px;
width: 79px;
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 {
Expand Down Expand Up @@ -253,12 +255,10 @@

.status-label {
padding: 2px 2px;
position: relative;
top: 30px;
height: 22px;
width: 95px;
border-radius: 3px;
background: light-dark(@dark-blue, @golden);
clip-path: none;
display: flex;
align-items: center;
Expand All @@ -268,10 +268,6 @@
transition: all 0.3s ease;

h4 {
font-weight: bold;
text-align: center;
line-height: 18px;
color: light-dark(@beige, @dark-blue);
font-size: var(--font-size-12);
}

Expand Down Expand Up @@ -494,14 +490,8 @@
padding: 2px 10px;
width: 100%;
border-radius: 3px;
background: light-dark(@dark-blue, @golden);

h4 {
font-weight: bold;
text-align: center;
line-height: 18px;
font-size: var(--font-size-12);
color: light-dark(@beige, @dark-blue);
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions templates/sheets/actors/character/features.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
type='feature'
actorType='character'
collection=category.values
isGlassy=true
canCreate=@root.editable
showActions=@root.editable
}}
Expand All @@ -17,6 +18,7 @@
type='feature'
actorType='character'
collection=category.values
isGlassy=true
canCreate=false
showActions=@root.editable
}}
Expand Down
Loading