remember lobby tab
This commit is contained in:
parent
dc15420898
commit
fb3d97fdc7
|
@ -7,7 +7,7 @@ import controllers.routes
|
|||
|
||||
trait AssetHelper {
|
||||
|
||||
val assetVersion = 54
|
||||
val assetVersion = 55
|
||||
|
||||
def cssTag(name: String) = css("stylesheets/" + name)
|
||||
|
||||
|
|
|
@ -43,15 +43,15 @@ underchat = underchat.some) {
|
|||
<div class="lichess_board_wrap lichess_player_white">
|
||||
<div id="hooks_wrap">
|
||||
<div class="tabs">
|
||||
<a data-tab="list" class="active">List</a>
|
||||
<a data-tab="graph">Graph</a>
|
||||
<a data-tab="list" class="list">List</a>
|
||||
<a data-tab="graph" class="graph">Graph</a>
|
||||
</div>
|
||||
<a class="filter" href="@routes.Setup.filterForm()">
|
||||
<span class="s16 ddown">@trans.filterGames()</span>
|
||||
<span class="number">(0)</span>
|
||||
</a>
|
||||
<div id="hooks_chart" class="tab graph none"><div class="canvas"></div></div>
|
||||
<table id="hooks_table" class="tab list">
|
||||
<table id="hooks_table" class="tab list none">
|
||||
<thead>
|
||||
<tr>
|
||||
<th data-sort="string" data-sort-desc="1"><span>@trans.player()</span></th>
|
||||
|
|
|
@ -1946,7 +1946,9 @@ var lichess_sri = Math.random().toString(36).substring(5); // 8 chars
|
|||
$(this).siblings().removeClass('active').end().addClass('active');
|
||||
$wrap.find('>.tab:not(.' + tab + ')').fadeOut(500);
|
||||
$wrap.find('>.' + tab).fadeIn(500);
|
||||
$.cookie('lt', tab);
|
||||
});
|
||||
$wrap.find('>div.tabs>.' + ($.cookie('lt') || 'list')).click();
|
||||
$wrap.find('a.filter').click(function() {
|
||||
var $a = $(this);
|
||||
var $div = $wrap.find('#hook_filter');
|
||||
|
|
|
@ -1504,11 +1504,14 @@ div.game_config div.color_submits button.random span {
|
|||
font-weight: bold;
|
||||
}
|
||||
#hooks_table td {
|
||||
padding: 10px 12px;
|
||||
padding: 12px 12px;
|
||||
border-bottom: 1px solid #ccc;
|
||||
}
|
||||
#hooks_table tr:nth-child(odd) td {
|
||||
background: #fff;
|
||||
background: rgba(255, 255, 255, 0.6);
|
||||
}
|
||||
#hooks_table tr:nth-child(even) td {
|
||||
background: rgba(220, 220, 220, 0.5);
|
||||
}
|
||||
#hooks_table td:first-child {
|
||||
width: 120px;
|
||||
|
@ -1813,6 +1816,7 @@ div.lichess_overboard.joining .mini_board {
|
|||
}
|
||||
#timeline a {
|
||||
font-weight: bold;
|
||||
color: #a0a0a0;
|
||||
text-decoration: none;
|
||||
}
|
||||
#timeline a.user_link {
|
||||
|
|
|
@ -136,6 +136,7 @@ body.dark #top ul.language_links a.accepted {
|
|||
}
|
||||
|
||||
body.dark #site_title,
|
||||
body.dark #timeline a,
|
||||
body.dark #site_baseline,
|
||||
body.dark div.lichess_chat span,
|
||||
body.dark div.lichess_chat a.user_link,
|
||||
|
@ -167,7 +168,6 @@ body.dark #top span.new_messages {
|
|||
background: #606060;
|
||||
}
|
||||
|
||||
body.dark #hooks_table tr:nth-child(odd) td,
|
||||
body.dark div.lichess_chat .lichess_messages,
|
||||
body.dark div.undertable_inner,
|
||||
body.dark div.lichess_goodies div.box,
|
||||
|
@ -181,6 +181,13 @@ body.dark div.footer_wrap
|
|||
background: #242424;
|
||||
}
|
||||
|
||||
body.dark #hooks_table tr:nth-child(even) td {
|
||||
background: rgba(70, 70, 70, 0.5);
|
||||
}
|
||||
body.dark #hooks_table tr:nth-child(odd) td {
|
||||
background: rgba(40, 40, 40, 0.6);
|
||||
}
|
||||
|
||||
body.dark .user_link.white {
|
||||
background-position: 0 -288px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue