AdminLTE/build/less/forms.less

82 lines
1.3 KiB
Plaintext
Raw Normal View History

2015-02-01 22:25:09 +01:00
/*
* Component: Form
* ---------------
*/
2015-02-07 17:35:34 +01:00
.form-control {
2015-02-25 16:13:11 +01:00
.border-radius(@input-radius)!important;
2015-02-01 22:25:09 +01:00
box-shadow: none;
border-color: @gray;
&:focus {
border-color: @light-blue !important;
box-shadow: none;
}
&::-moz-placeholder {
color: #bbb;
opacity: 1;
}
&:-ms-input-placeholder {
color: #bbb;
}
&::-webkit-input-placeholder {
color: #bbb;
}
2015-02-25 16:13:11 +01:00
&:not(select) {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
2015-02-01 22:25:09 +01:00
}
.form-group {
&.has-success {
label {
color: @green;
}
.form-control {
border-color: @green !important;
box-shadow: none;
}
}
&.has-warning {
label {
color: @yellow;
}
.form-control {
border-color: @yellow !important;
box-shadow: none;
}
}
&.has-error {
label {
color: @red;
}
.form-control {
border-color: @red !important;
box-shadow: none;
}
}
}
/* Input group */
.input-group {
.input-group-addon {
.border-radius(@input-radius);
border-color: @gray;
background-color: #fff;
}
}
/* button groups */
.btn-group-vertical {
.btn {
&.btn-flat:first-of-type, &.btn-flat:last-of-type {
.border-radius(0);
}
}
}
2015-02-06 23:08:16 +01:00
.icheck > label {
2015-02-01 22:25:09 +01:00
padding-left: 0;
}