2014-01-23 16:17:16 +01:00
|
|
|
// needs @import "twitter/bootstrap/bootstrap";
|
|
|
|
|
|
|
|
form.delta-input, .delta-input form {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.delta-input {
|
|
|
|
|
|
|
|
.btn {
|
2015-11-18 22:35:23 +01:00
|
|
|
padding: 4px 0;
|
2014-01-23 16:17:16 +01:00
|
|
|
width: 24px;
|
|
|
|
vertical-align: middle;
|
2015-11-18 22:35:23 +01:00
|
|
|
font-size: 10px;
|
2014-01-23 16:17:16 +01:00
|
|
|
}
|
|
|
|
input[data-delta] {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
// handle error class outside of bootstrap controls
|
|
|
|
input[data-delta].error {
|
|
|
|
// relevant bootstrap portion of: .formFieldState(@errorText, @errorText, @errorBackground);
|
|
|
|
border-color: @errorText;
|
|
|
|
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
|
|
|
|
&:focus {
|
|
|
|
border-color: darken(@errorText, 10%);
|
|
|
|
@shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@errorText, 20%);
|
|
|
|
.box-shadow(@shadow);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|