Files
midgard6-vtt/M6.css
T
2026-10-16 14:51:36 +02:00

185 lines
3.4 KiB
CSS

:root {
--M6-background-grey: #d3d7d7;
--M6-background-brown: #eedecd;
--M6-background-white: #fdfeff;
--M6-text-grey: #595d5f;
--M6-text-brown: #be7742;
}
.application.sheet.M6 {
background-color: var(--M6-background-grey);
color: var(--M6-text-grey);
section {
.sheet-header {
margin-top: 8px;
img {
position: absolute;
top: 8px;
left: 44%;
background-color: var(--M6-background-grey);
&:hover {
cursor: pointer;
}
}
input {
margin-bottom: 4px;
&:focus {
border: none;
}
}
}
}
input {
background-color: var(--M6-background-white);
color: black;
border-radius: 0;
&.skill {
max-width: 2rem;
text-align: center;
margin-left: 0.5rem;
}
&.attribut {
max-width: 2rem;
text-align: center;
margin: 0 0.5rem;
}
&.text {
&.right {
text-align: end;
}
}
}
p {
&.center {
text-align: center;
}
}
fieldset {
background-color: var(--M6-background-brown);
legend {
color: var(--M6-text-brown);
}
}
.sheet-header {
img {
border-radius: 0 0 50% 50%;
border: solid 16px var(--M6-background-grey);
border-top: none;
flex: 0 0 100px;
object-fit: fill;
}
}
.tab {
height: 100%;
padding-top: 10px;
}
.tab[data-tab="items"] {
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;
}
}
}
.application.dialog {
background-color: var(--M6-background-grey);
color: var(--M6-text-grey);
section {
input {
background-color: var(--M6-background-white);
color: black;
border-radius: 0;
&[type="range"] {
background-color: var(--M6-background-brown);
max-width: 30px;
}
&.skill {
max-width: 2rem;
text-align: center;
margin-left: 0.5rem;
}
&.attribut {
max-width: 2rem;
text-align: center;
margin: 0 0.5rem;
}
&.text {
&.right {
text-align: end;
}
}
}
p {
&.center {
text-align: center;
}
}
fieldset {
background-color: var(--M6-background-brown);
legend {
color: var(--M6-text-brown);
}
}
i {
color: var(--M6-text-brown);
}
}
}