mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-18 17:02:12 +00:00
refactor: add background-color and border-radius to popup by default
This commit is contained in:
parent
e64ba05961
commit
e65de780bb
4 changed files with 3 additions and 9 deletions
|
|
@ -181,11 +181,9 @@
|
|||
.multiselect-menu-container {
|
||||
min-width: 8rem;
|
||||
max-width: 14rem;
|
||||
border-radius: var(--border-radius);
|
||||
|
||||
.multiselect-option-container {
|
||||
padding: 1rem 1.5rem;
|
||||
background-color: var(--tertiary-background-color);
|
||||
|
||||
&:hover, &:focus {
|
||||
outline: none;
|
||||
|
|
|
|||
|
|
@ -45,9 +45,6 @@
|
|||
|
||||
.modal-container, .popup-menu-container {
|
||||
.menu-container {
|
||||
border-radius: var(--border-radius);
|
||||
background-color: var(--tertiary-background-color);
|
||||
|
||||
.option-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
|
|
|||
|
|
@ -9,8 +9,10 @@
|
|||
.menu-container {
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
overflow: visible;
|
||||
overflow: hidden;
|
||||
visibility: hidden;
|
||||
border-radius: var(--border-radius);
|
||||
background-color: var(--tertiary-background-color);
|
||||
box-shadow: 0 1.35rem 2.7rem @color-background-dark5-40,
|
||||
0 1.1rem 0.85rem @color-background-dark5-20;
|
||||
cursor: auto;
|
||||
|
|
|
|||
|
|
@ -155,12 +155,9 @@
|
|||
|
||||
.context-menu-container {
|
||||
max-width: calc(90% - 1.5rem);
|
||||
border-radius: var(--border-radius);
|
||||
overflow: hidden;
|
||||
|
||||
.context-menu-content {
|
||||
--spatial-navigation-contain: contain;
|
||||
background-color: var(--tertiary-background-color);
|
||||
|
||||
.context-menu-option-container {
|
||||
display: flex;
|
||||
|
|
|
|||
Loading…
Reference in a new issue