From f50a7eb63cc2843e6f594038998bfe7736d16fcf Mon Sep 17 00:00:00 2001 From: Florian Sundermann Date: Mon, 4 Mar 2013 12:32:22 +0100 Subject: [PATCH 1/2] new style for alert windows --- style.css | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/style.css b/style.css index f25501f9..bfed9b72 100644 --- a/style.css +++ b/style.css @@ -679,15 +679,14 @@ aside { max-width: 300px; position: absolute; z-index: 9999; - background-color: #fff; - border: 1px solid #ccc; - color: #222; - font: 13px/15px "Helvetica Neue", Arial, Helvetica, sans-serif; + background-color: rgba(8, 48, 78, 0.9); + border: 1px solid #20A8B1; + color: #eee; + font: 13px/15px "coda","Helvetica Neue", Arial, Helvetica, sans-serif; padding: 2px 4px; } .ui-dialog { - border: 1px solid #0F0F0F; padding: 0; border-radius: 2px; } @@ -720,9 +719,8 @@ aside { } .ui-dialog-buttonpane { - background: #F2F2F2; padding: 12px; - border-top: 1px solid #E6E6E6; + border-top: 1px solid #20A8B1; } .ui-dialog-buttonset { @@ -732,6 +730,13 @@ aside { .ui-dialog-buttonset button { padding: 2px; min-width: 80px; + color: #FFCE00; + border: 1px solid #FFCE00; + background-color: rgba(8, 48, 78, 0.9); +} + +.ui-dialog-buttonset button:hover { + text-decoration: underline; } td { From 492f0846f846ca9598ec37d68146e88cf2cf0ed0 Mon Sep 17 00:00:00 2001 From: boombuler Date: Mon, 4 Mar 2013 21:02:25 +0100 Subject: [PATCH 2/2] Fixed some style issues --- plugins/player-tracker.user.js | 4 ++-- style.css | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/plugins/player-tracker.user.js b/plugins/player-tracker.user.js index f52f4347..fe9c66a8 100644 --- a/plugins/player-tracker.user.js +++ b/plugins/player-tracker.user.js @@ -204,9 +204,9 @@ window.plugin.playerTracker.drawData = function() { var evtsLength = playerData.events.length; var last = playerData.events[evtsLength-1]; var ago = plugin.playerTracker.ago; - var color = playerData.team === 'ALIENS' ? '#029C02' : '#00789C'; + var cssClass = playerData.team === 'ALIENS' ? 'enl' : 'res'; var title = - '' + playerData.nick + '\n' + '' + playerData.nick + '\n' + ago(last.time, now) + ' minutes ago\n' + last.name; // show previous data in tooltip diff --git a/style.css b/style.css index bfed9b72..7b79982e 100644 --- a/style.css +++ b/style.css @@ -682,10 +682,14 @@ aside { background-color: rgba(8, 48, 78, 0.9); border: 1px solid #20A8B1; color: #eee; - font: 13px/15px "coda","Helvetica Neue", Arial, Helvetica, sans-serif; + font: 13px/15px "Helvetica Neue", Arial, Helvetica, sans-serif; padding: 2px 4px; } +.ui-tooltip, .ui-dialog a { + color: #FFCE00; +} + .ui-dialog { padding: 0; border-radius: 2px; @@ -714,10 +718,6 @@ aside { max-width: 700px !important; } -.ui-dialog a { - color: #0000ca; -} - .ui-dialog-buttonpane { padding: 12px; border-top: 1px solid #20A8B1;