From 5f5dcc1d5d6261636fba766e9e7fe22785572801 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Fri, 14 Nov 2014 15:18:20 -0500 Subject: [PATCH] Improve CSS of addressbooks list --- .../ContactsUI/UIxContactFoldersView.wox | 60 +++++++++++-------- UI/WebServerResources/scss/ContactsUI.scss | 22 +++++-- 2 files changed, 51 insertions(+), 31 deletions(-) diff --git a/UI/Templates/ContactsUI/UIxContactFoldersView.wox b/UI/Templates/ContactsUI/UIxContactFoldersView.wox index 86d806984..40b0c3bb9 100644 --- a/UI/Templates/ContactsUI/UIxContactFoldersView.wox +++ b/UI/Templates/ContactsUI/UIxContactFoldersView.wox @@ -148,32 +148,34 @@

- +
+ +
+
+

+
{{card.$description()}} + {{category.value}} +
+
diff --git a/UI/WebServerResources/scss/ContactsUI.scss b/UI/WebServerResources/scss/ContactsUI.scss index 060c98709..89265d8b5 100644 --- a/UI/WebServerResources/scss/ContactsUI.scss +++ b/UI/WebServerResources/scss/ContactsUI.scss @@ -62,11 +62,10 @@ $topbar-link-bg-hover: scale-color($module-color, $lightness: -14%); display: table-cell; padding: $off-canvas-link-padding; color: $off-canvas-link-color; - border-bottom: $off-canvas-link-border-bottom; - //vertical-align: middle; } .icon { //vertical-align: middle; // causes glitch when selecting row + border-left: 3px solid transparent; width: 2em; } form { @@ -92,8 +91,10 @@ $topbar-link-bg-hover: scale-color($module-color, $lightness: -14%); background: scale-color($tabbar-bg, $lightness: -30%); } &._selected { - background-color: #242424 !important; border: 0 !important; + >i { + border-left-color: $primary-color; + } * { color: #eee; } @@ -143,8 +144,6 @@ $column-gutter: 0; #addressbooksList { position: absolute; - overflow: auto; - overflow-x: hidden; top: $topbar-height; bottom: 0; background-color: #333; @@ -157,6 +156,19 @@ $column-gutter: 0; text-align: center; text-transform: uppercase; } + .scrollview { + position: absolute; + overflow: auto; + overflow-x: hidden; + top: $topbar-height; + bottom: $topbar-height; + } + .buttonsToolbar { + border-top: $off-canvas-link-border-bottom; + position: absolute; + bottom: 0px; + width: 100%; + } } #rightPanel {