mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-24 00:13:39 +02:00
Merge branch 'main' into feature/-179-apply-items-filter-in-actors-sheet
This commit is contained in:
commit
09eaa0d771
143 changed files with 5790 additions and 2780 deletions
45
styles/less/global/dialog.less
Normal file
45
styles/less/global/dialog.less
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
@import '../utils/colors.less';
|
||||
@import '../utils/fonts.less';
|
||||
|
||||
.theme-light {
|
||||
.application.dialog.dh-style {
|
||||
background-image: url('../assets/parchments/dh-parchment-light.png');
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
}
|
||||
}
|
||||
|
||||
.theme-dark {
|
||||
.application.dialog.dh-style {
|
||||
background-image: url('../assets/parchments/dh-parchment-dark.png');
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
}
|
||||
}
|
||||
|
||||
.application.dialog.dh-style {
|
||||
border: none;
|
||||
|
||||
.window-header {
|
||||
background: transparent;
|
||||
border-bottom: none;
|
||||
color: light-dark(@dark-blue, @beige);
|
||||
|
||||
h1 {
|
||||
color: light-dark(@dark-blue, @beige);
|
||||
font-family: @font-body;
|
||||
}
|
||||
|
||||
button {
|
||||
color: light-dark(@dark-blue, @beige);
|
||||
background: light-dark(transparent, @deep-black);
|
||||
border: 1px solid light-dark(@dark-blue, transparent);
|
||||
padding: 0;
|
||||
|
||||
&:hover {
|
||||
border: 1px solid light-dark(@dark-blue, @golden);
|
||||
color: light-dark(@dark-blue, @golden);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
@import '../utils/colors.less';
|
||||
@import '../utils/fonts.less';
|
||||
|
||||
.application.sheet.dh-style {
|
||||
.application.dh-style {
|
||||
border: 1px solid light-dark(@dark-blue, @golden);
|
||||
|
||||
input[type='text'],
|
||||
|
|
@ -90,6 +90,7 @@
|
|||
|
||||
a:hover,
|
||||
a.active {
|
||||
font-weight: bold;
|
||||
text-shadow: 0 0 8px light-dark(@dark-blue, @golden);
|
||||
}
|
||||
|
||||
|
|
@ -111,9 +112,25 @@
|
|||
}
|
||||
}
|
||||
|
||||
&.fit-height {
|
||||
height: 95%;
|
||||
}
|
||||
|
||||
&.flex {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
&.wrap {
|
||||
flex-wrap: wrap;
|
||||
gap: 10px 20px;
|
||||
}
|
||||
.inline-child {
|
||||
flex: 1;
|
||||
}
|
||||
.checkbox {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
&.one-column {
|
||||
|
|
@ -160,10 +177,12 @@
|
|||
.nest-inputs {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
width: 100%;
|
||||
label {
|
||||
font-family: @font-body;
|
||||
font-weight: bold;
|
||||
|
|
@ -206,6 +225,8 @@
|
|||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
|
||||
grid-column: 1/-1; //For item descriptions in sheet elements
|
||||
|
||||
transition:
|
||||
opacity 0.3s ease-out,
|
||||
transform 0.3s ease-out;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@import '../utils/colors.less';
|
||||
@import '../utils/fonts.less';
|
||||
|
||||
.application.sheet.daggerheart.actor.dh-style.character {
|
||||
.application.daggerheart.dh-style {
|
||||
.items-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
@import '../utils/colors.less';
|
||||
@import '../utils/fonts.less';
|
||||
|
||||
.application.sheet.daggerheart.actor.dh-style.character {
|
||||
.application.daggerheart.dh-style {
|
||||
.inventory-item {
|
||||
display: grid;
|
||||
grid-template-columns: 40px 1fr 60px;
|
||||
|
|
@ -15,6 +15,10 @@
|
|||
border: none;
|
||||
cursor: pointer;
|
||||
object-fit: cover;
|
||||
|
||||
&.actor-img {
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.item-label {
|
||||
|
|
|
|||
24
styles/less/global/prose-mirror.less
Normal file
24
styles/less/global/prose-mirror.less
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
@import '../utils/colors.less';
|
||||
|
||||
.application {
|
||||
prose-mirror {
|
||||
height: 100% !important;
|
||||
|
||||
.editor-menu {
|
||||
background-color: transparent;
|
||||
}
|
||||
.editor-content {
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
|
||||
h1 {
|
||||
font-size: 36px;
|
||||
}
|
||||
h2 {
|
||||
font-size: 32px;
|
||||
}
|
||||
h3 {
|
||||
font-size: 24px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -18,6 +18,13 @@
|
|||
grid-template-columns: 1fr 4fr 1fr;
|
||||
cursor: pointer;
|
||||
|
||||
img {
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
object-fit: cover;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-family: @font-body;
|
||||
font-weight: lighter;
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
@import '../utils/colors.less';
|
||||
@import '../utils/fonts.less';
|
||||
|
||||
.sheet.daggerheart.dh-style {
|
||||
.daggerheart.dh-style {
|
||||
.tab-navigation {
|
||||
margin: 5px 0;
|
||||
height: 40px;
|
||||
width: 100%;
|
||||
|
||||
.feature-tab {
|
||||
border: none;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue