From 286bd1171563223208e1bffa23d27cdd9a36dbbf Mon Sep 17 00:00:00 2001 From: Christian Medel Date: Fri, 12 Jun 2020 16:17:22 -0700 Subject: [PATCH] Restore style to gnome tweaks and other custom titlebars --- gtk-3.20/gtk-solid.css | 20 ++++++++++---------- gtk-3.20/gtk.css | 20 ++++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/gtk-3.20/gtk-solid.css b/gtk-3.20/gtk-solid.css index eba39bb..ec1901f 100644 --- a/gtk-3.20/gtk-solid.css +++ b/gtk-3.20/gtk-solid.css @@ -1549,8 +1549,6 @@ headerbar, headerbar:not(.titlebar) { border-color: shade(#545454, 0.9); color: #8C8C8C; background-color: #545454; } - .titlebar headerbar, .titlebar headerbar:backdrop, .titlebar headerbar:not(.titlebar), .titlebar headerbar:not(.titlebar):backdrop { - background-color: transparent; } .tiled headerbar:backdrop, .tiled headerbar, .tiled-top headerbar:backdrop, .tiled-top headerbar, .tiled-right headerbar:backdrop, .tiled-right headerbar, .tiled-bottom headerbar:backdrop, .tiled-bottom headerbar, .tiled-left headerbar:backdrop, .tiled-left headerbar, .maximized headerbar:backdrop, .maximized headerbar, .fullscreen headerbar:backdrop, .fullscreen headerbar, .tiled headerbar:not(.titlebar):backdrop, .tiled headerbar:not(.titlebar), .tiled-top headerbar:not(.titlebar):backdrop, .tiled-top headerbar:not(.titlebar), .tiled-right headerbar:not(.titlebar):backdrop, .tiled-right headerbar:not(.titlebar), .tiled-bottom headerbar:not(.titlebar):backdrop, .tiled-bottom headerbar:not(.titlebar), .tiled-left headerbar:not(.titlebar):backdrop, .tiled-left headerbar:not(.titlebar), .maximized headerbar:not(.titlebar):backdrop, .maximized headerbar:not(.titlebar), .fullscreen headerbar:not(.titlebar):backdrop, .fullscreen headerbar:not(.titlebar) { border-radius: 0; } headerbar .title, headerbar:not(.titlebar) .title { @@ -1955,9 +1953,13 @@ tooltip { textview { color: #FFFFFF; background-color: #1D1E22; } - textview text:selected, textview text selection, textview text:selected:focus, textview text selection:focus { - color: #FFFFFF; - background-color: #96C4F5; } + textview text { + background-color: #1D1E22; } + textview text:selected, textview text selection, textview text:selected:focus, textview text selection:focus { + color: #FFFFFF; + background-color: #96C4F5; } + textview text:backdrop { + background-color: shade(#545454, 0.9); } treeview { -treeview-vertical-separator: 0; } @@ -2516,20 +2518,18 @@ window.background.csd.popup { .tiled .titlebar:not(headerbar), .tiled .titlebar:backdrop:not(headerbar), .maximized .titlebar:not(headerbar), .maximized .titlebar:backdrop:not(headerbar) { border-radius: 0; } -.titlebar, .titlebar:not(headerbar), headerbar.default-decoration, .csd headerbar.default-decoration, .default-decoration.titlebar:not(headerbar), .csd .default-decoration.titlebar:not(headerbar) { +.titlebar, .titlebar:not(headerbar), headerbar.default-decoration, .csd headerbar.default-decoration, .default-decoration.titlebar:not(headerbar), .csd .default-decoration.titlebar:not(headerbar), headerbar .titlebar { min-height: 30px; color: #FFFFFF; background-color: #3B3B3B; background-image: linear-gradient(to bottom, shade(#3B3B3B, 0.965), shade(#3B3B3B, 0.9)); border-bottom: 1px solid shade(shade(#3B3B3B, 0.9), 0.9); } - .titlebar .titlebar, .titlebar:not(headerbar) .titlebar, headerbar.default-decoration .titlebar, .csd headerbar.default-decoration .titlebar, .default-decoration.titlebar:not(headerbar) .titlebar, .csd .default-decoration.titlebar:not(headerbar) .titlebar { - border-bottom: none; } - .titlebar:backdrop, .titlebar:not(headerbar):backdrop, headerbar.default-decoration:backdrop, .csd headerbar.default-decoration:backdrop, .default-decoration.titlebar:not(headerbar):backdrop, .csd .default-decoration.titlebar:not(headerbar):backdrop { + .titlebar:backdrop, .titlebar:not(headerbar):backdrop, headerbar.default-decoration:backdrop, .csd headerbar.default-decoration:backdrop, .default-decoration.titlebar:not(headerbar):backdrop, .csd .default-decoration.titlebar:not(headerbar):backdrop, headerbar .titlebar:backdrop { color: #8C8C8C; background-image: none; background-color: #545454; border-color: shade(#545454, 0.9); } - window.ssd .titlebar, window.ssd .titlebar:not(headerbar), window.ssd headerbar.default-decoration, window.ssd .csd headerbar.default-decoration, window.ssd .default-decoration.titlebar:not(headerbar), window.ssd .csd .default-decoration.titlebar:not(headerbar) { + window.ssd .titlebar, window.ssd .titlebar:not(headerbar), window.ssd headerbar.default-decoration, window.ssd .csd headerbar.default-decoration, window.ssd .default-decoration.titlebar:not(headerbar), window.ssd .csd .default-decoration.titlebar:not(headerbar), window.ssd headerbar .titlebar { border-bottom: none; min-height: 20px; } diff --git a/gtk-3.20/gtk.css b/gtk-3.20/gtk.css index 2d387e4..310e6ef 100644 --- a/gtk-3.20/gtk.css +++ b/gtk-3.20/gtk.css @@ -1549,8 +1549,6 @@ headerbar, headerbar:not(.titlebar) { border-color: shade(#545454, 0.9); color: #8C8C8C; background-color: #545454; } - .titlebar headerbar, .titlebar headerbar:backdrop, .titlebar headerbar:not(.titlebar), .titlebar headerbar:not(.titlebar):backdrop { - background-color: transparent; } .tiled headerbar:backdrop, .tiled headerbar, .tiled-top headerbar:backdrop, .tiled-top headerbar, .tiled-right headerbar:backdrop, .tiled-right headerbar, .tiled-bottom headerbar:backdrop, .tiled-bottom headerbar, .tiled-left headerbar:backdrop, .tiled-left headerbar, .maximized headerbar:backdrop, .maximized headerbar, .fullscreen headerbar:backdrop, .fullscreen headerbar, .tiled headerbar:not(.titlebar):backdrop, .tiled headerbar:not(.titlebar), .tiled-top headerbar:not(.titlebar):backdrop, .tiled-top headerbar:not(.titlebar), .tiled-right headerbar:not(.titlebar):backdrop, .tiled-right headerbar:not(.titlebar), .tiled-bottom headerbar:not(.titlebar):backdrop, .tiled-bottom headerbar:not(.titlebar), .tiled-left headerbar:not(.titlebar):backdrop, .tiled-left headerbar:not(.titlebar), .maximized headerbar:not(.titlebar):backdrop, .maximized headerbar:not(.titlebar), .fullscreen headerbar:not(.titlebar):backdrop, .fullscreen headerbar:not(.titlebar) { border-radius: 0; } headerbar .title, headerbar:not(.titlebar) .title { @@ -1955,9 +1953,13 @@ tooltip { textview { color: #FFFFFF; background-color: #1D1E22; } - textview text:selected, textview text selection, textview text:selected:focus, textview text selection:focus { - color: #FFFFFF; - background-color: #96C4F5; } + textview text { + background-color: #1D1E22; } + textview text:selected, textview text selection, textview text:selected:focus, textview text selection:focus { + color: #FFFFFF; + background-color: #96C4F5; } + textview text:backdrop { + background-color: shade(#545454, 0.9); } treeview { -treeview-vertical-separator: 0; } @@ -2516,20 +2518,18 @@ window.background.csd.popup { .tiled .titlebar:not(headerbar), .tiled .titlebar:backdrop:not(headerbar), .maximized .titlebar:not(headerbar), .maximized .titlebar:backdrop:not(headerbar) { border-radius: 0; } -.titlebar, .titlebar:not(headerbar), headerbar.default-decoration, .csd headerbar.default-decoration, .default-decoration.titlebar:not(headerbar), .csd .default-decoration.titlebar:not(headerbar) { +.titlebar, .titlebar:not(headerbar), headerbar.default-decoration, .csd headerbar.default-decoration, .default-decoration.titlebar:not(headerbar), .csd .default-decoration.titlebar:not(headerbar), headerbar .titlebar { min-height: 30px; color: #FFFFFF; background-color: #3B3B3B; background-image: linear-gradient(to bottom, shade(#3B3B3B, 0.965), shade(#3B3B3B, 0.9)); border-bottom: 1px solid shade(shade(#3B3B3B, 0.9), 0.9); } - .titlebar .titlebar, .titlebar:not(headerbar) .titlebar, headerbar.default-decoration .titlebar, .csd headerbar.default-decoration .titlebar, .default-decoration.titlebar:not(headerbar) .titlebar, .csd .default-decoration.titlebar:not(headerbar) .titlebar { - border-bottom: none; } - .titlebar:backdrop, .titlebar:not(headerbar):backdrop, headerbar.default-decoration:backdrop, .csd headerbar.default-decoration:backdrop, .default-decoration.titlebar:not(headerbar):backdrop, .csd .default-decoration.titlebar:not(headerbar):backdrop { + .titlebar:backdrop, .titlebar:not(headerbar):backdrop, headerbar.default-decoration:backdrop, .csd headerbar.default-decoration:backdrop, .default-decoration.titlebar:not(headerbar):backdrop, .csd .default-decoration.titlebar:not(headerbar):backdrop, headerbar .titlebar:backdrop { color: #8C8C8C; background-image: none; background-color: #545454; border-color: shade(#545454, 0.9); } - window.ssd .titlebar, window.ssd .titlebar:not(headerbar), window.ssd headerbar.default-decoration, window.ssd .csd headerbar.default-decoration, window.ssd .default-decoration.titlebar:not(headerbar), window.ssd .csd .default-decoration.titlebar:not(headerbar) { + window.ssd .titlebar, window.ssd .titlebar:not(headerbar), window.ssd headerbar.default-decoration, window.ssd .csd headerbar.default-decoration, window.ssd .default-decoration.titlebar:not(headerbar), window.ssd .csd .default-decoration.titlebar:not(headerbar), window.ssd headerbar .titlebar { border-bottom: none; min-height: 20px; }