summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-03-18 12:41:37 +0100
committerraveit65 <[email protected]>2016-03-18 12:43:09 +0100
commit399ce65b32fcc793742b6651b5a7c42bb4a87c67 (patch)
treec640cbc16db4d7ca444d0386afaf311799d4c11e
parent85a1b23b9549cdf22d5c2012d8950dd2189e90e9 (diff)
downloadmate-themes-399ce65b32fcc793742b6651b5a7c42bb4a87c67.tar.bz2
mate-themes-399ce65b32fcc793742b6651b5a7c42bb4a87c67.tar.xz
GTK+-3.20 Submarine themes: adjust notebooks
-rw-r--r--desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css103
-rw-r--r--desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css103
2 files changed, 152 insertions, 54 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 96c16fb6..90bd3908 100644
--- a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css
@@ -3304,6 +3304,10 @@ notebook {
padding: 0;
background-clip: border-box;
background-color: shade (@theme_bg_color, 1.1);
+ border-style: none;
+}
+
+notebook.frame {
border-style: solid;
border-color: @notebook_border;
border-width: 1px;
@@ -3369,13 +3373,25 @@ notebook header tab .active-page label {
}
/* tabs and header in view areas, ie. pluma-, caja-tabs */
-paned.horizontal notebook header.top {
- border-radius: 0px;
- border-width: 0px;
+paned.horizontal > box.vertical > notebook > header.top,
+paned.horizontal > paned.vertical > notebook > header.top {
+ border-style: solid;
+ border-color: @notebook_border;
+ border-width: 1px 1px 1px 1px;
+ border-radius: 4px 4px 0px 0px;
box-shadow: none;
}
-paned.horizontal notebook header tab {
+paned.horizontal > box.vertical > notebook scrolledwindow.frame,
+paned.horizontal > paned.vertical > notebook scrolledwindow.frame {
+ border-width: 0px 1px 1px 1px;
+ border-style: solid;
+ border-color: @notebook_border;
+}
+
+paned.horizontal > notebook > header tab,
+paned.horizontal > box.vertical > notebook > header tab,
+paned.horizontal > paned.vertical > notebook > header tab {
padding: 2px 4px;
margin: 0px -1px 0px -1px;
border-width: 0px 1px 0 1px;
@@ -3383,8 +3399,12 @@ paned.horizontal notebook header tab {
border-color: transparent;
}
-paned.horizontal notebook header.top tab:checked,
-paned.horizontal notebook header.top tab:checked:hover {
+paned.horizontal > notebook > header.top tab:checked,
+paned.horizontal > notebook > header.top tab:checked:hover,
+paned.horizontal > box.vertical > notebook > header.top tab:checked,
+paned.horizontal > box.vertical > notebook > header.top tab:checked:hover,
+paned.horizontal > paned.vertical > notebook > header.top tab:checked,
+paned.horizontal > paned.vertical > notebook > header.top tab:checked:hover {
background-image: linear-gradient(to bottom,
shade(@theme_bg_color, 1.18),
shade(@theme_bg_color, 1.1));
@@ -3395,7 +3415,9 @@ paned.horizontal notebook header.top tab:checked:hover {
box-shadow: none;
}
-paned.horizontal notebook header.top tab:hover {
+paned.horizontal > notebook > header.top tab:hover,
+paned.horizontal > box.vertical > notebook > header.top tab:hover,
+paned.horizontal > paned.vertical > notebook > header.top tab:hover {
background-image: linear-gradient(to bottom,
alpha(@theme_base_color, 0.0),
alpha(@theme_base_color, 0.3));
@@ -3406,10 +3428,38 @@ paned.horizontal notebook header.top tab:hover {
box-shadow: none;
}
+paned.horizontal > box.vertical > notebook > header button.flat,
+paned.horizontal > paned.vertical > notebook > header button.flat {
+ padding: 1px;
+}
+
+/* other notebooks */
+paned.horizontal > notebook {
+ border-width: 1px 1px 1px 1px;
+ border-style: solid;
+ border-color: @notebook_border;
+ border-radius: 4px 4px 0px 0px;
+}
+
+paned.horizontal > notebook > header {
+ border-width: 0px 0px 0px 0px;
+ border-style: solid;
+ border-color: @notebook_border;
+ border-radius: 4px 4px 0px 0px;
+}
+
+paned.horizontal > notebook > header label {
+ padding: 4px;
+}
+
+paned.horizontal > notebook > header button.flat.small-button {
+ padding: 1px;
+}
+
/* tabs in dialog windows */
/* horizontal tabs */
-notebook.frame header.top tab,
-notebook.frame header.bottom tab {
+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;
@@ -3417,8 +3467,8 @@ notebook.frame header.bottom tab {
border-color: transparent;
}
-notebook.frame header.top tab:checked,
-notebook.frame header.top tab:checked:hover {
+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));
@@ -3428,7 +3478,7 @@ notebook.frame header.top tab:checked:hover {
border-color: @notebook_border;
}
-notebook.frame header.top tab:hover {
+notebook.frame > header.top tab:hover {
background-image: linear-gradient(to bottom,
alpha(@theme_base_color, 0.0),
alpha(@theme_base_color, 0.3));
@@ -3438,8 +3488,8 @@ notebook.frame header.top tab:hover {
border-color: @notebook_border;
}
-notebook.frame header.bottom tab:checked,
-notebook.frame header.bottom tab:checked:hover {
+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));
@@ -3449,7 +3499,7 @@ notebook.frame header.bottom tab:checked:hover {
border-color: @notebook_border;
}
-notebook.frame header.bottom tab:hover {
+notebook.frame > header.bottom tab:hover {
background-image: linear-gradient(to top,
alpha(@theme_base_color, 0.0),
alpha(@theme_base_color, 0.3));
@@ -3460,8 +3510,8 @@ notebook.frame header.bottom tab:hover {
}
/* vertical tabs */
-notebook.frame header.left tab,
-notebook.frame header.right tab {
+notebook.frame > header.left tab,
+notebook.frame > header.right tab {
padding: 5px 20px;
margin: -1px 0px 0px 0px;
border-width: 1px 0px 1px 0px;
@@ -3469,8 +3519,8 @@ notebook.frame header.right tab {
border-color: transparent;
}
-notebook header.left tab:checked,
-notebook header.left tab:checked:hover {
+notebook.frame > header.left tab:checked,
+notebook.frame > header.left tab:checked:hover {
background-image: linear-gradient(to right,
shade(@theme_bg_color, 1.18),
shade(@theme_bg_color, 1.1));
@@ -3480,7 +3530,7 @@ notebook header.left tab:checked:hover {
border-radius: 4px 0px 0px 4px;
}
-notebook header.left tab:hover {
+notebook.frame > header.left tab:hover {
background-image: linear-gradient(to right,
alpha(@theme_base_color, 0.0),
alpha(@theme_base_color, 0.3));
@@ -3490,8 +3540,8 @@ notebook header.left tab:hover {
border-radius: 4px 0px 0px 4px;
}
-notebook header.right tab:checked,
-notebook header.right tab:checked:hover {
+notebook.frame > header.right tab:checked,
+notebook.frame > header.right tab:checked:hover {
background-image: linear-gradient(to left,
shade(@theme_bg_color, 1.18),
shade(@theme_bg_color, 1.1));
@@ -3501,7 +3551,7 @@ notebook header.right tab:checked:hover {
border-radius: 0px 4px 4px 0px;
}
-notebook header.right tab:hover {
+notebook.frame > header.right tab:hover {
background-image: linear-gradient(to left,
alpha(@theme_base_color, 0.0),
alpha(@theme_base_color, 0.3));
@@ -3530,7 +3580,7 @@ notebook tab.reorderable-page:checked {
}
/* close button styling */
-
+notebook button.flat,
notebook button.flat.small-button {
border-image: none;
background-image: none;
@@ -3539,12 +3589,11 @@ notebook button.flat.small-button {
border-style: solid;
border-color: transparent;
border-width: 1px;
- padding: 1px;
-gtk-icon-shadow: none;
}
-notebook .prelight-page button.flat.small-button,
-notebook .active-page button.flat.small-button {
+notebook tab.prelight-page button.flat.small-button,
+notebook tab.active-page button.flat.small-button {
color: mix(@theme_fg_color, @theme_base_color, 0.6);
-gtk-icon-shadow: 0 1px @button_text_shadow;
}
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 e4dd5809..23cf71c1 100644
--- a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css
@@ -3306,6 +3306,10 @@ notebook {
padding: 0;
background-clip: border-box;
background-color: shade (@theme_bg_color, 1.1);
+ border-style: none;
+}
+
+notebook.frame {
border-style: solid;
border-color: @notebook_border;
border-width: 1px;
@@ -3371,13 +3375,25 @@ notebook header tab .active-page label {
}
/* tabs and header in view areas, ie. pluma-, caja-tabs */
-paned.horizontal notebook header.top {
- border-radius: 0px;
- border-width: 0px;
+paned.horizontal > box.vertical > notebook > header.top,
+paned.horizontal > paned.vertical > notebook > header.top {
+ border-style: solid;
+ border-color: @notebook_border;
+ border-width: 1px 1px 1px 1px;
+ border-radius: 4px 4px 0px 0px;
box-shadow: none;
}
-paned.horizontal notebook header tab {
+paned.horizontal > box.vertical > notebook scrolledwindow.frame,
+paned.horizontal > paned.vertical > notebook scrolledwindow.frame {
+ border-width: 0px 1px 1px 1px;
+ border-style: solid;
+ border-color: @notebook_border;
+}
+
+paned.horizontal > notebook > header tab,
+paned.horizontal > box.vertical > notebook > header tab,
+paned.horizontal > paned.vertical > notebook > header tab {
padding: 2px 4px;
margin: 0px -1px 0px -1px;
border-width: 0px 1px 0 1px;
@@ -3385,8 +3401,12 @@ paned.horizontal notebook header tab {
border-color: transparent;
}
-paned.horizontal notebook header.top tab:checked,
-paned.horizontal notebook header.top tab:checked:hover {
+paned.horizontal > notebook > header.top tab:checked,
+paned.horizontal > notebook > header.top tab:checked:hover,
+paned.horizontal > box.vertical > notebook > header.top tab:checked,
+paned.horizontal > box.vertical > notebook > header.top tab:checked:hover,
+paned.horizontal > paned.vertical > notebook > header.top tab:checked,
+paned.horizontal > paned.vertical > notebook > header.top tab:checked:hover {
background-image: linear-gradient(to bottom,
shade(@theme_bg_color, 1.18),
shade(@theme_bg_color, 1.1));
@@ -3397,7 +3417,9 @@ paned.horizontal notebook header.top tab:checked:hover {
box-shadow: none;
}
-paned.horizontal notebook header.top tab:hover {
+paned.horizontal > notebook > header.top tab:hover,
+paned.horizontal > box.vertical > notebook > header.top tab:hover,
+paned.horizontal > paned.vertical > notebook > header.top tab:hover {
background-image: linear-gradient(to bottom,
alpha(@theme_base_color, 0.0),
alpha(@theme_base_color, 0.3));
@@ -3408,10 +3430,38 @@ paned.horizontal notebook header.top tab:hover {
box-shadow: none;
}
+paned.horizontal > box.vertical > notebook > header button.flat,
+paned.horizontal > paned.vertical > notebook > header button.flat {
+ padding: 1px;
+}
+
+/* other notebooks */
+paned.horizontal > notebook {
+ border-width: 1px 1px 1px 1px;
+ border-style: solid;
+ border-color: @notebook_border;
+ border-radius: 4px 4px 0px 0px;
+}
+
+paned.horizontal > notebook > header {
+ border-width: 0px 0px 0px 0px;
+ border-style: solid;
+ border-color: @notebook_border;
+ border-radius: 4px 4px 0px 0px;
+}
+
+paned.horizontal > notebook > header label {
+ padding: 4px;
+}
+
+paned.horizontal > notebook > header button.flat.small-button {
+ padding: 1px;
+}
+
/* tabs in dialog windows */
/* horizontal tabs */
-notebook.frame header.top tab,
-notebook.frame header.bottom tab {
+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;
@@ -3419,8 +3469,8 @@ notebook.frame header.bottom tab {
border-color: transparent;
}
-notebook.frame header.top tab:checked,
-notebook.frame header.top tab:checked:hover {
+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));
@@ -3430,7 +3480,7 @@ notebook.frame header.top tab:checked:hover {
border-color: @notebook_border;
}
-notebook.frame header.top tab:hover {
+notebook.frame > header.top tab:hover {
background-image: linear-gradient(to bottom,
alpha(@theme_base_color, 0.0),
alpha(@theme_base_color, 0.3));
@@ -3440,8 +3490,8 @@ notebook.frame header.top tab:hover {
border-color: @notebook_border;
}
-notebook.frame header.bottom tab:checked,
-notebook.frame header.bottom tab:checked:hover {
+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));
@@ -3451,7 +3501,7 @@ notebook.frame header.bottom tab:checked:hover {
border-color: @notebook_border;
}
-notebook.frame header.bottom tab:hover {
+notebook.frame > header.bottom tab:hover {
background-image: linear-gradient(to top,
alpha(@theme_base_color, 0.0),
alpha(@theme_base_color, 0.3));
@@ -3462,8 +3512,8 @@ notebook.frame header.bottom tab:hover {
}
/* vertical tabs */
-notebook.frame header.left tab,
-notebook.frame header.right tab {
+notebook.frame > header.left tab,
+notebook.frame > header.right tab {
padding: 5px 20px;
margin: -1px 0px 0px 0px;
border-width: 1px 0px 1px 0px;
@@ -3471,8 +3521,8 @@ notebook.frame header.right tab {
border-color: transparent;
}
-notebook header.left tab:checked,
-notebook header.left tab:checked:hover {
+notebook.frame > header.left tab:checked,
+notebook.frame > header.left tab:checked:hover {
background-image: linear-gradient(to right,
shade(@theme_bg_color, 1.18),
shade(@theme_bg_color, 1.1));
@@ -3482,7 +3532,7 @@ notebook header.left tab:checked:hover {
border-radius: 4px 0px 0px 4px;
}
-notebook header.left tab:hover {
+notebook.frame > header.left tab:hover {
background-image: linear-gradient(to right,
alpha(@theme_base_color, 0.0),
alpha(@theme_base_color, 0.3));
@@ -3492,8 +3542,8 @@ notebook header.left tab:hover {
border-radius: 4px 0px 0px 4px;
}
-notebook header.right tab:checked,
-notebook header.right tab:checked:hover {
+notebook.frame > header.right tab:checked,
+notebook.frame > header.right tab:checked:hover {
background-image: linear-gradient(to left,
shade(@theme_bg_color, 1.18),
shade(@theme_bg_color, 1.1));
@@ -3503,7 +3553,7 @@ notebook header.right tab:checked:hover {
border-radius: 0px 4px 4px 0px;
}
-notebook header.right tab:hover {
+notebook.frame > header.right tab:hover {
background-image: linear-gradient(to left,
alpha(@theme_base_color, 0.0),
alpha(@theme_base_color, 0.3));
@@ -3532,7 +3582,7 @@ notebook tab.reorderable-page:checked {
}
/* close button styling */
-
+notebook button.flat,
notebook button.flat.small-button {
border-image: none;
background-image: none;
@@ -3541,12 +3591,11 @@ notebook button.flat.small-button {
border-style: solid;
border-color: transparent;
border-width: 1px;
- padding: 1px;
-gtk-icon-shadow: none;
}
-notebook .prelight-page button.flat.small-button,
-notebook .active-page button.flat.small-button {
+notebook tab.prelight-page button.flat.small-button,
+notebook tab.active-page button.flat.small-button {
color: mix(@theme_fg_color, @theme_base_color, 0.6);
-gtk-icon-shadow: 0 1px @button_text_shadow;
}