Make gamelist lobby cards bigger. Fix HTML entities in gamelist lobby cards. Add mouseover help to "Use idle timer" game option. Fix background on even-numbered rows when that player has won the round.
This commit is contained in:
parent
9d47959f13
commit
1efb350c41
|
@ -115,22 +115,22 @@ h2,h3,h4 {
|
||||||
.gamelist_lobby {
|
.gamelist_lobby {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-radius: .25em;
|
border-radius: .25em;
|
||||||
width: 500px;
|
width: 575px;
|
||||||
height: 150px;
|
height: 175px;
|
||||||
float: left;
|
float: left;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
margin: 4px;
|
margin: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gamelist_lobby_left {
|
.gamelist_lobby_left {
|
||||||
width: 72%;
|
width: 77%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding: .5em 1.5%;
|
padding: .5em 1.5%;
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gamelist_lobby_right {
|
.gamelist_lobby_right {
|
||||||
width: 25%;
|
width: 20%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
@ -444,7 +444,7 @@ span.debug, span.admin {
|
||||||
|
|
||||||
.selected {
|
.selected {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background:#3c7fb1;
|
background: #3c7fb1 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
|
|
|
@ -346,7 +346,10 @@ HttpSession hSession = request.getSession(true);
|
||||||
Having more than 10 players may get cramped!
|
Having more than 10 players may get cramped!
|
||||||
<br/>
|
<br/>
|
||||||
<input type="checkbox" checked="checked" id="use_timer_template" class="use_timer" />
|
<input type="checkbox" checked="checked" id="use_timer_template" class="use_timer" />
|
||||||
<label id="use_timer_template_label" for="use_timer_template">Use idle timer</label>
|
<label id="use_timer_template_label" for="use_timer_template"
|
||||||
|
title="Players will be skipped if they have not played within a reasonable amount of time.">
|
||||||
|
Use idle timer
|
||||||
|
</label>
|
||||||
<br/>
|
<br/>
|
||||||
<fieldset class="card_sets">
|
<fieldset class="card_sets">
|
||||||
<legend>Card Sets</legend>
|
<legend>Card Sets</legend>
|
||||||
|
|
|
@ -205,7 +205,7 @@ cah.GameListLobby = function(parentElem, data) {
|
||||||
var cardSetId = data[cah.$.GameInfo.CARD_SETS][key];
|
var cardSetId = data[cah.$.GameInfo.CARD_SETS][key];
|
||||||
cardSetNames.push(cah.CardSet.list[cardSetId].getName());
|
cardSetNames.push(cah.CardSet.list[cardSetId].getName());
|
||||||
}
|
}
|
||||||
$(".gamelist_lobby_cardset", this.element_).text(cardSetNames.join(', '));
|
$(".gamelist_lobby_cardset", this.element_).html(cardSetNames.join(', '));
|
||||||
|
|
||||||
if (data[cah.$.GameInfo.HAS_PASSWORD]) {
|
if (data[cah.$.GameInfo.HAS_PASSWORD]) {
|
||||||
$(".gamelist_lobby_join", this.element_).val("Join\n(Passworded)");
|
$(".gamelist_lobby_join", this.element_).val("Join\n(Passworded)");
|
||||||
|
|
Loading…
Reference in New Issue