summaryrefslogtreecommitdiff
path: root/desktop-themes
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2017-01-15 01:12:23 -0500
committerraveit65 <[email protected]>2017-01-17 23:13:30 +0100
commit6a707c74e4480bcf96ad75ec063554fe348f9ce5 (patch)
tree49dc3893791dce1a559c9e67684c6f4537be7102 /desktop-themes
parentcfed2ca0a8c455ae34c1f2d5e631e656af04a265 (diff)
downloadmate-themes-6a707c74e4480bcf96ad75ec063554fe348f9ce5.tar.bz2
mate-themes-6a707c74e4480bcf96ad75ec063554fe348f9ce5.tar.xz
BlackMATE: Fix disappearing focus of flat buttons
Animation made the outline appear temporarily
Diffstat (limited to 'desktop-themes')
-rw-r--r--desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css5
-rw-r--r--desktop-themes/BlackMATE/gtk-3.0/mate-applications.css13
2 files changed, 12 insertions, 6 deletions
diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
index 528e784d..41f8d02a 100644
--- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
@@ -1474,6 +1474,11 @@ button:focus{
outline-width: 0px;
}
+/*Borders don't always work here*/
+button.flat:focus{
+ outline-width: 2px;
+}
+
button.flat:hover {
border-radius: 3px;
}
diff --git a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css
index c57a64ca..30c47a0c 100644
--- a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css
+++ b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css
@@ -24,6 +24,12 @@
shade(@less_dark_color, 1.3),
shade(@less_dark_color, 0.4));
}
+/*don't overrride focus borders*/
+.caja-navigation-window paned>box>box>button:focus,
+.caja-navigation-window paned>box>box>button.flat:focus {
+ border-image: url("assets/button-default-border-dark.svg") 3 / 3px stretch;
+ outline-width: 0px; /*works here but NOT in the general case */
+}
.caja-navigation-window paned>box>box>button:hover {
background-image: -gtk-gradient (radial,
@@ -648,15 +654,10 @@ pluma-print-preview.vertical toolbar.horizontal button.flat.text-button {
background-color: @less_dark_color;
}
-#MyControlCenter.background frame scrolledwindow button.flat {
+#MyControlCenter.background frame scrolledwindow button.flat:not(:hover):not(:focus) {
border-image: none;
}
-/* button hover of applications */
-#MyControlCenter.background frame scrolledwindow button.flat:hover {
- border-radius: 8px;
-}
-
/*******
* Eom *
*******/