AdminLTE/less/forms.less
Abdullah Almsaeed b2a34fdcd3 Redesign
Redesigned from top to bottom
2014-02-01 10:49:36 -05:00

73 lines
1.3 KiB
Plaintext

/*
All form elements including input, select, textarea etc.
-----------------------------------------------------------------
*/
&.form-control {
.border-radius(@input-radius)!important;
box-shadow: none;
&:focus {
border-color: @light-blue !important;
box-shadow: none;
}
}
.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-btn > .btn {
}
.input-group-addon {
border-radius: 0;
background-color: #f4f4f4;
}
}
/* button groups */
.btn-group-vertical {
.btn {
&.btn-flat:first-of-type, &.btn-flat:last-of-type {
border-radius: 0;
}
}
}
/* Checkbox and radio inputs */
.checkbox, .radio {
padding-left: 0;
}