This commit is contained in:
Vince 2025-01-29 17:04:48 +08:00
commit c35786dd2d
11 changed files with 194 additions and 65 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,6 +1,6 @@
VERSION: (GNOME-SHELL) 47.0 VERSION: (GNOME-SHELL) 47.0
RELEASE TIME: Sun Dec 8 12:34:00 AM CST 2024 RELEASE TIME: Wed Jan 15 03:28:27 AM CST 2025
--->>> GTK | GNOME Shell | Cinnamon | Metacity | XFWM | Plank <<<--- --->>> GTK | GNOME Shell | Cinnamon | Metacity | XFWM | Plank <<<---
Color variants : Dark;Light Color variants : Dark;Light

View File

@ -151,19 +151,15 @@ StScrollBar {
// //
.popup-slider-menu-item, .popup-slider-menu-item,
.slider { .slider {
-slider-height: 4px; -slider-height: 0.3em;
-slider-background-color: $button_border; //background of the trough -slider-background-color: $button_border; //background of the trough
-slider-border-color: transparentize(black, 1); //trough border color -slider-border-color: transparent; //trough border color
-slider-active-background-color: $selected_bg_color; //active trough fill -slider-active-background-color: $selected_bg_color; //active trough fill
-slider-active-border-color: transparentize(black, 1); //active trough border -slider-active-border-color: transparent; //active trough border
-slider-border-width: 0; -slider-border-width: 0;
-slider-handle-radius: 4px; -slider-handle-radius: 0.6em;
height: 18px; height: 1.2em;
min-width: 15em; min-width: 15em;
border: 0 solid transparent;
border-right-width: 1px;
border-left-width: 5px;
color: transparent;
.popup-menu-item:active & { .popup-menu-item:active & {
-slider-background-color: transparentize(black, 0.8); -slider-background-color: transparentize(black, 0.8);
@ -274,6 +270,8 @@ StScrollBar {
.menu, .menu,
.popup-menu, .popup-menu,
%menu { %menu {
min-width: 15em;
margin: 0;
padding: 0 $container_padding $container_padding / 2; padding: 0 $container_padding $container_padding / 2;
color: $fg_color; color: $fg_color;
@ -302,7 +300,12 @@ StScrollBar {
} }
} }
.popup-menu-content { padding: 1em 6px 1em 6px; } .popup-menu-content {
padding: 1em 6px 1em 6px;
background-color: transparent;
border: none;
box-shadow: none;
}
.popup-menu-item { .popup-menu-item {
padding: .4em 1.75em; padding: .4em 1.75em;
@ -338,8 +341,6 @@ StScrollBar {
-arrow-border-color: rgba(0,0,0,0.0); -arrow-border-color: rgba(0,0,0,0.0);
-arrow-base: 0; -arrow-base: 0;
-arrow-rise: 0; -arrow-rise: 0;
margin: 0.5em;
border-radius: $bt_radius;
} }
.popup-combo-menu { .popup-combo-menu {
@ -981,13 +982,14 @@ StScrollBar {
// //
#notification { #notification {
border-radius: $wm_radius; border-radius: $wm_radius;
padding: 13px; padding: 12px;
spacing-rows: 10px; spacing-rows: 10px;
spacing-columns: 10px; spacing-columns: 10px;
margin-from-right-edge-of-screen: 20px; margin-from-right-edge-of-screen: 20px;
width: 34em; width: 34em;
color: $text_color; color: $text_color;
background-color: $menu_bg; background-color: $menu_bg;
box-shadow: 0 5px 12px rgba(black, 0.25);
.notification-button, .notification-icon-button { .notification-button, .notification-icon-button {
@extend %flat_button; @extend %flat_button;
@ -1001,6 +1003,7 @@ StScrollBar {
border: none; border: none;
border-radius: $bt_radius; border-radius: $bt_radius;
background-color: rgba($fg_color, 0.05); background-color: rgba($fg_color, 0.05);
box-shadow: none;
&:hover, &:selected { &:hover, &:selected {
background-color: rgba($fg_color, 0.1); background-color: rgba($fg_color, 0.1);
@ -1153,13 +1156,9 @@ StScrollBar {
.lightbox { background-color: rgba(0, 0, 0, 0.4); } .lightbox { background-color: rgba(0, 0, 0, 0.4); }
.flashspot { background-color: white; } .flashspot { background-color: white; }
.dialog,
.modal-dialog { .modal-dialog {
color: $osd_fg_color; @extend %osd_window;
background-color: rgba(darken($osd_bg_color, 3%), 0.95);
border: 1px solid rgba(black, 0.65);
padding: 0 5px 6px 5px;
border-radius: $bt_radius;
box-shadow: 0 3px 8px rgba(black, 0.75), 0 5px 18px rgba(black, 0.55);
> StBoxLayout:first-child { > StBoxLayout:first-child {
padding: 20px 10px 10px 10px; padding: 20px 10px 10px 10px;
@ -1171,17 +1170,62 @@ StScrollBar {
padding: 14px 10px; padding: 14px 10px;
background-color: transparent; background-color: transparent;
border: none; border: none;
}
.modal-dialog-button { &-button {
padding-top: 0; padding: $container_padding $container_padding * 2;
padding-bottom: 0; min-height: 24px;
height: 30px; min-width: 100px;
@extend %osd_button;
@extend %osd_button; &:destructive-action {
background-color: $destructive_color;
color: white;
&:hover {
background-color: lighten($destructive_color, 8%);
}
&:active {
background-color: darken($destructive_color, 8%);
}
&:insensitive {
background-color: rgba($destructive_color, 0.3);
color: rgba(white, 0.3);
}
}
&:default {
background-color: $suggested_color;
color: white;
&:hover {
background-color: lighten($suggested_color, 8%);
}
&:active {
background-color: darken($suggested_color, 8%);
}
&:insensitive {
background-color: rgba($suggested_color, 0.3);
color: rgba(white, 0.3);
}
} }
} }
&-content-box {
margin-top: 8px;
margin-bottom: 16px;
spacing: 32px;
max-width: 28em;
}
.confirm-dialog-title { text-align: center; }
} }
// //
// Run dialog // Run dialog
// //
@ -1496,27 +1540,29 @@ StScrollBar {
// //
// OSD // OSD
// //
.info-osd {
text-align: center; %osd_window {
font-weight: bold;
spacing: 1em;
padding: 16px;
color: $osd_fg_color; color: $osd_fg_color;
background-color: $osd_bg_color; background-color: $osd_bg_color;
box-shadow: inset 0 0 0 1px rgba(white, 0.08);
border: 1px solid black;
border-radius: $wm_radius * 1.5;
text-align: center;
padding: 20px;
}
.info-osd {
font-weight: bold;
spacing: 1em;
@extend %osd_window;
} }
.osd-window { .osd-window {
text-align: center;
font-weight: bold; font-weight: bold;
spacing: 1em; spacing: 1em;
padding: 20px;
min-width: 64px; min-width: 64px;
min-height: 64px; min-height: 64px;
color: $osd_fg_color; @extend %osd_window;
background-color: $osd_bg_color;
box-shadow: 0 6px 16px rgba(black, 0.25);
border: none;
border-radius: $wm_radius;
.osd-monitor-label { font-size: 3em; } .osd-monitor-label { font-size: 3em; }
@ -1534,6 +1580,83 @@ StScrollBar {
} }
} }
.media-keys-osd {
font-weight: bold;
font-size: 1.182em;
@extend %osd_window;
margin-bottom: 1em;
border-radius: 9999px;
spacing: 12px;
padding: 12px 24px;
> * { spacing: 12px; }
StIcon { icon-size: 32px; }
StLabel:ltr { margin-right: 6px; }
StLabel:rtl { margin-left: 6px; }
.level {
min-width: 160px;
-barlevel-height: 6px;
-barlevel-background-color: #303030;
-barlevel-active-background-color: white;
-barlevel-amplify-color: #f8e45c;
-barlevel-amplify-separator-width: 3px;
}
.level:ltr { margin-right: 6px; }
.level:rtl { margin-left: 6px; }
.level-bar {
border-radius: 8px;
background-color: white;
}
}
//
// Workspace OSD
//
.workspace-osd {
text-shadow: black 5px 5px 5px;
font-weight: bold;
font-size: 48pt;
}
.workspace-switch-osd {
min-width: 140px;
margin-bottom: 1em;
border-radius: 9999px;
font-weight: bold;
padding: 12px 36px 0 36px;
}
.workspace-switch-osd-indicator-box { spacing: 12px; }
.workspace-switch-osd-indicator {
background-color: rgba(255, 255, 255, 0.5);
padding: 3px;
margin: 12px;
border-radius: 32px;
&:active {
background-color: #3584e4;
padding: 6px;
margin: 12px;
}
}
.monitor-label {
border-radius: 0;
color: black;
padding: 12px;
text-align: center;
}
.resize-popup {
padding: 12px;
}
// //
// Window list (windowList.js) // Window list (windowList.js)
// //
@ -1701,25 +1824,25 @@ StScrollBar {
} }
} }
&-number-label { &-button-label {
z-index: 120; padding-left: 4px;
text-shadow: none;
color: $selected_fg_color;
padding: 0;
} }
&-button-label { &-number-label {
padding-left: 2px; font-size: 0.8em;
z-index: 99;
text-shadow: none;
color: $selected_fg_color;
padding: 0.1em;
} }
&-badge { &-badge {
border-radius: 256px; border-radius: $circular_radius;
background-color: $selected_bg_color; background-color: $selected_bg_color;
} }
&-item-box { &-item-box {
font-weight: normal; font-weight: normal;
background-image: none;
transition-duration: 100; transition-duration: 100;
border: none; border: none;
margin: 0; margin: 0;
@ -1767,8 +1890,7 @@ StScrollBar {
} }
&-item-demands-attention { &-item-demands-attention {
background-gradient-start: $warning_color; background-color: $destructive_color;
background-gradient-end: $warning_color;
} }
} }
@ -1900,11 +2022,11 @@ StScrollBar {
border-bottom: 1px; border-bottom: 1px;
-slider-height: 0.5em; -slider-height: 0.5em;
-slider-background-color: if($variant == 'light', $button_border, darken($bg_color, 5%)); -slider-background-color: if($variant == 'light', $button_border, darken($bg_color, 5%));
-slider-border-color: rgba(0,0,0,0); -slider-border-color: transparent;
-slider-active-background-color: $selected_bg_color; -slider-active-background-color: $selected_bg_color;
-slider-active-border-color: rgba(0,0,0,0); -slider-active-border-color: transparent;
-slider-border-width: 0px; -slider-border-width: 0px;
-slider-handle-radius: 0px; -slider-handle-radius: 1em;
} }
} }
@ -2153,15 +2275,6 @@ StScrollBar {
padding-bottom: 16px; padding-bottom: 16px;
} }
//
// Workspace OSD
//
.workspace-osd {
text-shadow: black 5px 5px 5px;
font-weight: bold;
font-size: 48pt;
}
// //
// Notification Applet // Notification Applet
// //

View File

@ -250,9 +250,25 @@ window.thunar {
header.top tab.reorderable-page > box > label { min-height: 0; } header.top tab.reorderable-page > box > label { min-height: 0; }
} }
> grid > paned > grid > notebook > .standard-view { .standard-view.frame {
> .view { border: none;
border-radius: $bt_radius;
widget.view {
&:selected {
background-color: rgba($fg_color, 0.12);
color: $fg_color;
border-radius: $bt_radius;
}
}
}
paned paned paned > notebook.frame {
border: none;
border-radius: 0;
.standard-view.frame > widget.view {
border-radius: 0;
box-shadow: inset 0 0 0 3px lighten($selected_bg_color, 25%);
} }
} }
} }