diff options
author | Chad Kieffer <ckieffer@gmail.com> | 2009-10-20 21:35:35 -0600 |
---|---|---|
committer | Chad Kieffer <ckieffer@gmail.com> | 2009-10-20 21:35:35 -0600 |
commit | 3ac9e84e200dc2c883a080bbdc834bbd4355255c (patch) | |
tree | 6f6a14f687a7a6f3d2249d8aeffb05c8a2f6918d /themes | |
parent | 5d66416b267eafd822d570c74f1c0f3368b61fd9 (diff) |
Move basic form styles from wind themes to gallery.common.css.
Diffstat (limited to 'themes')
-rw-r--r-- | themes/admin_wind/css/screen.css | 101 | ||||
-rw-r--r-- | themes/wind/css/screen.css | 106 |
2 files changed, 0 insertions, 207 deletions
diff --git a/themes/admin_wind/css/screen.css b/themes/admin_wind/css/screen.css index 74323067..7c0149c8 100644 --- a/themes/admin_wind/css/screen.css +++ b/themes/admin_wind/css/screen.css @@ -114,107 +114,6 @@ th { white-space: nowrap; } -/* Forms ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ - -fieldset { - border: 1px solid #ccc; - padding-bottom: .8em; -} - -#g-header fieldset, -#g-sidebar fieldset { - border: none; -} - -legend { - font-weight: bold; - margin-left: 1em; -} - -#g-header legend, -#g-sidebar legend, -#g-content #g-search-form legend, -input[type="hidden"] { - display: none; -} - -label { - cursor: help; -} - -input[type="text"], -input[type="password"] { - width: 50%; -} - -input[type="text"], -input[type="password"], -textarea { - border: 1px solid #e8e8e8; - border-top-color: #ccc; - border-left-color: #ccc; - color: #333; -} - -textarea { - width: 100%; - height: 12em; -} - -input:focus, -textarea:focus, -option:focus { - background-color: #ffc; - color: #000; -} - -/* Form layout ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ - -form li { - margin: 0 !important; - padding: .3em 1.5em .3em 1em; -} - -form ul ul { - clear: both; -} - -form ul ul li { - float: left; -} - -input, -select, -textarea { - display: block; - clear: both; - padding: .2em; -} - -input[type="submit"], -input[type="reset"] { - display: inline; - clear: none; - float: left; -} - -/* Form validation ~~~~~~~~~~~~~~~~~~~~~~~ */ - -form.g-error input[type="text"], -li.g-error input[type="text"], -form.g-error input[type="password"], -li.g-error input[type="password"], -form.g-error input[type="checkbox"], -li.g-error input[type="checkbox"], -form.g-error input[type="radio"], -li.g-error input[type="radio"], -form.g-error textarea, -li.g-error textarea, -form.g-error select, -li.g-error select { - border: 2px solid red; -} - /** ******************************************************************* * 2) Reusable content blocks *********************************************************************/ diff --git a/themes/wind/css/screen.css b/themes/wind/css/screen.css index d7eb19e6..d4fdcade 100644 --- a/themes/wind/css/screen.css +++ b/themes/wind/css/screen.css @@ -118,112 +118,6 @@ td { vertical-align: top; } -/* Forms ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ - -#g-sidebar form { - padding-left: 0; - padding-right: 0; -} - -fieldset { - border: 1px solid #ccc; - padding: .8em 1em !important; -} - -#g-banner fieldset, -#g-sidebar fieldset { - border: none; -} - -legend { - font-weight: bold; - margin-left: .8em; -} - -#g-banner legend, -#g-sidebar legend, -#g-content #g-search-form legend, -input[type="hidden"] { - display: none; -} - -label { - cursor: help; -} - -input[type="text"], -input[type="password"] { - width: 50%; -} - -input[type="text"], -input[type="password"], -textarea { - border: 1px solid #e8e8e8; - border-top-color: #ccc; - border-left-color: #ccc; - color: #333; -} - -textarea { - width: 100%; - height: 12em; -} - -input:focus, -textarea:focus, -option:focus { - background-color: #ffc; - color: #000; -} - -/* Form layout ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ - -form li { - margin: 0 !important; - padding: .3em 0; -} - -form ul ul { - clear: both; -} - -form ul ul li { - float: left; -} - -input, -select, -textarea { - display: block; - clear: both; - padding: .2em; -} - -input[type="submit"], -input[type="reset"] { - display: inline; - clear: none; - float: left; -} - -/* Form validation ~~~~~~~~~~~~~~~~~~~~~~~ */ - -form.g-error input[type="text"], -li.g-error input[type="text"], -form.g-error input[type="password"], -li.g-error input[type="password"], -form.g-error input[type="checkbox"], -li.g-error input[type="checkbox"], -form.g-error input[type="radio"], -li.g-error input[type="radio"], -form.g-error textarea, -li.g-error textarea, -form.g-error select, -li.g-error select { - border: 2px solid red; -} - /** ******************************************************************* * 2) Reusable content blocks *********************************************************************/ |