Ticket #3831: transparent-bg.patch

File transparent-bg.patch, 1.1 KB (added by manuq, 8 years ago)

Patch that moves the background color from windows to the windows .background

  • gtk3/theme/gtk-widgets.css.em

    diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
    index b6baaf5..691a697 100644
    a b icon_large = icon_base * 5 
    126126/* Backgrounds and windows */
    127127
    128128GtkWindow {
    129     background-color: @panel_grey;
    130129    color: @black;
    131130}
    132131
     132.background {
     133    background-color: @panel_grey;
     134}
     135
    133136GtkDialog {
    134137    background-color: @black;
    135138    color: @white;
    136139}
    137140
    138 SugarIntroWindow {
     141SugarIntroWindow.background {
    139142    background-color: @white;
    140143}
    141144
    SugarHTray * , SugarVTray * { background-color: @toolbar_grey;} 
    407410/* Menus and palettes */
    408411
    409412SugarPaletteWindowWidget {
    410     background-color: @black;
    411413    color: @white;
    412414}
    413415
     416SugarPaletteWindowWidget.background {
     417    background-color: @black;
     418}
     419
    414420SugarPaletteWindowWidget .view {
    415421    color: @black;
    416422}
    417423
    418 SugarPaletteMenuWidget {
     424SugarPaletteMenuWidget.background {
    419425    background-color: @black;
    420426}
    421427
    GtkImage { 
    758764
    759765/* Sugar Frame Window */
    760766
    761 SugarFrameWindow {
     767SugarFrameWindow.background {
    762768    background-color: @toolbar_grey;
    763769}
    764770