Design fallout patch 9 (#1337)

This commit is contained in:
Rave | 図書館猫 2022-04-14 10:29:54 +02:00 committed by GitHub
parent feb499b786
commit c7962a1192
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 53 additions and 5 deletions

View file

@ -4,7 +4,7 @@
position: fixed; position: fixed;
background: var(--color-background-overlay); background: var(--color-background-overlay);
opacity: 0; opacity: 0;
height: 20%; height: 32%;
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
pointer-events: none; pointer-events: none;
@ -15,6 +15,8 @@
align-items: center; align-items: center;
justify-content: center; justify-content: center;
color: #fff;
&.file-drop--show { &.file-drop--show {
opacity: 1; opacity: 1;
pointer-events: all; pointer-events: all;

View file

@ -252,7 +252,7 @@
.button__label { .button__label {
margin: 0; margin: 0;
margin-top: 2px; margin-top: 1px;
margin-left: var(--spacing-xxxs); margin-left: var(--spacing-xxxs);
font-size: var(--font-small); font-size: var(--font-small);
} }

View file

@ -125,6 +125,10 @@
margin-bottom: 0; margin-bottom: 0;
margin-top: var(--spacing-xs); margin-top: var(--spacing-xs);
.button:not(:last-child) {
margin-right: var(--spacing-s);
}
@media (min-width: $breakpoint-small) { @media (min-width: $breakpoint-small) {
margin-top: 0; margin-top: 0;
} }

View file

@ -309,14 +309,11 @@
.wunderbar__tag-search { .wunderbar__tag-search {
.tag { .tag {
//display: flex;
//align-items: center;
height: 1.2rem; height: 1.2rem;
margin-left: var(--spacing-xxs); margin-left: var(--spacing-xxs);
color: var(--color-odysee-contrast); color: var(--color-odysee-contrast);
background-color: var(--color-odysee); background-color: var(--color-odysee);
//padding-right:60px;
padding-top: 1px; padding-top: 1px;
overflow: hidden; overflow: hidden;
@ -354,6 +351,24 @@
[data-reach-combobox-option]:last-of-type { [data-reach-combobox-option]:last-of-type {
margin-bottom: 0px; margin-bottom: 0px;
} }
@media (min-width: $breakpoint-small) and (max-width: $breakpoint-medium) {
// background-color:#ff0000;
flex-direction: column;
padding-left: var(--spacing-xxs);
padding-right: var(--spacing-xxs);
.wunderbar__more-results {
width: 100% !important;
.button {
width: 100% !important;
}
}
.wunderbar__tag-search {
.tag {
max-width: 100%;
}
}
}
} }
[data-reach-combobox-option] { [data-reach-combobox-option] {

View file

@ -380,3 +380,9 @@
border-radius: 5px; border-radius: 5px;
vertical-align: middle; vertical-align: middle;
} }
.section {
.help {
color: var(--color-text);
}
}

View file

@ -627,6 +627,27 @@ img {
.homePage-wrapper__section-title { .homePage-wrapper__section-title {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
@media (max-width: $breakpoint-small) {
button {
right: calc(var(--spacing-xs) * -1);
.button__content {
padding: 10px;
background-color: var(--color-header-background);
height: unset;
border-radius: 50% 0 0 50%;
.icon {
margin-left: 0;
width: 22px;
height: 22px;
}
}
.button__label {
display: none;
}
}
}
} }
// The following wrapper classes are temporary to fix page specific issues // The following wrapper classes are temporary to fix page specific issues