| 1 |
.bbp-voting { |
| 2 |
margin: 8px 0; |
| 3 |
padding-right: 30px; |
| 4 |
min-width: 65px; |
| 5 |
left: 20px; |
| 6 |
} |
| 7 |
|
| 8 |
.bbp-voting.bbp-voting-float { |
| 9 |
float: left; |
| 10 |
} |
| 11 |
|
| 12 |
.bbp-voting .score { |
| 13 |
font-size: 25px; |
| 14 |
font-weight: bold; |
| 15 |
text-align: center; |
| 16 |
color: #858c93; |
| 17 |
padding: 2px 0 3px 0; |
| 18 |
} |
| 19 |
|
| 20 |
.bbp-voting a.vote { |
| 21 |
display: block !important; |
| 22 |
position: relative; |
| 23 |
overflow: visible; |
| 24 |
text-indent: -9999em; |
| 25 |
width: 0; |
| 26 |
height: 0; |
| 27 |
margin: 3px auto !important; |
| 28 |
border: inherit !important; |
| 29 |
border-left: 15px solid transparent !important; |
| 30 |
border-right: 15px solid transparent !important; |
| 31 |
cursor: pointer; |
| 32 |
} |
| 33 |
|
| 34 |
.bbp-voting a.vote.up { |
| 35 |
border-bottom: 15px solid #858c93 !important; |
| 36 |
} |
| 37 |
|
| 38 |
.bbp-voting a.vote.up:hover { |
| 39 |
border-bottom: 15px solid #444 !important; |
| 40 |
} |
| 41 |
|
| 42 |
.bbp-voting a.vote.down { |
| 43 |
border-top: 15px solid #858c93 !important; |
| 44 |
} |
| 45 |
|
| 46 |
.bbp-voting a.vote.down:hover { |
| 47 |
border-top: 15px solid #444 !important; |
| 48 |
} |
| 49 |
|
| 50 |
.bbp-voting a.vote:not(.num-hide):after { |
| 51 |
content: attr(data-votes); |
| 52 |
display: block; |
| 53 |
position: absolute; |
| 54 |
top: -10px; |
| 55 |
text-align: left; |
| 56 |
margin-left: 17px; |
| 57 |
text-indent: 0; |
| 58 |
color: #aaa; |
| 59 |
opacity: 0; |
| 60 |
transition: opacity 500ms ease; |
| 61 |
} |
| 62 |
|
| 63 |
.bbp-voting a.vote.num-hover:hover:after { |
| 64 |
opacity: 1; |
| 65 |
transition: opacity 200ms ease; |
| 66 |
} |
| 67 |
|
| 68 |
.bbp-voting a.vote.num-always-show:after { |
| 69 |
opacity: 1; |
| 70 |
} |
| 71 |
|
| 72 |
.bbp-voting .bbp-voting-label { |
| 73 |
font-size: 0.9em; |
| 74 |
padding: 5px 0; |
| 75 |
text-align: center; |
| 76 |
} |
| 77 |
|
| 78 |
.bbp-voting .bbp-voting-label.helpful { |
| 79 |
color: #1e851e; |
| 80 |
} |
| 81 |
|
| 82 |
.bbp-voting .bbp-voting-label.not-helpful { |
| 83 |
color: #992121; |
| 84 |
} |
| 85 |
|
| 86 |
.bbp-voting.voted-up:not(.admin-bypass) a.vote.up { |
| 87 |
border-bottom-color: green !important; |
| 88 |
} |
| 89 |
|
| 90 |
.bbp-voting.voted-down:not(.admin-bypass) a.vote.down { |
| 91 |
border-top-color: #a11717 !important; |
| 92 |
} |
| 93 |
|
| 94 |
.bbp-voting.view-only:not(.admin-bypass) a.vote { |
| 95 |
cursor: not-allowed; |
| 96 |
} |
| 97 |
|
| 98 |
.bbp-voting .upvote-amp { |
| 99 |
color: transparent; |
| 100 |
text-shadow: 0 0 0 green; |
| 101 |
} |
| 102 |
|
| 103 |
.bbp-voting .downvote-amp { |
| 104 |
color: transparent; |
| 105 |
text-shadow: 0 0 0 #a11717; |
| 106 |
} |
| 107 |
|
| 108 |
ul.bbp-topics .bbp-voting { |
| 109 |
float: left; |
| 110 |
} |
| 111 |
|
| 112 |
.bbp-voting-avatars { |
| 113 |
display: inline-block; |
| 114 |
padding: 15px 0 0 15px; |
| 115 |
} |
| 116 |
|
| 117 |
.bbp-voting-avatars .bbp-voting-avatar { |
| 118 |
display: inline-block; |
| 119 |
margin: -15px 0 0 -15px; |
| 120 |
} |
| 121 |
|
| 122 |
.bbp-voting-avatars .bbp-voting-avatar img { |
| 123 |
border-radius: 100px; |
| 124 |
border: 3px solid black !important; |
| 125 |
box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.2) !important; |
| 126 |
} |
| 127 |
|
| 128 |
.bbp-voting-avatars .bbp-voting-avatar.up img { |
| 129 |
border-color: green !important; |
| 130 |
} |
| 131 |
|
| 132 |
.bbp-voting-avatars .bbp-voting-avatar.down img { |
| 133 |
border-color: #a11717 !important; |
| 134 |
} |
| 135 |
|
| 136 |
.bbp-voting-jump-to-answer { |
| 137 |
display: table; |
| 138 |
margin-top: 15px; |
| 139 |
padding: 10px; |
| 140 |
background-color: #ddefdd; |
| 141 |
} |
| 142 |
|
| 143 |
.bbp-voting-jump-to-answer a { |
| 144 |
font-size: 1.25em; |
| 145 |
} |
| 146 |
|
| 147 |
.bbp-voting-accepted-checkmark { |
| 148 |
margin-top: 15px; |
| 149 |
} |
| 150 |
|
| 151 |
.bbp-voting-accepted-checkmark>path { |
| 152 |
fill: green; |
| 153 |
} |
| 154 |
|
| 155 |
#bbpress-forums div.bbp-reply-content a.bbp-voting-accept-answer-button { |
| 156 |
display: inline-block; |
| 157 |
background-color: green; |
| 158 |
padding: 6px 12px; |
| 159 |
color: white; |
| 160 |
text-decoration: none; |
| 161 |
} |
| 162 |
|
| 163 |
#bbpress-forums div.bbp-reply-content a.bbp-voting-accept-answer-button:hover { |
| 164 |
background-color: #005700; |
| 165 |
} |
| 166 |
|
| 167 |
.bbp-voting-sort { |
| 168 |
display: block; |
| 169 |
clear: both; |
| 170 |
margin: 0.75em 0; |
| 171 |
} |
| 172 |
|
| 173 |
/* After User */ |
| 174 |
.forum-post-author + .bbp-voting { |
| 175 |
position: absolute; |
| 176 |
padding-top: 45px; |
| 177 |
} |