[gnome-shell/wip/sass: 75/98] theme: final touches on calendar widget



commit da49b8110e394e90361add97296986a8ccc6b9c4
Author: Jakub Steiner <jimmac gmail com>
Date:   Wed Feb 4 19:06:08 2015 +0100

    theme: final touches on calendar widget
    
    - rectangular weekends still clashed with the round
      selection/today

 data/theme/_common.scss                  |    9 ++++-----
 data/theme/gnome-shell-high-contrast.css |   12 ++++--------
 data/theme/gnome-shell.css               |   12 ++++--------
 3 files changed, 12 insertions(+), 21 deletions(-)
---
diff --git a/data/theme/_common.scss b/data/theme/_common.scss
index 8fb0117..a338373 100644
--- a/data/theme/_common.scss
+++ b/data/theme/_common.scss
@@ -736,6 +736,7 @@ StScrollBar {
       width: 2.4em; height: 2.4em;
       padding: 0.1em;
       margin: 2px;
+      border-radius: 1.4em;
       &:hover,&:focus { background-color: lighten($bg_color,5%); }
       &:active {
         color: lighten($fg_color,5%);
@@ -754,11 +755,10 @@ StScrollBar {
       .calendar-day-top { border-top-width: 1px; }
       .calendar-day-left { border-left-width: 1px; }
       .calendar-work-day {
-        border-radius: 1.4em;
+        
       }
       .calendar-nonwork-day {
-        background-color: darken($bg_color, 2%);
-        color: darken($fg_color,5%);
+        color: $insensitive_fg_color;
       }
       .calendar-today {
         font-weight: bold;
@@ -771,8 +771,7 @@ StScrollBar {
         font-weight: bold;
       }
       .calendar-other-month-day {
-        color: transparentize($fg_color,0.7);
-        background-color: transparentize($bg_color,0.7);
+        color: transparentize($fg_color,0.85);
         opacity: 0.5;
       }
 
diff --git a/data/theme/gnome-shell-high-contrast.css b/data/theme/gnome-shell-high-contrast.css
index ecadbb7..cf1622e 100644
--- a/data/theme/gnome-shell-high-contrast.css
+++ b/data/theme/gnome-shell-high-contrast.css
@@ -908,7 +908,8 @@ StScrollBar {
   width: 2.4em;
   height: 2.4em;
   padding: 0.1em;
-  margin: 2px; }
+  margin: 2px;
+  border-radius: 1.4em; }
   .calendar-day-base:hover, .calendar-day-base:focus {
     background-color: #0d0d0d; }
   .calendar-day-base:active {
@@ -929,12 +930,8 @@ StScrollBar {
 .calendar-day-left {
   border-left-width: 1px; }
 
-.calendar-work-day {
-  border-radius: 1.4em; }
-
 .calendar-nonwork-day {
-  background-color: black;
-  color: #f2f2f2; }
+  color: #7f7f7f; }
 
 .calendar-today {
   font-weight: bold;
@@ -945,8 +942,7 @@ StScrollBar {
   font-weight: bold; }
 
 .calendar-other-month-day {
-  color: rgba(255, 255, 255, 0.3);
-  background-color: rgba(0, 0, 0, 0.3);
+  color: rgba(255, 255, 255, 0.15);
   opacity: 0.5; }
 
 .events-table {
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index a51ded0..13af2f4 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -908,7 +908,8 @@ StScrollBar {
   width: 2.4em;
   height: 2.4em;
   padding: 0.1em;
-  margin: 2px; }
+  margin: 2px;
+  border-radius: 1.4em; }
   .calendar-day-base:hover, .calendar-day-base:focus {
     background-color: #454c4c; }
   .calendar-day-base:active {
@@ -929,12 +930,8 @@ StScrollBar {
 .calendar-day-left {
   border-left-width: 1px; }
 
-.calendar-work-day {
-  border-radius: 1.4em; }
-
 .calendar-nonwork-day {
-  background-color: #343a3a;
-  color: #e2e2df; }
+  color: #939695; }
 
 .calendar-today {
   font-weight: bold;
@@ -945,8 +942,7 @@ StScrollBar {
   font-weight: bold; }
 
 .calendar-other-month-day {
-  color: rgba(238, 238, 236, 0.3);
-  background-color: rgba(57, 63, 63, 0.3);
+  color: rgba(238, 238, 236, 0.15);
   opacity: 0.5; }
 
 .events-table {


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