diff options
author | raveit65 <[email protected]> | 2017-04-02 11:02:51 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-04-02 11:03:23 +0200 |
commit | 8f5e1a4c682fa2c1a29bf12c4fc7cce80107c5de (patch) | |
tree | 74c1de97ff620ba140184f338ee65f7e071d8a60 /desktop-themes | |
parent | 1ea994d50e8ee3ab0fc497bac0abc0d4d5f58d41 (diff) | |
download | mate-themes-8f5e1a4c682fa2c1a29bf12c4fc7cce80107c5de.tar.bz2 mate-themes-8f5e1a4c682fa2c1a29bf12c4fc7cce80107c5de.tar.xz |
Gtk+-3.20 all themes: better way to style keyboard layouts
mate-keyboard-layout-view and mate-keyboard-layout-chooser,
This way it styles only the border of the keys, the bg of the map
itself use the .view class from code.
Diffstat (limited to 'desktop-themes')
8 files changed, 76 insertions, 24 deletions
diff --git a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css index d70804b7..f4c385d6 100644 --- a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css +++ b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css @@ -716,9 +716,15 @@ pluma-print-preview.vertical toolbar.horizontal button.flat.text-button { background-color: shade (@theme_bg_color, 1.0); } -/* mate-keyboard-layout-view */ +/* mate-keyboard-layout-view, mate-keyboard-layout-chooser */ +/* this way it styles only the border of the keys, the bg of the map itself + use the .view class */ +.gswitchit-layout-view > box.dialog-vbox > box.vertical > widget, +#xkb-layout-chooser > box.dialog-vbox > box.vertical > box.vertical > frame > widget { + background-color: shade (@theme_bg_color, 1.0); +} -.gswitchit-layout-view box.dialog-vbox box.vertical widget { - background-color: @less_dark_color; +#xkb-layout-chooser > box.dialog-vbox > box.vertical > box.vertical > frame > border { + border-radius: 0px; } diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css b/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css index 54535c42..2b09dc95 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css @@ -1336,9 +1336,15 @@ MsdOsdWindow.background.osd.msd-osd-window-solid progressbar trough { border-radius: 3px; } -/* mate-keyboard-layout-view */ +/* mate-keyboard-layout-view, mate-keyboard-layout-chooser */ +/* this way it styles only the border of the keys, the bg of the map itself + use the .view class */ +.gswitchit-layout-view > box.dialog-vbox > box.vertical > widget, +#xkb-layout-chooser > box.dialog-vbox > box.vertical > box.vertical > frame > widget { + background-color: shade (@theme_bg_color, 1.0); +} -.gswitchit-layout-view box.dialog-vbox box.vertical widget { - background-color: shade (@theme_bg_color, 1.1); +#xkb-layout-chooser > box.dialog-vbox > box.vertical > box.vertical > frame > border { + border-radius: 0px; } diff --git a/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css b/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css index 190cfd5f..4f704379 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css +++ b/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css @@ -921,9 +921,15 @@ window.background.mate-terminal > box.vertical > notebook > header.top tab:check border-style: none; } -/* mate-keyboard-layout-view */ +/* mate-keyboard-layout-view, mate-keyboard-layout-chooser */ +/* this way it styles only the border of the keys, the bg of the map itself + use the .view class */ +.gswitchit-layout-view > box.dialog-vbox > box.vertical > widget, +#xkb-layout-chooser > box.dialog-vbox > box.vertical > box.vertical > frame > widget { + background-color: shade (@theme_bg_color, 1.0); +} -.gswitchit-layout-view box.dialog-vbox box.vertical widget { - background-color: shade (@theme_bg_color, 1.1); +#xkb-layout-chooser > box.dialog-vbox > box.vertical > box.vertical > frame > border { + border-radius: 0px; } diff --git a/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css b/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css index 70617bb3..8b9f441c 100644 --- a/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css +++ b/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css @@ -1352,9 +1352,15 @@ MsdOsdWindow.background.osd.msd-osd-window-solid progressbar trough { border-radius: 3px; } -/* mate-keyboard-layout-view */ +/* mate-keyboard-layout-view, mate-keyboard-layout-chooser */ +/* this way it styles only the border of the keys, the bg of the map itself + use the .view class */ +.gswitchit-layout-view > box.dialog-vbox > box.vertical > widget, +#xkb-layout-chooser > box.dialog-vbox > box.vertical > box.vertical > frame > widget { + background-color: shade (@theme_bg_color, 1.0); +} -.gswitchit-layout-view box.dialog-vbox box.vertical widget { - background-color: shade (@theme_bg_color, 1.1); +#xkb-layout-chooser > box.dialog-vbox > box.vertical > box.vertical > frame > border { + border-radius: 0px; } diff --git a/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css b/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css index c77cd158..319128c1 100644 --- a/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css +++ b/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css @@ -667,9 +667,19 @@ GvcMixerDialog > box.vertical.dialog-vbox > notebook.frame scrolledwindow.frame border-style: none; } -/* mate-keyboard-layout-view */ +/* mate-keyboard-layout-view, mate-keyboard-layout-chooser */ +.gswitchit-layout-view box.dialog-vbox box.vertical widget, +#xkb-layout-chooser box.dialog-vbox box.vertical box.vertical frame widget { + background-color: shade(@base_color, 1.03); +} + +/* this way it styles only the border of the keys */ +.gswitchit-layout-view > box.dialog-vbox > box.vertical > widget, +#xkb-layout-chooser > box.dialog-vbox > box.vertical > box.vertical > frame > widget { + background-color: shade (@theme_bg_color, 1.0); +} -.gswitchit-layout-view box.dialog-vbox box.vertical widget { - background-color: shade(@base_color, 1.02); +#xkb-layout-chooser > box.dialog-vbox > box.vertical > box.vertical > frame > border { + border-radius: 0px; } diff --git a/desktop-themes/Menta/gtk-3.0/mate-applications.css b/desktop-themes/Menta/gtk-3.0/mate-applications.css index b6475733..299bc1ac 100644 --- a/desktop-themes/Menta/gtk-3.0/mate-applications.css +++ b/desktop-themes/Menta/gtk-3.0/mate-applications.css @@ -924,9 +924,15 @@ window.background.mate-terminal > box.vertical > notebook > header.top tab:check border-style: none; } -/* mate-keyboard-layout-view */ +/* mate-keyboard-layout-view, mate-keyboard-layout-chooser */ +/* this way it styles only the border of the keys, the bg of the map itself + use the .view class */ +.gswitchit-layout-view > box.dialog-vbox > box.vertical > widget, +#xkb-layout-chooser > box.dialog-vbox > box.vertical > box.vertical > frame > widget { + background-color: shade (@theme_bg_color, 1.0); +} -.gswitchit-layout-view box.dialog-vbox box.vertical widget { - background-color: shade (@theme_bg_color, 1.1); +#xkb-layout-chooser > box.dialog-vbox > box.vertical > box.vertical > frame > border { + border-radius: 0px; } diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css b/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css index ee4c1033..4bc5e8ec 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css @@ -587,9 +587,15 @@ GvcMixerDialog notebook.frame box scrolledwindow.frame { outline-style: dashed; } -/* mate-keyboard-layout-view */ +/* mate-keyboard-layout-view, mate-keyboard-layout-chooser */ +/* this way it styles only the border of the keys, the bg of the map itself + use the .view class */ +.gswitchit-layout-view > box.dialog-vbox > box.vertical > widget, +#xkb-layout-chooser > box.dialog-vbox > box.vertical > box.vertical > frame > widget { + background-color: shade (@theme_bg_color, 1.0); +} -.gswitchit-layout-view box.dialog-vbox box.vertical widget { - background-color: shade (@notebook_bg_color, 1.05); +#xkb-layout-chooser > box.dialog-vbox > box.vertical > box.vertical > frame > border { + border-radius: 0px; } diff --git a/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css b/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css index de179adf..7cedc9a4 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css @@ -587,9 +587,15 @@ GvcMixerDialog notebook.frame box scrolledwindow.frame { outline-style: dashed; } -/* mate-keyboard-layout-view */ +/* mate-keyboard-layout-view, mate-keyboard-layout-chooser */ +/* this way it styles only the border of the keys, the bg of the map itself + use the .view class */ +.gswitchit-layout-view > box.dialog-vbox > box.vertical > widget, +#xkb-layout-chooser > box.dialog-vbox > box.vertical > box.vertical > frame > widget { + background-color: shade (@theme_bg_color, 1.0); +} -.gswitchit-layout-view box.dialog-vbox box.vertical widget { - background-color: shade (@notebook_bg_color, 1.05); +#xkb-layout-chooser > box.dialog-vbox > box.vertical > box.vertical > frame > border { + border-radius: 0px; } |