[gnome-shell/wip/sass: 26/86] theme: make notification counters round.



commit bf6aff8f5898d61b26a14a92311bce0e10e21c3b
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 0a73cde..c50331f 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 6152c3f..9189a0b 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]