update security handling for user namespace
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
// 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'; }
|
||||
}
|
||||
Reference in New Issue
Block a user