Files
roll20-character-sheets-tester/Aquablue/scss/files/top.scss
T
2021-06-25 10:13:03 +02:00

192 lines
4.6 KiB
SCSS

div.top {
@include col(100%, calc(50% - 10px));
position:relative;
flex-wrap: wrap;
@include options($blue1, $white);
div.col {
>span {
width:100%;
text-align: center;
color:$blue1;
font-variant: small-caps;
font-weight:bold;
font-size:1.2em;
margin-top:5px;
}
>label {
display:flex;
width:100%;
justify-content: space-between;
align-items:flex-end;
span {
width:max-content;
white-space: nowrap;
margin-right:5px;
color:$blue1;
font-variant: small-caps;
}
input {
width:100%;
min-width:0px;
border-top:0px;
border-right:0px;
border-left:0px;
border-radius:0px;
padding-right:0px;
padding-left:0px;
padding-bottom:0px;
border-bottom:1px dashed $blue1;
}
input[type="number"] {
font-size:16px;
}
&:not(:first-of-type) {
margin-top:5px;
}
}
>label.wMarginRight {
width:calc(100% - 35px);
}
>.autoex {
width:calc(100% - 2px);
border:1px solid $blue1;
}
div.inputWMax {
display: flex;
width: 100%;
justify-content: space-between;
align-items: flex-end;
margin-top:5px;
span {
width:max-content;
white-space: nowrap;
margin-right:5px;
color:$blue1;
font-variant: small-caps;
font-weight:bold;
font-size:1.2em;
}
label:first-of-type {
display:flex;
width:100%;
span {
width:20px;
margin:0px;
display: flex;
justify-content: center;
align-items: flex-end;
}
input {
width:calc(50% - 10px);
min-width:0px;
background:transparent;
border-top:0px;
border-right:0px;
border-left:0px;
border-radius:0px;
padding-right:0px;
padding-left:0px;
padding-bottom:0px;
border-bottom:1px dashed $blue1;
font-size:16px;
}
}
}
@include configStats($blue1, "div.inputWMax", calc(50% + 4px));
}
.repcontainer {
width:100%;
.repitem {
details {
&[open] {
summary > span {
background-image:$retract;
}
}
summary {
display:flex;
width:100%;
justify-content: space-between;
span {
display: flex;
width:22px;
height:22px;
cursor: pointer;
justify-content: center;
align-items: center;
font-size: 22px;
background-image: $extend;
background-size: contain;
}
input {
width:calc(100% - 30px);
margin-left:5px;
padding-right:30px;
padding-bottom:0px;
border-top:0px;
border-left:0px;
border-right:0px;
border-bottom:1px dashed $blue1;
border-radius: 0px;
text-align: center;
}
}
}
.autoex {
width:calc(100% - 2px);
border-bottom:1px solid $blue1;
border-left:1px solid $blue1;
border-right:1px solid $blue1;
}
&:not(:first-of-type) {
margin-top:5px;
}
}
}
}