[gnome-clocks] Fix stopwatch css



commit 72d26a9cfcf40c4ca4a7c566c1b0df5918d340c5
Author: Paolo Borelli <pborelli gnome org>
Date:   Wed Aug 17 23:07:33 2016 +0200

    Fix stopwatch css
    
    linear-gradient now requires two colors (we use the same color since
    we use it just to trick css into accepting a solid color).
    Bedide we draw the border under the row, so we need to hide the
    last one, not the first

 data/css/gnome-clocks.css |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/data/css/gnome-clocks.css b/data/css/gnome-clocks.css
index 9dd322e..f2cbc20 100644
--- a/data/css/gnome-clocks.css
+++ b/data/css/gnome-clocks.css
@@ -147,12 +147,14 @@ window > stack:backdrop {
 
 .clocks-laps-panel:dir(ltr) {
     border-image: linear-gradient(to bottom,
+                                  mix(@borders,@theme_bg_color,0.5),
                                   mix(@borders,@theme_bg_color,0.5))
                   0 0 0 1 / 20px 0px 20px 1px stretch;
 }
 
 .clocks-laps-panel:dir(rtl) {
     border-image: linear-gradient(to bottom,
+                                  mix(@borders,@theme_bg_color,0.5),
                                   mix(@borders,@theme_bg_color,0.5))
                   0 1 0 0 / 20px 1px 20px 0px stretch;
 }
@@ -167,11 +169,12 @@ window > stack:backdrop {
     padding-right: 20px;
     font-size: 14px;
     border-image: linear-gradient(to bottom,
+                                  mix(@borders,@theme_bg_color,0.5),
                                   mix(@borders,@theme_bg_color,0.5))
                   0 0 1 0 / 0 20px 1px 20px stretch;
 }
 
-.clocks-laps-panel row:first-child {
+.clocks-laps-panel row:last-child {
     border-image: none;
     border-color: transparent;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]