From f930c7c71b22e1947e6f4a699f4e30b17feb5be0 Mon Sep 17 00:00:00 2001 From: xyl0n Date: Sat, 23 Aug 2014 16:00:40 +0100 Subject: [PATCH] Nemo toolbar theming --- gtk-3.0/apps/gnome-applications.css~ | 419 --------------------------- gtk-3.0/apps/nemo.css | 28 ++ gtk-3.0/gtk.css | 1 + 3 files changed, 29 insertions(+), 419 deletions(-) delete mode 100644 gtk-3.0/apps/gnome-applications.css~ create mode 100644 gtk-3.0/apps/nemo.css diff --git a/gtk-3.0/apps/gnome-applications.css~ b/gtk-3.0/apps/gnome-applications.css~ deleted file mode 100644 index 9f1e98e..0000000 --- a/gtk-3.0/apps/gnome-applications.css~ +++ /dev/null @@ -1,419 +0,0 @@ -/*********************** - * fallback mode panel * - ***********************/ -PanelWidget, -PanelApplet, -PanelToplevel { - padding: 0; - background-color: @panel_bg_color; - background-image: none; - color: @panel_fg_color; -} - -PanelApplet { - border-width: 0; -} - -PanelSeparator { - border-width: 0; - background-color: @panel_bg_color; - background-image: none; - color: @panel_fg_color; -} - -.gnome-panel-menu-bar, -PanelApplet > GtkMenuBar.menubar, -PanelApplet > GtkMenuBar.menubar.menuitem, -PanelMenuBar.menubar, -PanelMenuBar.menubar.menuitem { - -Panelpanel-icon-visible: true; - - border-width: 0; - background-color: @panel_bg_color; - background-image: none; -} - -PanelAppletFrame { - border-width: 0; - background-color: @panel_bg_color; - background-image: none; -} - -PanelApplet .button { - -GtkButton-inner-border: 2; - - border-width: 0 1px; - border-radius: 0; - border-color: transparent; - background-color: @panel_bg_color; - background-image: none; - color: @panel_fg_color; -} - -PanelApplet .button:active { - border-width: 0 1px; - border-radius: 0; - border-color: mix(@panel_bg_color, @panel_fg_color, 0.21); - background-color: mix(@panel_bg_color, @panel_fg_color, 0.21); - background-image: none; - color: shade(@panel_fg_color, 1.08); -} - -PanelApplet .button:prelight { - border-color: mix(@panel_bg_color, @panel_fg_color, 0.11); - background-color: mix(@panel_bg_color, @panel_fg_color, 0.11); - background-image: none; - color: shade(@panel_fg_color, 1.08); -} - -PanelApplet .button:active:prelight { - border-color: mix(@panel_bg_color, @panel_fg_color, 0.31); - background-color: mix(@panel_bg_color, @panel_fg_color, 0.31); - background-image: none; - color: shade(@panel_fg_color, 1.08); -} - -WnckPager, WnckTasklist { - background-color: @panel_bg_color; -} - -/************ - * nautilus * - ************/ -.nautilus-canvas-item { - border-radius: 0px; -} - -.nautilus-desktop.nautilus-canvas-item { - color: white; - text-shadow: 1px 1px black; -} - -.nautilus-desktop.nautilus-canvas-item:active { - color: @theme_fg_color; -} - -.nautilus-desktop.nautilus-canvas-item:selected { - color: @theme_base_color; -} - -.nautilus-desktop.nautilus-canvas-item:active, -.nautilus-desktop.nautilus-canvas-item:prelight, -.nautilus-desktop.nautilus-canvas-item:selected { - text-shadow: none; -} - -NautilusWindow .toolbar { - border-width: 0 0 1px; - border-style: solid; - border-color: shade(@toolbar_bg_color, 0.8); -} - -NautilusWindow .sidebar .frame { - border-style: none; -} - -NautilusWindow > GtkGrid > .pane-separator, -NautilusWindow > GtkGrid > .pane-separator:hover { - border-width: 0 1px 0 0; - border-style: solid; - border-color: shade(@theme_bg_color, 0.8); - background-color: @theme_bg_color; -} - -NautilusNotebook.notebook { - border-right-width: 0; - border-left-width: 0; - border-bottom-width: 0; -} - -NautilusNotebook .frame { - border-width: 0; -} - -NautilusQueryEditor .primary-toolbar.toolbar { - border-top-width: 0; - border-bottom-width: 0; -} - -NautilusQueryEditor .toolbar { - padding-top: 3px; - padding-bottom: 2px; - border-width: 1px 0 0 0; - border-style: solid; - border-color: @toolbar_bg_color; - background-color: shade(@toolbar_bg_color, 0.9); -} - -NautilusQueryEditor .toolbar:nth-child(2) { - border-color: shade(@toolbar_bg_color, 0.8); -} - -NautilusQueryEditor .toolbar:last-child, -NautilusQueryEditor .primary-toolbar.toolbar:only-child { - border-bottom-width: 1px; - border-bottom-color: shade(@toolbar_bg_color, 0.8); -} - -/****************** - * gnome terminal * - ******************/ -VteTerminal { - background-color: @theme_text_color; - color: @theme_bg_color; -} - -TerminalWindow GtkNotebook.notebook { - border-right-width: 0; - border-bottom-width: 0; - border-left-width: 0; - background-color: @theme_fg_color; - border-color: shade(@theme_text_color, 0.8); -} - -TerminalWindow GtkNotebook.notebook tab { - padding: 6px 6px; - border-color: @theme_text_color; - border-radius: 0; - background-color: @theme_text_color; - background-image: none; -} - -TerminalWindow GtkNotebook.notebook tab:active { - border-color: @theme_text_color; - background-color: shade(@theme_text_color, 1.15); - background-image: none; - color: transparent; -} - -TerminalWindow GtkNotebook.notebook tab.top:active { - border-width: 0px; - border-top-width: 5px; - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; - border-top-color: @theme_text_color; - box-shadow: 0px 1px shade(@theme_text_color, 0.8) inset, - 1px 0px shade(@theme_text_color, 0.8) inset, - -1px 0px shade(@theme_text_color, 0.8) inset; -} - -TerminalWindow GtkNotebook.notebook tab GtkLabel { - color: @theme_bg_color; - padding-top: 2px; -} - -TerminalWindow .scrollbars-junction, -TerminalWindow .scrollbar.trough { - background-color: @theme_text_color; -} - -TerminalWindow .scrollbar.button, -TerminalWindow .scrollbar.button:active, -TerminalWindow .scrollbar.button:active:hover { - color: shade(@theme_text_color, 1.25); -} - -TerminalWindow .scrollbar.slider { - border-color: shade(@theme_text_color, 1.25); - background-color:shade(@theme_text_color, 1.25); -} - -TerminalWindow .scrollbar.slider:hover, -TerminalWindow .scrollbar.slider.vertical:hover { - border-color: shade(@theme_text_color, 1.45); - background-color: shade(@theme_text_color, 1.45); -} - -TerminalWindow .scrollbar.slider:active, -TerminalWindow .scrollbar.slider.vertical:active { - border-color: shade(@theme_selected_fg_color, 0.9); - background-color: @theme_selected_fg_color; -} - -/********* - * gedit * - *********/ -GeditWindow .pane-separator, -GeditWindow .pane-separator:hover { - border-width: 0 1px 1px 1px; - border-style: solid; - border-color: shade(@theme_bg_color, 0.8); - background-color: @theme_bg_color; - color: shade(@theme_bg_color, 0.8); -} - -GeditPanel.title GtkLabel { - padding: 4px 0; -} - -GeditPanel.vertical .title { - padding: 4px 0 4px 3px; - border-style: none; -} - -GeditPanel .toolbar { - border-style: none; - background-color: transparent; -} - -GeditDocumentsPanel .view { - background-color: @theme_base_color; -} - -GeditPanel.vertical .notebook { - padding: 0; - border-width: 1px 0; -} - -GeditPanel.horizontal .notebook { - padding: 0; - border-width: 0 1px 1px 0; -} - -GeditWindow .notebook { - border-width: 1px 0; -} - -GeditPanel .notebook tab, -GeditWindow .notebook tab { - border-width: 0; -} - -GeditStatusMenuButton.button, -GeditStatusMenuButton.button:hover, -GeditStatusMenuButton.button:active, -GeditStatusMenuButton.button:active:hover { - padding: 1px 6px 2px 4px; - border-style: solid; - border-width: 0 1px; - border-radius: 0; -} - -GeditStatusMenuButton.button:hover, -GeditStatusMenuButton.button:active, -GeditStatusMenuButton.button:active:hover { - border-color: shade(@theme_bg_color, 0.8); -} - -GeditViewFrame .gedit-search-slider { - padding: 4px; - border-radius: 0 0 0px 0px; - border-width: 0 1px 1px 1px; - border-style: solid; - border-color: shade(@theme_base_color, 0.8); - background-color: @theme_base_color; -} - -GeditViewFrame .gedit-search-slider .not-found { - background-color: @error_bg_color; - background-image: none; - color: @error_fg_color; -} - -GeditViewFrame .gedit-search-slider .not-found:selected { - background-color: @theme_selected_fg_color; - color: @theme_base_color; -} - -GeditFileBrowserWidget .primary-toolbar.toolbar { - padding: 2px; - border-top: none; - background-color: @theme_bg_color; - background-image: none; -} - -/*************** - * font-viewer * - ***************/ -SushiFontWidget { - padding: 6px 12px; -} - -/************* - * gucharmap * - *************/ -GucharmapChartable { - background-color: @theme_base_color; -} - -GucharmapChartable:active, -GucharmapChartable:focus, -GucharmapChartable:selected { - background-color: @theme_bg_color; - color: @theme_selected_bg_color; -} - -/************* - * evolution * - *************/ -EPreviewPane .entry { - background-color: @theme_base_color; - color: @theme_text_color; -} - -/****************** - * gnome calendar * - ******************/ -.calendar-view { - background-color: shade(@theme_base_color, 0.95); - color: @theme_text_color; -} - -/*Gnome Control Center*/ - -CcEditableEntry .button, -UmEditableButton .button, -UmEditableCombo .button { - border-style: solid; - border-width: 1px; - border-color: shade(@theme_bg_color, 1.0); - color: @theme_text_color; -} - -CcEditableEntry .button:hover, -UmEditableButton .button:hover, -UmEditableCombo .button:hover { - transition: none; - border-style: solid; - border-width: 1px; - border-color: shade(@theme_bg_color, 0.9); - background-color: @theme_bg_color; - color: @theme_selected_fg_color; -} - -/*Ubuntu Software Center*/ -.label-tile { - color: @theme_text_color; - background-color: transparent; -} - -.category-tile { - color: @theme_text_color; - background-color: transparent; -} - -#category-view .button { - color: @theme_fg_color; - background-color: transparent; -} - -/*Gthumb*/ - -GthToolbox .button, -GthToolbox .button:focus { - color: @theme_text_color; - background-color: @theme_bg_color; - border-style: solid; - border-width: 1px; - border-color: alpha(@theme_fg_color, 0.25); -} - -GthToolbox .button:hover { - background-color: @theme_bg_color; - color: @theme_selected_fg_color; -} - -GthToolbox .button:active { - background-color: @theme_bg_color; - color: shade(@theme_selected_fg_color, 0.87); -} diff --git a/gtk-3.0/apps/nemo.css b/gtk-3.0/apps/nemo.css new file mode 100644 index 0000000..5d36672 --- /dev/null +++ b/gtk-3.0/apps/nemo.css @@ -0,0 +1,28 @@ +/*********************** + * pathbar breadcrumbs * + ***********************/ +NemoPathbarButton { + border-color: shade(@toolbar_bg_color, 0.8); + background-color: shade(@toolbar_bg_color, 1.08); + background-image: none; + color: @toolbar_fg_color; + + -NemoPathbarButton-border-radius: 2px; +} + +NemoPathbarButton:active { + border-color: shade(@toolbar_bg_color, 0.8); + background-color: shade(@toolbar_bg_color, 0.95); + background-image: none; +} + +NemoPathbarButton:hover { + border-color: shade(@toolbar_bg_color, 0.7); + background-color: shade(@toolbar_bg_color, 1.10); + background-image: none; +} + +NemoPathbarButton:active:hover { + border-color: shade(@toolbar_bg_color, 0.7); +} + diff --git a/gtk-3.0/gtk.css b/gtk-3.0/gtk.css index 0b91484..08cdec7 100644 --- a/gtk-3.0/gtk.css +++ b/gtk-3.0/gtk.css @@ -73,6 +73,7 @@ @import url("apps/granite-widgets.css"); @import url("apps/unity.css"); @import url("apps/xfce.css"); +@import url("apps/nemo.css"); @import url("widgets/assistant.css"); @import url("widgets/button.css");