Sha256: 1abbd1e33a8252943bd98069bba2f954fb5eb13d1c594ca0708e0191ad33a5b3

Contents?: true

Size: 1.64 KB

Versions: 17

Compression:

Stored size: 1.64 KB

Contents

/* -------------------------------------------------------------- 
   
   forms.css
   * Sets up some default styling for forms
   * Gives you classes to enhance your forms
   
   Usage:
   * For text fields, use class .title or .text
   
-------------------------------------------------------------- */

label { font-weight: bold; }


/* Fieldsets */
fieldset    { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
legend      { font-weight: bold; font-size:1.2em; }

/* Text fields */
input.text, input.title   { width: 300px; margin:0.5em 0.5em 0.5em 0; }
input.text, input.title   { border:1px solid #bbb; background:#f6f6f6; padding:5px; }
input.text:focus,
input.title:focus         { border:1px solid #999; background:#fff; }
input.title               { font-size:1.5em; }

/* Textareas */
textarea            { width: 400px; height: 250px; margin:0.5em 0.5em 0.5em 0; }
textarea            { border:1px solid #bbb; background:#eee; padding:5px; }
textarea:focus      { border:1px solid #999; background:#fff; }

/* Select fields */
select              { border:1px solid #ccc; background:#f6f6f6; width:200px; }
select:focus        { border:1px solid #999; background:#fff; }


/* Success, error & notice boxes for messages and errors. */
.error,
.notice, 
.success    { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd; }
.error      { background: #FBE3E4; color: #D12F19; border-color: #FBC2C4; }
.notice     { background: #FFF6BF; color: #817134; border-color: #FFD324; }
.success    { background: #E6EFC2; color: #529214; border-color: #C6D880; }
.error a    { color: #D12F19; }
.notice a   { color: #817134; }
.success a  { color: #529214; }

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
Shazburg-webby-0.9.0 examples/website/content/css/blueprint/lib/forms.css
TwP-webby-0.9.0 examples/website/content/css/blueprint/lib/forms.css
TwP-webby-0.9.1 examples/website/content/css/blueprint/lib/forms.css
TwP-webby-0.9.2 examples/website/content/css/blueprint/lib/forms.css
TwP-webby-0.9.3 examples/website/content/css/blueprint/lib/forms.css
webby-0.7.3 data/content/css/blueprint/lib/forms.css
webby-0.7.2 data/content/css/blueprint/lib/forms.css
webby-0.8.0 data/content/css/blueprint/lib/forms.css
webby-0.7.4 data/content/css/blueprint/lib/forms.css
webby-0.8.3 data/content/css/blueprint/lib/forms.css
webby-0.8.1 data/content/css/blueprint/lib/forms.css
webby-0.8.4 data/content/css/blueprint/lib/forms.css
webby-0.8.2 data/content/css/blueprint/lib/forms.css
webby-0.9.1 examples/website/content/css/blueprint/lib/forms.css
webby-0.9.0 examples/website/content/css/blueprint/lib/forms.css
webby-0.9.2 examples/website/content/css/blueprint/lib/forms.css
webby-0.9.3 examples/website/content/css/blueprint/lib/forms.css