theme: final touches on calendar widget

- rectangular weekends still clashed with the round
  selection/today
This commit is contained in:
Jakub Steiner 2015-02-04 19:06:08 +01:00 committed by Florian Müllner
parent 7b3eeefc85
commit da49b8110e
3 changed files with 12 additions and 21 deletions

View File

@ -736,6 +736,7 @@ StScrollBar {
width: 2.4em; height: 2.4em; width: 2.4em; height: 2.4em;
padding: 0.1em; padding: 0.1em;
margin: 2px; margin: 2px;
border-radius: 1.4em;
&:hover,&:focus { background-color: lighten($bg_color,5%); } &:hover,&:focus { background-color: lighten($bg_color,5%); }
&:active { &:active {
color: lighten($fg_color,5%); color: lighten($fg_color,5%);
@ -754,11 +755,10 @@ StScrollBar {
.calendar-day-top { border-top-width: 1px; } .calendar-day-top { border-top-width: 1px; }
.calendar-day-left { border-left-width: 1px; } .calendar-day-left { border-left-width: 1px; }
.calendar-work-day { .calendar-work-day {
border-radius: 1.4em;
} }
.calendar-nonwork-day { .calendar-nonwork-day {
background-color: darken($bg_color, 2%); color: $insensitive_fg_color;
color: darken($fg_color,5%);
} }
.calendar-today { .calendar-today {
font-weight: bold; font-weight: bold;
@ -771,8 +771,7 @@ StScrollBar {
font-weight: bold; font-weight: bold;
} }
.calendar-other-month-day { .calendar-other-month-day {
color: transparentize($fg_color,0.7); color: transparentize($fg_color,0.85);
background-color: transparentize($bg_color,0.7);
opacity: 0.5; opacity: 0.5;
} }

View File

@ -908,7 +908,8 @@ StScrollBar {
width: 2.4em; width: 2.4em;
height: 2.4em; height: 2.4em;
padding: 0.1em; padding: 0.1em;
margin: 2px; } margin: 2px;
border-radius: 1.4em; }
.calendar-day-base:hover, .calendar-day-base:focus { .calendar-day-base:hover, .calendar-day-base:focus {
background-color: #0d0d0d; } background-color: #0d0d0d; }
.calendar-day-base:active { .calendar-day-base:active {
@ -929,12 +930,8 @@ StScrollBar {
.calendar-day-left { .calendar-day-left {
border-left-width: 1px; } border-left-width: 1px; }
.calendar-work-day {
border-radius: 1.4em; }
.calendar-nonwork-day { .calendar-nonwork-day {
background-color: black; color: #7f7f7f; }
color: #f2f2f2; }
.calendar-today { .calendar-today {
font-weight: bold; font-weight: bold;
@ -945,8 +942,7 @@ StScrollBar {
font-weight: bold; } font-weight: bold; }
.calendar-other-month-day { .calendar-other-month-day {
color: rgba(255, 255, 255, 0.3); color: rgba(255, 255, 255, 0.15);
background-color: rgba(0, 0, 0, 0.3);
opacity: 0.5; } opacity: 0.5; }
.events-table { .events-table {

View File

@ -908,7 +908,8 @@ StScrollBar {
width: 2.4em; width: 2.4em;
height: 2.4em; height: 2.4em;
padding: 0.1em; padding: 0.1em;
margin: 2px; } margin: 2px;
border-radius: 1.4em; }
.calendar-day-base:hover, .calendar-day-base:focus { .calendar-day-base:hover, .calendar-day-base:focus {
background-color: #454c4c; } background-color: #454c4c; }
.calendar-day-base:active { .calendar-day-base:active {
@ -929,12 +930,8 @@ StScrollBar {
.calendar-day-left { .calendar-day-left {
border-left-width: 1px; } border-left-width: 1px; }
.calendar-work-day {
border-radius: 1.4em; }
.calendar-nonwork-day { .calendar-nonwork-day {
background-color: #343a3a; color: #939695; }
color: #e2e2df; }
.calendar-today { .calendar-today {
font-weight: bold; font-weight: bold;
@ -945,8 +942,7 @@ StScrollBar {
font-weight: bold; } font-weight: bold; }
.calendar-other-month-day { .calendar-other-month-day {
color: rgba(238, 238, 236, 0.3); color: rgba(238, 238, 236, 0.15);
background-color: rgba(57, 63, 63, 0.3);
opacity: 0.5; } opacity: 0.5; }
.events-table { .events-table {