Files
roll20-character-sheets-tester/Savage Worlds - Graph Paper/source/styles/_encumbrance.scss
T

77 lines
1.2 KiB
SCSS

.sheet-encumbrance {
display: flex;
text-align: center;
margin: 16px 0 24px;
width: 266px;
.sheet-label {
display: flex;
align-items: center;
justify-content: center;
text-transform: uppercase;
height: 16px;
}
&__container {
width: 48px;
&:not(:last-child) {
margin-right: 8px;
}
&--summary {
width: 98px;
}
}
&__content {
display: flex;
justify-content: center;
align-items: center;
background-color: $c-white;
font-size: $fs-l;
border-radius: 2px;
height: 32px;
overflow: hidden;
box-shadow: $shadow;
span {
user-select: none;
}
input[type=text] {
border-radius: 2px;
&:hover {
background-color: $c-background-hover;
}
&:focus {
background-color: $c-item;
font-size: 16px !important;
font-weight: 700;
height: 100%;
width: 100%;
~ * {
display: none;
}
}
}
&--summary {
flex-direction: row-reverse;
> div {
padding: 0 4px;
}
input[type=text],
span {
font-size: $fs-l;
width: 32px;
}
}
}
}