update security handling for user namespace

This commit is contained in:
2012-11-22 15:47:28 +01:00
parent b9efc6e860
commit ef31958bd6
24 changed files with 634 additions and 64 deletions
+51
View File
@@ -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'; }
}