mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
125 lines
3.8 KiB
Text
125 lines
3.8 KiB
Text
.daggerheart.dialog.dh-style.views.compendium-brower-settings {
|
|
--text-color: light-dark(@dark-blue, @beige);
|
|
color: var(--text-color);
|
|
|
|
.types-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
|
|
.type-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
|
|
> label {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: var(--font-size-16);
|
|
font-family: @font-subtitle;
|
|
font-weight: bold;
|
|
|
|
&::before {
|
|
content: '';
|
|
flex: 1;
|
|
height: 2px;
|
|
background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, light-dark(@dark-blue, @golden) 100%);
|
|
margin-right: 8px;
|
|
}
|
|
&::after {
|
|
content: '';
|
|
flex: 1;
|
|
height: 2px;
|
|
background: linear-gradient(90deg, light-dark(@dark-blue, @golden) 0%, rgba(0, 0, 0, 0) 100%);
|
|
margin-left: 8px;
|
|
}
|
|
}
|
|
|
|
.sources-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
|
|
.source-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
|
|
.source-inner-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
|
|
.source-inner-label-container {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 4px;
|
|
|
|
.source-enable-container {
|
|
width: 148px;
|
|
height: 24px;
|
|
padding: 2px 4px;
|
|
background-color: light-dark(@dark-blue, @golden);
|
|
border-radius: 6px;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
&.locked {
|
|
opacity: 0.4;
|
|
|
|
.source-enable-label {
|
|
left: 74px;
|
|
}
|
|
}
|
|
|
|
.source-enable-label {
|
|
width: 70px;
|
|
border-radius: 6px;
|
|
border: 1px solid light-dark(@dark-blue, @beige-50);
|
|
text-align: center;
|
|
background-color: light-dark(@golden, @beige);
|
|
color: black;
|
|
position: absolute;
|
|
left: 4px;
|
|
transition: left ease-in 0.4s;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.checks-container {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 4px;
|
|
transition: height 0.4s ease-in-out;
|
|
overflow: hidden;
|
|
|
|
&.collapsed {
|
|
height: 0px;
|
|
}
|
|
|
|
&.inner {
|
|
padding-left: 24px;
|
|
}
|
|
|
|
.check-container {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
footer {
|
|
margin-top: 8px;
|
|
display: flex;
|
|
|
|
button {
|
|
flex: 1;
|
|
}
|
|
}
|
|
}
|