From 915504a837bd5db1b4a0b572f3dbaede950274da Mon Sep 17 00:00:00 2001
From: Simon Schampijer <simon@schampijer.de>
Date: Mon, 21 May 2012 16:38:56 +0200
Subject: [PATCH] Fix artifacts in share button, SL #3387
When the SugarRadioToolButton is active make
the background color button_grey and the
GtkToolButton background color transparent, this was
set to white before. Rounding the edges of the
background of the SugarRadioToolButton.
Signed-off-by: Simon Schampijer <simon@laptop.org>
---
gtk3/theme/gtk-widgets.css.em | 27 +++++++++++----------------
1 file changed, 11 insertions(+), 16 deletions(-)
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index fe5ff75..9671e29 100644
a
|
b
|
GtkComboBox .separator { |
270 | 270 | color: alpha(@theme_base_color, 0.0); |
271 | 271 | } |
272 | 272 | |
273 | | .toolbar GtkToggleButton.button:active, |
274 | | SugarPaletteWindowWidget GtkToggleButton.button:active { |
275 | | background-color: @button_grey; |
276 | | } |
277 | | |
278 | 273 | /* Notebooks */ |
279 | 274 | |
280 | 275 | .notebook { |
… |
… |
padding: 0px; |
504 | 499 | } |
505 | 500 | |
506 | 501 | .toolbar GtkToolButton .button, |
507 | | SugarPaletteWindowWidget GtkToolButton .button { |
| 502 | SugarPaletteWindowWidget SugarRadioToolButton *, |
| 503 | SugarPaletteWindowWidget GtkToolButton .button{ |
| 504 | background-color: transparent; |
508 | 505 | border-radius: $(toolbutton_padding)px; |
509 | 506 | padding: $(default_padding)px; |
510 | 507 | } |
… |
… |
SugarPaletteWindowWidget GtkToolButton .button { |
512 | 509 | .toolbar GtkToolButton .button:prelight, |
513 | 510 | SugarPaletteWindowWidget GtkToolButton .button:prelight { |
514 | 511 | background-color: @black; |
515 | | border-radius: 0px; |
516 | | border-width: 0px; |
517 | 512 | } |
518 | 513 | |
519 | | .toolbar GtkToolButton .button:active, |
| 514 | SugarPaletteWindowWidget SugarRadioToolButton *:active { |
| 515 | background-color: @button_grey; |
| 516 | border-radius: $(toolbutton_padding)px; |
| 517 | } |
| 518 | |
520 | 519 | SugarPaletteWindowWidget GtkToolButton .button:active { |
521 | | background-color: @black; |
522 | | border-radius: 0px; |
| 520 | background-color: @transparent; |
523 | 521 | } |
524 | 522 | |
525 | | .toolbar GtkToolButton .button:active:prelight, |
526 | | SugarPaletteWindowWidget GtkToolButton .button:active:prelight { |
| 523 | .toolbar GtkToolButton .button:active { |
527 | 524 | background-color: @button_grey; |
528 | | border-radius: $(subcell_size)px; |
529 | | border-width: $(default_padding)px; |
530 | | border-color: transparent; |
| 525 | border-radius: $(toolbutton_padding)px; |
531 | 526 | } |
532 | 527 | |
533 | 528 | /* Scales */ |