Files
lila/ui/bits/css/_search.scss
T
2026-03-05 14:06:05 +01:00

148 lines
2.1 KiB
SCSS

.search {
&__form {
margin-bottom: 2em;
table {
width: 100%;
}
th {
width: 200px;
}
select,
input[type='text'],
input[type='number'],
input[type='date'] {
padding: 0.3em 1em;
width: 100%;
}
input[type='date'] {
padding-right: 0.3em;
}
#dl-button {
width: 100%;
}
td {
padding: 0.4em 0;
text-align: right;
}
input[type='date'] {
@include if-light {
color-scheme: light;
}
}
.two-columns {
@extend %flex-wrap;
gap: 1em;
> * {
@extend %flex-between-nowrap;
flex: 1 150px;
gap: 2ch;
}
}
select {
text-transform: capitalize;
}
.user_row select {
text-transform: none;
}
div.level {
display: inline;
}
span.help {
color: $c-secondary;
text-decoration: underline $c-secondary;
cursor: help;
}
.error {
margin-inline-start: 160px;
color: red;
}
.action {
text-align: center;
}
.wait {
display: none;
}
.button {
display: inline-block;
}
&.searching {
.spinner {
display: inline-block;
vertical-align: middle;
margin-inline-end: 10px;
}
.wait {
display: block;
}
.button {
display: none;
}
}
th.top {
vertical-align: top;
padding-top: 1em;
}
.toggle-columns {
@extend %flex-wrap;
margin: 0.5rem 0;
> * {
width: 100%;
text-align: left;
display: flex;
flex-direction: row;
margin: 0.3rem 0;
@media (min-width: at-least($x-small)) {
width: 50%;
}
}
}
.output {
th,
td {
padding-top: 2rem;
padding-bottom: 1rem;
}
input {
color: $c-font-dim;
}
}
}
&__status {
padding-top: 1.5em;
padding-bottom: 1.5em;
background: $c-bg-zebra;
border: $border;
border-width: 1px 0;
}
}