From bcd3d1116c65de257329a13862ffbad59008325d Mon Sep 17 00:00:00 2001 From: Tom Needham Date: Fri, 21 Sep 2012 12:45:11 +0000 Subject: [PATCH] Change background colour of upload button to be consistant with new button --- apps/files/css/files.css | 2 +- apps/files/templates/index.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/files/css/files.css b/apps/files/css/files.css index 717951c70e9..566ae39f92c 100644 --- a/apps/files/css/files.css +++ b/apps/files/css/files.css @@ -13,7 +13,7 @@ .file_upload_wrapper { font-weight:bold; display:-moz-inline-box; /* fallback for older firefox versions*/ display:inline-block; padding-left:0; overflow:hidden; position:relative; margin:0;} .file_upload_wrapper .file_upload_button_wrapper { position:absolute; top:0; left:0; width:100%; height:100%; cursor:pointer; z-index:1000; } #new { background-color:#5bb75b; float:left; border-top-right-radius:0; border-bottom-right-radius:0; margin:0 0 0 1em; border-right:none; z-index:1010; height:1.3em; } -#new:hover { background-color:#4b964b; } +#new:hover, a.file_upload_button_wrapper:hover + button.file_upload_filename { background-color:#4b964b; } #new.active { border-bottom-left-radius:0; border-bottom:none; } #new>a { padding:.5em 1.2em .3em; color:#fff; text-shadow:0 1px 0 #51a351; } #new>ul { display:none; position:fixed; text-align:left; padding:.5em; background:#f8f8f8; margin-top:0.075em; border:1px solid #ddd; min-width:7em; margin-left:-.5em; z-index:-1; } diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php index dfd681c2a7c..aff484f0a7a 100644 --- a/apps/files/templates/index.php +++ b/apps/files/templates/index.php @@ -16,9 +16,9 @@ - - + +