Files
l5rx-chiaroscuro/system/styles/scss/twentyquestions.scss

106 lines
2.7 KiB
SCSS

&.twenty-questions-dialog {
.sheet-tabs {
position: fixed;
flex-direction: column;
background: url("../assets/imgs/bg-20nav.webp") no-repeat;
background-size: cover;
width: 5%;
height: 52vw;
margin: 1%;
line-height: 5rem;
padding: 0.25rem;
border-bottom: 0 none;
}
h3 {
font-size: 1rem;
color: $l5r5e-label;
}
nav {
.item {
background-color: $l5r5e-white-light;
&.active,
&:hover {
background-color: rgba(73, 12, 11, 0.85);
--notchSize: 0.5rem;
clip-path: polygon(
0% var(--notchSize),
var(--notchSize) 0%,
calc(100% - var(--notchSize)) 0%,
100% var(--notchSize),
100% calc(100% - var(--notchSize)),
calc(100% - var(--notchSize)) 100%,
var(--notchSize) 100%,
0% calc(100% - var(--notchSize))
);
}
&:hover {
background-color: $l5r5e-label;
}
}
}
article {
padding: 2% 2% 0 18%;
label {
&.full {
display: block;
width: 100%;
line-height: 2rem;
input {
display: inline;
width: 70%;
float: right;
}
}
}
table {
width: 100%;
}
table tr td {
vertical-align: middle;
line-height: 2rem;
border: 1px solid $l5r5e-title;
font-size: 0.85rem;
padding: 0.25rem;
}
.third {
width: 230px;
}
.fifty {
width: 49%;
}
.or {
width: 100px;
}
.dropbox {
min-height: 75px;
}
.errors {
position: sticky;
top: 0px;
left: 0px;
z-index: 999;
display: block;
width: 100%;
background-color: $l5r5e-red;
border: 1px solid $dark-red;
border-radius: 1rem;
text-align: center;
}
.checklist label {
font-size: 0.85rem;
flex: 0 0 auto;
margin: 0 0.25rem 0.25rem;
padding: 0 0.5rem;
color: #5a6e5a;
background: rgba(255, 255, 255, 0.5);
border: 1px solid #5a6e5a;
border-radius: 1rem;
}
.checklist input {
margin: 0.25rem 0 0 0;
height: 0.65rem;
width: 0.65rem;
}
}
}