From 252f1e2477290afb4c099db281f11cf157d2edc2 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 754d3fff..cd771ba6 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css @@ -221,7 +221,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), @@ -586,7 +585,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; @@ -1055,10 +1053,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; @@ -1204,8 +1198,6 @@ row { background-image: linear-gradient(to bottom, shade(@theme_bg_color, 1.4), shade(@theme_bg_color, 0.8)); - - border-radius: 3px; } @@ -1226,7 +1218,6 @@ row { GtkComboBox { /* align with side buttons */ padding: 0; - -GtkComboBox-arrow-scaling: 0.5; -GtkComboBox-shadow-type: none; color: @theme_fg_color; @@ -1268,7 +1259,6 @@ GtkComboBox.combobox-entry .button { /* compensation for combo shadow */ /*GtkTreeMenu .menuitem *,*/ GtkComboBox .menu { - /*color: @theme_selected_fg_color;*/ text-shadow: none; } @@ -1344,8 +1334,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); @@ -1511,7 +1500,6 @@ GtkFileChooserButton .button { border-image: none; border-style: none; border-width: 0px; - /*border-color: shade(@highlighted_border, 1.1);*/ } .scrollbar.button:insensitive, @@ -1639,13 +1627,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; @@ -1693,10 +1676,6 @@ GtkFileChooserButton .button { padding: 1px; } -/*.menu *{ - background-color: transparent; -}*/ - .menuitem, .menuitem * { -GtkMenuItem-arrow-scaling: 0.5; @@ -1730,19 +1709,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; @@ -1782,13 +1755,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; } @@ -1897,7 +1868,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, @@ -1999,9 +1969,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); } @@ -2268,12 +2235,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; } @@ -2282,7 +2247,6 @@ GtkProgressBar.osd.progressbar { border-style: solid; border-width: 1px; border-color: @osd_lowlight; - /* when there's no pixbuf yet */ background-color: @osd_bg; } @@ -2463,15 +2427,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, @@ -2482,7 +2442,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; @@ -2526,7 +2485,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, @@ -2536,19 +2494,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, @@ -2634,7 +2588,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)); @@ -2644,14 +2597,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; @@ -2688,7 +2639,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); @@ -2769,7 +2719,6 @@ GtkStatusbar { GtkStatusbar .frame { background-image: none; - /* gtk-3.12 */ background-color: transparent; padding: 0px; border-width: 0; @@ -2785,7 +2734,6 @@ GtkLabel:hover, GtkLabel:active, GtkLabel:hover:active, GtkLabel:insensitive, -/* gtk-3.12 */ GtkBox, GtkBox:insensitive, GtkGrid, @@ -2812,10 +2760,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; @@ -2859,11 +2803,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 * *****************/ @@ -2871,21 +2810,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 { @@ -2934,22 +2870,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); } /************* @@ -2961,7 +2897,6 @@ GtkRadioButton:selected:hover { border-radius: 2px; border-color: @internal_element_color; color: @internal_element_color; - background-image: none; background-color: transparent; } @@ -3257,7 +3192,6 @@ GtkInfoBar { color: @error_fg_color; } -/* some apps need this */ GtkLabel { color: @theme_fg_color; } @@ -3645,12 +3579,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; @@ -3767,7 +3695,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)); @@ -3840,11 +3767,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; @@ -3864,7 +3786,6 @@ NautilusWindow .notebook .rubberband, NemoWindow .notebook .view.rubberband, NemoWindow .notebook .rubberband { background-color: alpha(@theme_selected_bg_color, 0.35); - /*border-radius: 6;*/ } /**** Sidebar ***/ @@ -3872,7 +3793,6 @@ NemoWindow .notebook .rubberband { NautilusWindow .sidebar .frame, NemoWindow .sidebar .frame { border-width: 0px; - /*padding: 3px;*/ } NautilusWindow .sidebar .scrollbar.button, -- cgit v1.2.1