From e464e69b36eb615b09b59adf442a03044a8e46bd Mon Sep 17 00:00:00 2001 From: rr- Date: Sat, 30 Jul 2016 21:47:56 +0200 Subject: [PATCH] client/general: remove faux href='#' from links --- client/css/main.styl | 2 ++ client/css/posts.styl | 5 ++--- client/html/comment.tpl | 4 ++-- client/html/comment_form.tpl | 4 ++-- client/html/fav.tpl | 4 ++-- client/html/post_readonly_sidebar.tpl | 8 ++++---- client/html/posts_header.tpl | 4 ++-- client/html/score.tpl | 4 ++-- client/html/tag_categories.tpl | 2 +- client/html/tag_category_row.tpl | 4 ++-- client/js/controls/auto_complete_control.js | 1 - client/js/controls/tag_input_control.js | 5 +---- 12 files changed, 22 insertions(+), 25 deletions(-) diff --git a/client/css/main.styl b/client/css/main.styl index 0907caa..2743525 100644 --- a/client/css/main.styl +++ b/client/css/main.styl @@ -38,11 +38,13 @@ th font-weight: normal a + cursor: pointer color: $main-color text-decoration: none transition: color 0.1s linear &.inactive color: $inactive-link-color + cursor: default &.icon color: $inactive-link-color opacity: .5 diff --git a/client/css/posts.styl b/client/css/posts.styl index 805a54e..791dfb6 100644 --- a/client/css/posts.styl +++ b/client/css/posts.styl @@ -30,8 +30,8 @@ $safety-unsafe = #F3985F text-align: center vertical-align: middle transition: background 0.2s linear - a:hover - background: lighten($main-color, 90%) + &:not(.inactive):hover + background: lighten($main-color, 90%) i font-size: 140% text-align: center @@ -107,7 +107,6 @@ $safety-unsafe = #F3985F padding: 0.5em box-sizing: border-box border: 0 - cursor: pointer &:after display: inline-block width: 1em diff --git a/client/html/comment.tpl b/client/html/comment.tpl index da91a03..8cae159 100644 --- a/client/html/comment.tpl +++ b/client/html/comment.tpl @@ -32,13 +32,13 @@ --><% if (ctx.canEditComment) { %> edit<% } %><% if (ctx.canDeleteComment) { %> delete<% } %>