653 lines
9.6 KiB
CSS
653 lines
9.6 KiB
CSS
/**
|
|
* Copyright (c) 2012-2017, Andy Janata
|
|
* All rights reserved.
|
|
*
|
|
* Redistribution and use in source and binary forms, with or without modification, are permitted
|
|
* provided that the following conditions are met:
|
|
*
|
|
* * Redistributions of source code must retain the above copyright notice, this list of conditions
|
|
* and the following disclaimer.
|
|
* * Redistributions in binary form must reproduce the above copyright notice, this list of
|
|
* conditions and the following disclaimer in the documentation and/or other materials provided
|
|
* with the distribution.
|
|
*
|
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
|
|
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
* FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
|
|
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
|
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
|
|
* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
*/
|
|
|
|
body {
|
|
overflow: hidden;
|
|
min-height: 640px;
|
|
background: #eee;
|
|
color: #000;
|
|
font-size: 12px;
|
|
margin: 0;
|
|
}
|
|
|
|
.carddisplayer {
|
|
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
|
|
font-size: 12px;
|
|
line-height: .8;
|
|
color: #333;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.card, #game_list {
|
|
font-family: "helvetica neue", helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
h2,h3,h4 {
|
|
margin: 0 0 .25em;
|
|
}
|
|
/*
|
|
#browser {
|
|
background: rgba(0, 0, 0, .5);
|
|
}
|
|
|
|
#browser_inner {
|
|
border: 10px solid red;
|
|
padding: 15px;
|
|
background: white;
|
|
margin: 150px;
|
|
min-height: 150px;
|
|
}
|
|
|
|
#browser, #browser_inner {
|
|
position: absolute;
|
|
top: 0px;
|
|
right: 0px;
|
|
bottom: 0px;
|
|
left: 0px;
|
|
z-index: 9001;
|
|
}
|
|
|
|
#browser_ok {
|
|
margin: 15px;
|
|
position: absolute;
|
|
right: 0px;
|
|
bottom: 0px;
|
|
}
|
|
*/
|
|
|
|
#menubar {
|
|
background:#555;
|
|
border-bottom:1px solid #333;
|
|
color:#fff;
|
|
height: 42px;
|
|
padding:.5em;
|
|
}
|
|
|
|
#menubar_left {
|
|
float: left;
|
|
}
|
|
|
|
#menubar_right {
|
|
float: right;
|
|
}
|
|
|
|
#nickbox {
|
|
border: 1px solid black;
|
|
display: inline;
|
|
padding: 10px;
|
|
}
|
|
|
|
#canvas {
|
|
height: 533px;
|
|
overflow: none;
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
#main {
|
|
height: 506px;
|
|
padding: .5em;
|
|
}
|
|
|
|
#welcome {
|
|
padding: 1em;
|
|
}
|
|
|
|
|
|
#game_list {
|
|
height: 100%;
|
|
width: 100%;
|
|
overflow: auto;
|
|
}
|
|
|
|
.gamelist_lobby {
|
|
background: #fff;
|
|
border-radius: .1em;
|
|
min-width: 575px;
|
|
width: 33.333333%;
|
|
height: 40%;
|
|
float: left;
|
|
border: 2px solid #ccc;
|
|
margin: 4px;
|
|
}
|
|
|
|
.gamelist_lobby_left {
|
|
width: 80%;
|
|
font-size: 12px;
|
|
height: 100%;
|
|
padding: .5em 1.5%;
|
|
float: left;
|
|
}
|
|
|
|
.gamelist_lobby_right {
|
|
width: 20%;
|
|
height: 100%;
|
|
float: right;
|
|
}
|
|
|
|
.gamelist_lobby_join {
|
|
width: 100%;
|
|
height: 75.5%;
|
|
font-weight: 700;
|
|
border: 0px solid #aaa;
|
|
/* border-radius: .25em; */
|
|
text-transform: camelcase;
|
|
}
|
|
|
|
.gamelist_lobby_spectate {
|
|
width: 100%;
|
|
height: 25.1%;
|
|
/* border-radius: .25em;*/
|
|
text-transform: camelcase;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.gamelist_lobby_status {
|
|
float: right;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.gamelist_lobby_status_joinable {
|
|
color: green;
|
|
}
|
|
|
|
.gamelist_lobby_status_unjoinable {
|
|
color: #c0c0c0;
|
|
}
|
|
|
|
#bottom {
|
|
width: 100%;
|
|
height: 215px;
|
|
position: absolute;
|
|
top: 543px;
|
|
min-height: 100px;
|
|
}
|
|
|
|
#info_area {
|
|
width: 250px;
|
|
height: 100%;
|
|
position: absolute;
|
|
bottom: 0px;
|
|
min-height: 100px;
|
|
border: 1px solid #999;
|
|
}
|
|
|
|
#tabs {
|
|
min-height: 100px;
|
|
width: 50%;
|
|
height: 100%;
|
|
border: 0px;
|
|
position: absolute;
|
|
bottom: 0px;
|
|
right: 14px;
|
|
}
|
|
|
|
#tabs .ui-widget {
|
|
font-height: 16px !important;
|
|
}
|
|
|
|
.tab-button {
|
|
font-size: 14px !important;
|
|
}
|
|
|
|
.cardset_filter_list {
|
|
display: inline-block;
|
|
width: 33%;
|
|
}
|
|
|
|
.cardset_filter_list select {
|
|
height: 150px;
|
|
width: 100%;
|
|
}
|
|
|
|
.cardset_filter_list span {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.cardset_filter_list .buttons {
|
|
text-align: center;
|
|
}
|
|
|
|
.log {
|
|
width: 100%;
|
|
height: 198px;
|
|
border-style: none solid solid none;
|
|
border-color: black;
|
|
border-width: 1px;
|
|
position: absolute;
|
|
bottom: 18px;
|
|
right: 0px;
|
|
overflow-y: scroll;
|
|
min-height: 43px;
|
|
font-size: 14px;
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
#tab-preferences input[type='button'] {
|
|
float: right;
|
|
}
|
|
|
|
.chat {
|
|
border: 1px solid black;
|
|
left: -1px;
|
|
bottom: 0px;
|
|
height: 19px;
|
|
position: absolute;
|
|
padding: 0px;
|
|
width: 90%;
|
|
font-family: serif;
|
|
font-size: 12pt;
|
|
}
|
|
|
|
.chat_submit {
|
|
width: 50px;
|
|
height: 20px;
|
|
position: absolute;
|
|
right: -1px;
|
|
bottom: -1px;
|
|
margin: 0px;
|
|
padding: 0px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
|
|
span.error {
|
|
color: red;
|
|
}
|
|
|
|
span.debug, span.admin {
|
|
color: blue;
|
|
}
|
|
|
|
.card {
|
|
position: relative;
|
|
width: 200px;
|
|
height: 200px;
|
|
border: 1px solid #999;
|
|
padding: 15px;
|
|
font-size: 15pt;
|
|
float: left;
|
|
border-radius: .25em;
|
|
-webkit-user-select: none;
|
|
-khtml-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
-o-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.blackcard {
|
|
background: #231f20;
|
|
color: white;
|
|
background-image:linear-gradient(#231f20,#231f20 75%, #333)
|
|
}
|
|
|
|
.whitecard {
|
|
background: white;
|
|
color: #231f20;
|
|
}
|
|
|
|
.whitecard, .gamelist_lobby{
|
|
background-image: linear-gradient(#fff,#fff 75%,#f8f8f8);
|
|
}
|
|
|
|
.cah {
|
|
position: absolute;
|
|
bottom: 0px;
|
|
left: 0px;
|
|
margin: 15px;
|
|
}
|
|
|
|
.hide {
|
|
display: none;
|
|
}
|
|
|
|
.game {
|
|
height: 100%;
|
|
width: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
.your_hand {
|
|
position: absolute;
|
|
bottom: 20px;
|
|
right: 5px;
|
|
}
|
|
|
|
.game_hand {
|
|
position: absolute;
|
|
bottom: 0px;
|
|
left: 0px;
|
|
right: 0px;
|
|
height: 30%;
|
|
}
|
|
|
|
.game_hand_filter {
|
|
height: 90%;
|
|
position: relative;
|
|
background: rgba(192, 192, 192, .5);
|
|
z-index: 100;
|
|
text-align: center;
|
|
}
|
|
|
|
.game_hand_filter_text {
|
|
position: absolute;
|
|
top: 50%;
|
|
font-size: 250%;
|
|
margin-top: -30px;
|
|
background:#eee;
|
|
padding:.15em;
|
|
}
|
|
|
|
.game_hand_cards {
|
|
position: absolute;
|
|
bottom: 0px;
|
|
height: 100%;
|
|
width: 99%;
|
|
padding-left: 2px;
|
|
min-width: 750px;
|
|
}
|
|
|
|
.game_hand_cards .card {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.game_top {
|
|
padding: 5px;
|
|
}
|
|
|
|
.game_menu_bar {
|
|
float: right;
|
|
}
|
|
|
|
.game_message {
|
|
font-size: 150%;
|
|
font-weight:bold;
|
|
}
|
|
|
|
.game_black_card_wrapper {
|
|
width: 232px;
|
|
float: left;
|
|
}
|
|
|
|
.game_black_card {
|
|
width: 215px;
|
|
height: 215px;
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.confirm_card {
|
|
float: left;
|
|
margin-top: 10px;
|
|
width: 100%;
|
|
z-index: 500;
|
|
}
|
|
|
|
.game_left_side {
|
|
float: left;
|
|
width: 232px;
|
|
padding-left: 10px;
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.game_right_side, .game_options {
|
|
position: absolute;
|
|
left: 246px;
|
|
width: 80%;
|
|
}
|
|
|
|
.game_options {
|
|
background: #fff;
|
|
z-index: 500;
|
|
}
|
|
|
|
.game_right_side_box {
|
|
height: 60%;
|
|
margin: 10px;
|
|
}
|
|
|
|
.game_right_side_cards {
|
|
margin-top: 15px;
|
|
min-width: 600px;
|
|
cursor: pointer;
|
|
z-index: 200;
|
|
}
|
|
|
|
.game_right_side_cards .card_holder, .game_white_cards_binder {
|
|
z-index: 200;
|
|
}
|
|
|
|
.game_white_cards_binder {
|
|
border: 3px solid silver;
|
|
display: inline-block;
|
|
margin-right: 4px;
|
|
margin-bottom: 4px;
|
|
border-radius: .25em;
|
|
}
|
|
|
|
.card_holder {
|
|
float: left;
|
|
position: relative;
|
|
overflow-x: visible !important;
|
|
overflow-y: visible !important;
|
|
margin-right: 2px;
|
|
z-index: 1;
|
|
}
|
|
|
|
.game_white_cards_binder .card_holder {
|
|
margin-right: 0px;
|
|
}
|
|
|
|
.scoreboard {
|
|
width: 250px;
|
|
height: 100%;
|
|
position: absolute;
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
.scorecard {
|
|
background:#fff;
|
|
height: 43px;
|
|
padding:.25em .5em;
|
|
border-bottom: 1px solid #bbb;
|
|
font-size: 11pt;
|
|
}
|
|
|
|
.scorecard:nth-child(even) {
|
|
background:#f8f8f8;
|
|
}
|
|
|
|
.scorecard_status {
|
|
float: right;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.clear {
|
|
clear: both;
|
|
}
|
|
|
|
.selected {
|
|
color: #fff;
|
|
background: #3c7fb1 !important;
|
|
}
|
|
|
|
.logo {
|
|
position: absolute;
|
|
width: 250px;
|
|
height: 32px;
|
|
bottom: 15px;
|
|
left: 15px;
|
|
}
|
|
|
|
.logo_element {
|
|
top: 2px;
|
|
position: absolute;
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
|
|
|
|
.blackcard .logo_element {
|
|
border: 1px solid #231f20;
|
|
}
|
|
|
|
.logo_1 {
|
|
left: 2px;
|
|
}
|
|
|
|
.blackcard .logo_1 {
|
|
background: #57585a;
|
|
}
|
|
|
|
.whitecard .logo_1 {
|
|
background: #231f20;
|
|
}
|
|
|
|
.logo_2 {
|
|
left: 10px;
|
|
}
|
|
|
|
.blackcard .logo_2 {
|
|
background: #b2b3b7;
|
|
}
|
|
|
|
.whitecard .logo_2 {
|
|
background: #636366;
|
|
}
|
|
|
|
.logo_3 {
|
|
left: 16px;
|
|
top: 5px;
|
|
}
|
|
|
|
.blackcard .logo_3 {
|
|
background: white;
|
|
color: black;
|
|
}
|
|
|
|
.whitecard .logo_3 {
|
|
background: #c7c8ca;
|
|
color: black;
|
|
}
|
|
|
|
.watermark_container {
|
|
font-size: 5pt;
|
|
text-align: center;
|
|
}
|
|
|
|
.logo_text {
|
|
position: absolute;
|
|
font-size: 8pt;
|
|
font-weight: bold;
|
|
left: 45px;
|
|
bottom: 4px;
|
|
}
|
|
|
|
.card_metadata {
|
|
position: absolute;
|
|
right: 15px;
|
|
bottom: 15px;
|
|
}
|
|
|
|
.draw, .pick {
|
|
float: right;
|
|
clear: both;
|
|
font-weight: bold;
|
|
font-size: 12pt;
|
|
}
|
|
|
|
.card_number {
|
|
width: 20px;
|
|
height: 20px;
|
|
|
|
-webkit-border-radius: 10px;
|
|
-moz-border-radius: 10px;
|
|
-o-border-radius: 10px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.blackcard .card_number {
|
|
background: white;
|
|
display: inline-block;
|
|
color: #231f20;
|
|
text-align: center;
|
|
}
|
|
|
|
/* TODO .whitecard .card_number ??? */
|
|
|
|
.previous_round {
|
|
z-index: 50;
|
|
border: 3px solid black;
|
|
width: 60%;
|
|
height: 60%;
|
|
position: absolute;
|
|
top: 20%;
|
|
left: 20%;
|
|
padding: 5px;
|
|
}
|
|
|
|
.previous_round_close {
|
|
position: absolute;
|
|
right: 0px;
|
|
}
|
|
|
|
.card_set_label {
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.scorecard_score, .scorecard_player {
|
|
font-weight:700;
|
|
}
|
|
|
|
.checkbox {
|
|
margin-right: 4px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.checkbox input {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.checkbox span {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.nowrap {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.cardnum {
|
|
position: absolute;
|
|
right: 10px;
|
|
bottom: 19px;
|
|
font-size: 8pt;
|
|
}
|
|
|
|
dfn {
|
|
border-bottom: 1px dotted black;
|
|
}
|
|
|
|
#tweetbox {
|
|
float: right;
|
|
}
|