From a7c4a128d6a591f8c5f700a0bf99a0b6d4cd5301 Mon Sep 17 00:00:00 2001 From: Sara Tusar Date: Mon, 9 Jul 2012 11:22:11 +0200 Subject: [PATCH] MINOR form.css check, minor improvements --- css/form.css | 51 +++++++++++++++++++++++++++++------- css/layout.css | 25 +++--------------- templates/Includes/Footer.ss | 2 +- templates/Page.ss | 5 ++-- 4 files changed, 49 insertions(+), 34 deletions(-) diff --git a/css/form.css b/css/form.css index 2c31f8c..4c261a3 100644 --- a/css/form.css +++ b/css/form.css @@ -65,6 +65,12 @@ div.field { padding:10px; } +.middleColumn div.field { + padding-left:0; + padding-right:0; +} + + .ui-widget { font-family: Arial, Helvetica, sans-serif } @@ -102,9 +108,10 @@ form textarea, form .textajaxuniquetext, form select { width: 98%; - padding: 3px 1%; + padding: 6px 1%; font-size: 15px; background-color:#fff; + border: 1px solid #dad9d9; } form input.text:focus, @@ -120,7 +127,7 @@ form input.sitetreeurlsegment { form span.readonly { font-size: 16px } -form input[disabled] { +form input[disabled], form textarea[disabled] { background-color: #f7f7f7; border: 1px solid #dad9d9; } @@ -149,16 +156,42 @@ form .optionset li { } form .checkboxset li .checkbox, form .optionset li .radio{ - margin-top: 5px; + margin-top: 1px; } -input[type="submit"] { - border-radius:20px; - background-color:#b80000; - border:none; - color:#fff; - font-weight: bold; +a.btn, button, input[type="submit"] { + background: #b80000; + color: #fff; + display: inline-block; + border-radius: 4px; + padding: 6px 15px; + margin-top: 10px; + text-transform: uppercase; + letter-spacing: 1px; + border-bottom: none !important; font-size: 13px; + border:none; +} + +a.btn:hover, button, input[type="submit"]:hover { + background: #d80000; + color: #fff; +} + +button{ + background-color:#a4a4a4; +} + +.ss-uploadfield-item-info button{ + margin-top:4px !important; + float:left; +} + +a.btn:after { + content: '\2192'; + padding-left: 10px; + font-size: 14px; + font-family: Arial, Helvetica, sans-serif; } .resetformaction { diff --git a/css/layout.css b/css/layout.css index 994d9fa..ae907fc 100644 --- a/css/layout.css +++ b/css/layout.css @@ -34,28 +34,7 @@ body { a:link { -webkit-tap-highlight-color: #b80000 } -a.btn { - background: #b80000; - color: #fff; - display: inline-block; - border-radius: 4px; - padding: 6px 15px; - margin-top: 10px; - text-transform: uppercase; - letter-spacing: 1px; - border-bottom: none !important; - font-size: 13px; -} -a.btn:after { - content: '\2192'; - padding-left: 10px; - font-size: 14px; - font-family: Arial, Helvetica, sans-serif; -} -a.btn:hover { - background: #d80000; - color: #fff; -} + .content img.left, .content img.right { border: 5px solid #d7d7d7; max-width: 60%; @@ -170,6 +149,8 @@ content img.right { background: none; font-family: 'WebSymbolsRegular'; color: #848484; + border-radius:0; + margin-top:0; } .search-bar form input.action:hover { color: #000 diff --git a/templates/Includes/Footer.ss b/templates/Includes/Footer.ss index 754b99b..a3f7bb1 100644 --- a/templates/Includes/Footer.ss +++ b/templates/Includes/Footer.ss @@ -1,6 +1,6 @@ \ No newline at end of file diff --git a/templates/Page.ss b/templates/Page.ss index 3e1fe81..df8f1d4 100644 --- a/templates/Page.ss +++ b/templates/Page.ss @@ -1,7 +1,7 @@ @@ -11,7 +11,8 @@ Change it, enhance it and most importantly enjoy it! - + + <% base_tag %> <% if MetaTitle %>$MetaTitle<% else %>$Title<% end_if %> » $SiteConfig.Title