From 2feff2cf0821c03ae2ab5be064e83f22a6c64bc0 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 3 May 2014 14:10:32 +0200 Subject: BlueMenta GTK3: use a own .css file for mate applications --- desktop-themes/BlueMenta/gtk-3.0/Makefile.am | 1 + desktop-themes/BlueMenta/gtk-3.0/gtk-main.css | 1 + .../BlueMenta/gtk-3.0/mate-applications.css | 273 +++++++++++++++++++++ .../BlueMenta/gtk-3.0/other-applications.css | 271 -------------------- 4 files changed, 275 insertions(+), 271 deletions(-) create mode 100644 desktop-themes/BlueMenta/gtk-3.0/mate-applications.css (limited to 'desktop-themes/BlueMenta/gtk-3.0') diff --git a/desktop-themes/BlueMenta/gtk-3.0/Makefile.am b/desktop-themes/BlueMenta/gtk-3.0/Makefile.am index 4b8e4524..81908ceb 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/Makefile.am +++ b/desktop-themes/BlueMenta/gtk-3.0/Makefile.am @@ -10,6 +10,7 @@ theme_DATA = \ gtk-widgets-backgrounds.css \ gtk-widgets-borders.css \ gtk-widgets.css \ + mate-applications.css \ other-applications.css \ settings.ini \ unity.css diff --git a/desktop-themes/BlueMenta/gtk-3.0/gtk-main.css b/desktop-themes/BlueMenta/gtk-3.0/gtk-main.css index c0fcae0a..44a702b2 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/gtk-main.css +++ b/desktop-themes/BlueMenta/gtk-3.0/gtk-main.css @@ -218,5 +218,6 @@ @import url("gtk-widgets-assets.css"); @import url("gtk-widgets.css"); @import url("gnome-applications.css"); +@import url("mate-applications.css"); @import url("other-applications.css"); @import url("unity.css"); diff --git a/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css b/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css new file mode 100644 index 00000000..b10072de --- /dev/null +++ b/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css @@ -0,0 +1,273 @@ +/********************* + * CAJA File manager * + *********************/ +@define-color cluebar_color shade (@theme_base_color, 0.9); + +CajaWindow * { + -GtkPaned-handle-size: 1; +} + +CajaWindow .view { + background-color: @theme_base_color; +} + +CajaWindow .rubberband, +CajaWindow .view.rubberband { + background-color: alpha (@theme_selected_bg_color, 0.35); +} + +/* sidebar */ + +CajaWindow .sidebar .view { + background-color: @theme_bg_color; + color: @theme_fg_color; + text-shadow: 0 1px shade (shade (@theme_bg_color, 0.95), 1.04); +} + +CajaWindow .sidebar .frame { + border-right-width: 1px; + border-style: solid; + border-color: shade (@theme_bg_color, 0.82); +} + +CajaWindow .sidebar row:selected { + color: @theme_selected_fg_color; + text-shadow: 0 -1px shade (@theme_selected_bg_color, 0.8); +} + +CajaWindow .sidebar row:backdrop:selected { + color: @theme_fg_color; + text-shadow: none; +} + +/* desktop mode */ +.caja-desktop.caja-canvas-item { + color: @theme_bg_color; + text-shadow: 1px 1px alpha (#000000, 0.8); +} + +.caja-desktop.caja-canvas-item:active { + background-image: none; + background-color: alpha (@theme_bg_color, 0.84); + color: @theme_fg_color; +} + +.caja-desktop.caja-canvas-item:selected { + background-image: none; + background-color: alpha (@theme_selected_bg_color, 0.84); + color: @theme_selected_fg_color; +} + +.caja-desktop.caja-canvas-item:active, +.caja-desktop.caja-canvas-item:prelight, +.caja-desktop.caja-canvas-item:selected { + text-shadow: none; +} + +/* inactive pane */ + +.caja-inactive-pane .view { + background-color: shade(@theme_base_color, 0.9); +} + +/* Toolbar */ +CajaWindow .toolbar .button { + border-image: none; +} + +/* Misc */ +CajaView.frame, +CajaNotebook.notebook { + border-right-width: 0; + border-left-width: 0; + border-bottom-width: 0; +} + +CajaNotebook.notebook tab.top, +CajaNotebook.notebook tab.bottom { + border-right-width: 1px; + border-left-width: 1px; +} + +CajaNotebook .frame { + border-width: 1px 0 0 0; +} + +.caja-cluebar-label { + font: normal; + text-shadow: 0 1px shade (@cluebar_color, 1.06); +} + +CajaTrashBar.info, +CajaXContentBar.info, +CajaSearchBar.info, +CajaQueryEditor.info { + background-color: @cluebar_color; + border-bottom-color: shade (@cluebar_color, 0.92); + border-radius: 0; + border-style: solid; + border-width: 0px 0px 1px 0px; + color: @theme_fg_color; +} + +CajaTrashBar .button, +CajaXContentBar .button, +CajaSearchBar .button, +CajaQueryEditor .button { + border-radius: 0; +} + +/**************** + * Mate-Panel * + ****************/ + +PanelWidget, +PanelApplet, +PanelToplevel, +.desktop-panel { +/* background-image: -gtk-gradient (linear, left top, left bottom, + from (shade (@theme_bg_color, 1.5)), + to (shade (@theme_bg_color, 1.05)));*/ + background-color: @theme_bg_color; + padding: 0; + -unico-inner-stroke-width: 0; + -unico-outer-stroke-width: 0; + color: @theme_fg_color; + text-shadow: none; +} + +PanelApplet { + border-width: 0; +} + +PanelSeparator { + border-width: 0; + background-image: -gtk-gradient (linear, left top, left bottom, + from (shade (@theme_bg_color, 0.96)), + to (shade (@theme_bg_color, 1.05))); + -unico-inner-stroke-width: 0; + -unico-outer-stroke-width: 0; + color: @dark_fg_color; + text-shadow: none; +} + +.mate-panel-menu-bar, +PanelApplet > GtkMenuBar.menubar, +PanelApplet > GtkMenuBar.menubar.menuitem, +PanelMenuBar.menubar, +PanelMenuBar.menubar.menuitem, +.desktop-panel .menubar, +.desktop-panel .menubar .menuitem { + /*background-image: -gtk-gradient (linear, left top, left bottom, + from (shade (@theme_bg_color, 1.5)), + to (shade (@theme_bg_color, 1.05)));*/ + background-color: @theme_bg_color; + -unico-inner-stroke-width: 0; + -unico-outer-stroke-width: 0; + text-shadow: none; +} + +PanelAppletFrame { + background-color: @color; + background-image: -gtk-gradient (linear, left top, left bottom, + from (shade (@theme_bg_color, 1.5)), + to (shade (@theme_bg_color, 1.05))); + border-width: 0; + -unico-inner-stroke-width: 0; + -unico-outer-stroke-width: 0; + text-shadow: none; +} + +PanelApplet .button, +.desktop-panel .button { + -GtkButton-inner-border: 2; + + background-image: -gtk-gradient (linear, left top, left bottom, + from (shade (@theme_bg_color, 1.5)), + to (shade (@theme_bg_color, 1.05))); + + border-color: @transparent; + border-radius: 0; + border-width: 0 1px 0 1px; + + color: @theme_fg_color; + text-shadow: none; + + -unico-border-gradient: none; + -unico-glow-radius: 0; + -unico-inner-stroke-width: 0; + -unico-outer-stroke-width: 0; +} + +PanelApplet .button:prelight:active, +PanelApplet .button:active, +.desktop-panel .button:prelight:active, +.desktop-panel .button:active { + background-image: -gtk-gradient (linear, left top, left bottom, + from (shade (@theme_bg_color, 0.85)), + to (shade (@theme_bg_color, 1.0))); + border-color: shade (@theme_bg_color, 0.78); + border-radius: 0; + border-width: 0 1px 0 1px; + + -unico-border-gradient: none; + -unico-glow-radius: 0; + -unico-inner-stroke-width: 0; + -unico-outer-stroke-width: 0; + text-shadow: none; +} + +PanelApplet .button:prelight, +.desktop-panel .button:prelight { + background-image: -gtk-gradient (linear, left top, left bottom, + from (shade (@theme_bg_color, 1.7)), + to (shade (@theme_bg_color, 1.25))); + border-color: @transparent; + border-radius: 0; + border-width: 0 1px 0 1px; + + -unico-border-gradient: none; + -unico-glow-radius: 0; + -unico-inner-stroke-width: 0; + -unico-outer-stroke-width: 0; + text-shadow: none; +} + +ClockBox, +.mate-panel-menu-bar.menubar, +PanelApplet > GtkMenuBar.menubar { + font: normal; +} + +WnckPager, WnckTasklist { + background-color: @theme_bg_color; + text-shadow: none; +} + +/* Classic icon style */ +.mate-panel-menu-bar { + -PanelMenuBar-icon-visible: true; +} + +/* Makes the text color on the light panel black */ +.mate-panel-menu-bar .menuitem { + color: @theme_fg_color; + text-shadow: none; +} + +.mate-panel-menu-bar .menuitem:hover { + background-image: -gtk-gradient (linear, left top, left bottom, + from (shade (@theme_selected_bg_color, 1.0)), + to (shade (@theme_selected_bg_color, 0.85))); + border-width: 0; + color: @theme_fg_color; + text-shadow: none; + -unico-inner-stroke-width: 0; + -unico-outer-stroke-width: 0; +} + +.mate-panel-menu-bar .menu.menuitem:hover, +.mate-panel-menu-bar .menu .menuitem:hover { + color: @theme_selected_fg_color; +} + diff --git a/desktop-themes/BlueMenta/gtk-3.0/other-applications.css b/desktop-themes/BlueMenta/gtk-3.0/other-applications.css index 98f57958..f906af74 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/other-applications.css +++ b/desktop-themes/BlueMenta/gtk-3.0/other-applications.css @@ -182,125 +182,6 @@ NemoQueryEditor .button { border-radius: 0; } -/********************* - * CAJA File manager * - *********************/ -@define-color cluebar_color shade (@theme_base_color, 0.9); - -CajaWindow * { - -GtkPaned-handle-size: 1; -} - -CajaWindow .view { - background-color: @theme_base_color; -} - -CajaWindow .rubberband, -CajaWindow .view.rubberband { - background-color: alpha (@theme_selected_bg_color, 0.35); -} - -/* sidebar */ - -CajaWindow .sidebar .view { - background-color: @theme_bg_color; - color: @theme_fg_color; - text-shadow: 0 1px shade (shade (@theme_bg_color, 0.95), 1.04); -} - -CajaWindow .sidebar .frame { - border-right-width: 1px; - border-style: solid; - border-color: shade (@theme_bg_color, 0.82); -} - -CajaWindow .sidebar row:selected { - color: @theme_selected_fg_color; - text-shadow: 0 -1px shade (@theme_selected_bg_color, 0.8); -} - -CajaWindow .sidebar row:backdrop:selected { - color: @theme_fg_color; - text-shadow: none; -} - -/* desktop mode */ -.caja-desktop.caja-canvas-item { - color: @theme_bg_color; - text-shadow: 1px 1px alpha (#000000, 0.8); -} - -.caja-desktop.caja-canvas-item:active { - background-image: none; - background-color: alpha (@theme_bg_color, 0.84); - color: @theme_fg_color; -} - -.caja-desktop.caja-canvas-item:selected { - background-image: none; - background-color: alpha (@theme_selected_bg_color, 0.84); - color: @theme_selected_fg_color; -} - -.caja-desktop.caja-canvas-item:active, -.caja-desktop.caja-canvas-item:prelight, -.caja-desktop.caja-canvas-item:selected { - text-shadow: none; -} - -/* inactive pane */ - -.caja-inactive-pane .view { - background-color: shade(@theme_base_color, 0.9); -} - -/* Toolbar */ -CajaWindow .toolbar .button { - border-image: none; -} - -/* Misc */ -CajaView.frame, -CajaNotebook.notebook { - border-right-width: 0; - border-left-width: 0; - border-bottom-width: 0; -} - -CajaNotebook.notebook tab.top, -CajaNotebook.notebook tab.bottom { - border-right-width: 1px; - border-left-width: 1px; -} - -CajaNotebook .frame { - border-width: 1px 0 0 0; -} - -.caja-cluebar-label { - font: normal; - text-shadow: 0 1px shade (@cluebar_color, 1.06); -} - -CajaTrashBar.info, -CajaXContentBar.info, -CajaSearchBar.info, -CajaQueryEditor.info { - background-color: @cluebar_color; - border-bottom-color: shade (@cluebar_color, 0.92); - border-radius: 0; - border-style: solid; - border-width: 0px 0px 1px 0px; - color: @theme_fg_color; -} - -CajaTrashBar .button, -CajaXContentBar .button, -CajaSearchBar .button, -CajaQueryEditor .button { - border-radius: 0; -} - /**************** * PopOver menu * ****************/ @@ -388,155 +269,3 @@ OsScrollbar:insensitive { .ubuntu-online-accounts.frame { border-top-width: 0; } - -/* MATE Panel */ -PanelWidget, -PanelApplet, -PanelToplevel, -.desktop-panel { -/* background-image: -gtk-gradient (linear, left top, left bottom, - from (shade (@theme_bg_color, 1.5)), - to (shade (@theme_bg_color, 1.05)));*/ - background-color: @theme_bg_color; - padding: 0; - -unico-inner-stroke-width: 0; - -unico-outer-stroke-width: 0; - color: @theme_fg_color; - text-shadow: none; -} - -PanelApplet { - border-width: 0; -} - -PanelSeparator { - border-width: 0; - background-image: -gtk-gradient (linear, left top, left bottom, - from (shade (@theme_bg_color, 0.96)), - to (shade (@theme_bg_color, 1.05))); - -unico-inner-stroke-width: 0; - -unico-outer-stroke-width: 0; - color: @dark_fg_color; - text-shadow: none; -} - -.mate-panel-menu-bar, -PanelApplet > GtkMenuBar.menubar, -PanelApplet > GtkMenuBar.menubar.menuitem, -PanelMenuBar.menubar, -PanelMenuBar.menubar.menuitem, -.desktop-panel .menubar, -.desktop-panel .menubar .menuitem { - /*background-image: -gtk-gradient (linear, left top, left bottom, - from (shade (@theme_bg_color, 1.5)), - to (shade (@theme_bg_color, 1.05)));*/ - background-color: @theme_bg_color; - -unico-inner-stroke-width: 0; - -unico-outer-stroke-width: 0; - text-shadow: none; -} - -PanelAppletFrame { - background-color: @color; - background-image: -gtk-gradient (linear, left top, left bottom, - from (shade (@theme_bg_color, 1.5)), - to (shade (@theme_bg_color, 1.05))); - border-width: 0; - -unico-inner-stroke-width: 0; - -unico-outer-stroke-width: 0; - text-shadow: none; -} - -PanelApplet .button, -.desktop-panel .button { - -GtkButton-inner-border: 2; - - background-image: -gtk-gradient (linear, left top, left bottom, - from (shade (@theme_bg_color, 1.5)), - to (shade (@theme_bg_color, 1.05))); - - border-color: @transparent; - border-radius: 0; - border-width: 0 1px 0 1px; - - color: @theme_fg_color; - text-shadow: none; - - -unico-border-gradient: none; - -unico-glow-radius: 0; - -unico-inner-stroke-width: 0; - -unico-outer-stroke-width: 0; -} - -PanelApplet .button:prelight:active, -PanelApplet .button:active, -.desktop-panel .button:prelight:active, -.desktop-panel .button:active { - background-image: -gtk-gradient (linear, left top, left bottom, - from (shade (@theme_bg_color, 0.85)), - to (shade (@theme_bg_color, 1.0))); - border-color: shade (@theme_bg_color, 0.78); - border-radius: 0; - border-width: 0 1px 0 1px; - - -unico-border-gradient: none; - -unico-glow-radius: 0; - -unico-inner-stroke-width: 0; - -unico-outer-stroke-width: 0; - text-shadow: none; -} - -PanelApplet .button:prelight, -.desktop-panel .button:prelight { - background-image: -gtk-gradient (linear, left top, left bottom, - from (shade (@theme_bg_color, 1.7)), - to (shade (@theme_bg_color, 1.25))); - border-color: @transparent; - border-radius: 0; - border-width: 0 1px 0 1px; - - -unico-border-gradient: none; - -unico-glow-radius: 0; - -unico-inner-stroke-width: 0; - -unico-outer-stroke-width: 0; - text-shadow: none; -} - -ClockBox, -.mate-panel-menu-bar.menubar, -PanelApplet > GtkMenuBar.menubar { - font: normal; -} - -WnckPager, WnckTasklist { - background-color: @theme_bg_color; - text-shadow: none; -} - -/* Classic icon style */ -.mate-panel-menu-bar { - -PanelMenuBar-icon-visible: true; -} - -/* Makes the text color on the light panel black */ -.mate-panel-menu-bar .menuitem { - color: @theme_fg_color; - text-shadow: none; -} - -.mate-panel-menu-bar .menuitem:hover { - background-image: -gtk-gradient (linear, left top, left bottom, - from (shade (@theme_selected_bg_color, 1.0)), - to (shade (@theme_selected_bg_color, 0.85))); - border-width: 0; - color: @theme_fg_color; - text-shadow: none; - -unico-inner-stroke-width: 0; - -unico-outer-stroke-width: 0; -} - -.mate-panel-menu-bar .menu.menuitem:hover, -.mate-panel-menu-bar .menu .menuitem:hover { - color: @theme_selected_fg_color; -} - -- cgit v1.2.1