mirror of
https://github.com/vinceliuice/WhiteSur-gtk-theme.git
synced 2026-04-20 02:45:21 +00:00
update
This commit is contained in:
@@ -5,7 +5,7 @@ $popover_bubble_bg: if($variant == 'light', rgba(white, 0.95), rgba(lighten($bas
|
||||
%popover_bubble {
|
||||
color: $alt_fg_color;
|
||||
background-color: $popover_bubble_bg;
|
||||
border-radius: $base_border_radius !important;
|
||||
border-radius: $bt_radius + $base_padding * 1.5 !important;
|
||||
border: none;
|
||||
box-shadow: 0 1px 2px rgba(black, 0.02) !important;
|
||||
text-shadow: none;
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
margin: ($container_padding / 2) 12px 17px 12px;
|
||||
padding: $container_padding + 2px;
|
||||
spacing: $container_padding;
|
||||
border-radius: $bt_radius + $container_padding + 2px !important;
|
||||
}
|
||||
|
||||
.candidate-index {
|
||||
@@ -29,7 +30,7 @@
|
||||
.candidate-box {
|
||||
padding: 0.3em 0.5em 0.3em 0.5em;
|
||||
margin-right: 2px;
|
||||
border-radius: $bt_radius;
|
||||
border-radius: $bt_radius !important;
|
||||
color: $hint_fg_color;
|
||||
&:hover { background-color: $divider_color; color: $fg_color; }
|
||||
&:active { background-color: $track_color; color: $fg_color; }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* Popovers/Menus */
|
||||
|
||||
$popop_menuitem_radius: $po_radius - $base_padding;
|
||||
$popop_menuitem_radius: $po_radius - $base_padding - if($variant=='light', 0, 2px); // radius of the menu item, used in popovers
|
||||
|
||||
//.the popover itself
|
||||
.popup-menu-boxpointer {
|
||||
@@ -35,7 +35,7 @@ $popop_menuitem_radius: $po_radius - $base_padding;
|
||||
spacing: $base_spacing * 4;
|
||||
padding-top: 12px;
|
||||
padding-bottom: 12px;
|
||||
border-radius: $popop_menuitem_radius * 2;
|
||||
border-radius: $popop_menuitem_radius * 2 !important;
|
||||
margin: 0 12px;
|
||||
|
||||
&:ltr { padding-right: 4em; padding-left: 0; }
|
||||
@@ -51,7 +51,7 @@ $popop_menuitem_radius: $po_radius - $base_padding;
|
||||
margin: 0 6px;
|
||||
|
||||
.popup-menu-item {
|
||||
border-radius: $popop_menuitem_radius * 2;
|
||||
border-radius: $popop_menuitem_radius * 2 !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -127,13 +127,13 @@ $card_bg_color: if($variant == 'light', mix(white, $bg_color, 95%), lighten($bas
|
||||
}
|
||||
|
||||
&:second-in-stack {
|
||||
background-color: if($variant == 'light', darken($card_bg_color, 3%), darken($card_bg_color, 2%));
|
||||
background-color: if($variant == 'light', darken($card_bg_color, 3%), darken($card_bg_color, 3%));
|
||||
box-shadow: 0 1px 2px rgba(black, 0.05);
|
||||
}
|
||||
|
||||
&:lower-in-stack {
|
||||
background-color: if($variant == 'light', darken($card_bg_color, 5%), darken($card_bg_color, 4%));
|
||||
box-shadow: 0 1px 2px rgba(black, 0.01);
|
||||
background-color: if($variant == 'light', darken($card_bg_color, 6%), darken($card_bg_color, 6%));
|
||||
box-shadow: none;
|
||||
border-color: transparent; // a not ideal workaround for light theme
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user