##// END OF EJS Templates
Small fix for the bumplimit bar.
neko259 -
r282:0414f856 default
parent child Browse files
Show More
@@ -324,11 +324,20 b' input[type="submit"]:hover {'
324
324
325 .bar-value {
325 .bar-value {
326 background: rgba(50, 55, 164, 0.45);
326 background: rgba(50, 55, 164, 0.45);
327 padding: 2px;
328 font-size: 0.9em;
327 font-size: 0.9em;
328 height: 1.5em;
329 }
329 }
330
330
331 .bar-bg {
331 .bar-bg {
332 position: relative;
332 border: solid 1px #888;
333 border: solid 1px #888;
333 margin: 5px;
334 margin: 5px;
335 overflow: hidden;
336 }
337
338 .bar-text {
339 padding: 2px;
340 position: absolute;
341 left: 0;
342 top: 0;
334 } No newline at end of file
343 }
@@ -320,10 +320,20 b' input[type="submit"]:hover {'
320 background: rgba(251, 199, 16, 0.61);
320 background: rgba(251, 199, 16, 0.61);
321 padding: 2px;
321 padding: 2px;
322 font-size: 0.9em;
322 font-size: 0.9em;
323 height: 1.5em;
323 }
324 }
324
325
325 .bar-bg {
326 .bar-bg {
327 position: relative;
326 border: 1px solid rgb(204, 204, 204);
328 border: 1px solid rgb(204, 204, 204);
327 border-radius: 5px 5px 5px 5px;
329 border-radius: 5px 5px 5px 5px;
328 margin: 5px;
330 margin: 5px;
331 overflow: hidden;
332 }
333
334 .bar-text {
335 padding: 2px;
336 position: absolute;
337 left: 0;
338 top: 0;
329 } No newline at end of file
339 }
@@ -289,10 +289,22 b' li {'
289 .bar-value {
289 .bar-value {
290 background: #E3E7F2;
290 background: #E3E7F2;
291 padding: .1em 1ex;
291 padding: .1em 1ex;
292 moz-box-sizing: border-box;
293 box-sizing: border-box;
294 height: 1.5em;
292 }
295 }
293
296
294 .bar-bg {
297 .bar-bg {
295 background: #EA4649;
298 background: #EA4649;
296 border: 1px solid #666;
299 border: 1px solid #666;
297 margin: 0 1ex 1em 1ex;
300 margin: 0 1ex 1em 1ex;
301 position: relative;
302 overflow: hidden;
303 }
304
305 .bar-text {
306 padding: 2px;
307 position: absolute;
308 left: 0;
309 top: 0;
298 } No newline at end of file
310 }
@@ -19,6 +19,8 b''
19 {% if bumpable %}
19 {% if bumpable %}
20 <div class="bar-bg">
20 <div class="bar-bg">
21 <div class="bar-value" style="width:{{ bumplimit_progress }}%">
21 <div class="bar-value" style="width:{{ bumplimit_progress }}%">
22 </div>
23 <div class="bar-text">
22 {{ posts_left }} {% trans 'posts to bumplimit' %}
24 {{ posts_left }} {% trans 'posts to bumplimit' %}
23 </div>
25 </div>
24 </div>
26 </div>
General Comments 0
You need to be logged in to leave comments. Login now