lbry-desktop/ui/scss/component/_search.scss

118 lines
1.9 KiB
SCSS
Raw Normal View History

.search__header {
width: 100%;
2020-06-01 19:03:19 +02:00
margin-bottom: var(--spacing-l);
2019-02-15 02:52:10 +01:00
.placeholder {
2019-11-22 22:13:00 +01:00
background-color: var(--color-placeholder-background);
2019-02-15 02:52:10 +01:00
}
2018-03-26 23:32:43 +02:00
}
2019-02-18 18:24:56 +01:00
.search__options {
margin-top: var(--spacing-s);
padding-left: var(--spacing-m);
transition: all 0.3s ease-out;
// These will be expanded by 'search__options--expanded'.
max-height: 0;
opacity: 0;
visibility: hidden;
2019-02-18 18:24:56 +01:00
2019-11-22 22:13:00 +01:00
.search__legend {
font-weight: var(--font-weight-bold);
font-size: var(--font-small);
2020-06-01 19:03:19 +02:00
margin-bottom: var(--spacing-s);
padding: var(--spacing-xxs);
2019-02-18 18:24:56 +01:00
}
fieldset:not(:first-child) {
margin-top: var(--spacing-m);
}
table {
line-height: 1.5;
table-layout: fixed;
}
td:nth-of-type(1) {
width: 20%;
vertical-align: top;
}
.claim-type-filter {
display: inline-block;
}
.close-button {
visibility: hidden;
}
.close-button--visible {
visibility: visible;
}
.filter-values {
display: flex;
align-items: flex-start;
.button-toggle {
margin-right: 0;
}
select {
@media (min-width: $breakpoint-small) {
min-width: 200px;
}
}
.icon--help {
margin-top: 4px;
}
.button--close {
position: unset;
align-self: center;
margin-left: var(--spacing-s);
}
}
.media-types {
margin-top: var(--spacing-s);
label {
display: flex;
align-items: center;
}
2019-02-18 18:24:56 +01:00
}
2019-12-09 22:46:03 +01:00
.radio,
.checkbox {
display: inline-block;
margin-top: 0;
2019-12-09 22:46:03 +01:00
&:not(:first-of-type) {
2020-06-01 19:03:19 +02:00
margin-left: var(--spacing-m);
2019-12-09 22:46:03 +01:00
}
}
2019-02-18 18:24:56 +01:00
}
.search__options--expanded {
max-height: 400px; // how to not hardcode this :(
opacity: 1;
visibility: visible;
}
.search__top-link {
2020-11-04 20:39:16 +01:00
margin-top: var(--spacing-s);
font-weight: var(--font-weight-body);
}
.search__top-links {
margin-bottom: 0;
margin-top: var(--spacing-xs);
@media (min-width: $breakpoint-small) {
margin-top: 0;
}
}