Fixed styling issues for various elements that weren't being applied via settings. (#118)

* Popups are now styles properly and can be themed. closes #115

* Added the ability to style media menu card color and transparency. Made confirmation dialogue optional.

* Increase radius

* Move actions inside the function to reflect updated values.
This commit is contained in:
Jas Singh
2024-08-12 21:38:27 -07:00
committed by GitHub
parent 79bf05d9c9
commit b23f1a32cb
11 changed files with 96 additions and 15 deletions

View File

@@ -0,0 +1,26 @@
@import '../colors.scss';
window.popup {
menuitem {
label {
color: $bar-menus-popover-text;
}
&:hover {
background-color: transparentize($bar-menus-popover-text, 0.6);
}
}
menu {
background: $bar-menus-popover-background;
}
separator {
background: transparentize($bar-menus-popover-text, 0.7);
min-height: 0.075em;
}
arrow {
color: $bar-menus-popover-text;
}
}

View File

@@ -367,8 +367,3 @@
}
}
}
.dropdown.recording {
color: red;
background-color: if($bar-menus-monochrome, $bar-menus-dropdownmenu-background, $bar-menus-dropdownmenu-background);
}

View File

@@ -9,6 +9,7 @@ $popover-padding: 0.6rem * 1.6;
window#verification .verification {
@include floating-widget;
background: if($bar-menus-monochrome, $bar-menus-background, $bar-menus-menu-dashboard-powermenu-confirmation-background);
border: $bar-menus-border-size solid if($bar-menus-monochrome, $bar-menus-border, $bar-menus-menu-dashboard-powermenu-confirmation-border);
padding: 0.35em * 1.6 * 1.5;
min-width: 20em;
min-height: 6em;
@@ -16,7 +17,7 @@ window#verification .verification {
.verification-content {
background: if($bar-menus-monochrome, $bar-menus-cards, $bar-menus-menu-dashboard-powermenu-confirmation-card);
border-radius: 0.4em;
border-radius: $bar-menus-border-radius/2;
padding: 1em;
}
@@ -41,7 +42,7 @@ window#verification .verification {
background: $bar-menus-buttons-default;
padding: 0.7em 0em;
margin: 0.4em 1.7em;
border-radius: 0.3em;
border-radius: $bar-menus-border-radius/2;
opacity: 1;
transition: border-color 0.2s ease-in-out;
transition: opacity .3s ease-in-out;