From 24f9f4ef842b1ad38a7094ce0763c21261c937ae Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Mon, 10 Sep 2012 17:19:52 +0000 Subject: [PATCH] Improved layout of preferences window. Monotone-Parent: 7eaed9fd683e2598617632feb838450cca393c9c Monotone-Revision: 1fbe308ad552ffa7e4c43a1a33f14a64aacf1f62 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2012-09-10T17:19:52 Monotone-Branch: ca.inverse.sogo --- UI/Templates/PreferencesUI/UIxPreferences.wox | 303 +++++++++--------- UI/WebServerResources/ContactsUI.css | 20 +- UI/WebServerResources/UIxMailEditor.css | 11 +- UI/WebServerResources/UIxPreferences.css | 10 +- UI/WebServerResources/generic.css | 40 ++- UI/WebServerResources/iefixes.css | 4 + 6 files changed, 205 insertions(+), 183 deletions(-) diff --git a/UI/Templates/PreferencesUI/UIxPreferences.wox b/UI/Templates/PreferencesUI/UIxPreferences.wox index 67b04f350..5ee89fbc5 100644 --- a/UI/Templates/PreferencesUI/UIxPreferences.wox +++ b/UI/Templates/PreferencesUI/UIxPreferences.wox @@ -46,96 +46,88 @@
-
-
-
-
-
-
-
- -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
- -
-
-
-
- -
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
- -
- -
- +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+ > @@ -300,23 +297,24 @@
- -
-
-
- - - +
+
+
+ +
+
+
+ + + + +
+
+
+
+
+
+
-
-
-
- +
+
+
+
+
+
+
+
+
+
diff --git a/UI/WebServerResources/ContactsUI.css b/UI/WebServerResources/ContactsUI.css index cd96646f7..8b733608c 100644 --- a/UI/WebServerResources/ContactsUI.css +++ b/UI/WebServerResources/ContactsUI.css @@ -259,38 +259,20 @@ DIV.contactColumn H4 width: 100%; padding: .1em .2em; } -dt, dd { - line-height: 14px; -} - dt { color: #666; line-height: 13px; } dd { - margin-left: 9px; + line-height: 14px; } .dl-horizontal dt { - float: left; width: 100px; - overflow: hidden; - clear: left; - text-align: right; - text-overflow: ellipsis; - white-space: nowrap; } .dl-horizontal dd { margin-left: 110px; } -.dl-horizontal ul { - list-style-type: none; - margin: 0px; - padding-left: 0px; -} -.dl-horizontal li { - margin-left: 0; -} SPAN.photoFrame { cursor: pointer; float: left; diff --git a/UI/WebServerResources/UIxMailEditor.css b/UI/WebServerResources/UIxMailEditor.css index bb3374a7b..f880a9d8e 100644 --- a/UI/WebServerResources/UIxMailEditor.css +++ b/UI/WebServerResources/UIxMailEditor.css @@ -157,11 +157,12 @@ UL#attachments margin: 0px; padding: 0px; height: 100%; - border-bottom: 1px solid #fff; - border-right: 1px solid #fff; - border-top: 2px solid #222; - border-left: 2px solid #222; - background-color: #fff; + border-bottom: 1px solid #eee; + border-right: 1px solid #eee; + border-top: 1px solid #222; + border-left: 1px solid #222; + background-color: #CCDDEC; + background-image: url("input_bg.gif"); -moz-border-top-colors: #9c9a94 #000 transparent; -moz-border-left-colors: #9c9a94 #000 transparent; list-style-type: none; diff --git a/UI/WebServerResources/UIxPreferences.css b/UI/WebServerResources/UIxPreferences.css index 7a24fdf14..f8eceeaa8 100644 --- a/UI/WebServerResources/UIxPreferences.css +++ b/UI/WebServerResources/UIxPreferences.css @@ -49,7 +49,7 @@ DIV.listWrapper background: #ccddec;} #calendarCategoriesListWrapper -{ top: 170px; +{ top: 210px; bottom: 30px; right: 2em; left: 2em; } @@ -106,7 +106,7 @@ SPAN.timeDateControl SPAN DIV#filtersListWrapper { bottom: 30px; right: 2em; - top: 174px; + top: 185px; left: 2em; } DIV#filtersListWrapper TD, @@ -149,9 +149,11 @@ P.infoMessage#passwordError bottom: 30px; left: 140px; padding: 0px; - padding-top: 5px; right: 5px; } +#mailAccountEditor dl +{ margin: 5px; } + #mailAccountsListWrapper { overflow-x: hidden; left: 5px; @@ -186,7 +188,7 @@ P.infoMessage#passwordError #userName, #password { width: 180px; } -#fullName, #email +#fullName, #email, #replyTo { width: 180px; } #actSignature diff --git a/UI/WebServerResources/generic.css b/UI/WebServerResources/generic.css index f5597e9d4..6897de86a 100644 --- a/UI/WebServerResources/generic.css +++ b/UI/WebServerResources/generic.css @@ -18,7 +18,10 @@ BODY overflow: hidden; } HR -{ height: 0px; } +{ height: 0; +border: 0; +border-top: 1px solid #ddd; +border-bottom: 1px solid #eee; } TABLE, DIV, IMG { font-family: inherit; @@ -28,7 +31,7 @@ TABLE, DIV, IMG padding: 0px; } FIELDSET -{ border: 1px solid #999; +{ border: 1px solid #aaa; margin-bottom: 2px; } IMG#progressIndicator @@ -191,6 +194,8 @@ SELECT margin: 2px; padding-right: 1px; background-color: #CCDDEC; + border: 1px solid #999; + border-radius: 4px; color: #262B33; } DIV.contactSelector DIV.contactList @@ -684,9 +689,10 @@ INPUT[disabled], INPUT[readonly], SELECT[disabled], SELECT[readonly], TEXTAREA[disabled], TEXTAREA[readonly] { background: #E6E7E6; + border-color: #ccc; color: #9ABCD8; } -INPUT[type="text"], INPUT[type="password"], INPUT[type="file"] +INPUT[type="text"], INPUT[type="password"], INPUT[type="file"], TEXTAREA { background: url("input_bg.gif"); } TEXTAREA @@ -782,6 +788,34 @@ A.disabled.button:active SPAN { background-position: top left; padding: 5px 2px 5px 5px; } +dt, dd { + line-height: 20px; +} +dd { + margin-left: 9px; +} +.dl-horizontal dt { + float: left; + width: 150px; + overflow: hidden; + clear: left; + text-align: right; + text-overflow: ellipsis; + white-space: nowrap; +} +.dl-horizontal dd { + margin-left: 160px; +} + +.dl-horizontal ul { + list-style-type: none; + margin: 0px; + padding-left: 0px; +} +.dl-horizontal li { + margin-left: 0; +} + /* Frames */ TABLE.frame, TABLE.framenocaption diff --git a/UI/WebServerResources/iefixes.css b/UI/WebServerResources/iefixes.css index a38507ed3..3c1b94ea4 100644 --- a/UI/WebServerResources/iefixes.css +++ b/UI/WebServerResources/iefixes.css @@ -215,6 +215,10 @@ DIV#uploadResults P DIV#filtersListWrapper { overflow-x: hidden; } +dl.dl-horizontal +{ margin-top: 2px; + margin-bottom: 2px; } + TABLE#filtersList { width: auto; }