From c39244aeb68a93dcee1e1fc317aab70f8b13e8ce Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 2 Oct 2011 12:35:27 +0300 Subject: [PATCH] Web UI: Cosmetic improvements to preferences --- src/webui/css/style.css | 45 ++- src/webui/html/filters.html | 2 +- src/webui/html/preferences_content.html | 354 ++++++++++++------------ src/webui/html/upload.html | 1 - 4 files changed, 220 insertions(+), 182 deletions(-) diff --git a/src/webui/css/style.css b/src/webui/css/style.css index 64f2587ec..7ecdb71af 100644 --- a/src/webui/css/style.css +++ b/src/webui/css/style.css @@ -1,8 +1,8 @@ /* Reset */ -ul,ol,dl,li,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input,object,iframe { margin: 0; padding: 0; } +/*ul,ol,dl,li,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input,object,iframe { margin: 0; padding: 0; }*/ a img,:link img,:visited img { border: none; } -table { border-collapse: collapse; border-spacing: 0; } +/*table { border-collapse: collapse; border-spacing: 0; }*/ :focus { outline: none; } /* Structure */ @@ -294,11 +294,46 @@ fieldset.settings { border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; - padding: 4px; + padding: 4px 4px 4px 10px; } fieldset.settings legend { - margin-left: 8px; + margin-left: 8px; padding: 4px; - font-weight: bold; + font-weight: bold; +} + +fieldset.settings label { + padding: 2px; +} + +fieldset.settings .leftLabelSmall { + width: 5em; + float: left; + text-align: right; + margin-right: 0.5em; + display: block; +} + +fieldset.settings .leftLabelLarge { + width: 14em; + float: left; + text-align: right; + margin-right: 0.5em; + display: block; } + +div.formRow { + clear: left; + display: block; +} + +ul.filterList { + margin: 0 0 0 16px; + padding-left: 0; +} + +ul.filterList li { + padding-top: 2px +} + diff --git a/src/webui/html/filters.html b/src/webui/html/filters.html index 1461d989d..e0791fe83 100644 --- a/src/webui/html/filters.html +++ b/src/webui/html/filters.html @@ -1,4 +1,4 @@ -