[gnome-shell/wip/fmuellner/notification-redux+sass: 25/141] theme: make notification counters round.



commit da9a3a395a85d9f67397bfc4abfa028deb3bf10a
Author: Jakub Steiner <jimmac gmail com>
Date:   Mon Oct 27 16:21:17 2014 +0100

    theme: make notification counters round.

 data/theme/_common.scss    |    7 ++++---
 data/theme/gnome-shell.css |   11 ++++++-----
 2 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/data/theme/_common.scss b/data/theme/_common.scss
index aec2f94..1300a11 100644
--- a/data/theme/_common.scss
+++ b/data/theme/_common.scss
@@ -729,12 +729,13 @@ StScrollBar {
   .summary-source-counter {
     font-size: 10pt;
     font-weight: bold;
-    height: 2.4em; width: 2.4em;
-    -shell-counter-overlap-x: 13px;
-    -shell-counter-overlap-y: 13px;
+    height: 1.6em; width: 1.6em;
+    -shell-counter-overlap-x: 3px;
+    -shell-counter-overlap-y: 3px;
     background-color: $selected_bg_color;
     border: 2px solid $fg_color;
     box-shadow: 0 2px 2px rgba(0,0,0,0.5);
+    border-radius: 0.9em; // should be 0.8 but whatever; wish I could do 50%;
   }
   
   //Message tray popovers
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index 8995d90..80d128f 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -1609,13 +1609,14 @@ StScrollBar {
 .summary-source-counter {
   font-size: 10pt;
   font-weight: bold;
-  height: 2.4em;
-  width: 2.4em;
-  -shell-counter-overlap-x: 13px;
-  -shell-counter-overlap-y: 13px;
+  height: 1.6em;
+  width: 1.6em;
+  -shell-counter-overlap-x: 3px;
+  -shell-counter-overlap-y: 3px;
   background-color: #215d9c;
   border: 2px solid #eeeeec;
-  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.5); }
+  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
+  border-radius: 0.9em; }
 
 .summary-boxpointer {
   -arrow-border-radius: 15px;


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