diff --git a/js/client-battle.js b/js/client-battle.js index f6fc15f55..25edc245c 100644 --- a/js/client-battle.js +++ b/js/client-battle.js @@ -102,7 +102,7 @@ } else if (this.battle.playbackState === 2) { // battle is playing - this.$controls.html(''); + this.$controls.html('

'); return; } @@ -128,7 +128,7 @@ if (this.battle.done) { // battle has ended - this.$controls.html('
'); + this.$controls.html('

'); } else if (this.side) { @@ -138,7 +138,7 @@ } else if (this.battle.mySide.initialized && this.battle.yourSide.initialized) { // full battle - this.$controls.html('Waiting for players...'); + this.$controls.html('

Waiting for players...

'); } else { diff --git a/js/client-teambuilder.js b/js/client-teambuilder.js index a878f7a45..d8b8b1636 100644 --- a/js/client-teambuilder.js +++ b/js/client-teambuilder.js @@ -535,9 +535,9 @@ buf = '
'; var totalev = 0; for (var stat in stats) { - var width = stats[stat]*200/504; - if (stat == 'hp') width = stats[stat]*200/704; - if (width > 200) width = 200; + var width = stats[stat]*180/504; + if (stat == 'hp') width = stats[stat]*180/704; + if (width > 179) width = 179; var color = Math.floor(stats[stat]*180/714); if (color > 360) color = 360; buf += '
'; @@ -677,9 +677,9 @@ buf += '
'; for (var i in stats) { stats[i] = this.getStat(i); - var width = stats[i]*200/504; - if (i=='hp') width = Math.floor(stats[i]*200/704); - if (width > 199) width = 199; + var width = stats[i]*180/504; + if (i=='hp') width = Math.floor(stats[i]*180/704); + if (width > 179) width = 179; var color = Math.floor(stats[i]*180/714); if (color>360) color = 360; buf += '
'; @@ -726,7 +726,7 @@ for (var i in stats) { if (typeof set.ivs[i] === 'undefined') set.ivs[i] = 31; var val = ''+(set.ivs[i]); - buf += '
'; + buf += '
'; } buf += '
'; diff --git a/style/client.css b/style/client.css index cb87a1353..5d6ab8aef 100644 --- a/style/client.css +++ b/style/client.css @@ -1030,6 +1030,10 @@ a.ilink:hover { width: 640px; } +.battle-controls p { + margin: 2px 0 8px 0; + padding: 0 8px; +} .battle-controls .whatdo { margin-top: -2px; padding: 0 8px; @@ -1412,6 +1416,10 @@ a.ilink:hover { font: 12pt Verdana, sans-serif; } +.majorbutton { + font-size: 14pt; +} + .setmenu { position: absolute; top: 5px; @@ -1419,6 +1427,18 @@ a.ilink:hover { width: 503px; text-align: right; } +.setmenu button { + cursor: pointer; + background: transparent; + border: 0; + border-radius: 4px; + padding: 3px 6px; +} +.setmenu button:hover { + border: 1px solid #888888; + padding: 2px 5px; + background: #D5D5D5; +} .setmenu-left { position: absolute; top: 5px; @@ -1775,7 +1795,7 @@ a.ilink:hover { font-weight: bold; } .statform .graphcol { - width: 205px; + width: 185px; } .statform .graphcol div span { margin: 3px 0 0 5px; @@ -1791,14 +1811,14 @@ a.ilink:hover { text-align: center; } .statform .evslidercol { - width: 173px; + width: 193px; margin-right: 9px; margin-left: 5px; padding-top: 7px; text-align: center; } .evslider { - width: 172px; + width: 192px; margin: 0 auto; } .statform .totalev b {