Made shadows togglable with default set to false. (#786)

This commit is contained in:
Jas Singh
2025-02-19 17:23:57 -08:00
committed by GitHub
parent f8bbd0af80
commit 3419315e65
9 changed files with 15 additions and 7 deletions

View File

@@ -16,8 +16,8 @@
background: if($bar-transparent, transparent, transparentize($bar-background, $transparency-value));
border-radius: if($bar-floating, $bar-border_radius, 0em);
margin: $bar-shadowMargins;
box-shadow: $bar-shadow;
margin: if($bar-enableShadow, $bar-shadowMargins, 0px);
box-shadow: if($bar-enableShadow, $bar-shadow, 0 0 0 0);
&.withBorder {
border-top: if(

View File

@@ -228,8 +228,8 @@
.dropdown-content {
border-radius: $bar-menus-border-radius;
margin: $bar-menus-shadowMargins;
box-shadow: $bar-menus-shadow;
margin: if($bar-menus-enableShadow, $bar-menus-shadowMargins, 0px);
box-shadow: if($bar-menus-enableShadow, $bar-menus-shadow, 0 0 0 0);
}
.menu-label {

View File

@@ -7,8 +7,8 @@
min-height: 4em;
border-radius: $notification-border_radius;
opacity: $notification-opacity * 0.01;
margin: $notification-shadowMargins;
box-shadow: $notification-shadow;
margin: if($notification-enableShadow, $notification-shadowMargins, 0px);
box-shadow: if($notification-enableShadow, $notification-shadow, 0 0 0 0);
}
.notification-card-container {

View File

@@ -6,7 +6,7 @@
.osd-container {
margin: $osd-margins;
opacity: $osd-opacity * 0.01;
box-shadow: $osd-shadow;
box-shadow: if($osd-enableShadow, $osd-shadow, 0 0 0 0);
border-radius: $osd-radius;
}