2019-12-18 16:25:03 -05:00
|
|
|
/* Date/Time Menu */
|
|
|
|
|
2020-02-20 14:10:54 -05:00
|
|
|
.clock-display-box {
|
|
|
|
spacing: $base_spacing / 2;
|
|
|
|
|
|
|
|
.clock {
|
|
|
|
padding-left: $base_padding;
|
|
|
|
padding-right: $base_padding;
|
|
|
|
}
|
|
|
|
}
|
2020-01-17 11:41:49 -05:00
|
|
|
|
2019-12-18 16:25:03 -05:00
|
|
|
// overall menu
|
|
|
|
#calendarArea {
|
2019-12-19 10:38:27 -05:00
|
|
|
padding:0;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// Calendar menu side column
|
|
|
|
.datemenu-calendar-column {
|
2020-02-06 07:42:13 -05:00
|
|
|
spacing: $base_spacing;
|
2019-12-19 10:38:27 -05:00
|
|
|
border: 0 solid $bubble_borders_color;
|
2020-02-06 07:42:13 -05:00
|
|
|
padding: 0 $base_padding * 2;
|
2019-12-19 10:38:27 -05:00
|
|
|
|
2019-12-19 10:48:32 -05:00
|
|
|
&:ltr {margin-right: $base_margin * 2; border-left-width: 1px; }
|
|
|
|
&:rtl {margin-left: $base_margin * 2; border-right-width: 1px; }
|
2019-12-19 10:38:27 -05:00
|
|
|
|
|
|
|
.datemenu-displays-section {
|
|
|
|
}
|
|
|
|
|
|
|
|
.datemenu-displays-box {
|
|
|
|
spacing: $base_spacing;
|
|
|
|
}
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.events-section-title {
|
2020-01-24 23:13:20 -05:00
|
|
|
@include notification_bubble($flat: true);
|
2019-12-19 10:38:27 -05:00
|
|
|
color: desaturate(darken($fg_color,40%), 10%);
|
|
|
|
font-weight: bold;
|
|
|
|
padding: .4em;
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
2020-02-06 08:08:33 -05:00
|
|
|
/* today button (the date) */
|
|
|
|
.datemenu-today-button {
|
|
|
|
@include notification_bubble($flat: true);
|
|
|
|
padding: $base_padding * 1.5;
|
|
|
|
|
|
|
|
// weekday label
|
|
|
|
.day-label {
|
|
|
|
@include fontsize($base_font_size+1);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
// date label
|
|
|
|
.date-label {
|
|
|
|
@include fontsize($base_font_size+7);
|
|
|
|
font-weight: 1000;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-12-18 16:25:03 -05:00
|
|
|
/* Calendar */
|
|
|
|
.calendar {
|
2020-02-06 08:08:33 -05:00
|
|
|
@include notification_bubble;
|
|
|
|
padding: $base_padding;
|
2019-12-18 16:25:03 -05:00
|
|
|
|
2019-12-19 10:38:27 -05:00
|
|
|
// month
|
|
|
|
.calendar-month-label {
|
|
|
|
color: lighten($fg_color,5%);
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 8px 0;
|
|
|
|
&:focus {}
|
|
|
|
}
|
|
|
|
|
|
|
|
// prev/next month icons
|
|
|
|
.calendar-change-month-back StIcon,
|
|
|
|
.calendar-change-month-forward StIcon {
|
|
|
|
icon-size: $base_icon_size;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pager-button {
|
|
|
|
background-color: transparent;
|
|
|
|
height: 32px;
|
|
|
|
width: 32px;
|
|
|
|
border-radius: $base_border_radius;
|
|
|
|
&:hover, &:focus { background-color: lighten($hover_bg_color, 5%); }
|
|
|
|
&:active { background-color: $active_bg_color; }
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$calendar_day_size: 32px;
|
|
|
|
|
|
|
|
.calendar-day-base {
|
2019-12-19 11:09:33 -05:00
|
|
|
@include fontsize($base_font_size - 3);
|
2019-12-19 10:38:27 -05:00
|
|
|
text-align: center;
|
|
|
|
width: $calendar_day_size;
|
|
|
|
height: $calendar_day_size;
|
|
|
|
padding: 0;
|
|
|
|
margin: 2px;
|
|
|
|
border-radius: $calendar_day_size * 0.5 + 2px;
|
|
|
|
border: 1px solid transparent; //avoid jumparound due to today
|
|
|
|
font-feature-settings: "tnum";
|
|
|
|
&:hover, &:focus { background-color: $hover_bg_color; }
|
|
|
|
&:active,&:selected {
|
|
|
|
color: lighten($fg_color,10%);
|
|
|
|
background-color: darken($bg_color,5%);
|
|
|
|
}
|
|
|
|
|
|
|
|
// day of week heading
|
|
|
|
&.calendar-day-heading {
|
|
|
|
color: lighten($fg_color,10%);
|
|
|
|
margin-top: 1em;
|
2019-12-19 11:09:33 -05:00
|
|
|
@include fontsize($base_font_size - 4);
|
2019-12-19 10:38:27 -05:00
|
|
|
}
|
|
|
|
}
|
2020-02-06 07:42:13 -05:00
|
|
|
|
2019-12-19 10:38:27 -05:00
|
|
|
.calendar-day { //border collapse hack - see calendar.js
|
|
|
|
border-width: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.calendar-day-top {
|
|
|
|
border-top-width: 1px;
|
|
|
|
}
|
|
|
|
|
2020-02-06 07:42:13 -05:00
|
|
|
.calendar-day-left {
|
|
|
|
border-left-width: 1px;
|
|
|
|
}
|
|
|
|
|
2019-12-19 10:38:27 -05:00
|
|
|
.calendar-work-day {}
|
2020-02-06 07:42:13 -05:00
|
|
|
|
2019-12-19 10:38:27 -05:00
|
|
|
.calendar-nonwork-day {
|
|
|
|
color: $insensitive_fg_color;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Today
|
|
|
|
.calendar-today {
|
|
|
|
font-weight: bold;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
background-color: $selected_bg_color;
|
|
|
|
color: $selected_fg_color;
|
|
|
|
|
|
|
|
&:hover,&:focus {
|
|
|
|
background-color:lighten($selected_bg_color, 3%);
|
|
|
|
color: $selected_fg_color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active,&:selected {
|
|
|
|
background-color: $selected_bg_color;
|
|
|
|
color: $selected_fg_color;
|
2020-02-06 07:42:13 -05:00
|
|
|
|
2019-12-19 10:38:27 -05:00
|
|
|
&:hover,&:focus {
|
|
|
|
background-color:lighten($selected_bg_color, 3%);
|
|
|
|
color: $selected_fg_color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-02-06 07:42:13 -05:00
|
|
|
|
2019-12-19 10:38:27 -05:00
|
|
|
.calendar-day-with-events {
|
|
|
|
background-image: url("resource:///org/gnome/shell/theme/calendar-today.svg");
|
2020-04-06 11:43:51 -04:00
|
|
|
&.calendar-work-day {
|
|
|
|
color: lighten($fg_color,10%);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2019-12-19 10:38:27 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.calendar-other-month-day {
|
|
|
|
color: transparentize($fg_color ,0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
.calendar-week-number {
|
2019-12-19 11:09:33 -05:00
|
|
|
@include fontsize($base_font_size - 4);
|
2019-12-19 10:38:27 -05:00
|
|
|
font-weight: bold;
|
|
|
|
height: 1.8em;
|
|
|
|
width: 2.3em;
|
|
|
|
border-radius: 2px;
|
|
|
|
margin: 6px;
|
|
|
|
background-color: darken($bg_color, 2%);
|
|
|
|
color: lighten($fg_color, 5%);
|
|
|
|
}
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|
|
|
|
|
2020-05-14 16:24:36 -04:00
|
|
|
/* Events */
|
|
|
|
.events-button {
|
|
|
|
@include notification_bubble;
|
|
|
|
padding: $base_padding * 2;
|
|
|
|
|
|
|
|
.events-box {
|
|
|
|
spacing: $base_spacing;
|
|
|
|
}
|
|
|
|
|
|
|
|
.events-list {
|
|
|
|
spacing: 2 * $base_spacing;
|
|
|
|
}
|
|
|
|
|
|
|
|
.events-title {
|
|
|
|
color: desaturate(darken($fg_color,40%), 10%);
|
|
|
|
font-weight: bold;
|
|
|
|
margin-bottom: $base_margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
.event-time {
|
|
|
|
color: darken($fg_color,20%);
|
|
|
|
font-feature-settings: "tnum";
|
|
|
|
@include fontsize($base_font_size - 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-06 08:15:19 -05:00
|
|
|
/* World clocks */
|
|
|
|
.world-clocks-button {
|
|
|
|
@include notification_bubble;
|
|
|
|
padding: $base_padding * 2;
|
|
|
|
|
|
|
|
.world-clocks-grid {
|
|
|
|
spacing-rows: $base_spacing;
|
|
|
|
spacing-columns: $base_spacing * 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
// title
|
|
|
|
.world-clocks-header {
|
|
|
|
color: desaturate(darken($fg_color,40%), 10%);
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
// city label
|
|
|
|
.world-clocks-city {
|
|
|
|
color: $fg_color;
|
|
|
|
@include fontsize($base_font_size);
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
// timezone time
|
|
|
|
.world-clocks-time {
|
|
|
|
font-weight: bold;
|
|
|
|
color: $fg_color;
|
2020-05-24 06:55:26 -04:00
|
|
|
font-feature-settings: "tnum";
|
2020-02-06 08:15:19 -05:00
|
|
|
@include fontsize($base_font_size);
|
2020-08-03 10:38:17 -04:00
|
|
|
|
|
|
|
&:ltr { text-align: right; }
|
|
|
|
&:rtl { text-align: left; }
|
2020-02-06 08:15:19 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// timezone offset label
|
|
|
|
.world-clocks-timezone {
|
|
|
|
color: darken($fg_color,20%);
|
|
|
|
font-feature-settings: "tnum";
|
|
|
|
@include fontsize($base_font_size - 1);
|
|
|
|
}
|
|
|
|
}
|
2019-12-18 16:25:03 -05:00
|
|
|
|
|
|
|
/* Weather */
|
2020-02-06 08:08:33 -05:00
|
|
|
.weather-button {
|
|
|
|
@include notification_bubble;
|
|
|
|
padding: $base_padding * 2;
|
|
|
|
|
|
|
|
.weather-box {
|
|
|
|
spacing: $base_spacing + $base_margin;
|
|
|
|
}
|
2019-12-19 10:38:27 -05:00
|
|
|
|
2020-02-06 08:18:01 -05:00
|
|
|
.weather-header-box {
|
|
|
|
spacing: $base_spacing;
|
|
|
|
}
|
|
|
|
|
2019-12-19 10:38:27 -05:00
|
|
|
.weather-header {
|
|
|
|
color: desaturate(darken($fg_color,40%), 10%);
|
|
|
|
font-weight: bold;
|
2020-02-06 07:42:13 -05:00
|
|
|
|
2019-12-19 10:38:27 -05:00
|
|
|
&.location {
|
|
|
|
font-weight: normal;
|
2019-12-19 11:09:33 -05:00
|
|
|
@include fontsize($base_font_size - 1);
|
2019-12-19 10:38:27 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.weather-grid {
|
|
|
|
spacing-rows: $base_spacing;
|
|
|
|
spacing-columns: $base_spacing * 2;
|
|
|
|
}
|
|
|
|
|
2019-12-18 18:43:12 -05:00
|
|
|
.weather-forecast-time {
|
|
|
|
color: darken($fg_color,30%);
|
|
|
|
font-feature-settings: "tnum";
|
|
|
|
@include fontsize($base_font_size - 2);
|
|
|
|
font-weight: normal;
|
2019-12-18 19:03:24 -05:00
|
|
|
padding-top: 0.2em;
|
|
|
|
padding-bottom: 0.4em;
|
2019-12-18 18:43:12 -05:00
|
|
|
}
|
|
|
|
|
2019-12-19 10:38:27 -05:00
|
|
|
.weather-forecast-icon {
|
|
|
|
icon-size: $base_icon_size * 2;
|
|
|
|
}
|
|
|
|
|
2019-12-18 18:45:17 -05:00
|
|
|
.weather-forecast-temp {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2019-12-18 16:25:03 -05:00
|
|
|
}
|