AdminLTE/less/forms.less

73 lines
1.3 KiB
Plaintext
Raw Normal View History

2014-02-01 16:49:36 +01:00
/*
All form elements including input, select, textarea etc.
-----------------------------------------------------------------
*/
2014-02-01 16:49:36 +01:00
&.form-control {
2014-02-01 16:49:36 +01:00
.border-radius(@input-radius)!important;
box-shadow: none;
2014-02-01 16:49:36 +01:00
&:focus {
border-color: @light-blue !important;
box-shadow: none;
}
}
.form-group {
2014-02-01 16:49:36 +01:00
&.has-success {
label {
color: @green;
}
.form-control {
border-color: @green !important;
box-shadow: none;
}
}
2014-02-01 16:49:36 +01:00
&.has-warning {
label {
color: @yellow;
}
.form-control {
border-color: @yellow !important;
box-shadow: none;
}
}
2014-02-01 16:49:36 +01:00
&.has-error {
label {
color: @red;
}
.form-control {
border-color: @red !important;
box-shadow: none;
}
}
}
2014-02-01 16:49:36 +01:00
/* Input group */
.input-group {
> .input-group-btn > .btn {
}
2014-02-01 16:49:36 +01:00
.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;
}
}
}
2014-02-01 16:49:36 +01:00
/* Checkbox and radio inputs */
.checkbox, .radio {
padding-left: 0;
}