Files
roll20-character-sheets-tester/Knight/scss/files/tabs/heroisme.scss
T

128 lines
3.2 KiB
SCSS

div.tabHeroisme {
@include col(100%, calc((100% / 2) - 5px));
@include col(100%, calc((100% / 3) - 5px), "col3");
justify-content: space-between;
flex-wrap: wrap;
div.col {
margin-bottom:10px;
}
div.cartes {
@include block($clair);
@include titre($white, $sombre);
h1.titre {
display:flex;
}
.repcontainer {
width:100%;
flex-wrap: wrap;
.repitem {
width:100%;
flex-wrap: wrap;
input[type="text"] {
width:100%;
margin: 0px;
padding: 0px;
text-align: center;
height: 28px;
border-bottom: 1px solid $sombre;
border-left: 0px;
border-right: 0px;
border-top: 0px;
}
&:not(:first-of-type) {
border-top: 5px double $sombre;
}
}
}
}
div.capacites {
@include block($clair);
@include titre($white, $sombre);
h1.titre {
display:flex;
}
.repcontainer {
width:100%;
flex-wrap: wrap;
.repitem {
width:100%;
flex-wrap: wrap;
>input[type="text"] {
width:100%;
margin: 0px;
padding: 0px;
text-align: center;
height: 28px;
border-bottom: 1px solid $sombre;
border-left: 0px;
border-right: 0px;
border-top: 0px;
}
label {
display:flex;
width:100%;
justify-content: space-between;
border-bottom:1px solid $sombre;
background:$clair;
span {
width: calc(50% - 2px);
padding-left: 2px;
line-height: 28px;
font-size: 14px;
color: $black;
font-weight: bold;
align-items: center;
}
select,
input[type="text"] {
width:calc(50% - 1px);
height: 28px;
margin: 0px;
padding: 0px;
text-align: center;
border-left: 1px solid $sombre;
border-right: 0px;
border-top: 0px;
border-bottom: 0px;
}
}
&:not(:first-of-type) {
border-top: 5px double $sombre;
}
}
}
}
input[type="hidden"].cartes {
&[value="0"] {
& ~ div div.cartes {
display:none;
}
}
}
input[type="hidden"].capacites {
&[value="0"] {
& ~ div div.capacites {
display:none;
}
}
}
}