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 {
border: 2px solid #999;
background: #eee;
}
border: 1px solid #FCEEC1;
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;
@include box-shadow(2px, 2px, 2px, #ccc);
}

View File

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

View File

@@ -6,12 +6,13 @@ div#c-users {
margin-bottom: 0.5em;
}
div.input span.hint {
visibility: hidden;
div.input {
margin-bottom: 2em;
}
div.input:hover span.hint {
visibility: visible;
div.input span.hint {
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">
This post has been flagged for deletion: <%= post_flag_reasons(post) %>
</div>