Skip to content

Commit 2bed989

Browse files
committed
Inputs
1 parent ad66289 commit 2bed989

File tree

2 files changed

+84
-0
lines changed

2 files changed

+84
-0
lines changed

bootstrap/css/multiloquent/style.css

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,52 @@ body {
193193
.nav-pills > li.active > span:hover {
194194
background-color: #2572a9;
195195
}
196+
/* ---- inputs ---- */
197+
.has-warning .help-block,
198+
.has-warning .control-label,
199+
.has-warning .radio,
200+
.has-warning .checkbox,
201+
.has-warning .radio-inline,
202+
.has-warning .checkbox-inline {
203+
color: #ffcc00;
204+
}
205+
.has-warning .form-control {
206+
border-color: #ffcc00;
207+
}
208+
.has-warning .form-control:focus {
209+
border-color: #ffcc00;
210+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 6px #ffcc00;
211+
}
212+
.has-success .help-block,
213+
.has-success .control-label,
214+
.has-success .radio,
215+
.has-success .checkbox,
216+
.has-success .radio-inline,
217+
.has-success .checkbox-inline {
218+
color: #4cd964;
219+
}
220+
.has-success .form-control {
221+
border-color: #4cd964;
222+
}
223+
.has-success .form-control:focus {
224+
border-color: #4cd964;
225+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 6px #4cd964;
226+
}
227+
.has-danger .help-block,
228+
.has-danger .control-label,
229+
.has-danger .radio,
230+
.has-danger .checkbox,
231+
.has-danger .radio-inline,
232+
.has-danger .checkbox-inline {
233+
color: #ff3b30;
234+
}
235+
.has-danger .form-control {
236+
border-color: #ff3b30;
237+
}
238+
.has-danger .form-control:focus {
239+
border-color: #ff3b30;
240+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 6px #ff3b30;
241+
}
196242
/* ---- ---- */
197243
.navbar h2 {
198244
float: left;

bootstrap/less/multiloquent/style.less

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,44 @@ body {
233233
}
234234
}
235235

236+
/* ---- inputs ---- */
237+
.has-warning {
238+
.help-block, .control-label, .radio, .checkbox, .radio-inline, .checkbox-inline {
239+
color: @warning-color;
240+
}
241+
.form-control {
242+
border-color: @warning-color;
243+
&:focus {
244+
border-color: @warning-color;
245+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 6px @warning-color;
246+
}
247+
}
248+
}
249+
.has-success {
250+
.help-block, .control-label, .radio, .checkbox, .radio-inline, .checkbox-inline {
251+
color: @success-color;
252+
}
253+
.form-control {
254+
border-color: @success-color;
255+
&:focus {
256+
border-color: @success-color;
257+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 6px @success-color;
258+
}
259+
}
260+
}
261+
.has-danger {
262+
.help-block, .control-label, .radio, .checkbox, .radio-inline, .checkbox-inline {
263+
color: @danger-color;
264+
}
265+
.form-control {
266+
border-color: @danger-color;
267+
&:focus {
268+
border-color: @danger-color;
269+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 6px @danger-color;
270+
}
271+
}
272+
}
273+
236274
/* ---- ---- */
237275

238276
.navbar{

0 commit comments

Comments
 (0)