about summary refs log tree commit diff
path: root/app/assets/stylesheets
diff options
context:
space:
mode:
authorMitchell Hentges <mitch9654@gmail.com>2017-01-03 00:36:48 -0800
committerMitchell Hentges <mitch9654@gmail.com>2017-01-03 00:43:45 -0800
commit4d300e2507c1f8f5aeebc1079eeddcad1edca4a5 (patch)
tree88a1715021c33add55501351dbf74950deeac481 /app/assets/stylesheets
parent3125dd8920af1b6e9847dc7cef79de108411656a (diff)
On file-drag, show a border around textarea
Diffstat (limited to 'app/assets/stylesheets')
-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 {