|
8 | 8 | // @contributor J F |
9 | 9 | // @contributor Glorfindel |
10 | 10 | // @attribution Brock Adams (https://github.com/BrockA) |
11 | | -// @version 1.20.4 |
| 11 | +// @version 1.20.5 |
12 | 12 | // @updateURL https://raw.githubusercontent.com/Charcoal-SE/Userscripts/master/fdsc/fdsc.meta.js |
13 | 13 | // @downloadURL https://raw.githubusercontent.com/Charcoal-SE/Userscripts/master/fdsc/fdsc.user.js |
14 | 14 | // @supportURL https://github.com/Charcoal-SE/Userscripts/issues |
|
368 | 368 | } |
369 | 369 | } |
370 | 370 |
|
371 | | - var fpButtonStyle = "style='color:rgba(255,0,0,0.5);' onMouseOver='this.style.color=\"rgba(255,0,0,1)\"' onMouseOut='this.style.color=\"rgba(255,0,0,0.5)\"'"; |
372 | | - var tpButtonStyle = "style='color:rgba(0,100,0,0.5);' onMouseOver='this.style.color=\"rgba(0,100,0,1)\"' onMouseOut='this.style.color=\"rgba(0,100,0,0.5)\"'"; |
| 371 | + var fpButtonStyle = "class='fc-red-500' onMouseOver='this.className=\"fc-red-300\"' onMouseOut='this.className=\"fc-red-500\"'"; |
| 372 | + var tpButtonStyle = "class='fc-green-500' onMouseOver='this.className=\"fc-green-300\"' onMouseOut='this.className=\"fc-green-500\"'"; |
373 | 373 |
|
374 | 374 | var isAnswer = $(".popup-actions").parents(".answer").length !== 0; |
375 | 375 |
|
376 | 376 | // Build status |
377 | 377 | var status = "<div id='smokey-report'><strong>Smokey report: "; |
378 | | - status += "<span style='color:darkgreen'>" + tps + " tp</span>, "; |
379 | | - status += "<span style='color:red'>" + fps + " fp</span>, "; |
| 378 | + status += "<span class='fc-green-400'>" + tps + " tp</span>, "; |
| 379 | + status += "<span class='fc-red-400'>" + fps + " fp</span>, "; |
380 | 380 |
|
381 | 381 | // Don't add naa if the dialog opened for a question |
382 | 382 | if (isAnswer) { |
383 | | - status += "<span style='color:#7c5500'>" + naa + " naa</span>, "; |
| 383 | + status += "<span class='fc-orange-400'>" + naa + " naa</span>, "; |
384 | 384 | } |
385 | 385 |
|
386 | 386 | status += fdsc.autoflagged + "</strong>"; |
|
0 commit comments