From a00b23027a4a6198691cb2037a76a58d3ffb967b Mon Sep 17 00:00:00 2001 From: Sam Hewitt Date: Wed, 17 Dec 2014 23:36:56 -0500 Subject: [PATCH] Damn buttons. --- Paper/gtk-3.0/widgets/buttons.css | 4 ---- Paper/gtk-3.0/widgets/header-bar.css | 29 +++++++++++++++++++++++++++- Paper/gtk-3.0/widgets/titlebar.css | 28 ++++++++++++++++++++++++++- 3 files changed, 55 insertions(+), 6 deletions(-) diff --git a/Paper/gtk-3.0/widgets/buttons.css b/Paper/gtk-3.0/widgets/buttons.css index 540cfc1..1a983bc 100644 --- a/Paper/gtk-3.0/widgets/buttons.css +++ b/Paper/gtk-3.0/widgets/buttons.css @@ -101,7 +101,6 @@ GtkCalendar.button:backdrop:hover, /* Insensitive Button */ .button:insensitive, .button.default:insensitive, -.button:active:insensitive, .button.text-button:insensitive, .button.image-button:insensitive { border: 1px solid @insensitive_border; @@ -112,7 +111,6 @@ GtkCalendar.button:backdrop:hover, /* Backdrop Button */ .button:backdrop, .button.default:backdrop, -.button:active:backdrop, .button.text-button:backdrop, .button.image-button:backdrop { border-color: @backdrop_button_background; @@ -122,7 +120,6 @@ GtkCalendar.button:backdrop:hover, /* Backdrop Button */ .button:backdrop:hover, .button.default:backdrop:hover, -.button:active:backdrop:hover, .button.text-button:backdrop:hover, .button.image-button:backdrop:hover { background-color: shade(@backdrop_button_background, 1.1); @@ -133,7 +130,6 @@ GtkCalendar.button:backdrop:hover, /* Insensitive Button */ .button:insensitive:backdrop, .button.default:insensitive:backdrop, -.button:active:insensitive:backdrop, .button.text-button:insensitive:backdrop, .button.image-button:insensitive:backdrop { border: 1px solid @insensitive_border; diff --git a/Paper/gtk-3.0/widgets/header-bar.css b/Paper/gtk-3.0/widgets/header-bar.css index 553bdcd..abe2166 100644 --- a/Paper/gtk-3.0/widgets/header-bar.css +++ b/Paper/gtk-3.0/widgets/header-bar.css @@ -91,6 +91,7 @@ background-color: transparent; border-radius: 0px; border: none; + outline: none; color: @header_text; } @@ -106,6 +107,7 @@ font: Bold; background-color: alpha(#000, 0.1); border: none; + outline: none; color: @header_text; box-shadow: inset 0 -2px 0 0 @header_text; } @@ -122,6 +124,7 @@ background-color: transparent; font: Bold; border: none; + outline: none; color: @header_text; box-shadow: inset 0 -2px 0 0 @header_text; } @@ -137,6 +140,7 @@ border-radius: 0px; background-color: alpha(#000, 0.1); border: none; + outline: none; box-shadow: inset 0 -2px 0 0 @header_text; color: @header_text; } @@ -153,6 +157,7 @@ border-radius: 0px; background-color: transparent; border: none; + outline: none; color: @backdrop_header_text; } @@ -168,11 +173,12 @@ font: Bold; background-color: transparent; border: none; + outline: none; color: @backdrop_header_text; box-shadow: inset 0 -2px 0 0 @backdrop_header_text; } -/* Backdrop:Hover; Button */ +/* Backdrop:Hover Button */ .header-bar .button:backdrop:hover, .header-bar .text-button:backdrop:hover, .header-bar .titlebutton:backdrop:hover, @@ -183,6 +189,7 @@ background-color: transparent; border-radius: 0px; border: none; + outline: none; box-shadow: inset 0 -2px 0 0 @backdrop_header_text; color: @backdrop_header_text; } @@ -199,6 +206,23 @@ border-radius: 0px; font: Bold; border: none; + outline: none; + color: @insensitive_header_text; +} + +/* Insensitive:Backdrop Button */ +.header-bar .button:insensitive:backdrop, +.header-bar .text-button:insensitive:backdrop, +.header-bar .titlebutton:insensitive:backdrop, +.header-bar .linked:insensitive:backdrop, +.header-bar .flat:insensitive:backdrop, +.header-bar .suggested-action .button:insensitive:backdrop, +.header-bar .image-button:insensitive:backdrop { + border-radius: 0px; + font: Bold; + background-color: transparent; + border: none; + outline: none; color: @insensitive_header_text; } @@ -288,6 +312,7 @@ padding: 6px; border-radius: 6px; border: none; + outline: none; icon-shadow:none; } @@ -296,12 +321,14 @@ background: none; color: @header_text; border: none; + outline: none; } .header-bar .entry:backdrop { background: none; color: @backdrop_header_text; border: none; + outline: none; } .header-bar .entry.image { diff --git a/Paper/gtk-3.0/widgets/titlebar.css b/Paper/gtk-3.0/widgets/titlebar.css index 5026666..b775ccd 100644 --- a/Paper/gtk-3.0/widgets/titlebar.css +++ b/Paper/gtk-3.0/widgets/titlebar.css @@ -86,6 +86,7 @@ background-color: transparent; border-radius: 0px; border: none; + outline: none; color: @header_text; } @@ -101,6 +102,7 @@ font: Bold; background-color: alpha(#000, 0.2); border: none; + outline: none; color: @header_text; box-shadow: inset 0 -4px 0 0 @header_text; } @@ -117,6 +119,7 @@ background-color: transparent; font: Bold; border: none; + outline: none; color: @header_text; box-shadow: inset 0 -2px 0 0 @header_text; } @@ -132,6 +135,7 @@ border-radius: 0px; background-color: alpha(#000, 0.1); border: none; + outline: none; box-shadow: inset 0 -2px 0 0 @header_text; color: @header_text; } @@ -148,6 +152,7 @@ border-radius: 0px; background-color: transparent; border: none; + outline: none; color: @backdrop_header_text; } @@ -163,6 +168,7 @@ font: Bold; background-color: transparent; border: none; + outline: none; color: @backdrop_header_text; box-shadow: inset 0 -2px 0 0 @backdrop_header_text; } @@ -178,6 +184,7 @@ background-color: transparent; border-radius: 0px; border: none; + outline: none; box-shadow: inset 0 -2px 0 0 @backdrop_header_text; color: @backdrop_header_text; } @@ -194,10 +201,25 @@ border-radius: 0px; font: Bold; border: none; + outline: none; color: @insensitive_header_text; } - +/* Insensitive:Backdrop Button */ +.titlebar .button:insensitive:backdrop, +.titlebar .text-button:insensitive:backdrop, +.titlebar .titlebutton:insensitive:backdrop, +.titlebar .linked:insensitive:backdrop, +.titlebar .flat:insensitive:backdrop, +.titlebar .suggested-action .button:insensitive:backdrop, +.titlebar .image-button:insensitive:backdrop { + border-radius: 0px; + font: Bold; + background-color: transparent; + border: none; + outline: none; + color: @insensitive_header_text; +} /* Button Images */ .titlebar .button GtkImage, @@ -292,20 +314,24 @@ .titlebar .right .button:first-child, .titlebar .right .titlebutton:first-child { border: none; + outline: none; } .titlebar .right .button:last-child, .titlebar .right .titlebutton:last-child { border: none; + outline: none; } .titlebar .left .button:last-child, .titlebar .left .titlebutton:last-child { border: none; + outline: none; } .titlebar .left .button:first-child, .titlebar .left .titlebutton:first-child { border: none; + outline: none; }