|
51 | 51 | font-family: "FontAwesome";
|
52 | 52 | content: "\f00c";
|
53 | 53 | }
|
| 54 | +.checkbox input[type="checkbox"]:indeterminate + label::after, |
| 55 | +.checkbox input[type="radio"]:indeterminate + label::after { |
| 56 | + display: block; |
| 57 | + content: ""; |
| 58 | + width: 10px; |
| 59 | + height: 3px; |
| 60 | + background-color: #555555; |
| 61 | + border-radius: 2px; |
| 62 | + margin-left: -16.5px; |
| 63 | + margin-top: 7px; |
| 64 | +} |
54 | 65 | .checkbox input[type="checkbox"]:disabled + label,
|
55 | 66 | .checkbox input[type="radio"]:disabled + label {
|
56 | 67 | opacity: 0.65;
|
|
117 | 128 | color: #fff;
|
118 | 129 | }
|
119 | 130 |
|
| 131 | +.checkbox-primary input[type="checkbox"]:indeterminate + label::before, |
| 132 | +.checkbox-primary input[type="radio"]:indeterminate + label::before { |
| 133 | + background-color: #337ab7; |
| 134 | + border-color: #337ab7; |
| 135 | +} |
| 136 | + |
| 137 | +.checkbox-primary input[type="checkbox"]:indeterminate + label::after, |
| 138 | +.checkbox-primary input[type="radio"]:indeterminate + label::after { |
| 139 | + background-color: #fff; |
| 140 | +} |
| 141 | + |
| 142 | +.checkbox-danger input[type="checkbox"]:indeterminate + label::before, |
| 143 | +.checkbox-danger input[type="radio"]:indeterminate + label::before { |
| 144 | + background-color: #d9534f; |
| 145 | + border-color: #d9534f; |
| 146 | +} |
| 147 | + |
| 148 | +.checkbox-danger input[type="checkbox"]:indeterminate + label::after, |
| 149 | +.checkbox-danger input[type="radio"]:indeterminate + label::after { |
| 150 | + background-color: #fff; |
| 151 | +} |
| 152 | + |
| 153 | +.checkbox-info input[type="checkbox"]:indeterminate + label::before, |
| 154 | +.checkbox-info input[type="radio"]:indeterminate + label::before { |
| 155 | + background-color: #5bc0de; |
| 156 | + border-color: #5bc0de; |
| 157 | +} |
| 158 | + |
| 159 | +.checkbox-info input[type="checkbox"]:indeterminate + label::after, |
| 160 | +.checkbox-info input[type="radio"]:indeterminate + label::after { |
| 161 | + background-color: #fff; |
| 162 | +} |
| 163 | + |
| 164 | +.checkbox-warning input[type="checkbox"]:indeterminate + label::before, |
| 165 | +.checkbox-warning input[type="radio"]:indeterminate + label::before { |
| 166 | + background-color: #f0ad4e; |
| 167 | + border-color: #f0ad4e; |
| 168 | +} |
| 169 | + |
| 170 | +.checkbox-warning input[type="checkbox"]:indeterminate + label::after, |
| 171 | +.checkbox-warning input[type="radio"]:indeterminate + label::after { |
| 172 | + background-color: #fff; |
| 173 | +} |
| 174 | + |
| 175 | +.checkbox-success input[type="checkbox"]:indeterminate + label::before, |
| 176 | +.checkbox-success input[type="radio"]:indeterminate + label::before { |
| 177 | + background-color: #5cb85c; |
| 178 | + border-color: #5cb85c; |
| 179 | +} |
| 180 | + |
| 181 | +.checkbox-success input[type="checkbox"]:indeterminate + label::after, |
| 182 | +.checkbox-success input[type="radio"]:indeterminate + label::after { |
| 183 | + background-color: #fff; |
| 184 | +} |
| 185 | + |
120 | 186 | .radio {
|
121 | 187 | padding-left: 20px;
|
122 | 188 | }
|
|
0 commit comments