summaryrefslogtreecommitdiffstats
path: root/web/sass-files
diff options
context:
space:
mode:
authorasaadmahmoodspin <asaad@battlehouse.com>2015-08-13 20:31:19 +0500
committerasaadmahmoodspin <asaad@battlehouse.com>2015-08-13 20:31:19 +0500
commit1a6d67b0cd82058cbf3a9d76c576958875833db7 (patch)
tree6905182695f62581523bb35764661b5bf007b28b /web/sass-files
parent6d9e715e265a3265841bc351e6b22a4503c20c92 (diff)
parent14c121dc0cccdd36f97b0b13cde6dd3a5802bb9e (diff)
downloadchat-1a6d67b0cd82058cbf3a9d76c576958875833db7.tar.gz
chat-1a6d67b0cd82058cbf3a9d76c576958875833db7.tar.bz2
chat-1a6d67b0cd82058cbf3a9d76c576958875833db7.zip
Merge pull request #5 from rgarmsen2295/mm-316
MM-316 Allows users to drag and drop files from their computer to the center pane or RHS to upload them
Diffstat (limited to 'web/sass-files')
-rw-r--r--web/sass-files/sass/partials/_files.scss15
-rw-r--r--web/sass-files/sass/partials/_post.scss23
-rw-r--r--web/sass-files/sass/partials/_post_right.scss23
3 files changed, 54 insertions, 7 deletions
diff --git a/web/sass-files/sass/partials/_files.scss b/web/sass-files/sass/partials/_files.scss
index 65775f01e..9bf6fd83a 100644
--- a/web/sass-files/sass/partials/_files.scss
+++ b/web/sass-files/sass/partials/_files.scss
@@ -194,11 +194,12 @@
border-right: 1px solid #ddd;
vertical-align: center;
- // helper to center the image icon in the preview window
- .file-details__preview-helper {
- height: 100%;
- display: inline-block;
- vertical-align: middle;
- }
- }
+ // helper to center the image icon in the preview window
+ .file-details__preview-helper {
+ height: 100%;
+ display: inline-block;
+ vertical-align: middle;
}
+ }
+}
+
diff --git a/web/sass-files/sass/partials/_post.scss b/web/sass-files/sass/partials/_post.scss
index 98b17120d..0af5c01e2 100644
--- a/web/sass-files/sass/partials/_post.scss
+++ b/web/sass-files/sass/partials/_post.scss
@@ -107,6 +107,29 @@ body.ios {
}
#post-list {
+ .center-file-overlay {
+ top: 0px;
+ height: 100%;
+ width: 59.7%;
+ position: fixed;
+ z-index: 2147483646;
+ -moz-box-shadow: 0px 0px 3px #8a8a8a;
+ -webkit-box-shadow: 0px 0px 3px #8a8a8a;
+ box-shadow: 0px 0px 3px #8a8a8a;
+
+ .invisible {
+ visibility: hidden;
+ }
+ .visible {
+ visibility: visible;
+ }
+ .center-file-help-text {
+
+ }
+ .center-file-help-picture {
+
+ }
+ }
.post-list-holder-by-time {
background: #fff;
overflow-y: scroll;
diff --git a/web/sass-files/sass/partials/_post_right.scss b/web/sass-files/sass/partials/_post_right.scss
index 4cf3e32a1..41b7aaada 100644
--- a/web/sass-files/sass/partials/_post_right.scss
+++ b/web/sass-files/sass/partials/_post_right.scss
@@ -1,5 +1,28 @@
.post-right__container {
+ .right-file-overlay {
+ height: 100%;
+ width: 100%;
+ position: fixed;
+ z-index: 2147483646;
+ -moz-box-shadow: 0px 0px 3px #8a8a8a;
+ -webkit-box-shadow: 0px 0px 3px #8a8a8a;
+ box-shadow: 0px 0px 3px #8a8a8a;
+
+ .invisible {
+ visibility: hidden;
+ }
+ .visible {
+ visibility: visible;
+ }
+ .right-file-help-text {
+
+ }
+ .right-file-help-picture {
+
+ }
+ }
+
.post-right-root-message {
padding: 1em 1em 0;
}