[gnome-shell-sass] dateMenu: Make "today" button more prominent
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-sass] dateMenu: Make "today" button more prominent
- Date: Fri, 20 Feb 2015 16:04:56 +0000 (UTC)
commit a1ea9bf18ae85deaffdedbf2f52c7c1a820086a9
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Dec 5 16:03:59 2014 +0100
dateMenu: Make "today" button more prominent
Split the weekday from the date and increase the latter's size to
match the latest calendar mockups.
https://bugzilla.gnome.org/show_bug.cgi?id=744817
_common.scss | 30 +++++++++++++++++++++++-------
1 files changed, 23 insertions(+), 7 deletions(-)
---
diff --git a/_common.scss b/_common.scss
index 995afef..cd28f74 100644
--- a/_common.scss
+++ b/_common.scss
@@ -698,21 +698,37 @@ StScrollBar {
}
.calendar {
- margin: 0 1.5em;
margin-bottom: 1em;
}
+ .calendar,
+ .datemenu-today-button {
+ margin: 0 1.5em;
+ }
+
.datemenu-calendar-column {
spacing: 0.5em;
padding-bottom: 3em;
}
- .datemenu-date-label { //topmost date label
- padding: .4em 1.7em;
- text-align: center;
- color: $fg_color;
- font-weight: bold;
- font-size: 110%;
+ .datemenu-today-button {
+ border-radius: 4px;
+ padding: .4em;
+ }
+
+ .datemenu-today-button {
+ &:hover,&:focus { background-color: lighten($bg_color,5%); }
+ &:active {
+ color: lighten($selected_fg_color,5%);
+ background-color: $selected_bg_color;
+ }
+ }
+
+ .datemenu-today-button .day-label {
+ }
+
+ .datemenu-today-button .date-label {
+ font-size: 1.5em;
}
.calendar-month-label {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]