summaryrefslogtreecommitdiff
path: root/stylesheets/style.css
diff options
context:
space:
mode:
authormarktaiwan <mark.taiwan@gmail.com>2015-03-18 18:44:47 +0800
committerczaks <marcin@6irc.net>2015-03-31 05:54:07 +0200
commit3bd7f94861e9a2a8b9a7f8f972f04eb6eaa45453 (patch)
tree444c9baece49201c56f0b5e466b8896f596538ed /stylesheets/style.css
parentd7f82c58fdcae697d41330085b86cc39a60bf1d9 (diff)
Fallback for browsers that disables javascript
Conflicts: stylesheets/style.css templates/post_form.html
Diffstat (limited to 'stylesheets/style.css')
-rw-r--r--stylesheets/style.css81
1 files changed, 81 insertions, 0 deletions
diff --git a/stylesheets/style.css b/stylesheets/style.css
index e0ce08c5..56140561 100644
--- a/stylesheets/style.css
+++ b/stylesheets/style.css
@@ -959,3 +959,84 @@ span.pln {
cursor: pointer;
}
+#youtube-size input {
+ width: 50px;
+}
+
+/* File selector */
+.dropzone {
+ color: #000;
+ cursor: default;
+ margin: auto;
+ padding: 0px 4px;
+ text-align: center;
+ min-height: 50px;
+ max-height: 140px;
+ transition: 0.2s;
+ background-color: rgba(200, 200, 200, 0.5);
+ overflow-y: auto;
+}
+.dropzone-wrap {
+ width: 100%;
+}
+.dropzone .file-hint {
+ color: rgba(0, 0, 0, 0.5);
+ cursor: pointer;
+ position: relative;
+ margin-bottom: 5px;
+ padding: 10px 0px;
+ top: 5px;
+ transition: 0.2s;
+ border: 2px dashed rgba(125, 125, 125, 0.4);
+}
+.file-hint:hover, .dropzone.dragover .file-hint {
+ color: rgba(0, 0, 0, 1);
+ border-color: rgba(125, 125, 125, 0.8);
+}
+.dropzone.dragover {
+ background-color: rgba(200, 200, 200, 1);
+}
+.dropzone .file-thumbs {
+ text-align: left;
+ width: 100%;
+}
+.dropzone .tmb-container {
+ padding: 3px;
+ overflow-x: hidden;
+ white-space: nowrap;
+}
+.dropzone .file-tmb {
+ height: 40px;
+ width: 70px;
+ cursor: pointer;
+ display: inline-block;
+ text-align: center;
+ background-color: rgba(187, 187, 187, 0.5);
+ background-size: cover;
+ background-position: center;
+}
+.dropzone .file-tmb span {
+ font-weight: 600;
+ position: relative;
+ top: 13px;
+}
+.dropzone .tmb-filename {
+ display: inline-block;
+ vertical-align: bottom;
+ bottom: 12px;
+ position: relative;
+ margin-left: 5px;
+}
+.dropzone .remove-btn {
+ cursor: pointer;
+ color: rgba(125, 125, 125, 0.5);
+ display: inline-block;
+ vertical-align: bottom;
+ bottom: 10px;
+ position: relative;
+ margin-right: 5px;
+ font-size: 20px
+}
+.dropzone .remove-btn:hover {
+ color: rgba(125, 125, 125, 1);
+}