home » zplus/freepost.git
Author zPlus <zplus@peers.community> 2018-07-23 06:32:48
Committer zPlus <zplus@peers.community> 2018-07-23 06:32:48
Commit 5cf755e (patch)
Tree 6afda25
Parent(s)

Replace vote arrows.


commits diff: 1f2e620..5cf755e
2 files changed, 7 insertions, 8 deletionsdownload


Diffstat
-rwxr-xr-x freepost/static/stylus/freepost.styl 11
-rwxr-xr-x freepost/templates/vote.html 4

Diff options
View
Side
Whitespace
Context lines
Inter-hunk lines
+5/-6 M   freepost/static/stylus/freepost.styl
index b9d1ab2..196bf47
old size: 11K - new size: 11K
@@ -108,6 +108,7 @@ body
108 108 > button
109 109 background transparent
110 110 border 0
111 + color #9a9a9a
111 112 cursor pointer
112 113 display inline-block
113 114 font-family "Courier New", Courier, monospace
@@ -120,18 +121,16 @@ body
120 121
121 122 /* Arrow style if already upvoted (green) */
122 123 &.upvoted
123 - background-color #00e313
124 - border-radius 999em
125 - color #fff
124 + border-radius 999rem
125 + color #00e313
126 126 font-weight bolder
127 127 height 1rem
128 128 width 1rem
129 129
130 130 /* Arrow style if already upvoted (red) */
131 131 &.downvoted
132 - background-color #f00
133 - border-radius 999em
134 - color #fff
132 + border-radius 999rem
133 + color #f00
135 134 font-weight bolder
136 135 height 1rem
137 136 width 1rem

+2/-2 M   freepost/templates/vote.html
index 274ad3a..6c75e12
old size: 2K - new size: 2K
@@ -18,7 +18,7 @@
18 18 <input type="hidden" name="updown" value="up" />
19 19
20 20 <button title="upvote" class="{{ 'upvoted' if item.user_vote == 1 else '' }}">
21 - ˄
21 +
22 22 </button>
23 23 </form>
24 24
@@ -31,7 +31,7 @@
31 31 <input type="hidden" name="updown" value="down" />
32 32
33 33 <button title="downvote" class="{{ 'downvoted' if item.user_vote == -1 else '' }}">
34 - ˅
34 +
35 35 </button>
36 36 </form>
37 37