[gnome-shell-sass] dateMenu: Add "Events" section
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-sass] dateMenu: Add "Events" section
- Date: Tue, 11 Aug 2020 15:29:21 +0000 (UTC)
commit 6dd19abaa7f6ff1846c2b10739ea95d16eebd165
Author: Florian Müllner <fmuellner gnome org>
Date: Thu May 14 22:24:36 2020 +0200
dateMenu: Add "Events" section
Events have a clear and obvious connection to the calendar, and similar
to the Clocks and Weather sections there's a strong link to a particular
application.
Adding them as another section to the right-hand side of the calendar
therefore presents a viable alternative to the old events section.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1282
widgets/_calendar.scss | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
---
diff --git a/widgets/_calendar.scss b/widgets/_calendar.scss
index e99b8a8..70d9519 100644
--- a/widgets/_calendar.scss
+++ b/widgets/_calendar.scss
@@ -177,6 +177,32 @@
}
}
+/* 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);
+ }
+}
+
/* World clocks */
.world-clocks-button {
@include notification_bubble;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]