Skip to content
forms.css 2.69 KiB
Newer Older
.form-radios /* Wrapper for a form element (or group of form elements) and its label */ {
.form-item select.error /* Highlight the form elements that caused a form submission error */ {
.form-item label /* The label for a form element */ {
.form-item label.option /* The label for a radio button or checkbox */ {
.form-required /* The part of the label that indicates a required field */ {
.form-item .description /* The descriptive help text (separate from the label) */ {
.form-checkboxes .form-item,
.form-radios .form-item /* Pack groups of checkboxes and radio buttons closer together */ {
.form-submit /* The submit button */ {
.container-inline div,
.container-inline label /* Inline labels and form divs */ {
.tips /* Tips for Drupal's input formats */ {
#search-box /* Wrapper for the search form */ {
#edit-search-theme-form-1-wrapper label /* Label that says "Search this site:" */ {
/*
 * Search (search-block-form.tpl.php)
 */
#search-block-form /* Wrapper for the search form */ {
#edit-search-block-form-1-wrapper label /* Label that says "Search this site:" */ {
  text-align: left; /* LTR */
}


/*
 * OpenID
 *
 * The default styling for the OpenID login link seems to assume Garland's
 * styling of list items.
 */

#user-login-form ul /* OpenID creates a new ul above the login form's links. */ {
  margin-bottom: 0; /* Position OpenID's ul next to the rest of the links. */
}

#user-login-form li.openid-link /* The "Log in using OpenID" link. */ {
  margin-left: -20px; /* LTR */ /* Un-do some of the padding on the ul list. */
#user-login-form li.user-link /* The "Cancel OpenID login" link. */ {
#user-login li.openid-link,
#user-login li.user-link /* The OpenID links on the /user form. */ {
  margin-left: -2em; /* LTR */ /* Un-do all of the padding on the ul list. */
}


/*
 * Drupal admin tables
 *
 * We overrode these styles in html-elements.css, but restore them for the admin
 * section of the site.
 */

  text-align: left; /* LTR */
  padding-right: 1em; /* LTR */