summaryrefslogtreecommitdiffstats
path: root/apps/comments/css
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2017-11-24 13:04:59 +0100
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2017-11-24 13:17:55 +0100
commit5e6d4ad27c4795955f57a6d67179587383e22110 (patch)
treee806382e0229206de0464bc74d0c067cffc05c46 /apps/comments/css
parentb6a39b79278df848af388506cce394671a414f19 (diff)
downloadnextcloud-server-5e6d4ad27c4795955f57a6d67179587383e22110.tar.gz
nextcloud-server-5e6d4ad27c4795955f57a6d67179587383e22110.zip
Disable elements while a comment is being deleted
When a comment is being deleted the "disabled" class is added to the comment div, which causes it to look disabled. However, the input elements and the content editable div were not truly disabled, and thus it was still possible to interact with them. This commit ensures that they are properly disabled while the comment is being deleted. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'apps/comments/css')
-rw-r--r--apps/comments/css/comments.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/comments/css/comments.css b/apps/comments/css/comments.css
index 1ed418df2fc..6b0452da1fd 100644
--- a/apps/comments/css/comments.css
+++ b/apps/comments/css/comments.css
@@ -35,8 +35,8 @@
border: none;
opacity: .3;
}
-#commentsTabView .newCommentForm .submit:hover,
-#commentsTabView .newCommentForm .submit:focus {
+#commentsTabView .newCommentForm .submit:not(:disabled):hover,
+#commentsTabView .newCommentForm .submit:not(:disabled):focus {
opacity: 1;
}