summaryrefslogtreecommitdiff
path: root/lib/tpl/default
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2011-09-25 21:07:55 +0100
committerAnika Henke <anika@selfthinker.org>2011-09-25 21:07:55 +0100
commit4ce531577ce9aaf635a80849d5b195e5c88eef41 (patch)
treed18de4cee6418ae57cd148b56e13a858f094038f /lib/tpl/default
parent6087dde90bed311b68f1999f55ac81fe78c63c2b (diff)
downloadrpg-4ce531577ce9aaf635a80849d5b195e5c88eef41.tar.gz
rpg-4ce531577ce9aaf635a80849d5b195e5c88eef41.tar.bz2
media manager: file uploader improvements
Diffstat (limited to 'lib/tpl/default')
-rw-r--r--lib/tpl/default/_fileuploader.css82
1 files changed, 41 insertions, 41 deletions
diff --git a/lib/tpl/default/_fileuploader.css b/lib/tpl/default/_fileuploader.css
index 9e60393a0..458267be0 100644
--- a/lib/tpl/default/_fileuploader.css
+++ b/lib/tpl/default/_fileuploader.css
@@ -1,20 +1,26 @@
+
.qq-uploader {
position: relative;
width: 100%;
}
+.qq-uploader .error {
+ color: #f00;
+ background-color: #fff;
+}
+
+/* select file button */
+
.qq-upload-button {
display: inline-block;
border: 1px solid __border__;
color: __text__;
- background-color: __background__;
+ background: __background__ url(images/buttonshadow.png) repeat-x bottom;
text-decoration: none;
font-size: 100%;
cursor: pointer;
- margin: 1px;
- margin-bottom: 5px;
+ margin: 1px 1px 5px;
padding: 0.125em 0.4em;
- background: __background__ url(images/buttonshadow.png) repeat-x bottom;
}
* html .qq-upload-button,
@@ -23,9 +29,11 @@
}
.qq-upload-button-focus {
- outline: 1px dotted black;
+ outline: 1px dotted;
}
+/* drop area */
+
.qq-upload-drop-area {
position: absolute;
top: 0;
@@ -35,15 +43,16 @@
min-height: 70px;
z-index: 2;
background: __background_neu__;
+ color: __text__;
text-align: center;
}
.qq-upload-drop-area span {
- display:block;
- position:absolute;
+ display: block;
+ position: absolute;
top: 50%;
- width:100%;
- margin-top:-8px;
+ width: 100%;
+ margin-top: -8px;
font-size: 120%;
}
@@ -51,8 +60,22 @@
background: __background_alt__;
}
-.qq-upload-file, .qq-upload-spinner, .qq-upload-size, .qq-upload-cancel, .qq-upload-failed-text {
- margin-right: 7px;
+/* list of files to upload */
+
+.qq-uploader li {
+ margin-bottom: 5px;
+ color: __text__;
+}
+
+.qq-uploader li span,
+.qq-uploader li input,
+.qq-uploader li a {
+ margin-right: 5px;
+}
+
+.qq-upload-file {
+ display: block;
+ font-weight: bold;
}
.qq-upload-spinner {
@@ -63,44 +86,21 @@
vertical-align: text-bottom;
}
-.qq-upload-size,.qq-upload-cancel {
+.qq-upload-size,
+.qq-upload-cancel {
font-size: 85%;
}
.qq-upload-failed-text {
- display:none;
+ display: none;
}
-
.qq-upload-fail .qq-upload-failed-text {
- display:inline;
-}
-
-.qq-upload-file {
- display: block;
- font-weight: bold;
-}
-
-.qq-upload-file-hidden {
- display:none;
+ display: inline;
}
-.qq-upload-cancel {
- padding-left: 10px;
+.qq-action-container * {
+ vertical-align: middle;
}
-
-.qq-uploader .dw__ow {
+.qq-overwrite-check input {
margin-left: 10px;
- margin-right: 3px;
-}
-
-.qq-uploader .check {
- line-height: 18px;
-}
-
-.qq-uploader #mediamanager__upload_button {
- margin-bottom: 10px;
}
-
-.qq-uploader div.li {
- margin-bottom: 5px;
-} \ No newline at end of file