From 3ce6f6bb88aee51f46f5d700575941d8a6d5f57d Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Thu, 2 Apr 2009 20:03:10 +0000 Subject: [PATCH] fix displaying the "Browse..." button next to the file upload field --- deluge/ui/web/css/deluge.css | 9 --------- deluge/ui/web/css/ext-all.css | 3 ++- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/deluge/ui/web/css/deluge.css b/deluge/ui/web/css/deluge.css index 9fc3d8b66..392232b94 100644 --- a/deluge/ui/web/css/deluge.css +++ b/deluge/ui/web/css/deluge.css @@ -96,15 +96,6 @@ input { background: url('/icons/add.png') no-repeat 2px; } -/*.x-deluge-add-file { - background: url('/icons/add_file.png'); - padding-left: 20px; -}*/ - -.x-form-file-wrap, .x-form-file { - cursor: pointer; -} - /* Add Url Window */ .x-deluge-add-file, .x-btn .x-deluge-add-file { background: url('/icons/add_file.png') no-repeat 2px; diff --git a/deluge/ui/web/css/ext-all.css b/deluge/ui/web/css/ext-all.css index eb97ddc0a..7e717caf0 100644 --- a/deluge/ui/web/css/ext-all.css +++ b/deluge/ui/web/css/ext-all.css @@ -65,8 +65,9 @@ html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,bloc opacity: 0; z-index: 2; height: 22px; + cursor: pointer; } -.x-form-file-wrap .x-form-file-btn { +.x-form-file-wrap .x-btn { position: absolute; right: 0; z-index: 1;