summaryrefslogtreecommitdiff
path: root/desktop-themes
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-01-11 22:24:48 +0100
committerraveit65 <[email protected]>2017-01-13 23:07:49 +0100
commit595bd0a498eef3bd909035fd5b2a3b0f9f520761 (patch)
treee7e74efc0e9e4cee9649660cdedc843f79d1f9d5 /desktop-themes
parent6db43b1f6176fdfa778db49da2b2bc9c2fc60a47 (diff)
downloadmate-themes-595bd0a498eef3bd909035fd5b2a3b0f9f520761.tar.bz2
mate-themes-595bd0a498eef3bd909035fd5b2a3b0f9f520761.tar.xz
GTK+-3.20 GreenLaguna: enable outlines
Diffstat (limited to 'desktop-themes')
-rw-r--r--desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css2
-rw-r--r--desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css41
-rw-r--r--desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css11
3 files changed, 50 insertions, 4 deletions
diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css
index f32dcac6..177aad04 100644
--- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css
+++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-main.css
@@ -95,7 +95,7 @@
@define-color error_fg_color rgb (255, 255, 255);
@define-color error_bg_color rgb (191, 44, 44);
-@define-color focus_border shade(@bg_color, 0.7);
+@define-color focus_border shade(@bg_color, 0.6);
@define-color theme_unfocused_base_color shade(@insensitive_bg_color, 1.015);
@define-color theme_unfocused_bg_color @theme_bg_color;
diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css
index 4ff02591..48c0b1b2 100644
--- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css
@@ -13,8 +13,9 @@
-WnckTasklist-fade-overlay-rect: 0;
outline-color: @focus_border;
outline-style: dashed;
- outline-offset: 2px;
- outline-width: 0px; /* disable ugly focus-line */
+ outline-offset: -3px;
+ outline-width: 1px;
+ -gtk-outline-radius: 2px;
/*-gtk-icon-style: regular; *//* no symbolic icons */
}
@@ -1326,6 +1327,35 @@ notebook tab.reorderable-page:checked {
border-style: solid;
}
+/* outlines */
+notebook header.top tab:checked {
+ -gtk-outline-top-left-radius: 3px;
+ -gtk-outline-top-right-radius: 3px;
+ -gtk-outline-bottom-left-radius: 0px;
+ -gtk-outline-bottom-right-radius: 0px;
+}
+
+notebook header.bottom tab:checked {
+ -gtk-outline-top-left-radius: 0px;
+ -gtk-outline-top-right-radius: 0px;
+ -gtk-outline-bottom-left-radius: 3px;
+ -gtk-outline-bottom-right-radius: 3px;
+}
+
+notebook header.left tab:checked {
+ -gtk-outline-top-left-radius: 3px;
+ -gtk-outline-top-right-radius: 0px;
+ -gtk-outline-bottom-left-radius: 0px;
+ -gtk-outline-bottom-right-radius: 3px;
+}
+
+notebook header.right tab:checked {
+ -gtk-outline-top-left-radius: 0px;
+ -gtk-outline-top-right-radius: 3px;
+ -gtk-outline-bottom-left-radius: 3px;
+ -gtk-outline-bottom-right-radius: 0px;
+}
+
notebook.frame > header > button.flat.toggle.image-button.popup.circular {
padding: 0px;
border-radius: 3px;
@@ -1414,6 +1444,7 @@ treeview,
treeview.view {
background-color: shade(@theme_bg_color, 1.04);
-GtkTreeView-vertical-separator: 0;
+ outline-color: alpha(currentColor, 0.6);
}
treeview:selected {
@@ -3841,6 +3872,12 @@ treeview.view radio:selected:focus {
background-image: none;
}
+checkbutton.text-button,
+radiobutton.text-button {
+ padding: 1px 2px 4px;
+ outline-offset: 0;
+}
+
/*************
* Expanders *
*************/
diff --git a/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css b/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css
index 5483ae49..6a590588 100644
--- a/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css
+++ b/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css
@@ -264,6 +264,14 @@ PanelSeparator {
text-shadow: none;
}
+/* outlines */
+window.background, /* selector where outlines are writen on GtkTrayIcon */
+.mate-panel-menu-bar menubar,
+.mate-panel-menu-bar button,
+.mate-panel-menu-bar PanelApplet {
+ outline-offset: -2px;
+}
+
/* main menu */
.mate-panel-menu-bar menubar > menuitem {
text-shadow: none;
@@ -368,6 +376,7 @@ PanelSeparator {
color: shade (@theme_selected_bg_color, 1.15);
background-color: transparent;
text-shadow: none;
+ outline-offset: -1px;
}
/* selected WnckPager */
@@ -395,7 +404,7 @@ PanelSeparator {
}
na-tray-applet {
- -NaTrayApplet-icon-padding: 3px;
+ -NaTrayApplet-icon-padding: 1px; /*any more and outlines get cut off*/
-NaTrayApplet-icon-size: 16;
}