lbry-desktop/ui/scss/component/_claim-search.scss

133 lines
2.4 KiB
SCSS
Raw Normal View History

2020-11-13 21:25:18 +01:00
.claim-search__wrapper {
width: 100%;
@media (min-width: $breakpoint-small) {
width: auto;
}
}
.claim-search__menus {
display: flex;
2020-11-13 21:25:18 +01:00
flex-direction: column;
flex-wrap: wrap;
justify-content: flex-start;
2020-06-01 19:03:19 +02:00
padding: var(--spacing-m);
2022-04-14 23:27:16 +02:00
padding-left: 0px;
padding-bottom: var(--spacing-s);
2020-06-01 19:03:19 +02:00
margin-top: var(--spacing-m);
2020-11-13 21:25:18 +01:00
margin-bottom: var(--spacing-m);
color: var(--color-text-subtitle);
2020-11-13 21:25:18 +01:00
align-items: flex-start;
2020-11-13 21:25:18 +01:00
@media (min-width: $breakpoint-small) {
flex-direction: row;
}
2022-04-14 23:27:16 +02:00
@media (max-width: $breakpoint-small) {
padding: unset;
}
}
.claim-search__dropdown {
font-size: var(--font-body);
background-color: var(--color-card-background);
background-position: right var(--spacing-m) center;
}
.claim-search__dropdown--selected {
2022-04-14 23:27:16 +02:00
color: var(--color-primary-contrast);
background-color: var(--color-brand-blue);
}
2020-05-11 16:50:32 +02:00
.claim-search__input-container {
2020-05-21 17:38:28 +02:00
display: flex;
flex-direction: column;
font-size: var(--font-body);
2020-11-13 21:25:18 +01:00
width: 100%;
2022-04-14 23:27:16 +02:00
&:not(:first-of-type) {
margin-top: var(--spacing-s);
}
2020-05-21 17:38:28 +02:00
2020-11-13 21:25:18 +01:00
@media (min-width: $breakpoint-small) {
width: auto;
2020-05-21 17:38:28 +02:00
2022-04-14 23:27:16 +02:00
&:not(:first-of-type) {
margin-top: 0;
padding-left: var(--spacing-m);
}
}
}
2022-04-14 23:27:16 +02:00
.claim-search__dropdown,
.claim-search__input-container {
@media (max-width: $breakpoint-small) {
padding-right: 0;
}
}
2020-11-13 21:25:18 +01:00
.claim-search__filter-button {
display: flex;
justify-content: center;
align-items: center;
padding: 0;
}
.claim-search__input-special {
font-weight: var(--font-weight-bold);
}
2020-05-11 16:50:32 +02:00
.claim-search__extra {
display: flex;
align-items: center;
}
.claim-search__top {
display: flex;
flex-wrap: wrap;
2020-11-13 21:25:18 +01:00
justify-content: space-between;
@media (min-width: $breakpoint-small) {
justify-content: flex-start;
}
2022-04-14 23:27:16 +02:00
.claim-search__menu-group:last-of-type {
margin-right: unset;
}
}
2020-05-11 16:50:32 +02:00
.claim-search__top > div {
@media (max-width: $breakpoint-small) {
2020-08-21 17:49:13 +02:00
margin-bottom: var(--spacing-xxs);
}
}
2020-11-13 21:25:18 +01:00
.claim-search__menu-group {
2020-05-11 21:54:07 +02:00
display: flex;
flex-wrap: nowrap;
2021-04-23 21:59:48 +02:00
margin-right: var(--spacing-s);
2022-04-14 23:27:16 +02:00
@media (max-width: $breakpoint-small) {
margin-right: 0;
.button-toggle {
padding: 0 var(--spacing-s) 0 var(--spacing-xs);
}
}
2020-05-11 16:50:32 +02:00
}
2021-04-23 21:59:48 +02:00
.claim-search__menu-group--between {
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
width: 100%;
&:last-of-type {
.button-toggle:last-of-type {
margin-right: 0;
}
}
}
.claim-search__tags-link {
margin-left: var(--spacing-s);
}