• Home
  • Raw
  • Download

Lines Matching refs:form

8 // Restyle and baseline non-control form elements.
40 // Normalize form controls
42 // While most of our form styles require extra classes, some basic normalization
64 // Make range inputs behave like textual form controls
93 // Common form controls
95 // Shared size and type resets for form controls. Apply `.form-control` to any
96 // of the following form controls:
115 .form-control {
131 .form-control-focus();
163 // `.form-control` class can properly style them. Note that this cannot simply
164 // be added to `.form-control` as it's not specific enough. For details, see
204 .form-group {
205 margin-bottom: @form-group-margin-bottom;
291 // Static form control text
294 // a horizontal form layout.
296 .form-control-static {
297 // Size it appropriately next to real form controls
314 // Build on `.form-control` with modifier classes to decrease or increase the
315 // height and font-size of form controls.
317 // The `.form-group-* form-control` variations are sadly duplicated to avoid the
323 .form-group-sm {
324 .form-control {
327 .form-control-static {
339 .form-group-lg {
340 .form-control {
343 .form-control-static {
355 // Apply contextual and semantic states to individual form controls.
362 .form-control {
367 .form-control-feedback {
379 .input-lg + .form-control-feedback {
384 .input-sm + .form-control-feedback {
392 .form-control-validation(@state-success-text; @state-success-text; @state-success-bg);
395 .form-control-validation(@state-warning-text; @state-warning-text; @state-warning-bg);
398 .form-control-validation(@state-danger-text; @state-danger-text; @state-danger-bg);
404 & ~ .form-control-feedback {
407 &.sr-only ~ .form-control-feedback {
416 // below a form control. Use for general help, formatting, or instructional text.
428 // Make forms appear inline(-block) by adding the `.form-inline` class. Inline
432 // Requires wrapping inputs and labels with `.form-group` for proper display of
433 // default HTML form controls and our custom form controls (e.g., input groups).
435 // Heads up! This is mixin-ed into `.navbar-form` in navbars.less.
437 .form-inline {
442 .form-group {
448 // In navbar-form, allow folks to *not* use `.form-group`
449 .form-control {
451 width: auto; // Prevent labels from stacking above inputs in `.form-group`
456 .form-control-static {
466 .form-control {
472 .input-group > .form-control {
501 .has-feedback .form-control-feedback {
513 .form-horizontal {
533 // Make form groups behave like rows
534 .form-group {
539 // labels on narrow viewports stack the same as a default form example.
552 .has-feedback .form-control-feedback {
559 // inputs and labels within a `.form-group`.
560 .form-group-lg {
567 .form-group-sm {