plain and flat

This commit is contained in:
Thibault Duplessis 2013-12-24 22:06:58 +01:00
parent 6a46e9f518
commit d54035ed48
14 changed files with 38 additions and 187 deletions

View file

@ -66,7 +66,6 @@ underchat = underchat.some) {
</thead>
<tbody></tbody>
</table>
<a class="no_hook">@trans.noGameAvailableRightNowCreateOne()</a>
<div id="hook_filter"></div>
</div>
</div>

View file

@ -1,7 +1,7 @@
@(gameId: String, userId: String)
@notification.view("challenge_reminder", closable = false) {
@userIdLink(userId.some) @trans.challengeToPlay.en()
@userIdLink(userId.some) @trans.challengeToPlay.en()
<a class="action decline" href="@routes.Setup.decline(gameId)">@trans.decline.en()</a>
<a class="action" href="@routes.Round.watcher(gameId, "white")">View challenge</a>
}

View file

@ -10,9 +10,9 @@
@goodies = {
<div class="goodies">
@u.perfs.perfs.drop(1).map {
case (name, perf) => {
<div class="sub_ratings">
@u.perfs.perfs.drop(1).zipWithIndex.map {
case ((name, perf), i) => {
<div class="sub_ratings @{ (i == 0 || i == 2 || i == 5) ?? "sep" }">
<h3>@name.toUpperCase</h3>
<strong title="Glicko rating">@perf.glicko.intRating</strong><small title="Glicko rating deviation"> ±@perf.glicko.intDeviation</small> / @perf.nb.localize @trans.games()
</div>
@ -40,7 +40,7 @@ evenMoreJs = evenMoreJs) {
<span class="rating">RATING <strong title="Glicko rating">@u.rating</strong><small title="Glicko rating deviation"> ±@u.perfs.global.glicko.intDeviation</small></span>
@showProgress(u.progress)
@info.rank.map { r =>
<span class="rank" title="@trans.rank()">RANK <strong>@r._1.localize</strong> / @r._2.localize</span>
<span class="rank" title="@trans.rank()">RANK <strong>@r._1.localize</strong> / @{r._2/1000}k</span>
}
@if(u.disabled) {
<span class="staff">CLOSED</span>

View file

@ -2115,7 +2115,6 @@ var storage = {
var $bot = $("div.lichess_bot");
var $newposts = $("div.new_posts");
var $hooks = $wrap.find('#hooks');
var $noHook = $wrap.find('.no_hook');
var $canvas = $wrap.find('.canvas');
var $table = $wrap.find('#hooks_table').sortable().find('th:eq(2)').click().end();
var $tbody = $table.find('tbody');
@ -2368,7 +2367,6 @@ var storage = {
});
if (!(inBatch || false)) {
$noHook.toggle(visible === 0);
$table.toggleClass('crowded', visible >= 12);
$wrap
.find('a.filter')
@ -2501,9 +2499,6 @@ var storage = {
lichess.socket.send(hook.action, hook.id);
}
});
$noHook.click(function() {
$('#start_buttons a.config_hook').click();
});
});
///////////////////

View file

@ -30,9 +30,7 @@ span.board_mark.horz {
}
#GameBoard table.boardTable {
box-shadow: 0 0 7px #bbb;
border: 1px solid #ccc;
border-radius: 5px;
}
#GameBoard.flip table, #GameBoard.flip img.pieceImage {
-o-transform: rotate(180deg);
@ -70,10 +68,8 @@ span.board_mark.horz {
margin-bottom: 1em;
padding: 5px 7px;
background: #f7f7f7;
border: 1px solid #C0C0C0;
border: 1px solid #ccc;
overflow: auto;
border-radius: 4px;
box-shadow: 0 0 7px #d0d0d0;
}
/* @font-face { */

View file

@ -2,7 +2,6 @@ div.lichess_board_wrap {
float: left;
border: 1px solid #ccc;
position: relative;
border-radius: 5px;
}
span.board_mark {
position: absolute;
@ -21,7 +20,6 @@ div.lichess_board {
width: 512px;
height: 512px;
position: relative;
border-radius: 5px;
}
div.lcs {
position: absolute;
@ -134,8 +132,7 @@ div.lichess_overboard {
line-height: 1.8em;
text-decoration: none;
background: #FFF;
border-radius: 8px;
box-shadow: 0px 0px 20px #444;
box-shadow: 0px 0px 30px #444;
text-align: center;
}
div.lichess_overboard a.close {
@ -211,18 +208,6 @@ div.lichess_promotion_choice div.lichess_piece {
div.lichess_promotion_choice div.lichess_piece:hover {
box-shadow:0 0 10px blue;
}
div.lichess_player_white #a8, div.lichess_player_black #h1 {
border-radius: 4px 0 0 0;
}
div.lichess_player_white #h8, div.lichess_player_black #a1 {
border-radius: 0 4px 0 0;
}
div.lichess_player_white #a1, div.lichess_player_black #h8 {
border-radius: 0 0 0 4px;
}
div.lichess_player_white #h1, div.lichess_player_black #a8 {
border-radius: 0 0 4px 0;
}
div.lichess_join_url {
display:none;
background: none;
@ -235,7 +220,6 @@ div.lichess_join_url span {
background: #fff;
margin-top: 1em;
border: 1px solid #D4D4D4;
border-radius: 4px;
}
div.lichess_ground {
position: relative;
@ -250,14 +234,9 @@ div.lichess_table_wrap {
}
div.lichess_table {
border: 1px solid #ccc;
border-radius: 4px;
box-shadow: 0 0 7px #d0d0d0;
height: auto;
padding: 10px;
}
div.lichess_table.table_with_clock {
border-radius: 0 4px 4px 0;
}
div.lichess_table.spectator {
top: 160px;
}
@ -266,7 +245,6 @@ div.lichess_table_not_started {
top: 100px;
left: 0px;
width: 242px;
box-shadow: none;
border: none;
padding: 0;
}
@ -306,7 +284,6 @@ div.clock {
font-size: 22px;
font-family: monospace;
font-weight: bold;
box-shadow: 0 0 7px #d0d0d0;
}
div.clock > span {
font-size: 80%;
@ -415,7 +392,6 @@ div.lichess_table .lichess_button {
text-decoration: none;
padding: 1em;
border-radius: 32px;
box-shadow: 0 0 3px #ccc;
text-align: center;
border: 1px solid #d3d3d3;
font-weight: normal;
@ -493,10 +469,8 @@ div.lichess_chat {
left: 0;
width: 228px;
margin-left: -30px;
border-radius: 4px;
}
div.lichess_chat_top {
border-radius: 4px 4px 0 0;
border: 1px solid #ccc;
padding: 3px 5px;
}
@ -528,7 +502,6 @@ div.lichess_chat form input {
border: 1px solid #ccc;
border-top: 0;
padding: 2px 20px 2px 4px;
border-radius: 0 0 4px 4px;
width: 202px;
}
div.lichess_chat a.send {

View file

@ -7,7 +7,7 @@
#chessboard_side {
position: absolute;
left: 552px;
top: 158px;
top: 156px;
width: 228px;
}
#chessboard_side > div {

View file

@ -100,24 +100,14 @@ button.ui-button-icons-only {
}
/* Corner radius */
.ui-corner-right {
-moz-border-radius-topright: 4px;
-webkit-border-top-right-radius: 4px;
border-top-right-radius: 4px;
-moz-border-radius-bottomright: 4px;
-webkit-border-bottom-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.ui-corner-left {
-moz-border-radius-topleft: 4px;
-webkit-border-top-left-radius: 4px;
border-top-left-radius: 4px;
-moz-border-radius-bottomleft: 4px;
-webkit-border-bottom-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.ui-corner-all {
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
}
/* workarounds */
@ -333,7 +323,6 @@ body {
font:12px'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, Sans-Serif;
color: #848484;
background: #F7F7F7 url(../images/head_bg.png) top left repeat-x;
background-position: left +25px;
}
a, a:visited {
color: #848484;
@ -390,7 +379,6 @@ body.tight > div.content {
width: 100%;
min-width: 1005px;
height: 24px;
border-bottom: 1px solid #c4c4c4;
}
body.tight #top {
min-width: 780px;
@ -476,7 +464,6 @@ a.easy_button {
}
div.content_box {
border: 1px solid #ccc;
border-radius: 5px;
background: #fff;
padding: 20px 24px 24px 24px;
text-align: left;
@ -584,6 +571,7 @@ table.slist {
}
table.slist thead th {
border-top: 1px solid #d4d4d4;
border-bottom: 1px solid #d4d4d4;
padding: 0.4em 0.6em;
}
table.slist thead th.large {
@ -616,9 +604,8 @@ div.lichess_goodies div.box {
margin-top: 1em;
margin-left: -30px;
width: 212px;
border: 1px solid #C0C0C0;
border: 1px solid #ccc;
padding: 7px;
border-radius: 4px;
}
div.lichess_goodies div.box .player {
margin: 4px 0;
@ -650,8 +637,6 @@ body.tight div.side_menu a {
background: white;
border: 1px solid #dadada;
border-right: none;
border-radius: 4px 0 0 4px;
box-shadow: -3px 0 5px #d0d0d0;
}
#nb_connected_players, #reconnecting, a.goto_nav, #top a.toggle, #top a.bgpicker, a#sound_state {
text-decoration: none;
@ -669,21 +654,22 @@ body.offline #reconnecting {
color: red;
float: left;
}
#nb_connected_players {
float: left;
color: #999;
}
body.offline #nb_connected_players {
display: none;
}
#nb_connected_players, #reconnecting {
border-left: 1px solid #ccc;
}
a.goto_nav {
#top a.goto_nav, #nb_connected_players {
float: left;
}
a.goto_nav:hover, #top a.toggle:hover, #top a.bgpicker:hover, a#sound_state:hover {
background-color: #fff;
#top a.goto_nav:hover, #top a.toggle:hover, #top a.bgpicker:hover, a#sound_state:hover {
color: #303030;
border-bottom: 2px solid #808080;
}
#top a.goto_nav.current {
color: #303030;
border-bottom: 2px solid #d85000;
}
#top .s16 {
display:block;
@ -923,15 +909,12 @@ a#sound_state.unavailable {
right: 10px;
background: #fff;
border: 1px solid #ccc;
border-radius: 4px 4px 0 0;
min-width: 150px;
box-shadow: 0 0 7px #d0d0d0;
}
#friend_box .title {
cursor: pointer;
padding: 3px 5px;
border-bottom: 1px solid #ccc;
border-radius: 4px 4px 0 0;
}
#friend_box .content a {
padding: 3px 5px;
@ -1056,48 +1039,14 @@ div.engine_warning {
margin-bottom: 15px;
}
/* soft inactive gradient */
#top, #hooks_wrap > a.no_hook, div.lichess_chat_top, #friend_box .title, div.undertable_top, .button, .button:visited, .ui-state-default, div.content_box_top, #hooks tr, #translation_call, #notifications > div, div.locale_menu a, table.slist thead {
div.lichess_chat_top, #friend_box .title, div.undertable_top, .button, .button:visited, .ui-state-default, div.content_box_top, #hooks tr, #translation_call, #notifications > div, div.locale_menu a, table.slist thead {
color: #666;
background: #fafafa;
background: -moz-linear-gradient(center top, #fafafa, #e0e0e0) repeat scroll 0 0 #fafafa;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fafafa), to(#e0e0e0));
background: -webkit-linear-gradient(top, #fafafa, #e0e0e0) repeat scroll 0 0 #fafafa;
background: -ms-linear-gradient(top, #fafafa, #e0e0e0) repeat scroll 0 0 #fafafa;
background: -o-linear-gradient(top, #fafafa, #e0e0e0) repeat scroll 0 0 #fafafa;
background: #efefef linear-gradient(to bottom, #efefef, #e2e2e2);
}
/* active gradient */
#top a.signin, #top a.goto_nav.active, .button.active, .button.active:hover, .ui-state-active, .ui-widget-header, div.pagination span.current, #top span.new_messages, #hooks td.action:hover, div.progressbar.flashy div, .button.strong:hover, div.locale_menu a.active, #import_game .progression {
color: #fff;
background: #d85000;
background: -moz-linear-gradient(center top, #f49c00, #d85000) repeat scroll 0 0 #d85000;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f49c00), to(#d85000));
background: -webkit-linear-gradient(top, #f49c00, #d85000) repeat scroll 0 0 #d85000;
background: -ms-linear-gradient(top, #f49c00, #d85000) repeat scroll 0 0 #d85000;
background: -o-linear-gradient(top, #f49c00, #d85000) repeat scroll 0 0 #d85000;
}
/* strong inactive gradient */
#hooks td.action, .button:hover, #hooks_wrap > a.no_hook:hover, .button.strong {
background: #ffffff;
background: -moz-linear-gradient(center top, #ffffff, #c0c0c0) repeat scroll 0 0 #ffffff;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffffff), to(#c0c0c0));
background: -webkit-linear-gradient(top, #ffffff, #c0c0c0) repeat scroll 0 0 #ffffff;
background: -ms-linear-gradient(top, #ffffff, #c0c0c0) repeat scroll 0 0 #ffffff;
background: -o-linear-gradient(top, #ffffff, #c0c0c0) repeat scroll 0 0 #ffffff;
}
/* current gradient */
#top a.goto_nav.current {
color: #fff;
background: #999;
background: -moz-linear-gradient(center top, #aaa, #999) repeat scroll 0 0 #999;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#aaa), to(#999));
background: -webkit-linear-gradient(top, #aaa, #999) repeat scroll 0 0 #999;
background: -ms-linear-gradient(top, #aaa, #999) repeat scroll 0 0 #999;
background: -o-linear-gradient(top, #aaa, #999) repeat scroll 0 0 #999;
}
/* standard shadow */
div.lichess_chat, div.undertable, div.lichess_board_wrap, .button.strong, .button.shadowed, div.content_box, div.undergame_box, div.lichess_goodies div.box, #powerTip {
box-shadow: 0 0 7px #d0d0d0;
border-radius: 4px;
background: #d85000 linear-gradient(to bottom, #d85000, #c84000);
}
div.checkmateFen {
float: left;
@ -1145,7 +1094,6 @@ div.undergame_box {
margin-top: 10px;
width: 512px;
border: 1px solid #ccc;
border-radius: 5px;
line-height: 24px;
}
div.undergame_box div.inner {
@ -1199,7 +1147,6 @@ div.game_more textarea {
color: #888;
border: 1px solid #eaeaea;
padding: 5px;
border-radius: 3px;
}
div.game_extra div.right_coll {
float: right;
@ -1288,7 +1235,7 @@ div.extra_top {
height: 224px;
position: relative;
display: block;
box-shadow:0 0 5px #666;
border: 1px solid #ccc;
}
div.all_games a.mini_board {
float: left;
@ -1461,7 +1408,6 @@ div.game_config div.color_submits button.random span {
top: 0;
left: 0;
background: #f0f0f0 url(../images/knight2000.png) no-repeat;
border-radius: 0 5px 5px 5px;
overflow-x: hidden;
overflow-y: auto;
}
@ -1476,9 +1422,8 @@ div.game_config div.color_submits button.random span {
text-decoration: none;
padding: 5px 10px;
border: 1px solid #ccc;
border-radius: 3px 3px 0 0;
border-bottom: 0;
background: #d0d0d0;
background: #dadada;
}
#hooks_wrap > div.tabs > a:hover, #hooks_wrap > div.tabs > a.active {
background: #f0f0f0;
@ -1696,21 +1641,6 @@ div.game_config div.color_submits button.random span {
#hooks_chart .plot.cancel {
background: #666;
}
#hooks_wrap > a.no_hook {
position: absolute;
top: 192px;
left: 64px;
display: block;
width: 356px;
padding: 60px 10px;
margin: 4px;
font-size: 1.25em;
border-radius: 3px;
color: #444;
text-align: center;
box-shadow:0 0 5px #333;
text-decoration: none;
}
#hook {
display: none;
width: 120px;
@ -1724,11 +1654,10 @@ div.game_config div.color_submits button.random span {
#hooks_chart .plot:hover {
background-color: #f6f6f6;
}
#hooks_chart .plot:hover, #hooks_wrap > a.no_hook:hover {
#hooks_chart .plot:hover {
box-shadow: 0 0 9px #d85000 !important;
}
#hook .opponent {
border-radius: 3px 3px 0 0;
display: block;
height: 20px;
line-height: 20px;
@ -1805,7 +1734,6 @@ div.undertable {
margin-top: 15px;
}
div.undertable_top {
border-radius: 4px 4px 0 0;
border: 1px solid #ccc;
padding: 3px 5px;
}
@ -1822,7 +1750,6 @@ div.undertable_top span.title {
div.undertable_inner {
border: 1px solid #ccc;
border-top: 0;
border-radius: 0 0 4px 4px;
height: 204px;
width: auto;
overflow: hidden;
@ -2065,7 +1992,6 @@ div.relation_actions .icon span {
overflow: hidden;
display: block;
}
/* flags */
.flag {
background:url(/images/flags.png) no-repeat;
display:inline-block;

View file

@ -1,21 +1,16 @@
body.dark {
background: #1a1a1a url(../images/head_bg_dark.png) top left repeat-x;
background-position: left +25px;
color: #909090;
color: #8a8a8a;
}
body.dark a, body.dark a:visited {
color: #909090;
color: #8a8a8a;
}
body.dark input, body.dark textarea {
background: #1a1a1a;
color: #909090;
}
/* standard shadow */
body.dark div.lichess_chat, body.dark div.undertable, body.dark div.lichess_board_wrap, body.dark div.lichess_table .lichess_button, body.dark div.lichess_goodies div.box, body.dark div.lichess_table, body.dark div.undergame_box, body.dark div.clock, body.dark #GameText, body.dark #GameBoard table.boardTable, body.dark .button.strong, body.dark .button.shadowed, body.dark #tournament_side, body.dark #friend_box, body.dark div.content_box, body.dark #powerTip {
box-shadow: 0 0 5px #505050;
color: #8a8a8a;
}
body.dark #top, body.dark #nb_connected_players, body.dark #reconnecting, body.dark #connecting, body.dark div.lichess_chat_top, body.dark div.lichess_chat .lichess_messages, body.dark div.undertable_top, body.dark div.undertable_inner, body.dark div.undertable td, body.dark div.lichess_table .lichess_button, body.dark div.lichess_chat form input, body.dark div.lichess_board_wrap, body.dark #translation_call, body.dark div.footer_wrap, body.dark div.game_config .optional_config, body.dark .ui-state-default, body.dark .ui-widget-content, body.dark div.lichess_goodies div.box, body.dark div.lichess_table, body.dark div.lichess_separator, body.dark div.undergame_box, body.dark div.game_more div.more_top, body.dark div.clock, body.dark .button, body.dark #GameText, body.dark #tournament_side, body.dark #GameBoard table.boardTable, body.dark div.shortcuts .title, body.dark div.content_box, body.dark div.content_box_top, body.dark div.content_box_top a, body.dark div.content_box_inter, body.dark div.content_box_inter a.active, body.dark #site_header div.side_menu a.active, body.dark div.game_row, body.dark form.search_user_form input, body.dark div.user_show div.boxed_data, body.dark #lichess_forum div.post, body.dark #lichess_forum textarea, body.dark #lichess_forum form.wide input, body.dark #lichess_message tr, body.dark #lichess_message div.thread_message, body.dark #lichess_message textarea, body.dark #lichess_message input, body.dark .content_box form input, body.dark div.progressbar, body.dark form.translation_form div.messages, body.dark form.translation_form input, body.dark div.locale_menu a, body.dark #adv_chart, body.dark #top .dropdown, body.dark div.lichess_overboard p.explanations, body.dark div.search_status, body.dark table.slist, body.dark table.slist thead th, body.dark #notifications > div, body.dark form.wide input[type="text"], body.dark form.wide textarea, body.dark #team .team-left, body.dark #team .team-right, body.dark #team h2, body.dark .leaderboard_title, body.dark #friend_box, body.dark #friend_box .title, body.dark div.user_show div.mod_zone, body.dark div.user_show div.user-infos, body.dark div.game_config input[type="text"], body.dark #powerTip, body.dark #powerTip > .title, body.dark #hooks_table th, body.dark #hooks_table td, body.dark #hooks_wrap > div.tabs > a, body.dark #hooks_chart > div.grid {
border-color: #444;
border-color: #3d3d3d;
}
body.dark #timeline, body.dark #timeline > .entry {
border-color: #303030;
@ -27,7 +22,7 @@ body.dark #hooks_wrap > div.tabs > a, body.dark #top div.auth .links a:hover, bo
background-color: #3e3e3e;
color: #b0b0b0;
}
body.dark #top ul.language_links a.accepted {
body.dark #top a.toggle:hover, body.dark #top .dropdown, body.dark #top a.goto_nav.current, body.dark #top a.goto_nav:hover, body.dark #top ul.language_links a.accepted {
color: #b0b0b0;
}
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, body.dark div.lichess_chat a.user_link, body.dark div.new_posts li span, body.dark #team .forum a.user_link, body.dark span.board_mark, body.dark div.user_show div.content_box_top > span, body.dark #timeline time, body.dark span.progress > .zero, body.dark div.undertable_top span.title {
@ -44,7 +39,7 @@ body.dark span.progress > .positive {
body.dark #site_title span.extension, body.dark div.sub_ratings h3 {
color: #606060;
}
body.dark #top a.goto_nav:hover, body.dark #top a.toggle:hover, body.dark #top a.bgpicker:hover, body.dark a#sound_state:hover, body.dark #top .dropdown, body.dark #GameText a:hover, body.dark #hooks_wrap a.filter:hover, body.dark #hooks_wrap a.filter.active, body.dark #top .shown a.toggle {
body.dark #GameText a:hover, body.dark #hooks_wrap a.filter:hover, body.dark #hooks_wrap a.filter.active, body.dark #top .shown a.toggle {
background: #000;
}
body.dark #top span.new_messages {
@ -88,7 +83,6 @@ body.dark div.lichess_table_not_started {
background: none;
}
body.dark div.lichess_table a.lichess_button:hover, body.dark div.lichess_table a.lichess_button.active {
box-shadow: 0 0 9px #d85000;
border: 1px solid #d85000;
}
body.dark div.content_box, body.dark div.content_box_inter a.active, body.dark #GameText, body.dark #tournament_side, body.dark table.translations tbody tr, body.dark form.translation_form div.message, body.dark div.content_box_inter a.intertab:hover {
@ -140,43 +134,13 @@ body.dark div.lichess_table_wrap div.clock.running.emerg, body.dark div.lichess_
color: #d0d0d0;
}
/* soft inactive gradient */
body.dark #top, body.dark div.lichess_chat_top, body.dark #friend_box .title, body.dark div.undertable_top, body.dark .button, body.dark .button:visited, body.dark .ui-state-default, body.dark div.content_box_top, body.dark #translation_call, body.dark #notifications > div, body.dark div.locale_menu a, body.dark table.slist thead, body.dark #hooks_wrap > a.no_hook {
background: #3a3a3a;
color: #b0b0b0;
background: -moz-linear-gradient(center top, #3a3a3a, #202020) repeat scroll 0 0 #3a3a3a;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#3a3a3a), to(#202020));
background: -webkit-linear-gradient(top, #3a3a3a, #202020) repeat scroll 0 0 #3a3a3a;
background: -ms-linear-gradient(top, #3a3a3a, #202020) repeat scroll 0 0 #3a3a3a;
background: -o-linear-gradient(top, #3a3a3a, #202020) repeat scroll 0 0 #3a3a3a;
}
/* strong inactive gradient */
body.dark .button.strong, body.dark .button:hover, body.dark #hooks_wrap > a.no_hook:hover {
background: #505050;
background: -moz-linear-gradient(center top, #505050, #202020) repeat scroll 0 0 #505050;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#505050), to(#202020));
background: -webkit-linear-gradient(top, #505050, #202020) repeat scroll 0 0 #505050;
background: -ms-linear-gradient(top, #505050, #202020) repeat scroll 0 0 #505050;
background: -o-linear-gradient(top, #505050, #202020) repeat scroll 0 0 #505050;
body.dark div.lichess_chat_top, body.dark #friend_box .title, body.dark div.undertable_top, body.dark .button, body.dark .button:visited, body.dark .ui-state-default, body.dark div.content_box_top, body.dark #translation_call, body.dark #notifications > div, body.dark div.locale_menu a, body.dark table.slist thead {
background: #303030 linear-gradient(to bottom, #2a2a2a, #202020);
}
/* active gradient */
body.dark #top a.goto_nav.active, body.dark .button.active, body.dark .button.active:hover, body.dark .ui-state-active, body.dark .ui-widget-header, body.dark div.pagination span.current, body.dark #top span.new_messages, body.dark .button.strong:hover, body.dark div.progressbar.flashy div, body.dark div.locale_menu a.active, body.dark #top a.signin {
body.dark .button.active, body.dark .button.active:hover, body.dark .ui-state-active, body.dark .ui-widget-header, body.dark div.pagination span.current, body.dark #top span.new_messages, body.dark .button.strong:hover, body.dark div.progressbar.flashy div, body.dark div.locale_menu a.active, body.dark #top a.signin {
color: #fff;
background: #d85000;
background: -moz-linear-gradient(center top, #f49c00, #d85000) repeat scroll 0 0 #d85000;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f49c00), to(#d85000));
background: -webkit-linear-gradient(top, #f49c00, #d85000) repeat scroll 0 0 #d85000;
background: -ms-linear-gradient(top, #f49c00, #d85000) repeat scroll 0 0 #d85000;
background: -o-linear-gradient(top, #f49c00, #d85000) repeat scroll 0 0 #d85000;
}
/* current gradient */
body.dark #top a.goto_nav.current {
color: #fff;
background: #808080;
background: -moz-linear-gradient(center top, #808080, #606060) repeat scroll 0 0 #808080;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#808080), to(#606060));
background: -webkit-linear-gradient(top, #808080, #606060) repeat scroll 0 0 #606060;
background: -ms-linear-gradient(top, #808080, #606060) repeat scroll 0 0 #606060;
background: -o-linear-gradient(top, #808080, #606060) repeat scroll 0 0 #606060;
background: #d85000 linear-gradient(to bottom, #d85000, #c84000);
}
body.dark #hooks_chart .plot {
box-shadow: 0 0 5px #000;

View file

@ -57,8 +57,6 @@ div.search_status {
font-weight: bold;
}
/* Errors */
form.search .error {
margin-left: 160px;
color: red;

View file

@ -113,10 +113,8 @@
max-height: 860px;
overflow-y: auto;
border: 1px solid #ccc;
border-radius: 4px;
padding: 3px;
background: #f7f7f7;
box-shadow: 0 0 7px #D0D0D0;
}
#tournament_side div.pairings a {
padding: 0.3em 0.2em;

View file

@ -49,6 +49,9 @@ div.user_show div.meat {
position: relative;
}
div.sub_ratings.sep {
margin-top: 2em;
}
div.sub_ratings h3 {
font-weight: bold;
font-size: 1.2em;

View file

@ -50,7 +50,6 @@ div.alternative {
padding: 7px 1em;
}
/* Errors */
form .error {
color: red;
}

View file

@ -10,7 +10,7 @@
/* board */
div.board-b72b1 {
border: 2px solid #404040;
border: 1px solid #ccc;
-moz-box-sizing: content-box;
box-sizing: content-box;
display:inline-block;