diff --git a/UI/Templates/ContactsUI/UIxContactsUserFolders.wox b/UI/Templates/ContactsUI/UIxContactsUserFolders.wox index dd836fb45..70b0408c8 100644 --- a/UI/Templates/ContactsUI/UIxContactsUserFolders.wox +++ b/UI/Templates/ContactsUI/UIxContactsUserFolders.wox @@ -6,41 +6,49 @@ xmlns:const="http://www.skyrix.com/od/constant" xmlns:label="OGo:label" xmlns:uix="OGo:uix"> - - - - - - - - - - - {{user.$shortFormat()}} - - - - - - + + + + + + + + + +
+ {{user.$shortFormat()}} + + + + +
+
+ + - - - - {{folder.displayName}} - Subscribe - - - -
-
- -
+
+ + + +

{{folder.displayName}}

+ Subscribe +
+
+ +
+
+
diff --git a/UI/WebServerResources/scss/components/button/button.scss b/UI/WebServerResources/scss/components/button/button.scss index 69ecbb467..bd5cc75d3 100644 --- a/UI/WebServerResources/scss/components/button/button.scss +++ b/UI/WebServerResources/scss/components/button/button.scss @@ -9,7 +9,7 @@ // Buttons for the sidenav folder tree // ------------------------------------ sg-folder-tree .md-button, -md-sidenav md-list button.md-button { +md-sidenav md-list .md-button { // dirty fix to squash the theme style background-color: transparent !important; padding: 0 $mg; @@ -20,13 +20,18 @@ md-sidenav md-list button.md-button { -webkit-font-smoothing: auto; } -md-sidenav .md-button [class ^= "md-icon"] { +.md-sidenav-left .md-button [class^="md-icon"] { margin-right: 1em; } -md-sidenav .md-button.iconButton.sg-button-navicon [class ^= "md-icon"] { +md-sidenav .md-button.iconButton.sg-button-navicon [class^="md-icon"] { margin: 0; } +// Expandable button for a collapsable list +.sg-expandable { + width: 100%; +} + /// /// iconButton /// according to Material design specs: @@ -61,9 +66,10 @@ $button-fab-height: 56px; // z-index provides a stacking context that prevent ripple-effect from overflowing z-index: 1; overflow: hidden; - padding: $iconButton-padding; + padding: $iconButton-padding 0; border-radius: 50%; color: inherit; + min-width: $iconButton-size; transition: $iconButton-transition; &:hover:not(.md-fab), @@ -197,6 +203,7 @@ md-toolbar .md-toolbar-tools .iconButton:last-child, //margin-left: ($mg * -1); width: $touch-zone; height: $touch-zone; + line-height: $touch-zone; } // angular-material is overspecifying so we are and so we have to continue diff --git a/UI/WebServerResources/scss/components/list/list.scss b/UI/WebServerResources/scss/components/list/list.scss index 301c577f7..c5d63f074 100644 --- a/UI/WebServerResources/scss/components/list/list.scss +++ b/UI/WebServerResources/scss/components/list/list.scss @@ -1,4 +1,4 @@ -/// list.scss -*- Mode: text; indent-tabs-mode: nil; basic-offset: 2 -*- +/// list.scss -*- Mode: scss; indent-tabs-mode: nil; basic-offset: 2 -*- @import 'extends'; // List variables // ---------------------------------------------------------------------------- @@ -21,6 +21,17 @@ //$item-padding-left: 0px !default; //$item-padding-bottom: 0px !default; +// List item label +md-list { + .sg-item-name { + font-size: sg-size(button); + text-transform: initial; + overflow: hidden; + text-align: left; + text-overflow: ellipsis; + white-space: nowrap; + } +} // The right tile for a list item. // ----------------------------------------------------------------------------