From ca68deb6f3b5380e4f751087ae60a875b13893df Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 6 May 2014 15:05:08 +0200 Subject: BlackMATE GTK3: update to GTK3-3.12 --- desktop-themes/BlackMATE/gtk-3.0/gtk-main.css | 2 + .../BlackMATE/gtk-3.0/gtk-widgets-assets-dark.css | 22 ++ desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css | 373 +++++-------------- .../BlackMATE/gtk-3.0/mate-applications.css | 404 +++++++++++++++++++++ 4 files changed, 525 insertions(+), 276 deletions(-) create mode 100644 desktop-themes/BlackMATE/gtk-3.0/mate-applications.css diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css index 5d37534a..deb7f00c 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css @@ -154,3 +154,5 @@ @import url("gtk-widgets.css"); @import url("gtk-widgets-assets-dark.css"); +@import url("unity.css"); +@import url("mate-applications.css"); diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets-assets-dark.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets-assets-dark.css index 68be5e6a..c0f9100e 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets-assets-dark.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets-assets-dark.css @@ -346,3 +346,25 @@ GtkTreeView row:selected:focus { .menu .menuitem:hover { border-image: url("assets/menu-border-dark.svg") 3 / 3px stretch; }*/ + + +/********************* + * Notebook and Tabs * + *********************/ + +.notebook tab:active { + border-image: url("assets/tab-active-border.svg") 3 3 0 3 / 3px 3px 0px 3px stretch; +} + +.notebook tab.bottom:active { + border-image: url("assets/tab-bottom-active-border.svg") 0 3 3 3 / 0px 3px 3px 3px stretch; +} + +.notebook tab.left:active { + border-image: url("assets/tab-left-active-border.svg") 3 0 3 3 / 3px 0px 3px 3px stretch; +} + +.notebook tab.right:active { + border-image: url("assets/tab-right-active-border.svg") 3 3 3 0 / 3px 3px 3px 0px stretch; +} + diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css index 9a4f65bd..3b43ef38 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css @@ -1,5 +1,4 @@ * { - engine: none; padding: 1px; background-clip: padding-box; @@ -51,10 +50,6 @@ -GtkWindow-resize-grip-width: 10; -GtkWindow-resize-grip-height: 10; - /* We use the outline properties to signal the focus properties - * to the adwaita engine: using real CSS properties is faster, - * and we don't use any outlines for now. - */ outline-color: @focus_border; outline-style: dashed; outline-offset: 2px; @@ -69,7 +64,7 @@ } *:hover { - background-color: alpha(shade(@theme_bg_color, 1.1), 0.4); + background-color: alpha(shade(@theme_bg_color, 1.1), 1.0); color: @theme_fg_color; } @@ -181,20 +176,11 @@ color: @theme_selected_fg_color; } -.notebook GtkContainer .view:selected, -.notebook GtkContainer .view:active { - background-color: shade(@theme_selected_bg_color, 1.23); -} - .view:selected:focus { background-color: @theme_selected_bg_color; color: @theme_selected_fg_color; } -.notebook GtkContainer .view:selected:focus { - background-color: @theme_selected_bg_color; -} - /* It's better not to have too bright text views. */ GtkTextView.view, GtkTextView.view:insensitive, @@ -203,22 +189,12 @@ GtkHTML { /* For Evolution (not enough; see entries section below) */ color: @theme_main_color; } -.notebook GtkContainer GtkTextView.view, -.notebook GtkContainer GtkTextView.view:insensitive, -.notebook GtkContainer GtkHTML { - background-color: @view_color; -} - /* This is for highlighting the current line in source views. */ GtkTextView { background-color: #D9D9D9; /* #dddddd; */ color: @theme_main_color; } -.notebook GtkContainer GtkTextView { - background-color: #D9D9D9; /* #dddddd; */ -} - /* Exceptional views */ GtkCalendar.view, GtkIconView.view, @@ -227,11 +203,6 @@ GtkDialog .view { color: @theme_fg_color; } -.notebook GtkContainer GtkCalendar.view, -.notebook GtkContainer GtkIconView.view { - background-color: @theme_bg_color; -} - /************** * Separators * **************/ @@ -350,11 +321,6 @@ GtkTreeView .separator, box-shadow: none; } -.notebook GtkContainer .entry.progressbar, -.notebook GtkContainer .entry.progressbar:focus { - background-color: transparent; -} - .entry.progressbar.pulse, .entry.progressbar.pulse:focus { background-image: linear-gradient(to top, @@ -377,11 +343,6 @@ GtkHTML.entry { color: @theme_main_color; } -.notebook GtkContainer GtkTextView.entry, -.notebook GtkContainer GtkHTML.entry { - background-color: @view_color; -} - /* for Totem's search */ /*.entry GtkEntry { background-color: transparent; @@ -539,10 +500,6 @@ GtkLevelBar { background-color: transparent; } -.notebook GtkContainer GtkLevelBar { - background-color: transparent; -} - GtkLevelBar.vertical { -GtkLevelBar-min-block-width: 3; -GtkLevelBar-min-block-height: 34; @@ -584,8 +541,7 @@ GtkLevelBar.vertical { shade(@warning_bg_color, 0.7)); } -.level-bar.fill-block.empty-fill-block, -.notebook GtkContainer .level-bar.fill-block.empty-fill-block { +.level-bar.fill-block.empty-fill-block { background-color: transparent; background-image: linear-gradient(to bottom, shade(@less_dark_color, 0.5), @@ -600,6 +556,15 @@ GtkNotebook { border-radius: 3px; } +/* gtk-3.12 */ +.notebook.header { + background-image: none; + background-color: transparent; + border-style: none; + border-image: none; + border-width: 0px; +} + .notebook { padding: 1px 0px 1px 1px; background-color: @less_dark_color; @@ -607,11 +572,14 @@ GtkNotebook { color: @theme_fg_color; /* gdebi bug? */ border-color: @less_dark_color; border-style: solid; - border-width: 1px; + border-width: 0px 1px 0px 1px; - -GtkNotebook-tab-overlap: 8; - -GtkNotebook-tab-curvature: 6; + -GtkNotebook-tab-overlap: 1; + -GtkNotebook-tab-curvature: 0; -GtkNotebook-initial-gap: 0; + -GtkNotebook-has-tab-gap: false; + -GtkWidget-focus-padding: 2; + -GtkWidget-focus-line-width: 0; } .notebook.arrow:insensitive { @@ -621,19 +589,14 @@ GtkNotebook { .notebook tab { padding: 3px 8px 0px; border-style: solid; - border-width: 0; + border-width: 1px 1px 0px 1px; + border-color: shade(@less_dark_color, 0.75); background-image: linear-gradient(to bottom, shade(@less_dark_color, 1.6), shade(@less_dark_color, 0.5)); } .notebook tab:active { - border-image-source: -gtk-gradient (linear, - left top, left bottom, - from (shade(@notebook_active_tab_border, 1.35)), - to (@less_dark_color)); - - -adwaita-selected-tab-color: transparent; /*shade(@less_dark_color, 0.8);*/ background-image: linear-gradient(to bottom, shade(@less_dark_color, 0.75), shade(@less_dark_color, 0.86) 40%, @@ -650,24 +613,42 @@ GtkNotebook { padding: 4px 8px 0px; } +.notebook tab.top, +.notebook tab.top:active { + border-radius: 3px 3px 0px 0px; +} + .notebook tab.bottom { padding: 0px 8px 3px; } .notebook tab.bottom:active { - padding: 0px 8px 4px; + padding: 0px 8px 4px; + background-image: linear-gradient(to top, + shade(@less_dark_color, 1.25), + shade(@less_dark_color, 1.14) 40%, + shade(@less_dark_color, 1.05) 70%, + @less_dark_color); +} + +.notebook tab.bottom, +.notebook tab.bottom:active { + border-radius: 0px 0px 3px 3px; + border-width: 0px 1px 1px 1px; } .notebook tab.left, .notebook tab.left:active { border-radius: 3px 0px 0px 3px; padding: 2px 4px 2px; + border-width: 1px 0px 1px 1px; } .notebook tab.right, .notebook tab.right:active { border-radius: 0px 3px 3px 0px; padding: 2px 4px 2px; + border-width: 1px 1px 1px 0px; } .notebook tab.left:active, @@ -695,8 +676,7 @@ GtkNotebook { .notebook GtkDrawingArea, .notebook GtkPaned, .notebook GtkEventBox, -/* isn't this extreme? */ -.notebook GtkContainer { +.notebook GtkFrame { background-color: @less_dark_color; } @@ -929,16 +909,12 @@ GtkTreeView row:selected:focus { }*/ GtkTreeView row:nth-child(odd), -GtkTreeView row:nth-child(odd):hover, -.notebook GtkContainer GtkTreeView row:nth-child(odd), -.notebook GtkContainer GtkTreeView row:nth-child(odd):hover { +GtkTreeView row:nth-child(odd):hover { background-color: @less_dark_color; } GtkTreeView row:nth-child(even), -GtkTreeView row:nth-child(even):hover, -.notebook GtkContainer GtkTreeView row:nth-child(even), -.notebook GtkContainer GtkTreeView row:nth-child(even):hover { +GtkTreeView row:nth-child(even):hover { background-color: shade(@less_dark_color, 1.05); } @@ -948,16 +924,12 @@ GtkTreeView row:nth-child(even):insensitive { } GtkTreeView column:sorted row:nth-child(odd), -GtkTreeView column:sorted row:nth-child(odd):hover, -.notebook GtkContainer GtkTreeView column:sorted row:nth-child(odd), -.notebook GtkContainer GtkTreeView column:sorted row:nth-child(odd):hover { +GtkTreeView column:sorted row:nth-child(odd):hover { background-color: shade(@less_dark_color, 0.85); } GtkTreeView column:sorted row:nth-child(even), -GtkTreeView column:sorted row:nth-child(even):hover, -.notebook GtkContainer GtkTreeView column:sorted row:nth-child(even), -.notebook GtkContainer GtkTreeView column:sorted row:nth-child(even):hover { +GtkTreeView column:sorted row:nth-child(even):hover { background-color: shade(@less_dark_color, 0.9); } @@ -1037,12 +1009,6 @@ row { background-color: transparent; } -.notebook GtkContainer .scale.slider, -.notebook GtkContainer .scale.slider:hover, -.notebook GtkContainer .scale.slider:insensitive { - background-color: transparent; -} - .scale.slider.fine-tune:active, .scale.slider.fine-tune:active:hover, .scale.slider.fine-tune.horizontal:active, @@ -1095,8 +1061,7 @@ row { shade(@theme_bg_color, 0.8)); } -.scale.mark, -.notebook GtkContainer .scale.mark { +.scale.mark { background-color: shade(@theme_bg_color, 0.56); } @@ -1248,14 +1213,6 @@ GtkComboBox .menu { padding: 0px 4px 0px 0px; } -.notebook GtkContainer .spinbutton .button, -.notebook GtkContainer .spinbutton .button:insensitive, -.notebook GtkContainer .spinbutton .button:hover, -.notebook GtkContainer .spinbutton .button:active, -.notebook GtkContainer .spinbutton .button:focus { - background-color: transparent; -} - .spinbutton .button, .spinbutton .button:focus { color: shade(@insensitive_fg_color, 1.1); @@ -1442,10 +1399,6 @@ GtkComboBox .menu { /*-GtkMenuBar-internal-padding: 0;*/ } -.notebook GtkContainer .menubar { - background-color: @theme_bg_color; -} - /*.menubar * { background-color: transparent; }*/ @@ -1502,7 +1455,6 @@ GtkComboBox .menu { .menuitem, .menuitem * { - -adwaita-menuitem-arrow-color: @menu_controls_color; -GtkMenuItem-arrow-scaling: 0.5; padding: 2px 0px; } @@ -1519,8 +1471,8 @@ GtkComboBox .menu { .menu.button:hover { color: @theme_main_color; background-image: linear-gradient(to bottom, - #999999, - #404040); + #ffffff, + #808080) } .menu.button:insensitive { @@ -1532,8 +1484,8 @@ GtkComboBox .menu { .menuitem:hover, .menu .menuitem:hover { background-image: linear-gradient(to bottom, - #808080, - #000000); + #999999, + #404040); /*color: @theme_main_color;*/ color: #000000; border-style: solid; @@ -1544,7 +1496,7 @@ GtkComboBox .menu { .menuitem *:hover, .menu .menuitem *:hover { - color: #ffffff; + color: #000000; } .menu .menuitem:insensitive, @@ -1590,7 +1542,7 @@ GtkMenuButton .menu { shade(@theme_bg_color, 1.7) = #5F5F67 */ border-style: none; border-width: 0; - border-radius: 3px; + border-radius: 0px; padding: 1px; -GtkWidget-window-dragging: true; @@ -1608,8 +1560,7 @@ GtkMenuButton .menu { /******************** * Primary Toolbars * ********************/ -.toolbar:insensitive, -.notebook GtkContainer .toolbar:insensitive { +.toolbar:insensitive { background-image: none; background-color: shade(@theme_bg_color, 0.97); } @@ -1635,21 +1586,6 @@ GtkMenuButton .menu { background-color: transparent; } -.notebook GtkContainer .toolbar .button, -.notebook GtkContainer .primary-toolbar .button, -.notebook GtkContainer .primary-toolbar .toolbar .button, -.notebook GtkContainer .primary-toolbar.toolbar .button, -.notebook GtkContainer .toolbar .button:insensitive, -.notebook GtkContainer .primary-toolbar .button:insensitive, -.notebook GtkContainer .primary-toolbar .toolbar .button:insensitive, -.notebook GtkContainer .primary-toolbar.toolbar .button:insensitive, -.notebook GtkContainer .toolbar .button:insensitive:hover, -.notebook GtkContainer .primary-toolbar .button:insensitive:hover, -.notebook GtkContainer .primary-toolbar .toolbar .button:insensitive:hover, -.notebook GtkContainer .primary-toolbar.toolbar .button:insensitive:hover { - background-color: transparent; -} - .toolbar .button:hover, .primary-toolbar .button:hover, .primary-toolbar .toolbar .button:hover, @@ -1661,13 +1597,6 @@ GtkMenuButton .menu { background-color: @theme_bg_color; } -.notebook GtkContainer .toolbar .button:hover, -.notebook GtkContainer .primary-toolbar .button:hover, -.notebook GtkContainer .primary-toolbar .toolbar .button:hover, -.notebook GtkContainer .primary-toolbar.toolbar .button:hover { - background-color: @theme_bg_color; -} - .toolbar .button:active, .primary-toolbar .button:active, .primary-toolbar .toolbar .button:active, @@ -1770,11 +1699,6 @@ GtkMenuButton .menu { border-color: alpha(@frame_color, 0.6); } -.notebook GtkContainer .header-bar { - background-color: @theme_bg_color; -} - - .header-bar .button.text-button { padding: 2px 16px; } @@ -2103,16 +2027,18 @@ GtkSwitch.slider:insensitive { background-color: shade(@switch_slider_color, 0.6); } -.notebook GtkContainer GtkSwitch.slider:insensitive { - background-color: shade(@switch_slider_color, 0.6); -} - GtkStatusbar { padding: 5px; color: @theme_fg_color; -GtkStatusbar-shadow-type: none; } +GtkStatusbar .frame { + background-image: none; + /* gtk-3.12 */ + background-color: transparent; +} + GtkScrolledWindow { background-color: transparent; } @@ -2132,16 +2058,11 @@ GtkLabel:hover, GtkLabel:active, GtkLabel:hover:active, GtkLabel:insensitive, -.notebook GtkContainer GtkImage, -.notebook GtkContainer GtkImage:hover, -.notebook GtkContainer GtkImage:active, -.notebook GtkContainer GtkImage:hover:active, -.notebook GtkContainer GtkImage:insensitive, -.notebook GtkContainer GtkLabel, -.notebook GtkContainer GtkLabel:hover, -.notebook GtkContainer GtkLabel:active, -.notebook GtkContainer GtkLabel:hover:active, -.notebook GtkContainer GtkLabel:insensitive { +/* gtk-3.12 */ +GtkBox, +GtkBox:insensitive, +GtkGrid, +GtkGrid:insensitive { background-image: none; background-color: transparent; } @@ -2169,11 +2090,6 @@ GtkIconView.view.cell:selected:focus { outline-offset: 3px; } -.notebook GtkContainer GtkIconView.view.cell:selected, -.notebook GtkContainer GtkIconView.view.cell:selected:focus { - background-color: transparent; -} - /* These are for Evolution, whose new version can also be made fully readable with this theme fortunately. */ EMailDisplay, @@ -2182,11 +2098,6 @@ EPreviewPane .entry { color: @theme_main_color; } -.notebook GtkContainer EMailDisplay, -.notebook GtkContainer EPreviewPane .entry { - background-color: @view_color; -} - /* make plain-text preview readable */ EMailDisplay GtkExpander GtkLabel { color: @theme_main_color; @@ -2205,18 +2116,15 @@ GtkHTML:active { color: #ffffff; } -EShellWindow *:active, -.notebook GtkContainer EShellWindow *:active { +EShellWindow *:active { background-color: #717175; } -EShellWindow .button *:active, -.notebook GtkContainer EShellWindow .button *:active { +EShellWindow .button *:active { background-color: transparent; } -EShellWindow:insensitive, -.notebook GtkContainer EShellWindow .button *:active { /* removes the "flash" when quitting */ +EShellWindow:insensitive { /* removes the "flash" when quitting */ background-color: @theme_bg_color; } @@ -2229,9 +2137,7 @@ EShellWindow:insensitive, * Color Chooser * *****************/ GtkColorSwatch, -GtkColorSwatch:selected, -.notebook GtkContainer GtkColorSwatch, -.notebook GtkContainer GtkColorSwatch:selected { +GtkColorSwatch:selected { background-image: none; background-color: transparent; @@ -2262,9 +2168,7 @@ GtkColorSwatch:selected:hover { } GtkColorSwatch.color-light:selected:hover, -GtkColorSwatch.color-dark:selected:hover, -.notebook GtkContainer GtkColorSwatch.color-light:selected:hover, -.notebook GtkContainer GtkColorSwatch.color-dark:selected:hover { +GtkColorSwatch.color-dark:selected:hover { background-image: none; } @@ -2295,25 +2199,6 @@ GtkColorSwatch.color-dark:selected:hover, background-color: transparent; } -.notebook GtkContainer .radio, -.notebook GtkContainer .check, -.notebook GtkContainer .radio:selected, -.notebook GtkContainer .check:selected, -.notebook GtkContainer .radio:selected:focus, -.notebook GtkContainer .check:selected:focus, -.notebook GtkContainer .cell.radio, -.notebook GtkContainer .cell.check, -.notebook GtkContainer .cell.radio:selected, -.notebook GtkContainer .cell.check:selected, -.notebook GtkContainer .cell.radio:selected:focus, -.notebook GtkContainer .cell.check:selected:focus, -.notebook GtkContainer .check:hover, -.notebook GtkContainer .check:selected:hover, -.notebook GtkContainer .radio:hover, -.notebook GtkContainer .radio:selected:hover { - background-color: transparent; -} - /***************** * GtkCheckButton * *****************/ @@ -2321,8 +2206,7 @@ GtkCheckButton:hover { background-color: alpha(@theme_main_color, 0.09); /*shade(@theme_bg_color, 0.9)*/ } -GtkCheckButton:selected:hover, -.notebook GtkContainer GtkCheckButton:selected:hover { +GtkCheckButton:selected:hover { background-color: alpha(@theme_main_color, 0.15); /*shade(@theme_bg_color, 0.8)*/ } @@ -2333,8 +2217,7 @@ GtkRadioButton:hover { background-color: alpha(@theme_main_color, 0.09); /*shade(@theme_bg_color, 0.9)*/ } -GtkRadioButton:selected:hover, -.notebook GtkContainer GtkRadioButton:selected:hover { +GtkRadioButton:selected:hover { background-color: alpha(@theme_main_color, 0.15); /*shade(@theme_bg_color, 0.8)*/ } @@ -2387,21 +2270,10 @@ GtkRadioButton:selected:hover, background-color: transparent; } -.notebook GtkContainer .expander, -.notebook GtkContainer .expander:active, -.notebook GtkContainer .expander row:selected, -.notebook GtkContainer .expander row:selected:focus, -.notebook GtkContainer .expander row:selected:hover, -.notebook GtkContainer .expander column:sorted:selected, -.notebook GtkContainer .expander column:sorted:selected:hover { - background-color: transparent; -} - /**************** * Content view * ****************/ -.content-view.view, -.notebook GtkContainer .content-view.view { +.content-view.view { background-color: @content_view_bg; } @@ -2410,19 +2282,12 @@ GtkRadioButton:selected:hover, color: @theme_text_color; } -.notebook GtkContainer .content-view.view { - background-color: shade(@content_view_bg, 1.1); -} - .content-view.view:selected, -.content-view.view:active, -.notebook GtkContainer .content-view.view:selected, -.notebook GtkContainer .content-view.view:active { +.content-view.view:active { background-color: @theme_selected_bg_color; } -.content-view.view:insensitive, -.notebook GtkContainer .content-view.view:insensitive { +.content-view.view:insensitive { background-color: @theme_unfocused_base_color; } @@ -2451,16 +2316,6 @@ GtkIconView.content-view.check:selected { background-color: transparent; } -.notebook GtkContainer GtkIconView.content-view.check, -.notebook GtkContainer GtkIconView.content-view.check:active, -.notebook GtkContainer .content-view.view.check, -.notebook GtkContainer .content-view.view.check:active, -.notebook GtkContainer GtkIconView.content-view.check:hover, -.notebook GtkContainer GtkIconView.content-view.check:insensitive, -.notebook GtkContainer GtkIconView.content-view.check:selected { - background-color: transparent; -} - /********************* * App Notifications * *********************/ @@ -2500,9 +2355,7 @@ GtkCalendar.header { } GtkCalendar.button, -GtkCalendar.button:insensitive, -.notebook GtkContainer GtkCalendar.button, -.notebook GtkContainer GtkCalendar.button:insensitive { +GtkCalendar.button:insensitive { background-image: none; background-color: transparent; } @@ -2516,11 +2369,6 @@ GtkCalendar.highlight { border-width: 0px; } -.notebook GtkContainer .highlight, -.notebook GtkContainer GtkCalendar.highlight { - background-color: @theme_selected_bg_color; -} - /************** * GtkInfoBar * **************/ @@ -2554,38 +2402,21 @@ GtkInfoBar { color: @info_fg_color; } -.notebook GtkContainer .info { - background-color: @info_bg_color; -} - .warning { background-color: @warning_bg_color; color: @warning_fg_color; } -.notebook GtkContainer .warning { - background-color: @warning_bg_color; -} - .question { background-color: @question_bg_color; color: @question_fg_color; } -.notebook GtkContainer .question { - background-color: @question_bg_color; -} - .error { background-color: @error_bg_color; color: @error_fg_color; } -.error, -.notebook GtkContainer .error { - background-color: @error_bg_color; -} - /* some apps need this */ GtkLabel { color: @theme_fg_color; @@ -2654,12 +2485,18 @@ ContactsListPane.frame * { } ContactsListPane.frame GtkLabel, -ContactsListPane.frame GtkImage { +ContactsListPane.frame GtkImage, +/* gtk-3.12 */ +ContactsListPane.frame GtkBox, +ContactsListPane.frame GtkGrid { background-color: transparent; } -ContactsView:hover { - background-color: alpha(shade(@theme_bg_color, 1.1), 0.4); +EmpathyRosterView:hover, +ContactsView:hover, +EmpathyRosterView GtkBin:hover, +ContactsView GtkBin:hover { + background-color: shade(@less_dark_color, 1.1); } .contacts-suggestion { @@ -2667,7 +2504,9 @@ ContactsView:hover { } EmpathyRosterView:selected, -ContactsView:selected { +ContactsView:selected, +EmpathyRosterView GtkBin:selected, +ContactsView GtkBin:selected { box-shadow: inset 0 3px alpha(white, 0.04), inset 0 2px alpha(white, 0.07), inset 0 1px alpha(white, 0.15); @@ -2862,10 +2701,11 @@ GsmFailWhaleDialog * { /**** View ***/ -/*NautilusView .view { - background-color: @less_dark_color; +NautilusView .view, +NemoView .view { + background-color: shade (@theme_bg_color, 1.08); color: @theme_fg_color; -}*/ +} .nautilus-inactive-pane .view, .nemo-inactive-pane .view { @@ -2882,10 +2722,17 @@ NemoView .view .entry:focus { border-style: solid; border-radius: 1px; border-color: @theme_selected_bg_color; + background-color: shade(@theme_selected_bg_color, 0.3); } /**** Window ***/ +NautilusWindow .view, +NemoWindow .view { + background-color: shade (@theme_bg_color, 1.08); + color: @theme_fg_color; +} + NautilusWindow GtkPaned, NemoWindow GtkPaned { background-color: @less_dark_color; @@ -3017,28 +2864,6 @@ NemoWindow .floating-bar.left { /**** Notebook ***/ -NautilusWindow .notebook, -NemoWindow .notebook { - /*border-radius: 0px 0px 5px 5px;*/ - border-width: 0px; - border-radius: 0px; -} - -NautilusWindow .notebook tab.top, -NemoWindow .notebook tab.top { - /* top right-left bottom */ - padding: 4px 8px 4px; - border-image-source: -gtk-gradient (linear, - left top, left bottom, - from (shade(@notebook_active_tab_border, 1.35)), - to (@less_dark_color)); -} - -NautilusWindow .notebook tab.top:active, -NemoWindow .notebook tab.top:active { - padding: 6px 8px 4px; -} - /* give the notebook view the same color */ /*NautilusWindow .notebook .view { background-color: @less_dark_color; @@ -3046,15 +2871,11 @@ NemoWindow .notebook tab.top:active { .nautilus-inactive-pane .notebook, .nemo-inactive-pane .notebook { - background-color: shade(@less_dark_color, 1.3); + border-color: @less_dark_color; } .nautilus-inactive-pane .notebook tab.top:active, .nemo-inactive-pane .notebook tab.top:active { - border-image-source: -gtk-gradient (linear, - left top, left bottom, - from (shade(@notebook_active_tab_border, 1.35)), - to (shade(@less_dark_color, 1.3))); background-image: linear-gradient(to bottom, shade(@less_dark_color, 1.05), shade(@less_dark_color, 1.16) 40%, diff --git a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css new file mode 100644 index 00000000..c0be3368 --- /dev/null +++ b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css @@ -0,0 +1,404 @@ +/********************* + * CAJA File manager * + *********************/ + +/**** View ***/ + +CajaView .view { + background-color: shade (@theme_bg_color, 1.08); + color: @theme_fg_color; +} + +.caja-inactive-pane .view { + background-color: shade(@less_dark_color, 1.3); +} + +/* file renaming */ +CajaView .view .entry, +CajaView .view .entry:focus { + background-image: none; + border-image: none; + border-style: solid; + border-radius: 1px; + border-color: @theme_selected_bg_color; + background-color: shade(@theme_selected_bg_color, 0.3); +} + +/**** Window ***/ + +/*FIXME normaly this isn't the right entry for adjusting +the sidebar background color*/ +CajaWindow .view { + background-color: shade (@theme_bg_color, 1.08); +} + +CajaWindow GtkPaned { + background-color: @less_dark_color; +} + +CajaWindow GtkScrolledWindow.frame { + border-style: none; +} + +CajaWindow .button { + border-image: url("assets/button-border-dark1.svg") 3 / 3px stretch; + background-image: -gtk-gradient (radial, + 0.5 -2.0, 2.0, + 0.5 -2.0, 3.0, + from (shade(@button_gradient_color_a, 1.5)), + color-stop (0.42, shade(@button_gradient_color_a, 0.7)), + color-stop (0.43, @theme_bg_color), + to (shade(@less_dark_color, 0.4))); +} + +CajaWindow .button:hover { + background-image: linear-gradient(to bottom, + shade(@less_dark_color, 1.3), + shade(@less_dark_color, 0.4)); + +} + +CajaWindow .button:active, +CajaWindow .button:hover:active { + background-image: linear-gradient(to bottom, + shade(@button_gradient_color_b, 0.7), + @theme_bg_color 40%, + shade(@less_dark_color, 1.6)); + border-image: url("assets/button-active-border-dark1.svg") 3 / 3px stretch; +} + +CajaWindow column-header .button, +CajaWindow column-header .button:hover { + border-image: none; + border-width: 0px 0px 1px 1px; + border-radius: 0; + border-style: solid; + border-color: @less_dark_color; +} + +CajaWindow .toolbar { + /*border-radius: 3px 0px 0px 3px;*/ + background-image: linear-gradient(to bottom, + shade(@less_dark_color, 0.4), + shade(@less_dark_color, 1.36)); +} + +CajaToolbar .toolbar { + border-radius: 0px; +} + +CajaWindow .scrollbar.slider:prelight, +CajaWindow .scrollbar.slider:prelight:active, +CajaWindow .scrollbar.slider.vertical:prelight, +CajaWindow .scrollbar.slider.vertical:prelight:active { + border-color: shade(@scroll_slider_color, 1.1); +} + +CajaWindow .scrollbar.button, +CajaWindow .scrollbar.button.horizontal, +CajaWindow .scrollbar.button.vertical, +CajaWindow .scrollbar.button:insensitive, +CajaWindow .scrollbar.button.horizontal:insensitive, +CajaWindow .scrollbar.button.vertical:insensitive { + background-image: none; +} + +CajaWindow GtkStatusbar, +CajaWindow .floating-bar { + font: italic; +} + +CajaWindow .floating-bar.right, +CajaWindow .floating-bar.left { + border-top-right-radius: 3px; + border-top-left-radius: 3px; +} + +/**** Notebook ***/ + +/* give the notebook view the same color */ +/*CajaWindow .notebook .view { + background-color: @less_dark_color; +}*/ + +.caja-inactive-pane .notebook { + background-color: shade(@less_dark_color, 1.3); + border-color: @less_dark_color; +} + +.caja-inactive-pane .notebook tab.top:active { + background-image: linear-gradient(to bottom, + shade(@less_dark_color, 1.05), + shade(@less_dark_color, 1.16) 40%, + shade(@less_dark_color, 1.25) 70%, + shade(@less_dark_color, 1.3)); +} + +CajaWindow .notebook .view.rubberband, +CajaWindow .notebook .rubberband { + background-color: alpha(@theme_selected_bg_color, 0.35); + /*border-radius: 6;*/ +} + +/**** Sidebar ***/ + +/* FIXME have no effect*/ +/*CajaWindow .sidebar .view { + background-color: shade (@theme_bg_color, 1.08); + color: @theme_fg_color; +}*/ + +CajaWindow .sidebar .frame { + border-width: 0px; + /*padding: 3px;*/ +} + +CajaWindow .sidebar .scrollbar.button { + color: transparent; +} + +CajaWindow .sidebar .scrollbar.button:hover { + color: @theme_fg_color; +} + +CajaPlacesSidebar .cell, +CajaPlacesSidebar *.cell { + color: @theme_text_color; +} + +CajaPlacesSidebar .cell:hover, +CajaPlacesSidebar *.cell:hover { + color: @theme_text_color; +} + +CajaPlacesSidebar .cell:selected, +CajaPlacesSidebar *.cell:selected { + background-image: linear-gradient(to bottom, + shade(@less_dark_color, 1.5), + shade(@less_dark_color, 0.6)); + color: @theme_text_color; + border-radius: 2px; +} + +CajaPlacesSidebar .cell:selected:focus, +CajaPlacesSidebar *.cell:selected:focus { + color: @theme_text_color; + background-image: linear-gradient(to top, + shade(@less_dark_color, 1.5), + shade(@less_dark_color, 0.6)); +} + +/**** Infos ***/ + +CajaWindow .question, +CajaWindow .info, +CajaTrashBar.info, +CajaXContentBar.info, +CajaQueryEditor.info { + background-color: transparent; +} + +CajaSearchBar.info { + border-radius: 0px; + background-color: @less_dark_color; +} + +CajaWindow CajaQueryEditor .toolbar, +CajaWindow .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); +} + +.caja-canvas-item { + border-radius: 5px; +} + +/**** Desktop Drawn ***/ + +.caja-desktop.caja-canvas-item { + color: @theme_fg_color; + text-shadow: 1px 1px black; +} + +.caja-desktop.caja-canvas-item:active { + color: @theme_text_color; +} + +.caja-desktop.caja-canvas-item:selected { + 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; +} + +/**************** + * Mate-Panel * + ****************/ + +PanelApplet > GtkMenuBar.menubar, +PanelToplevel, +PanelWidget, +PanelAppletFrame, +PanelApplet, +NotificationArea, +.mate-panel { + background-image: none; + 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: shade (@theme_fg_color, 0.85); + text-shadow: none; +} + +.mate-panel-menu-bar, +PanelMenuBar.menubar, +PanelMenuBar.menubar.menuitem, +.mate-panel .menubar, +.mate-panel .menubar .menuitem { + background-image: none; + background-color: @theme_bg_color; + -unico-inner-stroke-width: 0; + -unico-outer-stroke-width: 0; + text-shadow: none; +} + +PanelAppletFrame { + background-color: @color; + background-image: none; + border-width: 0; + -unico-inner-stroke-width: 0; + -unico-outer-stroke-width: 0; + text-shadow: none; +} + +PanelApplet .button, +.mate-panel .button { + -GtkButton-inner-border: 2; + + background-image: none; + + 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, +.mate-panel .button:prelight:active, +.mate-panel .button:active { + background-image: none; + 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, +.mate-panel .button:prelight { + background-image: none; + 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; +} + +/*NotificationArea { + -NotificationArea-icon-padding: 12; + -NotificationArea-icon-size: 16; +}*/ + +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