This commit is contained in:
vinceliuice
2024-04-18 16:06:36 +08:00
parent 952e686a91
commit 553e1e4ccd
2 changed files with 39 additions and 6 deletions

View File

@@ -146,6 +146,12 @@ $popop_menuitem_radius: $po_radius - $base_padding;
}
&:insensitive { color: $disabled_fg_color !important; }
// add margin to switches in menu items
.toggle-switch {
&:ltr { margin-left: $base_margin; }
&:rtl { margin-right: $base_margin; }
}
}
.popup-sub-menu {
@@ -171,6 +177,11 @@ $popop_menuitem_radius: $po_radius - $base_padding;
}
}
.popup-ornamented-menu-item {
&:ltr { padding-left: $base_padding; }
&:rtl { padding-right: $base_padding; }
}
.popup-inactive-menu-item { //all icons and other graphical elements
color: $alt_fg_color !important;
@@ -186,11 +197,8 @@ $popop_menuitem_radius: $po_radius - $base_padding;
// container for radio and check boxes
.popup-menu-ornament {
width: 1.2em;
text-align: center !important;
&:ltr { text-align: right; }
&:rtl { text-align: left; }
icon-size: $scalable_icon_size !important;
width: $scalable_icon_size;
}
// desktop background menu

View File

@@ -47,6 +47,19 @@ $app_folder_size: 720px;
}
}
// Running app indicator (also shown in dash)
.app-grid-running-dot {
width: 5px;
height: 5px;
border-radius: 5px;
background-color: $light_alt_fg_color;
margin-bottom: 6px;
StWidget.focused & {
background-color: $primary_color;
}
}
.app-folder {
background-color: $light_divider_color;
@@ -75,7 +88,7 @@ $app_folder_size: 720px;
& .icon-button, & .page-navigation-arrow {
color: $light_alt_fg_color;
background-color: transparent;
border: none;
border: none !important;
&:hover {
background-color: $light_divider_color;
@@ -89,6 +102,18 @@ $app_folder_size: 720px;
}
}
.apps-scroll-view {
padding: 0;
}
// shutdown and other actions in the grid
.system-action-icon {
background-color: $light_fill_color;
color: $light_fg_color;
border-radius: $circular_radius;
icon-size: $app_icon_size * 0.5;
}
.page-navigation-hint {
width: if($laptop == 'true', 220px, 300px);