Added shadows to the Bar, Menus, OSD and Notifications. (#777)

* Added shadows to the Bar, Menus and notifications.

* Add OSD shadows
This commit is contained in:
Jas Singh
2025-02-16 21:41:52 -08:00
committed by GitHub
parent 3698bfe2b3
commit 9b342341fe
13 changed files with 66 additions and 7 deletions

View File

@@ -16,6 +16,9 @@
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;
&.withBorder {
border-top: if(
$bar-border_location == 'top' or $bar-border_location == 'horizontal' or $bar-border_location == 'full',

View File

@@ -10,7 +10,6 @@
border: $bar-menus-border-size solid
if($bar-menus-monochrome, $bar-menus-border-color, $bar-menus-menu-clock-border-color);
border-radius: $bar-menus-border-radius;
margin-right: 0.5em;
opacity: $bar-menus-opacity * 0.01;
}

View File

@@ -3,7 +3,6 @@
}
.dashboard-content-items {
margin-left: 0.5em;
min-width: 28.5em;
background: if($bar-menus-monochrome, $bar-menus-background, $bar-menus-menu-dashboard-background-color);
border: $bar-menus-border-size solid

View File

@@ -226,6 +226,12 @@
min-height: 10em;
}
.dropdown-content {
border-radius: $bar-menus-border-radius;
margin: $bar-menus-shadowMargins;
box-shadow: $bar-menus-shadow;
}
.menu-label {
margin: 0.5em 1em;
color: $sky;

View File

@@ -10,7 +10,6 @@
border: $bar-menus-border-size solid
if($bar-menus-monochrome, $bar-menus-border-color, $bar-menus-menu-notifications-border);
border-radius: $bar-menus-border-radius;
margin-right: 0.45em;
opacity: $bar-menus-opacity * 0.01;
.window-content.notificationsmenu-window {

View File

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

View File

@@ -6,6 +6,8 @@
.osd-container {
margin: $osd-margins;
opacity: $osd-opacity * 0.01;
box-shadow: $osd-shadow;
border-radius: $osd-radius;
}
.osd-label-container {