Skip to content

Commit

Permalink
Workaround Webkit's terrible rendering of file inputs. Fixes #1458
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.habariproject.org/habari/trunk/htdocs/system@5129 653ae4dd-d31e-0410-96ef-6bf7bf53c507
  • Loading branch information
lildude committed May 25, 2011
1 parent 6c9b798 commit 9734e53
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions admin/css/admin.css
Expand Up @@ -1031,6 +1031,15 @@ body.page-publish .buttons input {
display:none;
}

/* Workaround Webkit's terrible rendering of file inputs on dark backgrounds */
@media screen and (-webkit-min-device-pixel-ratio:0) {
.media_panel input[type="file"] {
background-color: #F0F0F0;
padding: 2px;
-webkit-border-radius: 3px;
}
}

/*-- MEDIA ACTION DROPBUTTONS */

.mediaactions.dropbutton {
Expand Down

0 comments on commit 9734e53

Please sign in to comment.