diff options
author | Wolfgang Ulbrich <[email protected]> | 2016-02-14 17:36:39 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2016-02-14 17:39:22 +0100 |
commit | a66c23491fcc6acb6040ae00c465c20a770ea6e4 (patch) | |
tree | 755c779b166195171a31828325bcfcc60d74f750 /desktop-themes | |
parent | b21b069e67cfe9fc5e59092cb3a9ad453cba893a (diff) | |
download | mate-themes-a66c23491fcc6acb6040ae00c465c20a770ea6e4.tar.bz2 mate-themes-a66c23491fcc6acb6040ae00c465c20a770ea6e4.tar.xz |
GTK+-3.20: adjust nemo styling
Diffstat (limited to 'desktop-themes')
-rw-r--r-- | desktop-themes/BlueMenta/gtk-3.0/other-applications.css | 159 |
1 files changed, 69 insertions, 90 deletions
diff --git a/desktop-themes/BlueMenta/gtk-3.0/other-applications.css b/desktop-themes/BlueMenta/gtk-3.0/other-applications.css index a5b58418..779216b8 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/other-applications.css +++ b/desktop-themes/BlueMenta/gtk-3.0/other-applications.css @@ -3,53 +3,44 @@ *********************/ /* workaround for broken first/last-child logic with linked buttons - in pathbar with gtk+-3.18 */ -NemoPathBar:dir(ltr).raised.linked button.text-button, -NemoPathBar:dir(ltr).raised.linked button.text-button:hover, -NemoPathBar:dir(ltr).raised.linked button.text-button:hover:active, -NemoPathBar:dir(ltr).raised.linked button.text-button:active, -NemoPathBar:dir(ltr).raised.linked button.text-button:checked, -NemoPathBar:dir(ltr).raised.linked button.text-button:checked:hover, -NemoPathBar:dir(ltr).raised.linked button.text-button:checked:hover:active, -NemoPathBar:dir(ltr).raised.linked button.text-button:first-child, -NemoPathBar:dir(ltr).raised.linked button.text-button:hover:first-child, -NemoPathBar:dir(ltr).raised.linked button.text-button:hover:active:first-child, -NemoPathBar:dir(ltr).raised.linked button.text-button:active:first-child, -NemoPathBar:dir(ltr).raised.linked button.text-button:checked:first-child, -NemoPathBar:dir(ltr).raised.linked button.text-button:checked:hover:first-child, -NemoPathBar:dir(ltr).raised.linked button.text-button:checked:hover:active:first-child, -NemoPathBar:dir(ltr).raised.linked button.text-button:last-child, -NemoPathBar:dir(ltr).raised.linked button.text-button:hover:last-child, -NemoPathBar:dir(ltr).raised.linked button.text-button:hover:active:last-child, -NemoPathBar:dir(ltr).raised.linked button.text-button:active:last-child, -NemoPathBar:dir(ltr).raised.linked button.text-button:checked:last-child, -NemoPathBar:dir(ltr).raised.linked button.text-button:checked:hover:last-child, -NemoPathBar:dir(ltr).raised.linked button.text-button:checked:hover:active:last-child, -NemoPathBar:dir(ltr).raised.linked button.text-button:only-child, -NemoPathBar:dir(ltr).raised.linked button.text-button:hover:only-child, -NemoPathBar:dir(ltr).raised.linked button.text-button:hover:active:only-child, -NemoPathBar:dir(ltr).raised.linked button.text-button:active:only-child, -NemoPathBar:dir(ltr).raised.linked button.text-button:checked:only-child, -NemoPathBar:dir(ltr).raised.linked button.text-button:checked:hover:only-child, -NemoPathBar:dir(ltr).raised.linked button.text-button:checked:hover:active:only-child { - border-right-width: 1px; - border-left-width: 1px; - border-image-width: 3px 3px 4px 3px; - border-radius: 4px; -} - -/* New */ -toolbar.primary-toolbar.horizontal NemoPathBar.raised.linked button:first-child GtkArrow { - -gtk-icon-source: -gtk-icontheme("pan-start-symbolic"); -} - -toolbar.primary-toolbar.horizontal NemoPathBar.raised.linked button:last-child GtkArrow { - -gtk-icon-source: -gtk-icontheme("pan-end-symbolic"); + in pathbar since gtk+-3.18 */ +.nemo-window NemoPathBar.raised.linked button.text-button, +.nemo-window NemoPathBar.raised.linked button.text-button:hover, +.nemo-window NemoPathBar.raised.linked button.text-button:hover:active, +.nemo-window NemoPathBar.raised.linked button.text-button:active, +.nemo-window NemoPathBar.raised.linked button.text-button:checked, +.nemo-window NemoPathBar.raised.linked button.text-button:checked:hover, +.nemo-window NemoPathBar.raised.linked button.text-button:checked:hover:active, +.nemo-window NemoPathBar.raised.linked button.text-button:first-child, +.nemo-window NemoPathBar.raised.linked button.text-button:hover:first-child, +.nemo-window NemoPathBar.raised.linked button.text-button:hover:active:first-child, +.nemo-window NemoPathBar.raised.linked button.text-button:active:first-child, +.nemo-window NemoPathBar.raised.linked button.text-button:checked:first-child, +.nemo-window NemoPathBar.raised.linked button.text-button:checked:hover:first-child, +.nemo-window NemoPathBar.raised.linked button.text-button:checked:hover:active:first-child, +.nemo-window NemoPathBar.raised.linked button.text-button:last-child, +.nemo-window NemoPathBar.raised.linked button.text-button:hover:last-child, +.nemo-window NemoPathBar.raised.linked button.text-button:hover:active:last-child, +.nemo-window NemoPathBar.raised.linked button.text-button:active:last-child, +.nemo-window NemoPathBar.raised.linked button.text-button:checked:last-child, +.nemo-window NemoPathBar.raised.linked button.text-button:checked:hover:last-child, +.nemo-window NemoPathBar.raised.linked button.text-button:checked:hover:active:last-child, +.nemo-window NemoPathBar.raised.linked button.text-button:only-child, +.nemo-window NemoPathBar.raised.linked button.text-button:hover:only-child, +.nemo-window NemoPathBar.raised.linked button.text-button:hover:active:only-child, +.nemo-window NemoPathBar.raised.linked button.text-button:active:only-child, +.nemo-window NemoPathBar.raised.linked button.text-button:checked:only-child, +.nemo-window NemoPathBar.raised.linked button.text-button:checked:hover:only-child, +.nemo-window NemoPathBar.raised.linked button.text-button:checked:hover:active:only-child { + border-right-width: 1px; + border-left-width: 1px; + border-image-width: 3px 3px 4px 3px; + border-radius: 4px; + border-style: solid; } - /* For Places Sidebar diskfull indicators */ -.vertical.sidebar>scrolledwindow.frame>viewport.frame>box.vertical>treeview.view, +.nemo-window .vertical.sidebar>scrolledwindow.frame>viewport.frame>box.vertical>treeview.view, NemoPlacesTreeView { -NemoPlacesTreeView-disk-full-bg-color: shade(@theme_bg_color, .65); -NemoPlacesTreeView-disk-full-fg-color: shade(@theme_selected_bg_color, 1.0); @@ -59,40 +50,39 @@ NemoPlacesTreeView { -NemoPlacesTreeView-disk-full-max-length: 70px; } -.vertical.sidebar>scrolledwindow.frame>viewport.frame>box.vertical>treeview.view:selected, +.nemo-window .vertical.sidebar>scrolledwindow.frame>viewport.frame>box.vertical>treeview.view:selected, NemoPlacesTreeView:selected { -NemoPlacesTreeView-disk-full-bg-color: shade(@theme_bg_color, 2.0); -NemoPlacesTreeView-disk-full-fg-color: shade(@theme_fg_color, 2.0); } -.vertical.sidebar>scrolledwindow.frame>viewport.frame>box.vertical>treeview.view:hover, +.nemo-window .vertical.sidebar>scrolledwindow.frame>viewport.frame>box.vertical>treeview.view:hover, NemoPlacesTreeView:hover { } -.vertical.sidebar>scrolledwindow.frame>viewport.frame>box.vertical>treeview.view:selected:hover, +.nemo-window .vertical.sidebar>scrolledwindow.frame>viewport.frame>box.vertical>treeview.view:selected:hover, NemoPlacesTreeView:selected:hover { } @define-color cluebar_color shade (@theme_base_color, 0.9); -window.background>grid.vertical>paned.horizontal>box.vertical>paned.horizontal>box.vertical>notebook box.vertical>GtkOverlay>scrolledwindow, -NemoWindow .view { +/* view */ +.nemo-window-pane notebook scrolledwindow { background-color: @theme_base_color; } -NemoWindow .rubberband, -NemoWindow .view.rubberband { +.nemo-window .rubberband, +.nemo-window .view.rubberband { background-color: alpha (@theme_selected_bg_color, 0.35); } /* sidebar */ - -NemoWindow .sidebar .view { +.nemo-window .sidebar .view { background-color: shade (@theme_bg_color, 1.08); color: @theme_fg_color; } -NemoWindow .sidebar .frame { +.nemo-window .sidebar scrolledwindow.frame { border-right-width: 1px; border-style: solid; border-color: shade (@theme_bg_color, 0.90); @@ -101,18 +91,21 @@ NemoWindow .sidebar .frame { border-bottom: none; } -NemoWindow .sidebar row:selected { +.nemo-window .sidebar treeview .cell:selected { + background-color: @theme_selected_bg_color; color: @theme_selected_fg_color; } -NemoWindow .sidebar row:backdrop:selected { - color: @theme_fg_color; - text-shadow: none; +.nemo-window .sidebar treeview .cell:hover { + background-color: shade (@theme_selected_bg_color, 1.15); + color: @theme_selected_fg_color; } -NemoWindow .sidebar row:hover { - background-color: shade (@theme_selected_bg_color, 1.15); - color: shade (@theme_selected_bg_color, 0.35); +.nemo-window .sidebar scrollbar.vertical.left trough { + border-width: 0px 0px 0px 1px; + border-radius: 0; + border-style: solid; + border-color: shade (@theme_bg_color, 0.84); } /* desktop mode */ @@ -140,47 +133,35 @@ NemoWindow .sidebar row:hover { } /* inactive pane */ - -.nemo-inactive-pane .view { +/* bug in gtk+, .view writes no bg color in all browsers */ +.nemo-inactive-pane .view, +.nemo-inactive-pane scrolledwindow, +.nemo-inactive-pane scrolledwindow treeview { background-color: shade(@theme_base_color, 0.9); } -/* Toolbar */ -NemoToolbar .toolbar.primary-toolbar .button.image-button { +/* Primary Toolbar */ +.nemo-window toolbar.primary-toolbar.horizontal button.image-button { padding: 0px 8px; } -NemoToolbar .toolbar.primary-toolbar .button.text-button { +.nemo-window toolbar.primary-toolbar.horizontal button.text-button { padding: 0px 10px; } -/* Misc */ -NemoView.frame, -NemoNotebook.notebook { - border-right-width: 0; - border-left-width: 0; - border-bottom-width: 0; -} - -NemoNotebook.notebook tab.top, -NemoNotebook.notebook tab.bottom { - border-right-width: 1px; - border-left-width: 1px; +/* statusbar */ +.nemo-window box.toolbar.horizontal { + padding: 0px; } -NemoNotebook .frame { - border-width: 1px 0 0 0; -} +/* Misc */ .nemo-cluebar-label { font: normal; text-shadow: 0 1px shade (@cluebar_color, 1.06); } -NemoTrashBar.info, -NemoXContentBar.info, -NemoSearchBar.info, -NemoQueryEditor.info { +.nemo-window-pane infobar.info { background-color: @cluebar_color; border-bottom-color: shade (@cluebar_color, 0.92); border-radius: 0; @@ -189,11 +170,9 @@ NemoQueryEditor.info { color: @theme_fg_color; } -NemoTrashBar .button, -NemoXContentBar .button, -NemoSearchBar .button, -NemoQueryEditor .button { - border-radius: 0; +.nemo-window-pane box.toolbar.primary-toolbar.vertical revealer button.radio.text-button { + padding: 6px; + border-style: solid; } /**************** |