Made shadows togglable with default set to false. (#786)
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user