Gnome-Shell: tweak switches

This commit is contained in:
Daniel Ruiz de Alegría 2022-03-08 11:48:41 +01:00
parent eea71d890f
commit 6cfd361e65
No known key found for this signature in database
GPG Key ID: 59667A77E8BFCB6C
4 changed files with 25 additions and 4 deletions

View File

@ -1 +1 @@
<svg version="1.1" viewBox="0 0 48 26" xmlns="http://www.w3.org/2000/svg"><g transform="matrix(-1 0 0 1 0 -291.18)"><rect x="-48" y="292.18" width="48" height="24" rx="12" ry="12" fill="#3081e3" style="fill:#bbb"/><rect x="-22" y="294.18" width="20" height="20" rx="10" ry="10" fill="#f8f7f7" style="fill:#fff"/></g></svg>
<svg version="1.1" viewBox="0 0 48 26" xmlns="http://www.w3.org/2000/svg"><g transform="matrix(-1 0 0 1 0 -291.18)"><rect x="-48" y="292.18" width="48" height="24" rx="12" ry="12" style="fill:#ccc"/><rect x="-22" y="294.18" width="20" height="20" rx="10" ry="10" style="fill:#fff"/></g></svg>

Before

Width:  |  Height:  |  Size: 323 B

After

Width:  |  Height:  |  Size: 293 B

View File

@ -2584,6 +2584,11 @@ $_osd_color: if($variant=='light', black, $fg_color);
}
}
/* Switches */
.toggle-switch {
height: 22px;
width: 44px; }
/* Slider */
.slider {
-barlevel-background-color: #0d0e11;
@ -2606,7 +2611,8 @@ $_osd_color: if($variant=='light', black, $fg_color);
font-weight: normal; }
.message-list-controls {
spacing: 12px; }
spacing: 12px;
font-size: 10pt; }
/* Window Picker */
.window-caption {

View File

@ -2580,6 +2580,11 @@ $_osd_color: if($variant=='light', black, $fg_color);
}
}
/* Switches */
.toggle-switch {
height: 22px;
width: 44px; }
/* Slider */
.slider {
-barlevel-background-color: #d9d9d9;
@ -2602,7 +2607,8 @@ $_osd_color: if($variant=='light', black, $fg_color);
font-weight: normal; }
.message-list-controls {
spacing: 12px; }
spacing: 12px;
font-size: 10pt; }
/* Window Picker */
.window-caption {

View File

@ -24,6 +24,12 @@ $_osd_color: if($variant=='light', black, $fg_color);
}
}
/* Switches */
.toggle-switch {
height: 22px;
width: 44px;
}
/* Slider */
.slider {
-barlevel-background-color: $borders_color;
@ -47,7 +53,10 @@ $_osd_color: if($variant=='light', black, $fg_color);
font-weight: normal;
}
.message-list-controls { spacing: $base_padding * 2; }
.message-list-controls {
spacing: $base_padding * 2;
@include fontsize(10);
}
/* Window Picker */
// Window titles