navigation for languages modifed, flags deleted. Content index changed
3 // --------------------------------------------------
6 // -------------------------
8 position: relative; // For dropdowns
10 border-collapse: separate; // prevent input groups from inheriting border styles from table cells when placed within a table
12 // Undo padding and float of grid classes
27 // Remix the default form control sizing classes into new ones for easier
30 .input-group-lg > .form-control,
31 .input-group-lg > .input-group-addon,
32 .input-group-lg > .input-group-btn > .btn { .input-lg(); }
33 .input-group-sm > .form-control,
34 .input-group-sm > .input-group-addon,
35 .input-group-sm > .input-group-btn > .btn { .input-sm(); }
38 // Display as table-cell
39 // -------------------------
42 .input-group .form-control {
45 &:not(:first-child):not(:last-child) {
49 // Addon and addon wrapper for buttons
54 vertical-align: middle; // Match the inputs
58 // -------------------------
60 padding: @padding-base-vertical @padding-base-horizontal;
61 font-size: @font-size-base;
66 background-color: @input-group-addon-bg;
67 border: 1px solid @input-group-addon-border-color;
68 border-radius: @border-radius-base;
72 padding: @padding-small-vertical @padding-small-horizontal;
73 font-size: @font-size-small;
74 border-radius: @border-radius-small;
77 padding: @padding-large-vertical @padding-large-horizontal;
78 font-size: @font-size-large;
79 border-radius: @border-radius-large;
82 // Nuke default margins from checkboxes and radios to vertically center within.
84 input[type="checkbox"] {
89 // Reset rounded corners
90 .input-group .form-control:first-child,
91 .input-group-addon:first-child,
92 .input-group-btn:first-child > .btn,
93 .input-group-btn:first-child > .dropdown-toggle,
94 .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
95 .border-right-radius(0);
97 .input-group-addon:first-child {
100 .input-group .form-control:last-child,
101 .input-group-addon:last-child,
102 .input-group-btn:last-child > .btn,
103 .input-group-btn:last-child > .dropdown-toggle,
104 .input-group-btn:first-child > .btn:not(:first-child) {
105 .border-left-radius(0);
107 .input-group-addon:last-child {
111 // Button input groups
112 // -------------------------
117 // Negative margin to only have a 1px border between the two
118 &:first-child > .btn {
121 &:last-child > .btn {
125 .input-group-btn > .btn {
127 // Jankily prevent input button groups from wrapping
131 // Bring the "active" button to the front