about summary refs log tree commit diff
path: root/app/assets/stylesheets/components.scss
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2017-01-03 12:59:21 +0100
committerGitHub <noreply@github.com>2017-01-03 12:59:21 +0100
commite6657d7342ee1ce08973bf1e5ab89e423eb8b760 (patch)
tree88a1715021c33add55501351dbf74950deeac481 /app/assets/stylesheets/components.scss
parent3125dd8920af1b6e9847dc7cef79de108411656a (diff)
parent4d300e2507c1f8f5aeebc1079eeddcad1edca4a5 (diff)
Merge pull request #386 from mitchhentges/file-drop-ui
On file-drag, show a border around textarea
Diffstat (limited to 'app/assets/stylesheets/components.scss')
-rw-r--r--app/assets/stylesheets/components.scss10
1 files changed, 8 insertions, 2 deletions
diff --git a/app/assets/stylesheets/components.scss b/app/assets/stylesheets/components.scss
index 290b370a9..832b9e9b1 100644
--- a/app/assets/stylesheets/components.scss
+++ b/app/assets/stylesheets/components.scss
@@ -549,13 +549,19 @@
   width: 100%;
   height: 100px;
   resize: none;
-  border: none;
   color: #282c37;
-  padding: 10px;
+  padding: 7px;
   font-family: 'Roboto';
   font-size: 14px;
   margin: 0;
   resize: vertical;
+
+  border: 3px dashed transparent;
+  transition: border-color 0.3s ease;
+
+  &.file-drop {
+    border-color: #aaa;
+  }
 }
 
 .autosuggest-textarea__suggestions {