Skip to content

Commit

Permalink
MINOR Disabled styling for form fields in CMS
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Nov 14, 2011
1 parent d1ebe1c commit 4a2fe98
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions admin/css/screen.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions admin/scss/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,15 @@ form.nostyle {
}
}

input[disabled],
textarea[disabled],
select[disabled] {
color: lighten($color-text, 20%);
background: #efefef;
@include background-image(linear-gradient(darken(#efefef, 20%), #efefef 10%, #fff 90%, darken(#efefef, 20%)));
border: 1px solid lighten($color-medium-separator, 20%);
}

/* TreeDropdowns */
.TreeDropdownField {
padding: 0 14px 0 0;
Expand Down

0 comments on commit 4a2fe98

Please sign in to comment.