summaryrefslogtreecommitdiffstats
path: root/web/html/css
diff options
context:
space:
mode:
authorMarcel Korpel <marcel.korpel@gmail.com>2015-07-10 18:47:31 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-08-08 12:59:23 +0200
commit92e19e95f3c07745e7ba7c6e358921b7789f8abe (patch)
tree33b79d9247d96e25fdbb5cfd960808a7cf67dc5f /web/html/css
parent8375d212106918b602911f6286d2e4fd172d446e (diff)
downloadaur-92e19e95f3c07745e7ba7c6e358921b7789f8abe.tar.gz
aur-92e19e95f3c07745e7ba7c6e358921b7789f8abe.tar.xz
Add comment edit icon and form
Show an icon next to the comment deletion icon, which leads to a comment edit form. Signed-off-by: Marcel Korpel <marcel.korpel@gmail.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html/css')
-rw-r--r--web/html/css/aurweb.css13
1 files changed, 10 insertions, 3 deletions
diff --git a/web/html/css/aurweb.css b/web/html/css/aurweb.css
index adc02bb1..b5ca1f38 100644
--- a/web/html/css/aurweb.css
+++ b/web/html/css/aurweb.css
@@ -96,17 +96,24 @@
color: #999;
}
-.delete-comment-form {
+.delete-comment-form, .edit-comment {
float: right;
+ margin-left: 8px;
}
-.delete-comment {
+.edit-comment {
+ height: 11px;
+ position: relative;
+ top: 1px;
+}
+
+.delete-comment, .edit-comment {
-webkit-filter: grayscale(100%);
filter: grayscale(100%);
opacity: 0.6;
}
-.delete-comment:hover {
+.delete-comment:hover, .edit-comment:hover {
-webkit-filter: none;
filter: none;
opacity: 1;