summaryrefslogtreecommitdiff
path: root/desktop-themes/Blue-Submarine/gtk-3.0
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-03-04 21:46:05 +0100
committerraveit65 <[email protected]>2016-03-04 21:47:26 +0100
commit3524e20910b07a246ae02024e681876d4266d780 (patch)
tree634b0b1828915171d2c89f4e29d96772e9b05b29 /desktop-themes/Blue-Submarine/gtk-3.0
parent40c6da4c96e771e2076d02bf8660be6dd4bc9459 (diff)
downloadmate-themes-3524e20910b07a246ae02024e681876d4266d780.tar.bz2
mate-themes-3524e20910b07a246ae02024e681876d4266d780.tar.xz
GTK+-3.20 Submarine themes: re-work notebook after 3.19.11 breakage
Diffstat (limited to 'desktop-themes/Blue-Submarine/gtk-3.0')
-rw-r--r--desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css144
-rw-r--r--desktop-themes/Blue-Submarine/gtk-3.0/scrollbar.css2
2 files changed, 64 insertions, 82 deletions
diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css
index c69da9a4..a996f990 100644
--- a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css
@@ -3236,25 +3236,11 @@ notebook {
border-style: solid;
border-color: @notebook_border;
border-width: 1px;
-}
-
-notebook.frame:nth-child(even) {
- border-radius: 0px 4px 4px 0px;
-}
-
-notebook.frame:nth-child(odd){
- border-radius: 0px 0px 4px 4px;
-}
-
-notebook.frame:nth-child(first) {
border-radius: 4px 4px 0px 0px;
}
-notebook.frame:nth-child(last){
- border-radius: 4px 0px 0px 4px;
-}
-
notebook header.top {
+ border-radius: 4px 4px 0px 0px;
border-width: 0px 0px 1px 0px;
background-image: linear-gradient(to bottom,
shade(@theme_bg_color, 0.86),
@@ -3263,6 +3249,7 @@ notebook header.top {
}
notebook header.bottom {
+ border-radius: 0px;
border-width: 1px 0px 0px 0px;
background-image: linear-gradient(to top,
shade(@theme_bg_color, 0.86),
@@ -3271,6 +3258,7 @@ notebook header.bottom {
}
notebook header.left {
+ border-radius: 4px 0px 0px 0px;
border-width: 1px 1px 0px 0px;
background-image: linear-gradient(to right,
shade(@theme_bg_color, 0.86),
@@ -3279,6 +3267,7 @@ notebook header.left {
}
notebook header.right {
+ border-radius: 0px 4px 0px 0px;
border-width: 0px 0px 0px 1px;
background-image: linear-gradient(to left,
shade(@theme_bg_color, 0.86),
@@ -3308,24 +3297,28 @@ notebook header tab .active-page label {
color: @theme_fg_color;
}
-/* tabs in view areas, ie. pluma-, caja-tabs */
-paned.horizontal notebook header tab {
- padding: 2px 4px;
-}
-
+/* tabs and header in view areas, ie. pluma-, caja-tabs */
paned.horizontal notebook header.top {
border-radius: 0px;
border-width: 0px;
box-shadow: none;
}
-paned.horizontal notebook header.top tab:active,
-paned.horizontal notebook header.top tab:hover:active {
+paned.horizontal notebook header tab {
+ padding: 2px 4px;
+ margin: 0px -1px 0px -1px;
+ border-width: 0px 1px 0 1px;
+ border-style: solid;
+ border-color: transparent;
+}
+
+paned.horizontal notebook header.top tab:checked,
+paned.horizontal notebook header.top tab:checked:hover {
background-image: linear-gradient(to bottom,
shade(@theme_bg_color, 1.18),
shade(@theme_bg_color, 1.1));
border-radius: 4px 4px 0 0;
- border-width: 1px 1px 0 1px;
+ border-width: 0px 1px 0 1px;
border-style: solid;
border-color: @notebook_border;
box-shadow: none;
@@ -3336,10 +3329,10 @@ paned.horizontal notebook header.top tab:hover {
alpha(@theme_base_color, 0.0),
alpha(@theme_base_color, 0.3));
border-radius: 4px 4px 0 0;
- border-style: none;
- box-shadow: inset 0px 1px alpha(shade(@button_border, 1.00), 0.70),
- inset 1px 0px alpha(shade(@button_border, 0.94), 0.80),
- inset -1px 0px alpha(shade(@button_border, 0.94), 0.80);
+ border-width: 0px 1px 0 1px;
+ border-style: solid;
+ border-color: @notebook_border;
+ box-shadow: none;
}
/* tabs in dialog windows */
@@ -3347,109 +3340,104 @@ paned.horizontal notebook header.top tab:hover {
notebook.frame header.top tab,
notebook.frame header.bottom tab {
padding: 5px 20px 6px;
+ margin: 0px 0px 0px -1px;
+ border-width: 0px 1px 0px 1px;
+ border-style: solid;
+ border-color: transparent;
}
-notebook.frame header.top tab:active,
-notebook.frame header.top tab:hover:active {
+notebook.frame header.top tab:checked,
+notebook.frame header.top tab:checked:hover {
background-image: linear-gradient(to bottom,
shade(@theme_bg_color, 1.18),
shade(@theme_bg_color, 1.1));
- border-radius: 4px 4px 0 0;
- border-width: 1px 1px 0 1px;
+ border-radius: 4px 4px 0px 0px;
+ border-width: 0px 1px 0px 1px;
border-style: solid;
border-color: @notebook_border;
- box-shadow: none;
}
notebook.frame header.top tab:hover {
background-image: linear-gradient(to bottom,
alpha(@theme_base_color, 0.0),
alpha(@theme_base_color, 0.3));
- border-radius: 4px 4px 0 0;
- border-width: 1px 1px 0 1px;
- border-width: 0px 0px 1px 0;
- border-style: none;
- box-shadow: inset 0px 1px alpha(shade(@button_border, 1.00), 0.70),
- inset 1px 0px alpha(shade(@button_border, 0.94), 0.80),
- inset -1px 0px alpha(shade(@button_border, 0.94), 0.80);
+ border-radius: 4px 4px 0px 0px;
+ border-width: 0px 1px 0px 1px;
+ border-style: solid;
+ border-color: @notebook_border;
}
-notebook.frame header.bottom tab:active,
-notebook.frame header.bottom tab:hover:active {
+notebook.frame header.bottom tab:checked,
+notebook.frame header.bottom tab:checked:hover {
background-image: linear-gradient(to top,
shade(@theme_bg_color, 1.18),
shade(@theme_bg_color, 1.1));
- border-radius: 0 0 4px 4px;
+ border-radius: 0px 0px 4px 4px;
border-style: solid;
- border-width: 0px 1px 1px 1px;
+ border-width: 0px 1px 0px 1px;
border-color: @notebook_border;
- box-shadow: none;
}
notebook.frame header.bottom tab:hover {
background-image: linear-gradient(to top,
alpha(@theme_base_color, 0.0),
alpha(@theme_base_color, 0.3));
- border-radius: 0 0 4px 4px;
- border-style: none;
- box-shadow: none;
- box-shadow: inset 1px 0px alpha(shade(@button_border, 0.94), 0.80),
- inset -1px 0px alpha(shade(@button_border, 0.94), 0.80),
- inset 0px -1px alpha(shade(@button_border, 0.88), 0.90);
+ border-radius: 0px 0px 4px 4px;
+ border-style: solid;
+ border-width: 0px 1px 0px 1px;
+ border-color: @notebook_border;
}
/* vertical tabs */
notebook.frame header.left tab,
notebook.frame header.right tab {
padding: 5px 20px;
+ margin: -1px 0px 0px 0px;
+ border-width: 1px 0px 1px 0px;
+ border-style: solid;
+ border-color: transparent;
}
-notebook header.left tab:active,
-notebook header.left tab:hover:active {
+notebook header.left tab:checked,
+notebook header.left tab:checked:hover {
background-image: linear-gradient(to right,
shade(@theme_bg_color, 1.18),
shade(@theme_bg_color, 1.1));
border-style: solid;
- border-width: 1px 0px 1px 1px;
+ border-width: 1px 0px 1px 0px;
border-color: @notebook_border;
border-radius: 4px 0px 0px 4px;
- box-shadow: none;
}
notebook header.left tab:hover {
background-image: linear-gradient(to right,
alpha(@theme_base_color, 0.0),
alpha(@theme_base_color, 0.3));
- border-style: none;
- border-width: 1px 0px 1px 1px;
+ border-style: solid;
+ border-width: 1px 0px 1px 0px;
+ border-color: @notebook_border;
border-radius: 4px 0px 0px 4px;
- box-shadow: inset 0px 1px alpha(shade(@button_border, 1.00), 0.70),
- inset 1px 0px alpha(shade(@button_border, 0.94), 0.80),
- inset 0px -1px alpha(shade(@button_border, 0.88), 0.90);
}
-notebook header.right tab:active,
-notebook header.right tab:hover:active {
+notebook header.right tab:checked,
+notebook header.right tab:checked:hover {
background-image: linear-gradient(to left,
shade(@theme_bg_color, 1.18),
shade(@theme_bg_color, 1.1));
border-style: solid;
- border-width: 1px 1px 1px 0px;
+ border-width: 1px 0px 1px 0px;
border-color: @notebook_border;
border-radius: 0px 4px 4px 0px;
- box-shadow: none;
}
notebook header.right tab:hover {
background-image: linear-gradient(to left,
alpha(@theme_base_color, 0.0),
alpha(@theme_base_color, 0.3));
- border-style: none;
- border-width: 1px 1px 1px 0px;
+ border-style: solid;
+ border-width: 1px 0px 1px 0px;
+ border-color: @notebook_border;
border-radius: 0px 4px 4px 0px;
- box-shadow: inset 0px 1px alpha(shade(@button_border, 1.00), 0.70),
- inset -1px 0px alpha(shade(@button_border, 0.94), 0.80),
- inset 0px -1px alpha(shade(@button_border, 0.88), 0.90);
}
notebook tab.reorderable-page:hover {
@@ -3461,7 +3449,7 @@ notebook tab.reorderable-page:hover {
border-style: none;
}
-notebook tab.reorderable-page:active {
+notebook tab.reorderable-page:checked {
background-image: linear-gradient(to bottom,
shade(@theme_bg_color, 1.18),
shade(@theme_bg_color, 1.1));
@@ -3490,16 +3478,16 @@ notebook .active-page button.flat.small-button {
-gtk-icon-shadow: 0 1px @button_text_shadow;
}
-notebook button.flat:active,
-notebook button.flat:active:hover,
-notebook button.flat.small-button:active,
-notebook button.flat.small-button:active:hover {
+notebook button.flat:checked,
+notebook button.flat:checked:hover,
+notebook button.flat.small-button:checked,
+notebook button.flat.small-button:checked:hover {
color: @theme_fg_color;
border-color: alpha(black, 0.1);
}
-notebook tab button:active,
-notebook tab button:hover:active {
+notebook tab button:checked,
+notebook tab button:checked:hover {
color: @button_active_text;
background-color: alpha(black, 0.08);
box-shadow: inset 0 1px alpha(black, 0.05);
@@ -3514,25 +3502,21 @@ notebook tab button:hover:active {
notebook header.top tabs arrow.up,
notebook header.bottom tabs arrow.up {
-gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
- color: @theme_fg_color;
}
notebook header.top tabs arrow.down,
notebook header.bottom tabs arrow.down {
-gtk-icon-source: -gtk-icontheme("pan-start-symbolic");
- color: @theme_fg_color;
}
notebook header.left tabs arrow.up,
notebook header.right tabs arrow.up {
-gtk-icon-source: -gtk-icontheme("pan-up-symbolic");
- color: @theme_fg_color;
}
notebook header.left tabs arrow.down,
notebook header.right tabs arrow.down {
-gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
- color: @theme_fg_color;
}
notebook header tabs arrow {
@@ -3540,7 +3524,7 @@ notebook header tabs arrow {
}
notebook header tabs arrow:hover,
-notebook header tabs arrow:active {
+notebook header tabs arrow:checked {
color: @theme_selected_bg_color;
}
diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/scrollbar.css b/desktop-themes/Blue-Submarine/gtk-3.0/scrollbar.css
index 4eca8153..0b118089 100644
--- a/desktop-themes/Blue-Submarine/gtk-3.0/scrollbar.css
+++ b/desktop-themes/Blue-Submarine/gtk-3.0/scrollbar.css
@@ -6,8 +6,6 @@ scrollbar {
background-image: none;
border-style: solid;
border-color: shade(@button_border, 1.13);
- -GtkRange-stepper-size: 16;
- -GtkRange-stepper-spacing: 0;
-GtkScrollbar-has-backward-stepper: true;
-GtkScrollbar-has-forward-stepper: true;
-GtkScrollbar-activate-slider: 1;