mirror of
https://github.com/luneko/SweetTokyoNight.git
synced 2025-12-13 15:29:53 +01:00
Renew gnome-shell theme
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
//
|
||||
|
||||
@if $t==normal {
|
||||
background-color: transparentize($gray, 0.5);
|
||||
background-color: $gray;
|
||||
border-color: $borders_color;
|
||||
|
||||
@include _shadows($depth);
|
||||
@@ -149,11 +149,12 @@
|
||||
//
|
||||
|
||||
color: $fg_color;
|
||||
background-color: darken($bg_color,5%);
|
||||
box-shadow: $depth4;
|
||||
border: none;
|
||||
background-color: $main_dark;
|
||||
box-shadow: none;
|
||||
border: 1px solid $borders_color;
|
||||
text-shadow: 0 1px black;
|
||||
icon-shadow: 0 1px black;
|
||||
border: 1px solid $borders_color;
|
||||
}
|
||||
@if $t==focus {
|
||||
//
|
||||
@@ -162,11 +163,11 @@
|
||||
$_bg: if($c!=$osd_bg_color, transparentize($c, 0.5),
|
||||
$osd_bg_color);
|
||||
|
||||
color: $osd_fg_color;
|
||||
color: $selected_bg_color;
|
||||
text-shadow: 0 1px black;
|
||||
icon-shadow: 0 1px black;
|
||||
box-shadow: $depth5;
|
||||
border: 1px solid transparentize($selected_bg_color, 0.7);
|
||||
box-shadow: none;
|
||||
border: 1px solid $borders_color;
|
||||
}
|
||||
|
||||
@else if $t==hover {
|
||||
@@ -174,12 +175,11 @@
|
||||
// active osd button
|
||||
//
|
||||
$_bg: if($c!=$osd_bg_color, transparentize($c, 0.3),
|
||||
lighten($osd_bg_color,10%));
|
||||
lighten($main_dark, 2%));
|
||||
|
||||
color: $selected_bg_color;
|
||||
background-color: $_bg;
|
||||
box-shadow: $depth5;
|
||||
border: none;
|
||||
border: 1px solid $borders_color;
|
||||
text-shadow: 0 1px black;
|
||||
icon-shadow: 0 1px black;
|
||||
|
||||
@@ -195,8 +195,7 @@
|
||||
// This should be none, but it's creating some issues with borders, so to
|
||||
// workaround it for now, use inset wich goes through a different code path.
|
||||
// see https://bugzilla.gnome.org/show_bug.cgi?id=752934
|
||||
box-shadow: $depth5;
|
||||
border: none;
|
||||
border: 1px solid $borders_color;
|
||||
text-shadow: none;
|
||||
icon-shadow: none;
|
||||
}
|
||||
@@ -228,3 +227,9 @@
|
||||
icon-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin gradient($c1: $g1, $c2: $g2, $dir: horizontal) {
|
||||
background-gradient-start: $c1;
|
||||
background-gradient-end: $c2;
|
||||
background-gradient-direction: $dir;
|
||||
}
|
||||
Reference in New Issue
Block a user