From 835185bba06b6fe2e312c0f7293de32b50ca4fb7 Mon Sep 17 00:00:00 2001 From: Sam Hewitt Date: Fri, 19 Dec 2014 16:18:26 -0500 Subject: [PATCH] Tweaked titlebars. --- Paper/gtk-3.0/apps/gnome-terminal.css | 2 +- Paper/gtk-3.0/widgets/check-radio.css | 36 +++++++++++++++++++++++++-- Paper/gtk-3.0/widgets/header-bar.css | 5 ++-- Paper/gtk-3.0/widgets/titlebar.css | 6 +++-- 4 files changed, 42 insertions(+), 7 deletions(-) diff --git a/Paper/gtk-3.0/apps/gnome-terminal.css b/Paper/gtk-3.0/apps/gnome-terminal.css index cafa7ec..573e232 100644 --- a/Paper/gtk-3.0/apps/gnome-terminal.css +++ b/Paper/gtk-3.0/apps/gnome-terminal.css @@ -94,7 +94,7 @@ TerminalWindow .dynamic-notebook tab.right:active { TerminalScreen, VteTerminal { - -TerminalScreen-background-darkness: 0.95; + /*-TerminalScreen-background-darkness: 0.95;*/ background-color: @terminal_background; color: @terminal_text; } \ No newline at end of file diff --git a/Paper/gtk-3.0/widgets/check-radio.css b/Paper/gtk-3.0/widgets/check-radio.css index 98e6246..31fc81e 100644 --- a/Paper/gtk-3.0/widgets/check-radio.css +++ b/Paper/gtk-3.0/widgets/check-radio.css @@ -93,7 +93,38 @@ GtkCheckButton:selected:focus { color: @backdrop_selected_foreground; } -/* Symbolic */ +/* Labels */ +.check GtkLabel, +.check:active GtkLabel, +.check:focus GtkLabel, +.check:hover GtkLabel, +.radio GtkLabel, +.radio:active GtkLabel, +.radio:focus GtkLabel, +.radio:hover GtkLabel { + color: @text; +} + +.check:backdrop GtkLabel, +.check:backdrop:hover GtkLabel, +.check:active:backdrop GtkLabel, +.radio:backdrop GtkLabel, +.radio:backdrop:hover GtkLabel, +.radio:active:backdrop GtkLabel { + color: @backdrop_text; +} + +.check:insensitive GtkLabel, +.radio:insensitive GtkLabel { + color: @insensitive_text; +} + +.check:insensitive:backdrop GtkLabel, +.radio:insensitive:backdrop GtkLabel { + color: mix(@backdrop_text, @insensitive_text, 0.5); +} + +/* Symbolic Radio */ .menu .menuitem.radio { -gtk-icon-source: -gtk-icontheme("radio-symbolic"); color: @text; @@ -145,4 +176,5 @@ GtkCheckButton:selected:focus { .menuitem.radio:insensitive { background: none; box-shadow: none; -} \ No newline at end of file +} + diff --git a/Paper/gtk-3.0/widgets/header-bar.css b/Paper/gtk-3.0/widgets/header-bar.css index fe6585a..d683714 100644 --- a/Paper/gtk-3.0/widgets/header-bar.css +++ b/Paper/gtk-3.0/widgets/header-bar.css @@ -67,6 +67,9 @@ /********************** * Header bar buttons * **********************/ +.header-bar .button { + padding: 13px; +} .header-bar .flat, .header-bar .button, @@ -78,7 +81,6 @@ background-color: transparent; background-image: none; box-shadow: none; - padding: 13px; transition: all 300ms cubic-bezier(0.3, 0.5, 0.5, 0.9); } @@ -182,7 +184,6 @@ .header-bar .flat:backdrop, .header-bar .suggested-action .button:backdrop, .header-bar .image-button:backdrop { - padding: 13px; border-radius: 0px; background-color: transparent; background-image: none; diff --git a/Paper/gtk-3.0/widgets/titlebar.css b/Paper/gtk-3.0/widgets/titlebar.css index 2b53232..ec148d9 100644 --- a/Paper/gtk-3.0/widgets/titlebar.css +++ b/Paper/gtk-3.0/widgets/titlebar.css @@ -63,6 +63,10 @@ * Header bar buttons * **********************/ +.titlebar .button { + padding: 13px; +} + .titlebar .flat, .titlebar .button, .titlebar .title, @@ -72,7 +76,6 @@ .titlebar .image-button { background-color: transparent; background-image: none; - padding: 13px; transition: all 300ms cubic-bezier(0.3, 0.5, 0.5, 0.9); } @@ -175,7 +178,6 @@ .titlebar .flat:backdrop, .titlebar .suggested-action .button:backdrop, .titlebar .image-button:backdrop { - padding: 13px; border-radius: 0px; background-color: transparent; background-image: none;