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

73 lines
1.3 KiB
SCSS
Raw Normal View History

.search__header {
margin-bottom: var(--spacing-vertical-large);
2019-02-15 02:52:10 +01:00
.placeholder {
background-color: rgba($lbry-white, 0.1);
}
2019-02-18 18:24:56 +01:00
.media__subtitle {
font-size: 0.7em;
2019-02-18 18:24:56 +01:00
}
2018-03-26 23:32:43 +02:00
}
.search__title {
2019-02-15 02:52:10 +01:00
font-size: 3em;
2018-10-17 19:14:24 +02:00
align-items: center;
cursor: default;
2018-03-26 23:32:43 +02:00
display: flex;
font-weight: 700;
line-height: 1.33;
margin-bottom: var(--spacing-vertical-large);
2018-03-26 23:32:43 +02:00
> * {
margin-left: var(--spacing-vertical-small);
2018-03-26 23:32:43 +02:00
}
}
.search__results-section {
margin-bottom: var(--spacing-vertical-large);
min-height: 200px;
position: relative;
2018-03-26 23:32:43 +02:00
}
2018-10-17 19:14:24 +02:00
2019-02-18 18:24:56 +01:00
.search__options-wrapper {
font-size: 1.25em;
2019-05-13 08:05:38 +02:00
margin: var(--spacing-vertical-xlarge) 0;
2019-02-18 18:24:56 +01:00
}
.search__options {
margin-top: var(--spacing-vertical-large);
legend {
&.search__legend--1 {
background-color: $lbry-teal-1;
}
&.search__legend--2 {
background-color: $lbry-cyan-1;
}
&.search__legend--3 {
background-color: $lbry-pink-1;
}
[data-mode='dark'] & {
&.search__legend--1 {
background-color: $lbry-teal-5;
}
&.search__legend--2 {
background-color: $lbry-cyan-5;
}
&.search__legend--3 {
background-color: $lbry-pink-5;
}
}
}
fieldset:not(:first-child) {
margin-top: var(--spacing-vertical-large);
}
}