Mercurial > repos > other > Adwaita-Dark-Green
comparison gtk-3.20/gtk.scss @ 52:90907f1c42b6
Remove fudge from menu styling to fix Firefox GTK3 tabs
This was required for LibreOffice to show buttons correctly on
toolbars, but LO seems to have fixed their bug now.
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 10 Apr 2017 15:23:32 +0100 |
parents | a37b4370a2e5 |
children | 12f43097192d |
comparison
equal
deleted
inserted
replaced
51:293ef1c0bf3a | 52:90907f1c42b6 |
---|---|
423 .view.rubberband { | 423 .view.rubberband { |
424 background-color: transparentize($selected_bg_color,0.8); | 424 background-color: transparentize($selected_bg_color,0.8); |
425 } | 425 } |
426 menubar { | 426 menubar { |
427 background-color: $bg_dark_color; | 427 background-color: $bg_dark_color; |
428 // We should use the following line, but it breaks LibreOffice buttons | 428 color: $menu_fg_dark_color; |
429 // on toolbars, so keep it dark here and revert it for menu items | |
430 //color: $menu_fg_dark_color; | |
431 color: $fg_color; | |
432 box-shadow: inset 0 -1px transparentize(black, 0.9); | 429 box-shadow: inset 0 -1px transparentize(black, 0.9); |
433 &:backdrop { | 430 &:backdrop { |
434 background-color: $bg_dark_color; | 431 background-color: $bg_dark_color; |
435 color: $menu_fg_dark_color; | 432 color: $menu_fg_dark_color; |
436 } | 433 } |
437 } | |
438 // Fix the bad text colour we set for menubar to fix LibreOffice | |
439 menuitem > label { | |
440 color: $menu_fg_dark_color; | |
441 } | 434 } |
442 menuitem:hover > label { | 435 menuitem:hover > label { |
443 color: $selected_bg_color | 436 color: $selected_bg_color |
444 } | 437 } |
445 // Make all menus dark - we mainly want the menu bar menus dark, but | 438 // Make all menus dark - we mainly want the menu bar menus dark, but |