[gtk] Adwaita: Remove gtkstyle-fallback
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] Adwaita: Remove gtkstyle-fallback
- Date: Thu, 23 Jan 2020 15:30:35 +0000 (UTC)
commit 5d6aeb4bf72da59029c895a757833a85723ab49e
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jan 23 00:04:09 2020 -0500
Adwaita: Remove gtkstyle-fallback
gtk/theme/Adwaita/_common.scss | 25 -------------------------
gtk/theme/Adwaita/gtk-contained-dark.css | 10 ----------
gtk/theme/Adwaita/gtk-contained.css | 10 ----------
3 files changed, 45 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index e73f05fb58..2fc1209386 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -74,31 +74,6 @@ check:disabled,
radio:disabled,
treeview.expander:disabled { -gtk-icon-filter: opacity(0.5); }
-.gtkstyle-fallback {
- color: $fg_color;
- background-color: $bg_color;
-
- &:hover {
- color: $fg_color;
- background-color: lighten($bg_color, 10%);
- }
-
- &:active {
- color: $fg_color;
- background-color: darken($bg_color, 10%);
- }
-
- &:disabled {
- color: $insensitive_fg_color;
- background-color: $insensitive_bg_color;
- }
-
- &:selected {
- color: $selected_fg_color;
- background-color: $selected_bg_color;
- }
-}
-
.view,
%view {
color: $text_color;
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index b172d111f9..ea1d9437cd 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -15,16 +15,6 @@ button:focus(visible), checkbutton:focus(visible), radiobutton:focus(visible), s
/* These wildcard seems unavoidable, need to investigate. Wildcards are bad and troublesome, use them with
care, or better, just don't. Everytime a wildcard is used a kitten dies, painfully. */
spinner:disabled, arrow:disabled, scrollbar:disabled, check:disabled, radio:disabled,
treeview.expander:disabled { -gtk-icon-filter: opacity(0.5); }
-.gtkstyle-fallback { color: #eeeeec; background-color: #353535; }
-
-.gtkstyle-fallback:hover { color: #eeeeec; background-color: #4e4e4e; }
-
-.gtkstyle-fallback:active { color: #eeeeec; background-color: #1b1b1b; }
-
-.gtkstyle-fallback:disabled { color: #919190; background-color: #323232; }
-
-.gtkstyle-fallback:selected { color: #ffffff; background-color: #15539e; }
-
.view, iconview, textview > text { color: white; background-color: #2d2d2d; }
.view:backdrop, iconview:backdrop, textview > text:backdrop { color: #d6d6d6; background-color: #303030; }
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index bfba53b6db..7158305578 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -15,16 +15,6 @@ button:focus(visible), checkbutton:focus(visible), radiobutton:focus(visible), s
/* These wildcard seems unavoidable, need to investigate. Wildcards are bad and troublesome, use them with
care, or better, just don't. Everytime a wildcard is used a kitten dies, painfully. */
spinner:disabled, arrow:disabled, scrollbar:disabled, check:disabled, radio:disabled,
treeview.expander:disabled { -gtk-icon-filter: opacity(0.5); }
-.gtkstyle-fallback { color: #2e3436; background-color: #f6f5f4; }
-
-.gtkstyle-fallback:hover { color: #2e3436; background-color: white; }
-
-.gtkstyle-fallback:active { color: #2e3436; background-color: #dfdcd8; }
-
-.gtkstyle-fallback:disabled { color: #929595; background-color: #faf9f8; }
-
-.gtkstyle-fallback:selected { color: #ffffff; background-color: #3584e4; }
-
.view, iconview, textview > text { color: black; background-color: #ffffff; }
.view:backdrop, iconview:backdrop, textview > text:backdrop { color: #323232; background-color: #fcfcfc; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]