/* Rules for the log in page */
-#login_openid_buttons {
+#login_auth_buttons {
margin-bottom: 0;
}
-#login_openid_buttons li {
+#login_auth_buttons li {
float: left;
padding: $lineheight/4 $lineheight/2;
}
/* Rules for "flash" notice boxes shown at the top of the content area */
-.error {
+.flash {
padding: $lineheight;
- background-color: #ff7070;
-}
-.warning {
- padding: $lineheight;
- background-color: #ffe0cc;
-}
+ &.error {
+ background-color: #ff7070;
+ }
-.notice {
- padding: $lineheight;
- background-color: #CBEEA7;
+ &.warning {
+ background-color: #ffe0cc;
+ }
+
+ &.notice {
+ background-color: #CBEEA7;
+ }
+
+ div.message {
+ display: inline-block;
+ margin-left: $lineheight / 2;
+ vertical-align: middle;
+ }
}
/* Rules for highlighting fields with rails validation errors */
input[type="url"],
input[type="password"],
textarea {
+ color: #222;
background-color: #fff;
border: 1px solid #ccc;
padding: 2px 5px;