From c904748e72e383937803040d49cebf337d063451 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Manuel=20Qui=C3=B1ones?= <manuq@laptop.org>
Date: Tue, 9 Oct 2012 21:34:36 -0300
Subject: [PATCH artwork 3/4] GtkScale: remove inner radius from the trough -
SL #3983
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: <sugar-devel@lists.sugarlabs.org>
This is specially noticeable when the scale slider is not visible,
which is the case of the current palettes. But is good to fix it
anyway because we cannot depend on the slider to hide it, the bug
might be noticeable with the slider above too.
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
---
gtk3/theme/gtk-widgets.css.em | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em
index 1b901ef..e6a27b2 100644
a
|
b
|
SugarPaletteWindowWidget GtkScrolledWindow * { |
577 | 577 | .scale.trough { |
578 | 578 | background-color: @button_grey; |
579 | 579 | border-style: solid; |
580 | | border-radius: $(2*subcell_size)px; |
581 | 580 | border-color: @button_grey; |
582 | 581 | border-width: $(thickness)px; |
583 | 582 | } |
… |
… |
SugarPaletteWindowWidget GtkScrolledWindow * { |
596 | 595 | border-color: @selection_grey; |
597 | 596 | } |
598 | 597 | |
| 598 | .scale.trough { |
| 599 | border-radius: 0px $(2*subcell_size)px $(2*subcell_size)px 0px; |
| 600 | } |
| 601 | |
| 602 | .scale.trough.vertical { |
| 603 | border-radius: 0px 0px $(2*subcell_size)px $(2*subcell_size)px; |
| 604 | } |
| 605 | |
| 606 | .scale.trough.top { |
| 607 | border-radius: $(2*subcell_size)px $(2*subcell_size)px 0px 0px; |
| 608 | } |
| 609 | |
| 610 | .scale.trough.left { |
| 611 | border-radius: $(2*subcell_size)px 0px 0px $(2*subcell_size)px; |
| 612 | } |
| 613 | |
599 | 614 | .scale.slider, |
600 | 615 | .scale.slider:active { |
601 | 616 | background-color: transparent; |