52 lines
1.2 KiB
Plaintext
52 lines
1.2 KiB
Plaintext
// require 'twitter/bootstrap/bootstrap'
|
|
@import "twitter/bootstrap/variables";
|
|
@import "twitter/bootstrap/mixins";
|
|
@import "twitter/bootstrap/alerts";
|
|
@import "twitter/bootstrap/buttons";
|
|
@import "twitter/bootstrap/forms";
|
|
.devise {
|
|
br { display:none; }
|
|
// Copied from forms.less's legend
|
|
> h2, > h3 {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 0;
|
|
margin-bottom: @baseLineHeight * 1.5;
|
|
font-size: @baseFontSize * 1.5;
|
|
line-height: @baseLineHeight * 2;
|
|
color: @grayDark;
|
|
border: 0;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
> h2, >h3 {
|
|
margin-bottom: @baseLineHeight;
|
|
}
|
|
form {
|
|
// Base form styles
|
|
margin:0;
|
|
label[for=user_remember_me] { display: inline; }
|
|
input[type=submit] {
|
|
.btn-primary;
|
|
.btn-large;
|
|
margin:6px 0;
|
|
}
|
|
i { display: block; }
|
|
// Errors
|
|
#error_explanation {
|
|
h2 {
|
|
line-height: @baseLineHeight;
|
|
font-size: 14px;
|
|
.alert-error;
|
|
}
|
|
ul { margin-bottom: 0; }
|
|
.alert;
|
|
.alert-error;
|
|
}
|
|
.field_with_errors {
|
|
.control-group .error;
|
|
}
|
|
}
|
|
a:last-of-type:after { content: ''; }
|
|
a:after { content: '\0020\007c'; }
|
|
}
|