summaryrefslogtreecommitdiff
path: root/desktop-themes/Green-Submarine/gtk-3.0
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-04-11 12:03:53 +0200
committerWolfgang Ulbrich <[email protected]>2016-04-11 12:03:53 +0200
commit073dd12897ac9a002419c6ce793da028ddc68e33 (patch)
tree047c034afec644073d8ee5563527610cdb4c3967 /desktop-themes/Green-Submarine/gtk-3.0
parent366e96af3a0eeeea337575763a53229e9d9add05 (diff)
downloadmate-themes-073dd12897ac9a002419c6ce793da028ddc68e33.tar.bz2
mate-themes-073dd12897ac9a002419c6ce793da028ddc68e33.tar.xz
GTK+-3.18 submarine themes: adjust padding for primary-toolbar linked buttons
- fixed jumping buttons in rhythmbox
Diffstat (limited to 'desktop-themes/Green-Submarine/gtk-3.0')
-rw-r--r--desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css36
1 files changed, 24 insertions, 12 deletions
diff --git a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css
index a6c01f74..cf97f5ac 100644
--- a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css
@@ -1002,6 +1002,8 @@ GtkColorButton.button {
.primary-toolbar .linked .entry:insensitive,
.primary-toolbar .linked .button,
.primary-toolbar .linked .button:focus,
+.primary-toolbar .linked .button:focus:hover,
+.primary-toolbar .linked .button:focus:hover:active,
.primary-toolbar .linked .button:hover,
.primary-toolbar .linked .button:hover:active,
.primary-toolbar .linked .button:checked,
@@ -1009,7 +1011,7 @@ GtkColorButton.button {
.primary-toolbar .linked .button:checked:hover,
.primary-toolbar .linked .button:checked:hover:active,
.primary-toolbar .linked .button:insensitive {
- padding: 2px 4px 4px 2px;
+ padding: 2px 4px 2px 4px;
border-radius: 0px;
border-width: 1px 0px 1px 0px;
}
@@ -1017,7 +1019,9 @@ GtkColorButton.button {
/* Middle toolbar-button hover */
.toolbar.menubar .linked .button:hover,
.toolbar .raised.linked .button:hover,
-.primary-toolbar .linked .button:hover {
+.primary-toolbar .linked .button:hover,
+.primary-toolbar .linked .button:focus:hover,
+.primary-toolbar .linked .button:focus:hover:active {
background-image: -gtk-gradient (linear,
left top, left bottom,
from (shade(@menu_bg_dark_color, 2.03)),
@@ -1100,6 +1104,8 @@ GtkColorButton.button {
.primary-toolbar .linked .entry:first-child,
.primary-toolbar .linked .button:first-child,
.primary-toolbar .linked .button:focus:first-child,
+.primary-toolbar .linked .button:focus:hover:first-child,
+.primary-toolbar .linked .button:focus:hover:active:first-child,
.primary-toolbar .linked .button:hover:first-child,
.primary-toolbar .linked .button:hover:active:first-child,
.primary-toolbar .linked .button:checked:first-child,
@@ -1108,7 +1114,7 @@ GtkColorButton.button {
.primary-toolbar .linked .button:checked:hover:active:first-child,
.primary-toolbar .linked .button:insensitive:first-child,
.primary-toolbar .linked .entry:insensitive:first-child {
- padding: 2px 4px 4px 2px;
+ padding: 2px 4px 2px 4px;
border-radius: 6px 0px 0px 6px;
border-width: 1px 0px 1px 1px;
}
@@ -1116,7 +1122,9 @@ GtkColorButton.button {
/* Leftmost toolbars-button hover */
.toolbar.menubar .linked .button:hover:first-child,
.toolbar .raised.linked .button:hover:first-child,
-.primary-toolbar .linked .button:hover:first-child {
+.primary-toolbar .linked .button:hover:first-child,
+.primary-toolbar .linked .button:focus:hover:first-child,
+.primary-toolbar .linked .button:focus:hover:active:first-child {
background-image: -gtk-gradient (linear,
left top, left bottom,
from (shade(@menu_bg_dark_color, 2.03)),
@@ -1199,6 +1207,8 @@ GtkColorButton.button {
.primary-toolbar .linked .entry:last-child,
.primary-toolbar .linked .button:last-child,
.primary-toolbar .linked .button:focus:last-child,
+.primary-toolbar .linked .button:focus:hover:last-child,
+.primary-toolbar .linked .button:focus:hover:active:last-child,
.primary-toolbar .linked .button:hover:last-child,
.primary-toolbar .linked .button:hover:active:last-child,
.primary-toolbar .linked .button:checked:last-child,
@@ -1207,7 +1217,7 @@ GtkColorButton.button {
.primary-toolbar .linked .button:checked:hover:active:last-child,
.primary-toolbar .linked .button:insensitive:last-child,
.primary-toolbar .linked .entry:insensitive:last-child {
- padding: 2px 4px 4px 2px;
+ padding: 2px 4px 2px 4px;
border-radius: 0px 6px 6px 0px;
border-width: 1px 1px 1px 0px;
}
@@ -1215,7 +1225,9 @@ GtkColorButton.button {
/* Rightmost toolbars-button hover */
.toolbar.menubar .linked .button:hover:last-child,
.toolbar .raised.linked .button:hover:last-child,
-.primary-toolbar .linked .button:hover:last-child {
+.primary-toolbar .linked .button:hover:last-child,
+.primary-toolbar .linked .button:focus:hover:last-child,
+.primary-toolbar .linked .button:focus:hover:active:last-child {
background-image: -gtk-gradient (linear,
left top, left bottom,
from (shade(@menu_bg_dark_color, 2.03)),
@@ -1297,6 +1309,8 @@ GtkColorButton.button {
.primary-toolbar .linked .button:hover:active:only-child,
.primary-toolbar .linked .button:checked:only-child,
.primary-toolbar .linked .button:checked:focus:only-child,
+.primary-toolbar .linked .button:checked:focus:hover:only-child,
+.primary-toolbar .linked .button:checked:focus:hover:active:only-child,
.primary-toolbar .linked .button:checked:hover:only-child,
.primary-toolbar .linked .button:checked:hover:active:only-child,
.primary-toolbar .linked .entry:insensitive:only-child,
@@ -1309,7 +1323,9 @@ GtkColorButton.button {
/* Linked single toolbar-button hover */
.toolbar .raised.linked .button:hover:only-child,
.toolbar.menubar .linked .button:hover:only-child,
-.primary-toolbar .linked .button:hover:only-child {
+.primary-toolbar .linked .button:hover:only-child,
+.primary-toolbar .linked .button:checked:focus:hover:only-child,
+.primary-toolbar .linked .button:checked:focus:hover:active:only-child {
background-image: -gtk-gradient (linear,
left top, left bottom,
from (shade(@menu_bg_dark_color, 2.03)),
@@ -2460,11 +2476,7 @@ GtkHandleBox,
.toolbar .raised .button,
.toolbar .raised.button {
- padding: 2px;
-}
-
-.toolbar.menubar .button {
- padding: 2px 2px;
+ padding: 2px 4px 2px 4px;
}
.toolbar.menubar .linked .button {