summaryrefslogtreecommitdiff
path: root/desktop-themes/BlueMenta
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-03-16 12:13:36 +0100
committerraveit65 <[email protected]>2016-03-16 12:14:16 +0100
commitc53196a217aec179a72a7872ccdc8eb8c4ab4f49 (patch)
tree66154c93e0c4285161e566ff4e1f65441852e5da /desktop-themes/BlueMenta
parent80695fb929b28333e5f3029ff931313106bc3666 (diff)
downloadmate-themes-c53196a217aec179a72a7872ccdc8eb8c4ab4f49.tar.bz2
mate-themes-c53196a217aec179a72a7872ccdc8eb8c4ab4f49.tar.xz
GTK3.20 Menta themes: simplify combobox and caja settings
Diffstat (limited to 'desktop-themes/BlueMenta')
-rw-r--r--desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css61
-rw-r--r--desktop-themes/BlueMenta/gtk-3.0/mate-applications.css185
2 files changed, 65 insertions, 181 deletions
diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css
index d4535956..f8631b05 100644
--- a/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-widgets.css
@@ -177,10 +177,11 @@ spinner:checked:disabled,
*****************/
.view.rubberband,
.rubberband,
-view rubberband,
+flowbox rubberband,
+treeview.view rubberband,
+.content-view rubberband,
rubberband {
background-color: alpha (@theme_selected_bg_color, 0.35);
-
border-color: @theme_selected_bg_color;
border-style: solid;
border-width: 1px;
@@ -2723,61 +2724,20 @@ combobox separator {
combobox > entry.combo,
combobox > button.combo,
combobox > entry.combo:backdrop,
-combobox > button.combo:backdrop {
+combobox > button.combo:backdrop,
+toolbar.primary-toolbar combobox entry.combo,
+toolbar.primary-toolbar combobox button.combo {
border-image-width: 3px 3px 4px 3px;
border-radius: 3px;
border-width: 2px;
}
-toolbar.primary-toolbar combobox entry.combo:first-child,
-toolbar.primary-toolbar combobox button.combo:first-child {
- border-image-width: 4px 0 4px 4px;
- border-radius: 3px 0 0 3px;
- border-right-width: 0;
-}
-
-toolbar.primary-toolbar combobox entry.combo:last-child,
-toolbar.primary-toolbar combobox button.combo:last-child {
- border-image-width: 4px 4px 4px 0;
- border-radius: 0 3px 3px 0;
- border-left-width: 0;
-}
-
-combobox entry.combo:focus {
+combobox > entry.combo:focus {
box-shadow: inset 1px 2px alpha(@theme_selected_bg_color, 0.1);
}
-combobox entry.combo:focus:first-child {
- box-shadow: inset 1px 2px alpha(@theme_selected_bg_color, 0.1),
- inset 1px 1px alpha(@theme_selected_bg_color, 0.1),
- inset 0 -1px alpha(@theme_selected_bg_color, 0.2);
-}
-
-combobox entry.combo:focus:last-child {
- box-shadow: inset -1px 2px alpha(@theme_selected_bg_color, 0.1),
- inset -1px 1px alpha(@theme_selected_bg_color, 0.1),
- inset 0 -1px alpha(@theme_selected_bg_color, 0.2);
-}
-
-combobox entry.combo:focus:only-child {
- box-shadow: inset 1px 2px alpha(@theme_selected_bg_color, 0.1),
- inset 1px 1px alpha(@theme_selected_bg_color, 0.1),
- inset -1px -1px alpha(@theme_selected_bg_color, 0.2);
-}
-
-combobox button.combo:hover,
-combobox button.combo:checked,
-combobox button.combo:hover:active {
- color: shade (@theme_selected_bg_color, 0.80);
- transition: all 200ms ease-in;
-}
-
-combobox button.combo {
- color: @theme_fg_color;
-}
-
-combobox.linked button.combo,
-combobox.linked button.combo:checked {
+combobox.linked > button.combo,
+combobox.linked > button.combo:checked {
border-right-width: 2px;
border-left-width: 0;
border-image-width: 3px 4px 4px 0;
@@ -3053,8 +3013,9 @@ scrollbar.fine-tune slider:hover:active,
}
+ /* the small square between scrollbars!!! */
scrolledwindow junction,
-.scrollbars-junction { /* the small square between scrollbars!!! */
+.scrollbars-junction {
background-image: none;
background-color: @theme_bg_color;
border-width: 0;
diff --git a/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css b/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css
index 4f75ab75..bc782b54 100644
--- a/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css
+++ b/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css
@@ -10,8 +10,14 @@
@button_gradient_color_b);
}
+.caja-navigation-window .caja-side-pane button.flat:hover {
+ background-color: transparent;
+ background-image: linear-gradient(to bottom,
+ @button_hover_gradient_color_a,
+ @button_hover_gradient_color_b);
+}
+
.caja-navigation-window .caja-side-pane button.flat:first-child {
- transition: all 400ms ease-out;
border-radius: 3px 0 0 3px;
border-right-width: 0;
/* remove right border */
@@ -19,81 +25,30 @@
}
.caja-navigation-window .caja-side-pane button.flat:last-child {
- transition: all 400ms ease-out;
border-radius: 0 3px 3px 0;
border-left-width: 0;
/* remove left border */
border-image: url("borders/button.png") 3 3 4 4 / 3px 3px 4px 0px stretch;
}
-.caja-navigation-window .caja-side-pane button.flat:hover {
- background-color: transparent;
- background-image: linear-gradient(to bottom,
- @button_hover_gradient_color_a,
- @button_hover_gradient_color_b);
-}
-
.caja-navigation-window .caja-side-pane button.flat:hover:first-child {
border-radius: 6px 0 0 6px;
border-right-width: 0;
- background-color: transparent;
- background-image: linear-gradient(to bottom,
- @button_hover_gradient_color_a,
- @button_hover_gradient_color_b);
border-image: url("borders/button.png") 3 3 4 3 / 3px 0px 4px 3px stretch;
}
.caja-navigation-window .caja-side-pane button.flat:hover:last-child {
border-radius: 0 6px 6px 0;
border-left-width: 0;
- background-color: transparent;
- background-image: linear-gradient(to bottom,
- @button_hover_gradient_color_a,
- @button_hover_gradient_color_b);
border-image: url("borders/button.png") 3 3 4 3 / 3px 3px 4px 0px stretch;
}
-/* some overrides for button.flat */
-/* zoom button */
-.caja-navigation-window toolbar.primary-toolbar button.flat,
-.caja-navigation-window toolbar.primary-toolbar button.flat:first-child,
-.caja-navigation-window toolbar.primary-toolbar button.flat:last-child {
- transition: all 400ms ease-out;
- border-width: 3px;
- background-color: transparent;
- background-image: linear-gradient(to bottom,
- shade (@theme_bg_color, 1.0),
- shade (@theme_bg_color, 0.96));
- border-image: none;
-}
-
-/* zoom button */
-.caja-navigation-window toolbar.primary-toolbar button.flat:hover {
- border-width: 3px;
- background-color: transparent;
- background-image: linear-gradient(to bottom,
- @button_gradient_color_a,
- @button_gradient_color_b);
- border-image: url("borders/button.png") 3 3 4 3 / 3px 3px 4px 3px stretch;
-}
-
/* ComboBox views */
-.caja-navigation-window toolbar.primary-toolbar combobox button.combo {
- background-image: linear-gradient(to bottom,
- @button_gradient_color_a,
- @button_gradient_color_b);
- border-image: url("borders/button.png") 3 3 4 3 / 3px 3px 4px 3px stretch;
- padding: 6px 4px;
-}
-
-.caja-navigation-window toolbar.primary-toolbar combobox button.combo:hover {
- background-image: linear-gradient(to bottom,
- @button_hover_gradient_color_a,
- @button_hover_gradient_color_b);
- border-image: url("borders/button-active-focus.png") 3 4 4 4 / 3px 4px 4px 4px stretch;
+.caja-navigation-window toolbar.primary-toolbar combobox > button.combo {
padding: 6px 4px;
}
+/* pathbar */
/* arrow button */
.caja-pathbar button:nth-child(odd) widget {
-gtk-icon-source: -gtk-icontheme("pan-start-symbolic");
@@ -135,7 +90,9 @@
color: @theme_fg_color;
}
+.caja-side-pane treeview.view:selected,
.caja-side-pane treeview.view:selected:hover {
+ background-color: shade (@theme_selected_bg_color, 1.00);
color: shade (@theme_selected_fg_color, 1.00);
}
@@ -158,30 +115,33 @@
}
.caja-side-pane notebook {
- border-style: none;
+ border-color: @borders;
+ border-style: solid;
+ border-radius: 0px;
+ border-width: 1px 0px 0px 0px;
}
-/* view and desktop mode */
-.caja-canvas-item {
- border-radius: 3px;
- color: @theme_fg_color;
+/* views */
+/* scrolledwindow junction and top border for list view */
+.caja-navigation-window .caja-notebook scrolledwindow.frame {
+ background-color: @theme_bg_color;
}
-.caja-canvas-item:active,
-.caja-canvas-item:selected {
- color: @theme_selected_fg_color;
+/* icon and compat mode */
+.caja-navigation-window .caja-notebook scrolledwindow.view.frame {
+ background-color: @theme_base_color;
}
-/* view mode */
-
-/* list view 3.20 */
-.caja-notebook treeview.view,
-/* view and compact 3.20 */
-.caja-notebook scrolledwindow.frame {
+/* listview mode */
+.caja-navigation-window .caja-notebook .view {
background-color: @theme_base_color;
}
-/* rows in listview */
+/* rows and header in listview */
+.caja-notebook treeview.view header button {
+ border-width: 1px 1px 1px 0px;
+}
+
.caja-notebook treeview.view:selected,
.caja-notebook treeview.view:selected:hover {
background-color: @theme_selected_bg_color;
@@ -192,36 +152,36 @@
color: shade (@theme_selected_bg_color, 0.35);
}
-.caja-notebook .caja-canvas-item {
+/* window and desktop mode */
+.caja-canvas-item {
+ border-radius: 3px;
color: @theme_fg_color;
}
-.caja-notebook .caja-canvas-item:active,
-.caja-notebook .caja-canvas-item:selected {
+.caja-desktop.caja-canvas-item:selected,
+.caja-desktop.caja-canvas-item:active,
+.caja-navigation-window .caja-canvas-item:active,
+.caja-navigation-window .caja-canvas-item:selected {
color: @theme_selected_fg_color;
+ background-color: @theme_selected_bg_color;
}
-.caja-notebook {
- border-style: none;
-}
-
-.caja-notebook frame {
- border-width: 1px 1px 0 1px;
+/* window mode, for some reason this needs to be set again here */
+.caja-navigation-window .caja-notebook scrolledwindow.view.frame .rubberband {
+ background-color: alpha (@theme_selected_bg_color, 0.35);
+ border-color: @theme_selected_bg_color;
+ border-style: solid;
+ border-width: 1px;
+ border-radius: 0px;
}
/* desktop mode */
-/* 3.20 */
.caja-desktop.caja-canvas-item {
color: @theme_selected_fg_color;
text-shadow: 1px 1px alpha (#000000, 0.8);
}
-.caja-desktop.caja-canvas-item:selected {
- background-color: @theme_selected_bg_color;
- color: @theme_selected_fg_color;
- text-shadow: none;
-}
-
+.caja-desktop.caja-canvas-item:selected,
.caja-desktop.caja-canvas-item:active,
.caja-desktop.caja-canvas-item:hover {
text-shadow: none;
@@ -233,56 +193,12 @@
text-shadow: none;
}
-/* Toolbar */
-.caja-navigation-window toolbar button {
- border-image: none;
-}
-
-/* Misc */
-.caja-navigation-window notebook {
- border-right-width: 0;
- border-left-width: 0;
- border-bottom-width: 0;
-}
-
-.caja-navigation-window notebook tab {
- border-right-width: 1px;
- border-left-width: 1px;
- padding: 4px 3px 4px 0px;
-}
-
-.caja-navigation-window notebook {
- border-width: 1px 0 0 0;
-}
-
-/* close button styling */
-/* surpress styling of close button */
-.caja-navigation-window notebook tab button.flat,
-.caja-navigation-window notebook tab button.flat:hover {
- border-color: transparent;
- background-color: transparent;
- background-image: none;
- text-shadow: none;
- -gtk-icon-shadow: none;
- border-image: none;
-}
-
-/* do we have this style class? */
-.caja-cluebar-label {
- font: normal;
- text-shadow: 0 1px shade (@cluebar_color, 1.06);
-}
-
-/* to avoid padding when executing toogle button */
-.caja-search-bar entry,
-.caja-location-entry {
- padding: 4px;
-}
-
+/* statusbar */
.caja-navigation-window statusbar frame {
border-style: none;
}
+/* search, etc */
#caja-extra-view-widget {
background-color: shade (@theme_bg_color, 1.04);
background-color: @cluebar_color;
@@ -294,6 +210,13 @@
color: @theme_fg_color;
}
+/* misc */
+/* do we have this style class? */
+.caja-cluebar-label {
+ font: normal;
+ text-shadow: 0 1px shade (@cluebar_color, 1.06);
+}
+
/****************
* Mate-Panel *
****************/