/** * @file * Form Styling */ .form-item, .form-checkboxes, .form-radios { margin: 1em 0; } .form-item input.error, .form-item textarea.error, .form-item select.error { border: 2px solid #c00; } .form-item label { display: block; font-weight: bold; } .form-item label.option { display: inline; font-weight: normal; } .form-required { color: #c00; } .form-item .description { font-size: 0.85em; } .form-checkboxes .form-item, .form-radios .form-item { margin: 0.4em 0; } .form-submit { } .container-inline div, .container-inline label { display: inline; } .tips { } /* * Search (search-theme-form.tpl.php) */ #search-box { } #edit-search-theme-form-1-wrapper label { display: none; } /* * Search (search-block-form.tpl.php) */ #search-block-form { } #edit-search-block-form-1-wrapper label { display: none; } /* * Drupal's default login form block */ #user-login-form { text-align: left; } /* * OpenID * * The default styling for the OpenID login link seems to assume Garland's * styling of list items. */ #user-login-form ul { margin-bottom: 0; } #user-login-form li.openid-link { margin-top: 1em; margin-left: -20px; } #user-login-form li.user-link { margin-top: 1em; } #user-login ul { margin: 1em 0; } #user-login li.openid-link, #user-login li.user-link /* The OpenID links on the /user form. */ { margin-left: -2em; } /* * Drupal admin tables * * We overrode these styles in html-elements.css, but restore them for the admin * section of the site. */ form tbody { border-top: 1px solid #ccc; } form th, form thead th { text-align: left; padding-right: 1em; border-bottom: 3px solid #ccc; } form tbody th { border-bottom: 1px solid #ccc; }