[gnome-shell/wip/sass: 39/73] theme: make notification counters round.



commit f6d6e528a0e1ee166b10c4440f2019f02c218bb4
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 d9b0fae..f42aee5 100644
--- a/data/theme/_common.scss
+++ b/data/theme/_common.scss
@@ -733,12 +733,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 1cbf491..9e5116f 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -1615,13 +1615,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]