diff options
author | Mika Andrianarijaona <mikaoelitiana@users.noreply.github.com> | 2017-01-19 00:00:21 +0300 |
---|---|---|
committer | enahum <nahumhbl@gmail.com> | 2017-01-18 18:00:21 -0300 |
commit | 9eb57278413d4a4417e574f2bddb5bc0b2807d14 (patch) | |
tree | 3316c7482c24a7f47e994b42d8e7332002359592 /webapp/sass/layout | |
parent | e15ae2253a15c7951c31ce0a2f9eea188ba2b639 (diff) | |
download | chat-9eb57278413d4a4417e574f2bddb5bc0b2807d14.tar.gz chat-9eb57278413d4a4417e574f2bddb5bc0b2807d14.tar.bz2 chat-9eb57278413d4a4417e574f2bddb5bc0b2807d14.zip |
PLT-137: Disable upload button when max uploads reached (#5053)
* Change upload button color opacity when max reached
* Display max upload message
* Remove error when deleting preview
* Clear error message in side-bar
when user reaches max upload and error is displayed in side-bar, removing one file won't remove error message
* Scroll in preview after file upload in sidebar
Diffstat (limited to 'webapp/sass/layout')
-rw-r--r-- | webapp/sass/layout/_post.scss | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/webapp/sass/layout/_post.scss b/webapp/sass/layout/_post.scss index a04865bd8..9448ad767 100644 --- a/webapp/sass/layout/_post.scss +++ b/webapp/sass/layout/_post.scss @@ -437,6 +437,15 @@ @include opacity(.9); box-shadow: none; } + + &.btn-file__disabled { + @include opacity(.1); + + &:hover, + &:active { + @include opacity(.1); + } + } } textarea { |