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



commit 54a21eb73902716d8023004a37d70081eb7c88e4
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 |   23 +++++++----------------
 2 files changed, 11 insertions(+), 19 deletions(-)
---
diff --git a/data/theme/_common.scss b/data/theme/_common.scss
index 600db66..7453821 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 2ab81b2..c7faad2 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -604,9 +604,6 @@
   background: #303030;
   border: 3px solid white; }
 
-.dash-item-container > StWidget {
-    padding: 4px 8px; }
-
 .keyboard-key:active {
   background: #808080; }
 
@@ -1467,14 +1464,7 @@ StScrollBar {
 .grid-search-result:focus > .overview-icon,
 .grid-search-result:selected > .overview-icon {
   background-color: rgba(238, 238, 236, 0.1);
-  transition-duration: 0ms;
-  border-image: none;
-  background-image: none; }
-
-.app-well-app.app-folder:focus > .overview-icon,
-.app-well-app.app-folder:hover > .overview-icon {
-  background-color: rgba(238, 238, 236, 0.1);
-  transition-duration: 0ms;
+  transition-duration: 200ms;
   border-image: none;
   background-image: none; }
 
@@ -1622,13 +1612,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]