style tweaks

This commit is contained in:
albert
2011-11-14 16:47:33 -05:00
parent b9db753164
commit eb58773089
5 changed files with 16 additions and 9 deletions

View File

@@ -6,6 +6,11 @@ div.ui-dialog {
} }
.ui-state-highlight { .ui-state-highlight {
border: 2px solid #999; border: 1px solid #FCEEC1;
background: #eee; background: #FDF5D9;
} }
.ui-state-error {
border: 1px solid #FBC7C6;
background: #FDDFDE;
}

View File

@@ -59,3 +59,4 @@ div#more-links {
padding: 0.2em 0.6em; padding: 0.2em 0.6em;
@include box-shadow(2px, 2px, 2px, #ccc); @include box-shadow(2px, 2px, 2px, #ccc);
} }

View File

@@ -22,12 +22,12 @@ form.simple_form {
display: block; display: block;
cursor: pointer; cursor: pointer;
font-weight: bold; font-weight: bold;
line-height: 1.5em;
} }
span.hint { span.hint {
color: #666; color: #666;
font-style: italic; font-style: italic;
margin-left: 1em;
} }
fieldset { fieldset {

View File

@@ -6,12 +6,13 @@ div#c-users {
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }
div.input span.hint { div.input {
visibility: hidden; margin-bottom: 2em;
} }
div.input:hover span.hint { div.input span.hint {
visibility: visible; display: block;
max-width: 30em;
} }
} }

View File

@@ -1,4 +1,4 @@
<% if (post.is_flagged? || post.is_deleted?) && post.flags.any? %> <% if true || (post.is_flagged? || post.is_deleted?) && post.flags.any? %>
<div class="ui-corner-all ui-state-highlight notice"> <div class="ui-corner-all ui-state-highlight notice">
This post has been flagged for deletion: <%= post_flag_reasons(post) %> This post has been flagged for deletion: <%= post_flag_reasons(post) %>
</div> </div>