add opacity toggler for desktop

This commit is contained in:
La macchina desiderante 2024-05-25 17:14:01 +02:00
parent f5bf29285f
commit cef782bef9
3 changed files with 5 additions and 4 deletions

View File

@ -23,7 +23,7 @@
}, },
"Results": { "Results": {
"query": "Search results for: {{ query }}", "query": "Search results for: {{ query }}",
"toggle": "Show preview", "toggle": "Toggle opacity",
"noData": "No videos found :(" "noData": "No videos found :("
} }
} }

View File

@ -23,7 +23,7 @@
}, },
"Results": { "Results": {
"query": "Risultati della ricerca per: {{ query }}", "query": "Risultati della ricerca per: {{ query }}",
"toggle": "Mostra anteprime risultati", "toggle": "Attiva/disattiva opacità",
"noData": "Nessun video trovato :(" "noData": "Nessun video trovato :("
} }
} }

View File

@ -1,4 +1,5 @@
@import 'breakpoints'; @import 'breakpoints';
@import 'fontsize';
.toggleContainer { .toggleContainer {
display: flex; display: flex;
@ -11,7 +12,7 @@
border-color: var(--primary-focus); border-color: var(--primary-focus);
} }
@media only screen and (min-width: $tablet) { .label {
display: none; font-size: $font-size-medium;
} }
} }