From 7c2df471275471723c763014bad91d7e51b3b6f6 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 12 Aug 2015 13:57:52 +0200 Subject: GTK3 BlackMATE: adjust fg color in GtkComboBox menu + little cleanup --- desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css | 94 ++---------------------- 1 file changed, 7 insertions(+), 87 deletions(-) (limited to 'desktop-themes/BlackMATE/gtk-3.0') diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css index c5ead0ac..5156803a 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css @@ -172,7 +172,6 @@ GtkPlacesSidebar.sidebar .view { border-width: 0px; border-style: solid; text-shadow: none; - color: @theme_fg_color; background-image: linear-gradient(to bottom, shade(@button_gradient_color_a, 1.5), @@ -537,7 +536,6 @@ GtkProgressBar.trough { shade(@theme_bg_color, 0.4), @theme_bg_color 50%, shade(@theme_bg_color, 1.8)); - border-width: 0px; border-style: solid; border-radius: 16px; @@ -1006,10 +1004,6 @@ GtkTreeView row:selected:focus { shade(@theme_selected_bg_color, 1.5)); } -/*GtkTreeView row:selected:insensitive { - color: @theme_selected_fg_color; -}*/ - GtkTreeView row:nth-child(odd), GtkTreeView row:nth-child(odd):hover { background-color: @less_dark_color; @@ -1155,8 +1149,6 @@ row { background-image: linear-gradient(to bottom, shade(@theme_bg_color, 1.4), shade(@theme_bg_color, 0.8)); - - border-radius: 3px; } @@ -1177,7 +1169,6 @@ row { GtkComboBox { /* align with side buttons */ padding: 0; - -GtkComboBox-arrow-scaling: 0.5; -GtkComboBox-shadow-type: none; color: @theme_fg_color; @@ -1215,7 +1206,6 @@ GtkComboBox.combobox-entry .button { /* compensation for combo shadow */ /*GtkTreeMenu .menuitem *,*/ GtkComboBox .menu { - /*color: @theme_selected_fg_color;*/ text-shadow: none; } @@ -1291,8 +1281,7 @@ GtkFileChooserButton .button { background-color: transparent; } -.button:hover/*, -.toolbar.button:hover*/ { +.button:hover { border-image: none; border-style: solid; border-color: shade(@button_border, 1.1); @@ -1458,7 +1447,6 @@ GtkFileChooserButton .button { border-image: none; border-style: none; border-width: 0px; - /*border-color: shade(@highlighted_border, 1.1);*/ } .scrollbar.button:insensitive, @@ -1586,13 +1574,8 @@ GtkFileChooserButton .button { padding: 0px; color: @theme_text_color; -GtkWidget-window-dragging: true; - /*-GtkMenuBar-internal-padding: 0;*/ } -/*.menubar * { - background-color: transparent; -}*/ - .menubar .menuitem { -gtk-icon-style: regular; transition: all 300ms ease-out; @@ -1640,10 +1623,6 @@ GtkFileChooserButton .button { padding: 1px; } -/*.menu *{ - background-color: transparent; -}*/ - .menuitem, .menuitem * { -GtkMenuItem-arrow-scaling: 0.5; @@ -1677,19 +1656,13 @@ GtkFileChooserButton .button { background-image: linear-gradient(to bottom, #999999, #404040); - /*color: @theme_main_color;*/ - color: #000000; + color: @theme_fg_color; border-style: solid; border-width: 1px; border-radius: 3px; border-image: url("assets/menu-border-dark.svg") 2 / 2px stretch; } -.menuitem *:hover, -.menu .menuitem *:hover { - color: #000000; -} - .menu .menuitem:insensitive, .menu .menuitem *:insensitive { color: @insensitive_fg_color; @@ -1729,13 +1702,11 @@ GtkMenuButton .menu { .toolbar { background-image: linear-gradient(to bottom, @toolbar_gradient_base, - @toolbar_gradient_bottom);/* shade(@theme_bg_color, 1.6) or - shade(@theme_bg_color, 1.7) = #5F5F67 */ + @toolbar_gradient_bottom); border-style: none; border-width: 0; border-radius: 0px; padding: 1px; - -GtkWidget-window-dragging: true; -GtkToolbar-button-relief: normal; } @@ -1844,7 +1815,6 @@ GtkMenuButton .menu { .primary-toolbar.toolbar GtkComboBox .button:insensitive { border-image: none; border-style: solid; - /*border-radius: 3;*/ border-color: @inactive_frame_color; background-image: linear-gradient(to bottom, @button_hover_gradient_color_a, @@ -1946,9 +1916,6 @@ GtkCalendar.header .stack-switcher > .titlebutton.button { border-radius: 7px 7px 0 0; padding: 6px; background-color: @theme_bg_color; - /*background-image: linear-gradient(to bottom, - @toolbar_gradient_base, - shade(@theme_bg_color, 1.6));*/ border-color: shade(@theme_bg_color, 0.8); } @@ -2215,12 +2182,10 @@ GtkProgressBar.osd.progressbar { .osd GtkIconView.cell:selected, .osd GtkIconView.cell:selected:focus { background-color: transparent; - border-style: solid; border-radius: 15px; border-width: 3px; border-color: @osd_button_fg; - outline-color: transparent; } @@ -2229,7 +2194,6 @@ GtkProgressBar.osd.progressbar { border-style: solid; border-width: 1px; border-color: @osd_lowlight; - /* when there's no pixbuf yet */ background-color: @osd_bg; } @@ -2410,15 +2374,11 @@ GtkPopover .separator { .titlebar .titlebutton, .header-bar.frame.titlebar .button.image-button.titlebutton, .button.text-button.titlebutton { - /* Due to a bug somewhere in gtk or cairo, - a padding of zero (or even one) doesn't work always!!! */ padding: 4px 4px 4px 4px; - border-radius: 3px; border-width: 1px; border-style: solid; text-shadow: none; - color: #D9D9D9; background-image: linear-gradient(to bottom, @button_hover_gradient_color_a, @@ -2429,7 +2389,6 @@ GtkPopover .separator { /* fake request for hardcoded icons, to avoid usage of regular window-close button*/ -gtk-icon-style: requested; -/* transition: none; */ border-width: 0px; border-style: none; border-image-source: none; @@ -2473,7 +2432,6 @@ GtkPopover .separator { .button.image-button.titlebutton:checked:hover, .button.text-button.titlebutton:checked, .button.text-button.titlebutton:checked:hover { - /* some apps need this */ color: @theme_fg_color; border-style: solid; background-image: linear-gradient(to bottom, @@ -2483,19 +2441,15 @@ GtkPopover .separator { } .titlebar .right .titlebutton:first-child { -/* border-left: 1px solid @menu_separator;*/ } .titlebar .right .titlebutton:last-child { - } .titlebar .left .titlebutton:last-child { -/* border-right: 1px solid @menu_separator;*/ } .titlebar .left .titlebutton:first-child { - } .titlebar .titlebutton:backdrop, @@ -2581,7 +2535,6 @@ GtkPopover .separator { ****************/ GtkAssistant .sidebar .highlight { color: @theme_fg_color; - /*font: bold;*/ background-image: linear-gradient(to bottom, shade(@less_dark_color, 0.8), shade(@less_dark_color, 1.2)); @@ -2591,14 +2544,12 @@ GtkAssistant .sidebar .highlight { border-radius: 5px; box-shadow: inset 0 2px 1px alpha(black, 0.25), inset 1px 1px 1px alpha(black, 0.2), - inset 0 -2px 1px alpha(@entry_shadow, 0.1), inset -1px -1px 1px alpha(@entry_shadow, 0.2); } GtkAssistant .sidebar { padding: 12px; - border-radius: 0px 3px 0px 0px; border-style: solid; border-width: 1px; @@ -2635,7 +2586,6 @@ GtkSwitch.trough:backdrop:active { color: @theme_main_color; border-image: none; border-color: shade(@frame_color, 1.22); - background-image: linear-gradient(to bottom, @active_switch_bg_color_a, @active_switch_bg_color_b); @@ -2716,7 +2666,6 @@ GtkStatusbar { GtkStatusbar .frame { background-image: none; - /* gtk-3.12 */ background-color: transparent; padding: 0px; border-width: 0; @@ -2732,7 +2681,6 @@ GtkLabel:hover, GtkLabel:active, GtkLabel:hover:active, GtkLabel:insensitive, -/* gtk-3.12 */ GtkBox, GtkBox:insensitive, GtkGrid, @@ -2759,10 +2707,6 @@ GtkIconView.view.cell:selected:focus { border-radius: 12px; border-color: shade(@theme_selected_bg_color, 1.5); color: @theme_text_color; - - /* FIXME: this probably needs to be better; - * see https://bugzilla.gnome.org/show_bug.cgi?id=644157 - */ outline-color: @progressbar_border; outline-style: solid; outline-offset: 3px; @@ -2806,11 +2750,6 @@ EShellWindow:insensitive { /* removes the "flash" when quitting */ background-color: @theme_bg_color; } -/*EShellSidebar *.cell:insensitive { - background-color: @less_dark_color; - color: #ffffff; -}*/ - /***************** * Color Chooser * *****************/ @@ -2818,21 +2757,18 @@ GtkColorSwatch, GtkColorSwatch:selected { background-image: none; background-color: transparent; - } GtkColorSwatch.color-dark:hover { background-image: linear-gradient(to bottom, alpha(white, 0) 40%, alpha(white, 0.3)); - } GtkColorSwatch.color-light:hover { background-image: linear-gradient(to top, alpha(black, 0) 40%, alpha(black, 0.1)); - } GtkColorSwatch:selected { @@ -2881,22 +2817,22 @@ GtkColorSwatch.color-dark:selected:hover { * GtkCheckButton * *****************/ GtkCheckButton:hover { - background-color: alpha(@theme_main_color, 0.09); /*shade(@theme_bg_color, 0.9)*/ + background-color: alpha(@theme_main_color, 0.09); } GtkCheckButton:selected:hover { - background-color: alpha(@theme_main_color, 0.15); /*shade(@theme_bg_color, 0.8)*/ + background-color: alpha(@theme_main_color, 0.15); } /***************** * GtkRadioButton * *****************/ GtkRadioButton:hover { - background-color: alpha(@theme_main_color, 0.09); /*shade(@theme_bg_color, 0.9)*/ + background-color: alpha(@theme_main_color, 0.09); } GtkRadioButton:selected:hover { - background-color: alpha(@theme_main_color, 0.15); /*shade(@theme_bg_color, 0.8)*/ + background-color: alpha(@theme_main_color, 0.15); } /************* @@ -2908,7 +2844,6 @@ GtkRadioButton:selected:hover { border-radius: 2px; border-color: @internal_element_color; color: @internal_element_color; - background-image: none; background-color: transparent; } @@ -3204,7 +3139,6 @@ GtkInfoBar { color: @error_fg_color; } -/* some apps need this */ GtkLabel { color: @theme_fg_color; } @@ -3590,12 +3524,6 @@ EphyToolbar .entry:focus { border-color: shade(@less_dark_color, 1.6); } -/* no need to these with osd */ -/*EphyWindow GtkProgressBar.progressbar, -EphyWindow GtkProgressBar.trough { - border-radius: 0px; -}*/ - /* gnome-documents and Totem's search */ .documents-entry-tag { background-color: transparent; @@ -3712,7 +3640,6 @@ NemoWindow column-header .button:hover { NautilusWindow .toolbar, NemoWindow .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)); @@ -3785,11 +3712,6 @@ NemoWindow .floating-bar.left { /**** Notebook ***/ -/* give the notebook view the same color */ -/*NautilusWindow .notebook .view { - background-color: @less_dark_color; -}*/ - .nautilus-inactive-pane .notebook, .nemo-inactive-pane .notebook { border-color: @less_dark_color; @@ -3809,7 +3731,6 @@ NautilusWindow .notebook .rubberband, NemoWindow .notebook .view.rubberband, NemoWindow .notebook .rubberband { background-color: alpha(@theme_selected_bg_color, 0.35); - /*border-radius: 6;*/ } /**** Sidebar ***/ @@ -3817,7 +3738,6 @@ NemoWindow .notebook .rubberband { NautilusWindow .sidebar .frame, NemoWindow .sidebar .frame { border-width: 0px; - /*padding: 3px;*/ } NautilusWindow .sidebar .scrollbar.button, -- cgit v1.2.1