summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-05-28 18:48:53 +0200
committerAleksander Machniak <alec@alec.pl>2014-05-28 18:48:53 +0200
commitbfa20e3867c35d06017777f51694556e0fea1f6d (patch)
treef86ef5bd908c2ad5a6d2cf010768d4691cafa4fd
parent283b1b2fa6b423ad6db4ca965a3035e50d3f6b8c (diff)
Hide droptarget image if drag-n-drop is not supported
-rw-r--r--skins/classic/common.css5
-rw-r--r--skins/larry/styles.css5
2 files changed, 8 insertions, 2 deletions
diff --git a/skins/classic/common.css b/skins/classic/common.css
index ddcf53a3a..bdc7501f3 100644
--- a/skins/classic/common.css
+++ b/skins/classic/common.css
@@ -1267,7 +1267,6 @@ fieldset.tabbed
border: 0;
border: 1px solid #FFF;
border-left: 1px solid #DDD;
- background: url(images/filedrop.png) center bottom no-repeat;
text-align: center;
padding-top: 10px;
}
@@ -1325,6 +1324,10 @@ fieldset.tabbed
vertical-align: middle;
}
+#image-selector-form.droptarget {
+ background: url(images/filedrop.png) center bottom no-repeat;
+}
+
#image-selector-form.droptarget.hover
{
background-color: #F0F0EE;
diff --git a/skins/larry/styles.css b/skins/larry/styles.css
index 61bf17d3e..6eceb772e 100644
--- a/skins/larry/styles.css
+++ b/skins/larry/styles.css
@@ -2741,7 +2741,6 @@ fieldset.tab {
border: 0;
border: 1px solid #FFF;
border-left: 1px solid #DDD;
- background: url(images/filedrop.png) center bottom no-repeat;
text-align: center;
padding-top: 10px;
}
@@ -2790,6 +2789,10 @@ fieldset.tab {
line-height: 80px;
}
+#image-selector-form.droptarget {
+ background: url(images/filedrop.png) center bottom no-repeat;
+}
+
#image-selector-form.droptarget.hover,
#image-selector-form.droptarget.active {
border: 1px solid #019bc6;