This commit is contained in:
Vince 2022-11-12 00:11:22 +08:00
parent 8a318eedc6
commit 6d03a64903
2 changed files with 13 additions and 12 deletions

View file

@ -166,9 +166,9 @@ $sidebar_theme_color: if($variant == 'light', rgba(black, 0.12), r
//OSD colors //OSD colors
$osd_fg_color: if($colorscheme == 'nord', #dadada, #d3d7df); $osd_fg_color: if($colorscheme == 'nord', #dadada, #d3d7df);
$osd_bg_color: if($trans == 'true', rgba(if($darker == 'true', #1a1a1a, #2a2a2a), 0.9), if($darker == 'true', #1a1a1a, #2a2a2a)); $osd_bg_color: if($trans == 'true', rgba(if($darker == 'true', #1a1a1a, #2a2a2a), 0.95), if($darker == 'true', #1a1a1a, #2a2a2a));
@if $colorscheme == 'nord' { @if $colorscheme == 'nord' {
$osd_bg_color: if($trans == 'true', rgba(if($darker == 'true', #16191e, #222730), 0.9), if($darker == 'true', #16191e, #222730)); $osd_bg_color: if($trans == 'true', rgba(if($darker == 'true', #16191e, #222730), 0.95), if($darker == 'true', #16191e, #222730));
} }
$osd_button_bg: rgba(lighten($osd_bg_color, 22%), 0.96); $osd_button_bg: rgba(lighten($osd_bg_color, 22%), 0.96);
$osd_button_border: $dark_borders_color; $osd_button_border: $dark_borders_color;

View file

@ -2,17 +2,17 @@
// Dialog // Dialog
#LookingGlassDialog { #LookingGlassDialog {
background-color: $osd_bg_color; background-color: rgba($osd_bg_color, 1);
spacing: $base_padding; spacing: $base_padding;
margin: $base_padding; margin: $base_padding;
padding: 0; padding: 0;
border: none; border: 1px solid black;
border-radius: $bt_radius; border-radius: $wm_radius;
box-shadow: 0 2px 6px 0 rgba(black, 0.15); box-shadow: 0 2px 6px rgba(black, 0.15);
color: $osd_fg_color; color: $osd_fg_color;
> #Toolbar { > #Toolbar {
padding: 0 $base_padding; padding: 0 $base_padding * 2;
spacing: $base_padding; spacing: $base_padding;
border: none; border: none;
border-radius: 0; border-radius: 0;
@ -124,6 +124,7 @@
spacing: $base_padding; spacing: $base_padding;
background-color: $light_divider_color; background-color: $light_divider_color;
color: $light_alt_fg_color; color: $light_alt_fg_color;
box-shadow: none;
} }
.lg-extension-name { .lg-extension-name {
@ -137,11 +138,11 @@
// Inspector // Inspector
#LookingGlassPropertyInspector { #LookingGlassPropertyInspector {
background: $osd_bg_color; background: lighten(rgba($osd_bg_color, 1), 5%);
border: none; border: 1px solid black;
border-radius: $bt_radius; border-radius: $wm_radius;
padding: $base_padding; padding: $base_padding * 2;
box-shadow: 0 3px 8px 0 rgba(black, 0.25); box-shadow: 0 2px 6px 0 rgba(black, 0.15);
color: $osd_fg_color; color: $osd_fg_color;
} }