summaryrefslogtreecommitdiff
path: root/desktop-themes/Menta/gtk-3.0
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-04-24 17:44:41 +0200
committerraveit65 <[email protected]>2015-04-24 17:44:41 +0200
commit413b0d14de25b3143242aebb623c15dbb172e58d (patch)
treecb6b86302d8e869f1d0ca6d73ffa040547c707b2 /desktop-themes/Menta/gtk-3.0
parentcb981f0fd5588c224f3b97ae3ad8a01a96034069 (diff)
downloadmate-themes-413b0d14de25b3143242aebb623c15dbb172e58d.tar.bz2
mate-themes-413b0d14de25b3143242aebb623c15dbb172e58d.tar.xz
Revert "Menta themes GTK3: adjust notebook styling"
This reverts commit 662606f889af1dc59e4fa0e9a99760d323c91f01.
Diffstat (limited to 'desktop-themes/Menta/gtk-3.0')
-rw-r--r--desktop-themes/Menta/gtk-3.0/gtk-widgets.css329
-rw-r--r--desktop-themes/Menta/gtk-3.0/mate-applications.css20
2 files changed, 100 insertions, 249 deletions
diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css
index 270e9e3f..ca032d2d 100644
--- a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css
@@ -1507,283 +1507,154 @@ GtkLinkButton.button *:active:hover {
* tabs *
*****************/
.notebook {
- padding: 0;
- background-clip: border-box;
- border-style: solid;
- border-color: @borders;
- border-width: 0px;
- background-color: shade (@theme_bg_color, 1.1);
- -GtkNotebook-initial-gap: 0;
- -GtkNotebook-arrow-spacing: 5;
- -GtkNotebook-tab-curvature: 0;
- -GtkNotebook-tab-overlap: 0;
- -GtkNotebook-has-tab-gap: false;
- -GtkWidget-focus-padding: 0;
- -GtkWidget-focus-line-width: 0;
-}
-
-.notebook :hover {
- -gtk-image-effect: highlight;
- color: @theme_fg_color;
-}
+ /* To get rid of the horrible adwaita tabs we need the notebook to use no engine */
+ engine: none;
+ padding: 0;
-.notebook.frame.top {
- border-width: 0px 1px 1px 1px;
-}
+ border-color: @borders;
+ border-style: solid;
+ border-width: 1px;
+ border-radius: 4px;
-.notebook.frame.bottom {
- border-width: 1px 1px 0px 1px;
-}
+ background-clip: border-box;
+ background-color: shade (@theme_bg_color, 1.1);
-.notebook.frame.left {
- border-width: 1px 1px 1px 0px;
+ -GtkNotebook-tab-overlap: -1;
+ -GtkNotebook-initial-gap: 0;
}
-.notebook.frame.right {
- border-width: 1px 0px 1px 1px;
+.notebook GtkViewport {
+ background-color: @theme_base_color;
}
-.notebook.header {
- background-image: linear-gradient(to bottom,
- shade(@theme_bg_color, 0.96),
- shade(@theme_bg_color, 1.0));
- border-width: 0px;
- box-shadow: inset 0 1px 0 0 alpha(@borders, 0.4), inset 0 -1px 0 0 alpha(@borders, 1.0);
+.notebook :hover {
+ -gtk-image-effect: highlight;
+ background-color: shade(@theme_bg_color, 1.07);
+ color: @theme_fg_color;
}
-.notebook.header.top {
- border-width: 1px;
- border-radius: 4px 4px 0px 0px;
+.notebook tab {
+ padding: 2px;
+ border-style: solid;
+ border-width: 1px 1px 0px 1px;
+ border-color: @borders;
+ background-image: linear-gradient(to bottom,
+ @notebook_tab_gradient_a,
+ @notebook_tab_gradient_b);
+ border-radius: 4px 4px 0 0;
+ border-image: none;
+ box-shadow: inset 0 1px alpha (shade (@theme_bg_color, 1.26), 0.3);
}
-.notebook.header.bottom {
- border-width: 1px;
- border-radius: 0px 0px 4px 4px;
+.notebook tab.bottom {
+ background-image: linear-gradient(to top,
+ @notebook_tab_gradient_a,
+ @notebook_tab_gradient_b);
+ border-width: 0px 1px 1px 1px;
+ border-radius: 0 0 4px 4px;
+ box-shadow: inset 0 -1px alpha (shade (@theme_bg_color, 1.26), 0.3);
}
-.notebook.header.left {
- border-width: 1px;
- border-radius: 4px 0px 0px 4px;
+.notebook tab:active {
+ background-image: linear-gradient(to bottom,
+ shade (@theme_bg_color, 1.18),
+ shade (@theme_bg_color, 1.1));
+ border-width: 1px 1px 0px 1px;
}
-.notebook.header.right {
- border-width: 1px;
- border-radius: 0px 4px 4px 0px;
+.notebook tab.bottom:active {
+ background-image: linear-gradient(to bottom,
+ shade (@theme_bg_color, 1.1),
+ shade (@theme_bg_color, 1.18));
+ border-width: 0px 1px 1px 1px;
}
-.notebook GtkViewport {
- background-color: @theme_base_color;
- border-width: 0px;
+.notebook tab.top {
+ padding: 4px 2px 0;
}
-.notebook tab {
- border-color: transparent;
- border-width: 0px;
- background-image: none;
- background-color: transparent;
+.notebook tab.top:active {
+ padding: 6px 2px 0;
}
-.notebook tab GtkLabel {
- color: mix (@theme_fg_color, @theme_bg_color, 0.40);
- font-weight: normal;
+.notebook tab.bottom {
+ padding: 0 2px 4px;
}
-.notebook .prelight-page,
-.notebook .prelight-page GtkLabel {
- color: mix (@theme_fg_color, @theme_bg_color, 0.15);
+.notebook tab.bottom:active {
+ padding: 0 2px 6px;
}
-.notebook .active-page,
-.notebook tab .active-page GtkLabel {
- color: @theme_fg_color;
+.notebook tab.left,
+.notebook tab.right {
+ background-image: none;
+ background-color: @theme_bg_color;
+ padding: 3px;
}
-/* horizontal tabs */
-
-.notebook tab.top,
-/* wtf, why this doesn't work? */
-.notebook tab.bottom {
- padding: 6px 21px 4px;
+.notebook tab.left {
+ border-width: 1px 0 1px 1px;
+ border-radius: 4px 0 0 4px;
}
-/* workaround for wtf */
-.notebook tab.bottom:active {
- padding: 3px 21px 7px 21px;
-}
-
-.notebook tab.top:active,
-.notebook tab.top:active:hover {
- background-image: linear-gradient(to bottom,
- shade(@theme_bg_color, 1.18),
- shade(@theme_bg_color, 1.1));
- border-radius: 4px 4px 0px 0px;
- border-width: 1px 1px 0px 1px;
- border-style: solid;
- border-color: @borders;
- box-shadow: none;
-}
-
-.notebook tab.top:hover {
- background-image: linear-gradient(to bottom,
- alpha(@theme_base_color, 0.0),
- alpha(@theme_base_color, 0.3));
- border-radius: 0px;
- border-width: 0px 1px 0px 1px;
- border-style: solid;
- border-color: @borders;
-}
-
-.notebook tab.bottom:active,
-.notebook tab.bottom:active: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-style: solid;
- border-width: 0px 1px 1px 1px;
- border-color: @borders;
- box-shadow: none;
-}
-
-.notebook tab.bottom:hover {
- background-image: linear-gradient(to top,
- alpha(@theme_base_color, 0.0),
- alpha(@theme_base_color, 0.3));
- border-radius: 0px;
- border-width: 0px 1px 0px 1px;
- border-style: solid;
- border-color: @borders;
-}
-
-/* vertical tabs */
-
-.notebook tab.left,
.notebook tab.right {
- padding: 5px 20px;
+ border-width: 1px 1px 1px 0;
+ border-radius: 0 4px 4px 0;
}
.notebook tab.left:active,
-.notebook tab.left:active:hover {
- background-image: linear-gradient(to right,
- shade(@theme_bg_color, 1.18),
- shade(@theme_bg_color, 1.1));
- border-radius: 4px 0px 0px 4px;
- border-width: 1px 0px 1px 1px;
- border-color: @borders;
-}
-
-.notebook tab.left:hover {
- background-image: linear-gradient(to right,
- alpha(@theme_base_color, 0.0),
- alpha(@theme_base_color, 0.3));
- border-width: 1px 0px 1px 0px;
- border-style: solid;
- border-color: @borders;
-}
-
-.notebook tab.right:active,
-.notebook tab.right:active:hover {
- background-image: linear-gradient(to left,
- shade(@theme_bg_color, 1.18),
- shade(@theme_bg_color, 1.1));
- border-radius: 0px 4px 4px 0px;
- border-width: 1px 1px 1px 0px;
- border-color: @borders;
-}
-
-.notebook tab.right:hover {
- background-image: linear-gradient(to left,
- alpha(@theme_base_color, 0.0),
- alpha(@theme_base_color, 0.3));
- border-width: 1px 0px 1px 0px;
- border-style: solid;
- border-color: @borders;
-}
-
-.notebook tab.reorderable-page:hover {
- background-image: linear-gradient(to bottom,
- alpha(@theme_base_color, 0.0),
- alpha(@theme_base_color, 0.3));
- border-radius: 0;
- box-shadow: inset 1px 0 alpha(@borders, 0.6), inset -1px 0 alpha(@borders, 0.6);
- border-style: none;
-}
-
-.notebook tab.reorderable-page:active {
- background-image: linear-gradient(to bottom,
- shade(@theme_bg_color, 1.18),
- shade(@theme_bg_color, 1.1));
- border-radius: 4px 4px 0 0;
- box-shadow: none;
- border-style: solid;
+.notebook tab.right:active {
+ background-image: none;
+ background-color: shade (@theme_bg_color, 1.1);
}
-/* close button styling */
-.notebook tab .button {
- color: mix (@theme_fg_color, @theme_bg_color, 0.85);
- border-image: none;
- background-image: none;
- background-color: transparent;
- border-radius: 3px;
- border-style: solid;
- border-color: transparent;
- border-width: 1px;
- padding: 1px;
- icon-shadow: none;
-}
-
-.notebook .prelight-page .button,
-.notebook tab.prelight-page .button,
-.notebook .active-page .button,
-.notebook tab.active-page .button {
- color: mix(@theme_fg_color, @theme_base_color, 0.6);
- icon-shadow: 0 1px @button_text_shadow;
+.notebook tab.left:active {
+ padding: 3px 3px 3px 5px;
+ border-radius: 4px 0 0 4px;
}
-.notebook tab .button:hover {
- color: @theme_fg_color;
- border-color: transparent;
- border-image: none;
- background-image: none;
- background-color: transparent;
+.notebook tab.right:active {
+ padding: 3px 5px 3px 3px;
+ border-radius: 0 4px 4px 0;
}
+/* close button styling */
+.notebook tab .button,
.notebook tab .button:active,
-.notebook tab .button:active:hover {
- color: @button_active_text;
- background-color: alpha(black, 0.08);
- box-shadow: inset 0 1px alpha(black, 0.05);
- icon-shadow: 0 1px @button_active_text_shadow;
- border-color: alpha(black, 0.27)
- alpha(black, 0.13)
- alpha(black, 0.13)
- alpha(black, 0.13);
-}
-
-.notebook.arrow {
- /* FIXME, why this doesn't work? */
- -GtkNotebook-arrow-scaling: 0.5;
- color: shade(@theme_fg_color, 2.6);
+.notebook tab .button:hover {
+ border-image: none;
+ border-style: none;
+ background-image: none;
+ background-color: transparent;
}
-.notebook.arrow:hover {
- color: @theme_selected_bg_color;
-}
+.notebook tab .button GtkImage {
+ border-radius: 3px;
+ color: @theme_fg_color;
+ border-style: solid;
+ border-color: transparent;
+ border-width: 1px;
+ padding: 1px;
-.notebook.arrow:active {
- color: @theme_fg_color;
+ icon-shadow: 0 1px @button_text_shadow;
}
-.notebook.arrow:insensitive {
- color: rgba(141, 144, 145, 0.3);
+.notebook tab .button GtkImage:hover {
+ color: @theme_fg_color;
+ border-color: alpha(black, 0.1);
}
-.notebook.arrow:backdrop {
- color: rgba(84, 89, 90, 0.4);
-}
+.notebook tab .button GtkImage:active,
+.notebook tab .button GtkImage:active:hover {
+ background-color: alpha(black, 0.08);
+ box-shadow: inset 0 1px alpha(black, 0.05);
+ color: @button_active_text;
+ icon-shadow: 0 1px @button_active_text_shadow;
-.notebook.arrow:backdrop:insensitive {
- color: #c7c7c7;
+ border-color: alpha(black, 0.27)
+ alpha(black, 0.13)
+ alpha(black, 0.13)
+ alpha(black, 0.13);
}
/**************
diff --git a/desktop-themes/Menta/gtk-3.0/mate-applications.css b/desktop-themes/Menta/gtk-3.0/mate-applications.css
index c0470591..1ffece61 100644
--- a/desktop-themes/Menta/gtk-3.0/mate-applications.css
+++ b/desktop-themes/Menta/gtk-3.0/mate-applications.css
@@ -255,22 +255,6 @@ CajaNotebook .frame {
border-width: 1px 0 0 0;
}
-/* close button styling */
-/* surpress styling of close button */
-CajaWindow .notebook tab .button.flat,
-CajaWindow .notebook tab .button.flat:hover {
- border-color: transparent;
- background-color: transparent;
- background-image: none;
- text-shadow: none;
- icon-shadow: none;
- border-image: none;
-}
-
-CajaWindow .notebook tab.top {
- padding: 6px 3px 6px 0px;
-}
-
.caja-cluebar-label {
font: normal;
text-shadow: 0 1px shade (@cluebar_color, 1.06);
@@ -590,10 +574,6 @@ PlumaWindow .notebook tab .button.flat:hover {
border-image: none;
}
-PlumaWindow .notebook tab.top {
- padding: 6px 0px 6px 6px;
-}
-
/***********************
* Mate-Control-Center *
***********************/