[gnome-shell-sass] calendar: Make notification icons font-relative



commit 336c2d5ad6b165f586330ec7e1fdc23ff220638a
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Sep 29 14:53:42 2017 +0200

    calendar: Make notification icons font-relative
    
    As notification icons now align with the title, it makes sense for
    them to follow the text size in case a text-scaling-factor other
    than 1 is applied.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=788265

 _common.scss |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/_common.scss b/_common.scss
index 3c5f148..306de6a 100644
--- a/_common.scss
+++ b/_common.scss
@@ -1032,18 +1032,18 @@ StScrollBar {
         }
 
           .message-icon-bin {
-            padding: 10px 3px 10px 10px;
-            &:rtl { padding: 10px 10px 10px 3px; }
+            padding: 0.68em 0.2em 0.68em 0.68em;
+            &:rtl { padding: 0.68em 0.68em 0.68em 0.2em; }
           }
 
           .message-icon-bin > StIcon {
             color: darken($fg_color,20%);
-            icon-size: 16px;
+            icon-size: 1.09em;
             -st-icon-style: symbolic;
           }
 
           .message-secondary-bin {
-            padding: 0 12px;
+            padding: 0 0.82em;;
           }
 
           .message-secondary-bin > .event-time {
@@ -1055,7 +1055,7 @@ StScrollBar {
           }
 
           .message-secondary-bin > StIcon {
-            icon-size: 16px;
+            icon-size: 1.09em;
           }
 
           .message-title {


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