// These are the generic stylings for forms of any type. // If you're styling something specific to the page editing interface, // it probably ought to go in layouts/page-editor.scss form { ul, li { list-style-type: none; } ul { margin: 0; padding: 0; } } fieldset { border: 0; padding: 0 0 2em; margin: 0; } legend { @include visuallyhidden(); } label, .label { text-transform: none; font-weight: bold; color: $color-grey-1; font-size: 1.1em; display: block; padding: 0 0 0.8em; margin: 0; line-height: 1.3em; .checkbox &, .radio & { display: inline; } &.no-float { float: none; } @include media-breakpoint-up(sm) { @include column(2); padding-top: 1.2em; padding-left: 0; .radio_select &, .model_multiple_choice_field &, .boolean_field &, .model_choice_field &, .image_field & { padding-top: 0; } // Horrid specificity war .model_choice_field.select & { padding-top: 1.2em; } } } input, textarea, select, .halloeditor, .tagit { appearance: none; box-sizing: border-box; border-radius: 6px; width: 100%; font-family: Open Sans,Arial,sans-serif; border: 1px solid $color-input-border; padding: 0.9em 1.2em; background-color: $color-fieldset-hover; color: $color-text-input; font-size: 1.2em; font-weight: 300; &:hover { background-color: $color-white; } &:focus { background-color: $color-input-focus; border-color: $color-input-focus-border; } &:disabled, &[disabled], &:disabled:hover, &[disabled]:hover { background-color: $color-grey-4; cursor: not-allowed; color: $color-grey-2; } } // Reset the arrow on `