Files
midgard6-vtt/src/styles/M6.scss
T
2026-10-16 18:05:58 +02:00

257 lines
5.1 KiB
SCSS

:root {
--M6-background-grey: #d3d7d7;
--M6-background-brown: #eedecd;
--M6-background-white: #fdfeff;
--M6-text-grey: #595d5f;
--M6-text-brown: #be7742;
--mask-square: url("src/assets/svg/plain-square.svg");
}
.application {
overflow: visible;
}
.application.sheet.M6.actor.character {
background-color: var(--M6-background-white);
color: var(--M6-text-grey);
section {
.sheet-header {
margin-top: 8px;
img {
position: absolute;
top: 24px;
left: calc(50% - 50px);
background-color: var(--M6-background-white);
&:hover {
cursor: pointer;
}
}
input {
margin-bottom: 4px;
&:focus {
border: none;
}
}
div {
padding: 8px;
background-color: var(--M6-background-grey);
}
}
&.window-content {
backdrop-filter: blur(0rem);
overflow: visible;
min-height: 0;
}
}
input {
background-color: var(--M6-background-white);
color: black;
border-radius: 0;
&.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 {
&.right {
text-align: end;
}
}
}
p {
&.center {
text-align: center;
}
}
fieldset {
background-color: var(--M6-background-grey);
legend {
color: var(--M6-text-brown);
font-size: 24px;
}
gap: 0px;
}
.tabs {
background-color: var(--M6-background-grey);
.sheet-stack {
display: flex;
flex-direction: column;
align-items: center;
color: var(--M6-text-grey);
div {
.container {
position: relative;
text-align: center;
}
&.active {
width: 38px;
height: 36px;
text-shadow: 0 0 10px var(--M6-text-brown);
}
&.background {
position: absolute;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
mask: var(--mask-square) no-repeat center;
background-color: var(--M6-background-grey);
}
&.border {
position: absolute;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
background-color: var(--M6-background-grey);
mask: var(--mask-square) no-repeat center;
}
span {
&.value {
position: relative;
font-family: var(--cosmere-font-header);
font-weight: 600;
color: var(--M6-text-brown);
z-index: 1;
}
}
}
}
border: none;
position: absolute;
flex-direction: column;
align-items: flex-start;
gap: 0.625rem;
left: calc(100% + 3px);
top: 20%;
}
.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[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-white);
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-grey);
legend {
color: var(--M6-text-brown);
font-size: 20px;
}
}
i {
color: var(--M6-text-brown);
}
}
}