diff --git a/UI/Templates/ContactsUI/UIxContactFoldersView.wox b/UI/Templates/ContactsUI/UIxContactFoldersView.wox index 97efee5b6..c579522be 100644 --- a/UI/Templates/ContactsUI/UIxContactFoldersView.wox +++ b/UI/Templates/ContactsUI/UIxContactFoldersView.wox @@ -366,12 +366,13 @@ ng-click="addressbook.selectCard(currentCard)" ui-sref="app.addressbook.card.view({addressbookId: addressbook.selectedFolder.id, cardId: currentCard.id})" ui-sref-active="md-default-theme md-background md-bg md-hue-1"> -
- @@ -383,8 +384,12 @@
-
-
{{currentCard.$preferredEmail(addressbook.selectedFolder.constructor.$query)}}
+
+
+
+
+
{{currentCard.$preferredEmail(addressbook.selectedFolder.constructor.$query)}}
+
diff --git a/UI/Templates/ContactsUI/UIxContactsUserFolders.wox b/UI/Templates/ContactsUI/UIxContactsUserFolders.wox index 5ed122760..bb79b38bd 100644 --- a/UI/Templates/ContactsUI/UIxContactsUserFolders.wox +++ b/UI/Templates/ContactsUI/UIxContactsUserFolders.wox @@ -30,15 +30,15 @@
- + size="40">
-
{{user.cn}} {{user.userClass}}
-
{{user.c_email}}
+
{{user.cn}}
+
{{user.c_email}}
expand_more
diff --git a/UI/Templates/MailerUI/UIxMailFolderTemplate.wox b/UI/Templates/MailerUI/UIxMailFolderTemplate.wox index 313b4dd53..fcea6a8a1 100644 --- a/UI/Templates/MailerUI/UIxMailFolderTemplate.wox +++ b/UI/Templates/MailerUI/UIxMailFolderTemplate.wox @@ -214,26 +214,29 @@ ng-class="{'md-bg': mailbox.selectedFolder.isSelectedMessage(currentMessage.uid, currentMessage.$mailbox.path), unread: !currentMessage.isread}" ng-click="mailbox.selectMessage(currentMessage)"> -
- +
- -
- {{currentMessage.$mailbox.name}} - {{currentMessage.$shortAddress('from')}} +
+
+ {{currentMessage.$mailbox.name}} + {{currentMessage.$shortAddress('from')}} + warning +
+
+
+
+
{{currentMessage.subject}}
-
{{currentMessage.subject}}
- warning star reply forward diff --git a/UI/Templates/MailerUI/UIxMailUserDelegationEditor.wox b/UI/Templates/MailerUI/UIxMailUserDelegationEditor.wox index 4486f579a..c43792c02 100644 --- a/UI/Templates/MailerUI/UIxMailUserDelegationEditor.wox +++ b/UI/Templates/MailerUI/UIxMailUserDelegationEditor.wox @@ -23,13 +23,13 @@ -
- +
-
{{user.cn}}
-
{{user.c_email}}
+
{{user.cn}}
+
{{user.c_email}}
delete diff --git a/UI/Templates/SchedulerUI/UIxAttendeesEditor.wox b/UI/Templates/SchedulerUI/UIxAttendeesEditor.wox index 90867adbb..c8994a6f4 100644 --- a/UI/Templates/SchedulerUI/UIxAttendeesEditor.wox +++ b/UI/Templates/SchedulerUI/UIxAttendeesEditor.wox @@ -14,15 +14,15 @@ -
+
-
-
{{currentAttendee.name}}
-
{{currentAttendee.email}}
+
{{currentAttendee.name}}
+
{{currentAttendee.email}}
diff --git a/UI/Templates/SchedulerUI/UIxCalMainView.wox b/UI/Templates/SchedulerUI/UIxCalMainView.wox index b98b93578..bae94cebe 100644 --- a/UI/Templates/SchedulerUI/UIxCalMainView.wox +++ b/UI/Templates/SchedulerUI/UIxCalMainView.wox @@ -591,26 +591,27 @@ - -
- -
-

{{event.c_title}}

-

{{event.c_location}}

-

- {{event.formatted_startdate}} - - repeat - alarm - -

+ ng-click="list.toggleComponentSelection($event, event)">
+
+
+
{{event.c_title}}
+
+
+
{{event.c_location}}
+
+
+
+
+ repeat + alarm
@@ -622,25 +623,27 @@ - -
- -
-

{{task.c_title}}

-

- {{task.formatted_enddate}} - - repeat - alarm - -

+
+
+
+
{{task.c_title}}
+
+
+
+
{{task.formatted_enddate}}
+
+
+
+ repeat + alarm
diff --git a/UI/Templates/UIxAclEditor.wox b/UI/Templates/UIxAclEditor.wox index 6045f941a..a92539c6d 100644 --- a/UI/Templates/UIxAclEditor.wox +++ b/UI/Templates/UIxAclEditor.wox @@ -26,16 +26,16 @@
-
-
-
+
+
-
{{user.cn}}
-
{{user.c_email}}
+
{{user.cn}}
+
{{user.c_email}}
md-icon:first-child, + .md-list-item-inner > md-checkbox:first-child { + margin-right: $bl * 2; + } + } } // Add some padding to the first icon in a list item @@ -53,10 +79,12 @@ md-sidenav { .md-tile-left, .md-tile-right { display: block; - border-radius: 100%; + border-radius: 50%; padding: $layout-gutter-width; - width: $sg-md-grid-pitch + $baseline-grid; - height: $sg-md-grid-pitch + $baseline-grid; + padding: $baseline-grid * 1.5; + padding: ($sg-md-grid-pitch - $sg-avatar-width) / 2; + width: $sg-md-grid-pitch; + height: $sg-md-grid-pitch; //line-height: $sg-md-grid-pitch + $baseline-grid; background-clip: content-box; md-icon { @@ -83,51 +111,55 @@ div.md-tile-left { } .sg { + &-color-chip { + display: block; + border-radius: 50%; + margin-right: $bl; + margin-left: -($bl); + border-width: ($sg-avatar-width - $sg-color-chip-width) / 2; + border-color: white; + border-style: solid; + width: $sg-color-chip-width; + height: $sg-color-chip-width; + width: $sg-avatar-width; + height: $sg-avatar-width; + } + &-tile-content { - align-items: baseline; - flex-direction: row; - flex-wrap: wrap; flex: 1; - justify-content: space-between; - p { - margin: $list-p-margin; - font-size: sg-size(body); - } - .msg-date { - float: right; + .sg-tile-date { font-size: sg-size(body); font-weight: $sg-font-light; line-height: $sg-line-height-2; - margin-left: 1em; + flex-shrink: 0; } - .#{$md}-subhead-multi, - .#{$md}-subhead-solo, - .#{$md}-body-multi { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - } - .#{$md}-subhead-multi { + .#{$md}-subhead { @extend .#{$md}-body-1; font-size: initial; } - .#{$md}-body-multi { + .#{$md}-body { @extend .#{$md}-caption; } + .#{$md}-subhead, + .#{$md}-body { + display: flex; + justify-content: space-between; + align-items: center; + > * { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + } } // Small tile of vertically-aligned icons &-tile-icons { - md-icon { - font-size: $sg-font-size-1; - color: $colorGray; - margin: 2px; - } display: flex; flex-direction: column; align-items: center; justify-content: start; width: (2 * $mg); - height:(7 * $line); + height:(2 + $sg-font-size-1) * 4; // (vertical padding + icon size) * max number of icons } &-counter-badge { @@ -140,37 +172,59 @@ div.md-tile-left { font-weight: $sg-font-medium; text-transform: uppercase; } + + &-tile-content, + &-tile-icons { + md-icon { + font-size: $sg-font-size-1; + color: $colorGray; + margin: 1px 2px; + } + } } -.sg-avatars { - margin: ($mg / 2) 0 0 ($mg / 2); + +.card-picture { + .md-avatar { + display: block; + // From md-list-item > .md-avatar:first-child + width: $list-item-primary-avatar-width; + height: $list-item-primary-avatar-width; + margin-top: $baseline-grid; + margin-bottom: $baseline-grid; + margin-right: $list-item-primary-width - $list-item-primary-avatar-width; + border-radius: 50%; + box-sizing: content-box; + img { + width: initial !important; + } + } +} + +sg-avatar-image { img { - border-radius: 100%; - margin-right: ($mg / 2); + border-radius: 50%; } } // Avatar placeholder // ------------------------------------ -.md-tile-left:before, -.md-tile-left md-icon { +.md-avatar:before, +.md-avatar md-icon { font-family: 'Material Icons'; - font-size: 40px; + font-size: $sg-avatar-width; color: rgba(0, 0, 0, 0.26); } -//.md-tile-left-card { -// @extend .md-tile-left; -// &:before { -// content: "\e7fd"; // person -// } -//} -.md-tile-left-list { - @extend .md-tile-left; +.sg-avatar-list { &:before { content: "\e7ef"; // group } } -.md-tile-left-selected { - @extend .md-tile-left; +.sg-avatar-public { + &:before { + content: "\e80b"; // public + } +} +.sg-avatar-selected { &:before { content: "\e5ca"; // check } @@ -203,21 +257,21 @@ div.md-tile-left { // background-color: rgba(255, 255, 0, 0.3) !important; // content: "\e7fd"; // person //} -.sg-avatar { +//.sg-avatar { // @extend .md-tile-left-card; // margin-right: 0; // margin-left: 0; -} -.sg-list-avatar { - @extend .md-tile-left-list; - margin-right: 0; - margin-left: 0; -} -.sg-selected-avatar { - @extend .md-tile-left-selected; - margin-right: 0; - margin-left: 0; -} +//} +//.sg-list-avatar { +// @extend .md-tile-left-list; +// margin-right: 0; +// margin-left: 0; +//} +//.sg-selected-avatar { +// @extend .md-tile-left-selected; +// margin-right: 0; +// margin-left: 0; +//} //.sg-accepted { // @extend .md-tile-left-accepted; // margin-right: 0; diff --git a/UI/WebServerResources/scss/components/sidenav/sidenav.scss b/UI/WebServerResources/scss/components/sidenav/sidenav.scss index 1190bcc0e..c343c57f8 100644 --- a/UI/WebServerResources/scss/components/sidenav/sidenav.scss +++ b/UI/WebServerResources/scss/components/sidenav/sidenav.scss @@ -37,11 +37,3 @@ $i: 1; .sg-active i.md-icon-folder:before { @extend .md-icon-folder-open:before; } - -.md-sidenav-left { - md-list-item { - .md-button { - transition: background-color $swift-ease-in-duration $swift-ease-in-timing-function; - } - } -} diff --git a/UI/WebServerResources/scss/views/MailerUI.scss b/UI/WebServerResources/scss/views/MailerUI.scss index 7ae8b853e..edb83f1f2 100644 --- a/UI/WebServerResources/scss/views/MailerUI.scss +++ b/UI/WebServerResources/scss/views/MailerUI.scss @@ -12,11 +12,11 @@ } .unread { - .#{$md}-subhead-multi, - .#{$md}-body-multi { + .#{$md}-subhead, + .#{$md}-body { font-weight: $sg-font-medium; } - .msg-date { + .sg-tile-date { color: sg-color($sogoBlue, 600); } } diff --git a/UI/WebServerResources/scss/views/SchedulerUI.scss b/UI/WebServerResources/scss/views/SchedulerUI.scss index 40111f2e0..92151d33e 100644 --- a/UI/WebServerResources/scss/views/SchedulerUI.scss +++ b/UI/WebServerResources/scss/views/SchedulerUI.scss @@ -25,6 +25,16 @@ $scrollbar_width: 16px; @include from(lg) { @include flex-col(lg, 5, 1, 0); } + + // The color chip is smaller; adjust the "selected" icon accordingly + .sg-avatar-selected { + &:before { + margin-left: -($bl); + } + &.md-avatar:first-child { + margin-right: 0; + } + } } .view-detail {