Files
midgard6-vtt/src/styles/M6.scss
T
2026-10-25 17:58:26 +01:00

201 lines
3.6 KiB
SCSS

@import url("flex/bootstrap-grid.css");
@import url("./header.scss");
@import url("./tabs.scss");
@import url("./resistenzen.scss");
@import url("./dialog.scss");
@import url("./items-page.scss");
@import url("./hintergrund.scss");
@import url("./icons.scss");
@import url("./chat-messages.scss");
:root {
--M6-background-grey: #d3d7d7;
--M6-background-brown: #eedecd;
--M6-background-white: #fdfeff;
--M6-text-grey: #595d5f;
--M6-text-brown: #be7742;
}
.inline-roll {
background-color: var(--M6-background-brown);
}
.M6 {
fieldset {
border-radius: 0;
border: none;
background-color: var(--M6-background-grey);
&.highlight {
background-color: var(--M6-background-brown);
}
legend {
color: var(--M6-text-brown);
font-size: 24px;
}
}
h5 {
color: var(--M6-text-grey);
}
i {
font-size: 18px;
text-shadow: 0 0 10px var(--M6-background-white);
}
i:hover {
text-shadow: 0 0 10px var(--M6-background-brown);
}
prose-mirror.active {
background-color: var(--M6-background-white);
}
}
.application {
overflow: visible;
}
.M6 {
background-color: var(--M6-background-white);
color: var(--M6-text-grey);
input {
background-color: var(--M6-background-white);
color: black;
border-radius: 0;
transition: none;
&.skill {
max-width: 2rem;
text-align: center;
margin-left: 0.5rem;
height: 24px;
}
&.attribut {
max-width: 2rem;
text-align: center;
margin: 0 0.5rem;
}
&.text {
&.center {
text-align: center;
}
&.right {
text-align: end;
}
}
}
input:disabled {
border: none;
}
input:focus {
outline: none;
}
select {
background-color: var(--M6-background-white);
color: black;
border-radius: 0;
transition: none;
margin-bottom: 4px;
option:hover {
background-color: var(--M6-background-brown);
}
}
p {
&.center {
text-align: center;
}
&.right {
text-align: end;
}
}
.armor-box {
position: absolute;
margin-left: -8px;
i {
font-size: 20px;
}
}
.armor-value {
position: absolute;
right: 8px;
font-size: 16px;
color: var(--M6-background-white);
}
.sheet-header {
img {
border-radius: 0 0 50% 50%;
border: solid 8px var(--M6-background-grey);
border-top: none;
flex: 0 0 100px;
object-fit: fill;
}
}
.tab {
height: 100%;
padding-top: 10px;
}
.tab {
ul {
list-style: none;
padding-left: 5px;
}
.itemHeader {
border-bottom: 1px solid var(--color-border-light-primary);
.type-label {
font-size: 20px;
}
.document-controls {
flex: 0 0 100px;
}
}
.item {
img {
border: none;
flex: 0 0 30px;
padding-right: 5px;
}
.document-controls {
flex: 0 0 50px;
}
}
}
.tab[data-tab="effects"] {
ul {
list-style: none;
padding-left: 5px;
margin-top: 0;
margin-bottom: 0;
}
.effects-header {
font-size: 16px;
border-bottom: 1px solid var(--color-border-light-primary);
.document-controls {
flex: 0 0 100px;
}
}
.effect {
.effect-label {
img {
border: none;
flex: 0 0 30px;
padding-right: 5px;
}
.effect-name {
line-height: 24px;
}
}
.effect-duration {
flex: 0 0 130px;
}
.document-controls {
flex: 0 0 80px;
}
}
.effect-label {
flex: 2;
}
}
}