From f2069a61294ace085b0b910b96f4d1591ef723ce Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Mon, 8 Jul 2019 13:04:15 -0400 Subject: [PATCH] Reduce usage of calendar color in dialogs --- NEWS | 1 + .../UIxContactFolderLinksTemplate.wox | 6 ++-- .../MailerUI/UIxMailUserRightsEditor.wox | 2 +- .../UIxAppointmentEditorTemplate.wox | 16 +++++++++-- .../UIxAppointmentViewTemplate.wox | 20 ++++++++++--- .../SchedulerUI/UIxAttendeesEditor.wox | 2 +- .../UIxCalendarFolderLinksTemplate.wox | 28 +++++++++++-------- .../SchedulerUI/UIxTaskEditorTemplate.wox | 10 +++++-- .../SchedulerUI/UIxTaskViewTemplate.wox | 8 ++++-- UI/Templates/UIxAclEditor.wox | 8 ++++-- .../scss/components/list/list.scss | 6 +++- .../scss/views/SchedulerUI.scss | 7 ----- 12 files changed, 76 insertions(+), 38 deletions(-) diff --git a/NEWS b/NEWS index 1b44dd66a..3168daa9b 100644 --- a/NEWS +++ b/NEWS @@ -11,6 +11,7 @@ Enhancements - [web] replaced bower packages by npm packages - [web] restored mail threads (#3478, #4616, #4735) - [web] reflect attendee type with generic icon (person/group/resource) + - [web] reduce usage of calendar color in dialogs Bug fixes - [web] fixed wrong translation of custom calendar categories diff --git a/UI/Templates/ContactsUI/UIxContactFolderLinksTemplate.wox b/UI/Templates/ContactsUI/UIxContactFolderLinksTemplate.wox index db2cdebf7..eb78e00cc 100644 --- a/UI/Templates/ContactsUI/UIxContactFolderLinksTemplate.wox +++ b/UI/Templates/ContactsUI/UIxContactFolderLinksTemplate.wox @@ -12,7 +12,7 @@
-
{{links.addressbook.name}}
+
{{::links.addressbook.name}}
close @@ -25,7 +25,7 @@
- +
@@ -33,7 +33,7 @@
- +
diff --git a/UI/Templates/MailerUI/UIxMailUserRightsEditor.wox b/UI/Templates/MailerUI/UIxMailUserRightsEditor.wox index 85fac28c8..3390dcebd 100644 --- a/UI/Templates/MailerUI/UIxMailUserRightsEditor.wox +++ b/UI/Templates/MailerUI/UIxMailUserRightsEditor.wox @@ -7,7 +7,7 @@ xmlns:label="OGo:label" xmlns:uix="OGo:uix"> -
+
- +
event @@ -36,7 +36,13 @@ {{calendar.name}} + ng-value="calendar.id"> +
+
+ {{calendar.name}} +
+
@@ -59,7 +65,11 @@ md-items="category in editor.component.constructor.filterCategories(editor.categories.searchText) | orderBy" md-min-length="0" label:placeholder="Add a category"> - {{category}} +
+
+
{{category}}
+
diff --git a/UI/Templates/SchedulerUI/UIxAppointmentViewTemplate.wox b/UI/Templates/SchedulerUI/UIxAppointmentViewTemplate.wox index dec7df147..56c32dd93 100644 --- a/UI/Templates/SchedulerUI/UIxAppointmentViewTemplate.wox +++ b/UI/Templates/SchedulerUI/UIxAppointmentViewTemplate.wox @@ -5,7 +5,7 @@ xmlns:const="http://www.skyrix.com/od/constant" xmlns:label="OGo:label"> - +
event
@@ -38,7 +38,11 @@ - +
+
+
+
@@ -56,7 +60,11 @@ - +
+
+
+
@@ -96,7 +104,11 @@ event -

+
+
+
+
diff --git a/UI/Templates/SchedulerUI/UIxAttendeesEditor.wox b/UI/Templates/SchedulerUI/UIxAttendeesEditor.wox index 3f7bf1cbe..48f2122dc 100644 --- a/UI/Templates/SchedulerUI/UIxAttendeesEditor.wox +++ b/UI/Templates/SchedulerUI/UIxAttendeesEditor.wox @@ -137,7 +137,7 @@
-
+
diff --git a/UI/Templates/SchedulerUI/UIxCalendarFolderLinksTemplate.wox b/UI/Templates/SchedulerUI/UIxCalendarFolderLinksTemplate.wox index 77136c118..390af9f27 100644 --- a/UI/Templates/SchedulerUI/UIxCalendarFolderLinksTemplate.wox +++ b/UI/Templates/SchedulerUI/UIxCalendarFolderLinksTemplate.wox @@ -8,12 +8,16 @@ > - + link
-
{{links.calendar.name}}
+
+
+
+
close @@ -24,41 +28,41 @@
- + - + -
+
- + - + - +
-
+
- + - + - +
diff --git a/UI/Templates/SchedulerUI/UIxTaskEditorTemplate.wox b/UI/Templates/SchedulerUI/UIxTaskEditorTemplate.wox index 56e1dbe7a..3eda93b1d 100644 --- a/UI/Templates/SchedulerUI/UIxTaskEditorTemplate.wox +++ b/UI/Templates/SchedulerUI/UIxTaskEditorTemplate.wox @@ -6,7 +6,7 @@ xmlns:label="OGo:label"> - +
assignment_turned_in @@ -35,7 +35,13 @@ {{calendar.name}} + ng-value="calendar.id"> +
+
+ {{calendar.name}} +
+
diff --git a/UI/Templates/SchedulerUI/UIxTaskViewTemplate.wox b/UI/Templates/SchedulerUI/UIxTaskViewTemplate.wox index d9dda8b7c..f0c262e8a 100644 --- a/UI/Templates/SchedulerUI/UIxTaskViewTemplate.wox +++ b/UI/Templates/SchedulerUI/UIxTaskViewTemplate.wox @@ -5,7 +5,7 @@ xmlns:const="http://www.skyrix.com/od/constant" xmlns:label="OGo:label"> - +
assignment_turned_in
@@ -61,7 +61,11 @@ event -

+
+
+
+
- +
folder_shared
-
{{acl.folder.name}}
+
+
+
+
close diff --git a/UI/WebServerResources/scss/components/list/list.scss b/UI/WebServerResources/scss/components/list/list.scss index 438a1611b..11b34f0bc 100644 --- a/UI/WebServerResources/scss/components/list/list.scss +++ b/UI/WebServerResources/scss/components/list/list.scss @@ -15,7 +15,7 @@ $list-item-height: 6 * $baseline-grid; // 48px $sg-avatar-width: 40px; // Circle diamter of color chips -$sg-color-chip-width: 16px; +$sg-color-chip-width: 2 * $baseline-grid; /*------------------------------------*\ @@ -163,10 +163,14 @@ div.md-tile-left { border-color: white; border-radius: 50%; border-style: solid; + border-width: 2px; display: block; height: $sg-color-chip-width; margin: 0 $bl; width: $sg-color-chip-width; + &:first-child { + margin-left: 0; + } } &-tile-content { diff --git a/UI/WebServerResources/scss/views/SchedulerUI.scss b/UI/WebServerResources/scss/views/SchedulerUI.scss index a355256f8..7b3a31ca9 100644 --- a/UI/WebServerResources/scss/views/SchedulerUI.scss +++ b/UI/WebServerResources/scss/views/SchedulerUI.scss @@ -794,13 +794,6 @@ $quarter_height: 10px; margin: 0 $baseline-grid 0 $baseline-grid*2; padding: 0; } - .sg-color-chip { - border-radius: 50%; - border-width: 0; - width: $baseline-grid; - height: $baseline-grid; - margin: 0 $baseline-grid 0 $baseline-grid*2; - } } /**