From 2dec2c61cccff96eca2f8eeef8809f368b7ed528 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 4 Jun 2016 22:31:02 +0200 Subject: GTK+-3.20 BlackMate: a few adjustments for caja + clean up o mate-applications - caja combobox views - sidebar scrollbar button - drop old selectors from nautilus - drop non ported stuff - use right selectors for na-tray applet --- .../BlackMATE/gtk-3.0/mate-applications.css | 126 +++------------------ 1 file changed, 15 insertions(+), 111 deletions(-) diff --git a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css index 3737799e..44b08646 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css +++ b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css @@ -5,27 +5,13 @@ /**** Caja Navigation Window ***/ -.caja-navigation-window scrolledwindow.view{ +.caja-navigation-window scrolledwindow.view { background-color: @less_dark_color; color: @theme_fg_color; border-color: transparent; border-style: none; } -/* selector not supported, not sure how to fix this */ -/* -.caja-inactive-pane .view { - background-color: shade(@less_dark_color, 1.3); -} -*/ - -/* don't override gtktooglebutton */ -.caja-navigation-window .toolbar.horizontal.primary-toolbar .vertical { - background-color: transparent; -} - - - .caja-navigation-window paned.horizontal { border-color: transparent; background-color: @theme_bg_color; @@ -70,41 +56,25 @@ } -.caja-navigation-window toolbar { +.caja-navigation-window toolbar { background-image: linear-gradient(to bottom, shade(@less_dark_color, 0.4), shade(@less_dark_color, 1.36)); } -.caja-navigation-window toolbar { +.caja-navigation-window toolbar { border-radius: 0px; } -.caja-navigation-window .scrollbar.slider:hover, -.caja-navigation-window .scrollbar.slider:hover:active, -.caja-navigation-window .scrollbar.slider.vertical:hover, -.caja-navigation-window .scrollbar.slider.vertical:hover:active { - border-color: shade(@scroll_slider_color, 1.1); -} -.caja-navigation-window .scrollbar.button, -.caja-navigation-window .scrollbar.button.horizontal, -.caja-navigation-window .scrollbar.button.vertical, -.caja-navigation-window .scrollbar.button:disabled, -.caja-navigation-window .scrollbar.button.horizontal:disabled, -.caja-navigation-window .scrollbar.button.vertical:disabled { - background-image: none; +/* ComboBox views */ +.caja-navigation-window toolbar.primary-toolbar combobox button.combo { + padding: 8px 4px; } -.caja-navigation-window statusbar>frame>box>label, -.caja-navigation-window .floating-bar{ +.caja-navigation-window statusbar>frame>box>label { font: italic; } -.caja-navigation-window .floating-bar.right, -.caja-navigation-window .floating-bar.left { - border-top-right-radius: 3px; - border-top-left-radius: 3px; -} /**** Notebook ***/ .caja-inactive-pane notebook { @@ -120,7 +90,6 @@ shade(@less_dark_color, 1.3)); } - .caja-navigation-window notebook tab { padding: 3px 0px; } @@ -143,7 +112,6 @@ border-radius: 3px; padding: 2px 5px; } -/**** Sidebar ***/ /* caja sidebar */ @@ -181,7 +149,7 @@ background-color: shade(@theme_bg_color, 1.08); } -.caja-side-pane scrolledwindow{ +.caja-side-pane scrolledwindow{ border-width: 0px; } @@ -191,11 +159,8 @@ border-width: 0px; } -.caja-side-pane scrollbar button { - color: transparent; -} - -.caja-side-pane scrollbar button:hover { +.caja-side-pane scrollbar button, +.caja-side-pane scrollbar button:hover { color: @theme_fg_color; } @@ -203,48 +168,11 @@ /**** Infos ***/ -.caja-navigation-window .question, -.caja-navigation-window .info -/*CajaTrashBar.info, -CajaXContentBar.info, -CajaQueryEditor.info*/ { +.caja-navigation-window .question, +.caja-navigation-window .info { background-color: transparent; } -/* -CajaSearchBar.info { - border-radius: 0px; - background-color: @less_dark_color; -} - -.caja-navigation-window CajaQueryEditor .toolbar, -.caja-navigation-window .notebook CajaQueryEditor .toolbar { - background-image: none; - background-color: transparent; - padding: 5px 7px; -} - -CajaSearchBar .entry, -CajaQueryEditor .toolbar .entry { - background-image: linear-gradient(to bottom, - shade(@less_dark_color, 0.2), - shade(@less_dark_color, 0.5) 10%, - @less_dark_color 50%, - shade(@less_dark_color, 1.5)); - box-shadow: inset 0 -3px alpha(@entry_shadow, 0.03), - inset 0 -2px alpha(@entry_shadow, 0.04), - inset 0 -1px alpha(@entry_shadow, 0.06); -} - -CajaSearchBar .entry:focus, -CajaQueryEditor .toolbar .entry:focus { - border-color: shade(@less_dark_color, 1.4); - box-shadow: inset 0 -2px alpha(@entry_shadow, 0.04), - inset 0 -1px alpha(@entry_shadow, 0.06); -} -*/ - - /* view */ .caja-navigation-window .caja-canvas-item { color: @theme_fg_color; @@ -290,12 +218,10 @@ CajaQueryEditor .toolbar .entry:focus { shade(@less_dark_color, 1.5)); } - /**************** * Mate-Panel * ****************/ - /* let's started */ /* the panel bar itself */ @@ -569,6 +495,7 @@ dictionary */ MatePanelApplet > GtkMenuBar.menubar { font: normal; } + /*WnckPager is unnamed in GTK inspector so try this*/ PanelApplet.wnck-applet .wnck-pager { background-image: none; @@ -591,35 +518,12 @@ PanelApplet.wnck-applet .wnck-pager:hover { shade (@theme_selected_bg_color, 0.86)); } -/* drivemount */ -DriveList .button, -DriveList .button.flat, -DriveList .button:hover, -DriveList .button.flat:hover, -DriveList .button:active, -DriveList .button.flat:active { - padding: 4px; - border-radius: 3px; - border-color: transparent; - box-shadow: none; -} - -/* system-monitor-applet */ -MatePanelApplet .horizontal .vertical .frame { - box-shadow: inset 0px 1px shade (@theme_selected_bg_color, 1.3), - inset 1px 0px shade (@theme_selected_bg_color, 1.3), - inset -1px 0px shade (@theme_selected_bg_color, 1.3), - inset 0px -1px shade (@theme_selected_bg_color, 1.3); - border-style: none; - border-radius: 5px; -} -/*These seem to work, tray did not come up in GtkInspector so don't know why*/ /* no background for icon-padding area */ -GtkTrayIcon.background { +na-tray-applet widget box widget { background-color: transparent; } -NaTrayApplet { +na-tray-applet { -NaTrayApplet-icon-padding: 3px; -NaTrayApplet-icon-size: 16; } -- cgit v1.2.1