diff options
author | lukefromdc <[email protected]> | 2016-01-23 01:36:14 -0500 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-01-27 22:10:36 +0100 |
commit | ad16ee91e7a3540a9bbb580c0be3f24a7c95dc03 (patch) | |
tree | 5543d819d2326013be67a50632c957c82ad0b2f3 | |
parent | 07070d7fc20034ed98055028bf008e1869056246 (diff) | |
download | mate-themes-ad16ee91e7a3540a9bbb580c0be3f24a7c95dc03.tar.bz2 mate-themes-ad16ee91e7a3540a9bbb580c0be3f24a7c95dc03.tar.xz |
Gtk+-3.20 BlackMATE: other-applications.css-nemo like caja
Port renamed pseudoclasses, remove deprecated style properties, theme Nemo to look as much like Caja as possible in terms of the color layout.
Lots of things left that will be ignored due to no longer valid selectors but these don't put errors in the terminal or prevent the rest of the theme from being read. Theming an individual app is a LOT harder in gtk3.20, requires long widget chains that could match other things if they are too short or there are too many of them. Recommend theming as few apps as possible untl apps can be either ported to use css nodes or simply get their toplevel windows a usable widget name set with with gtk_widget_set_name()
-rw-r--r-- | desktop-themes/BlackMATE/gtk-3.0/other-applications.css | 49 |
1 files changed, 25 insertions, 24 deletions
diff --git a/desktop-themes/BlackMATE/gtk-3.0/other-applications.css b/desktop-themes/BlackMATE/gtk-3.0/other-applications.css index d1d3a227..a45f3adf 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/other-applications.css +++ b/desktop-themes/BlackMATE/gtk-3.0/other-applications.css @@ -27,18 +27,21 @@ NemoWindow > GtkGrid > .pane-separator.vertical:selected { /**** View ***/ -NemoView .view { - background-color: shade (@theme_bg_color, 1.08); +window.background>grid>paned>box>paned>box>notebook>stack>box>*>scrolledwindow { + background-color: @less_dark_color; color: @theme_fg_color; + border-color: transparent; + border-style: none; } +/* can do nothing with this right now .nemo-inactive-pane .view { background-color: shade(@less_dark_color, 1.3); } - +*/ /* file renaming */ -NemoView .view .entry, -NemoView .view .entry:focus { +window>*>box>box>box>scrolledwindow>.view .entry, +window>*>box>box>box>scrolledwindow>.view .entry:focus { background-image: none; border-image: none; border-style: solid; @@ -47,12 +50,6 @@ NemoView .view .entry:focus { background-color: shade(@theme_selected_bg_color, 0.3); } -/**** Window ***/ - -NemoWindow .view { - background-color: shade (@theme_bg_color, 1.08); - color: @theme_fg_color; -} /* the small line between sidebar and view */ NemoWindow * { @@ -115,19 +112,19 @@ NemoToolbar .toolbar { border-radius: 0px; } -NemoWindow .scrollbar.slider:prelight, -NemoWindow .scrollbar.slider:prelight:active, -NemoWindow .scrollbar.slider.vertical:prelight, -NemoWindow .scrollbar.slider.vertical:prelight:active { +NemoWindow .scrollbar.slider:hover, +NemoWindow .scrollbar.slider:hover:active, +NemoWindow .scrollbar.slider.vertical:hover, +NemoWindow .scrollbar.slider.vertical:hover:active { border-color: shade(@scroll_slider_color, 1.1); } NemoWindow .scrollbar.button, NemoWindow .scrollbar.button.horizontal, NemoWindow .scrollbar.button.vertical, -NemoWindow .scrollbar.button:insensitive, -NemoWindow .scrollbar.button.horizontal:insensitive, -NemoWindow .scrollbar.button.vertical:insensitive { +NemoWindow .scrollbar.button:disabled, +NemoWindow .scrollbar.button.horizontal:disabled, +NemoWindow .scrollbar.button.vertical:disabled { background-image: none; } @@ -161,17 +158,22 @@ NemoWindow .notebook .rubberband { background-color: alpha(@theme_selected_bg_color, 0.35); } -/**** Sidebar ***/ +/**** NemoSidebar ***/ -NemoWindow .sidebar .frame { +window.background>grid>paned>box>scrolledwindow>viewport.frame, +window.background>grid>paned>box>scrolledwindow>viewport treeview.view{ + background-color: shade(@theme_bg_color, 1.08); +} + +NemoWindow sidebar frame { border-width: 0px; } -NemoWindow .sidebar .scrollbar.button { +NemoWindow sidebar scrollbar button { color: @theme_fg_color; } -NemoWindow .sidebar .scrollbar.button:hover { +NemoWindow sidebar scrollbar button:hover { color: @theme_fg_color; } @@ -263,7 +265,7 @@ NemoQueryEditor .toolbar .entry:focus { } .nemo-desktop.nemo-canvas-item:active, -.nemo-desktop.nemo-canvas-item:prelight, +.nemo-desktop.nemo-canvas-item:hover, .nemo-desktop.nemo-canvas-item:selected { text-shadow: none; } @@ -296,4 +298,3 @@ DConfWindow GtkPaned.horizontal { border-color: transparent; background-color: @theme_bg_color; } - |