-
Notifications
You must be signed in to change notification settings - Fork 3
/
game.css
129 lines (120 loc) · 2.55 KB
/
game.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
.Spades, .Clubs { color: black; }
.Hearts, .Diamonds { color: darkred; }
.Unknown { color: grey; }
.gold { background-color: gold; }
#status {
position: relative;
padding: 0.1em 0.5em;
font-size: large;
text-align: left;
}
#status.Disconnected, #status.Connecting { background-color: #445; }
#status.Connected, #status.LoggedIn { background-color: #006; }
#status.ConnectionFailed { background-color: #602; }
.clock {
position: absolute;
right: 1em;
}
#exchange {
width: 100%;
padding: 0 1em 1em 1em;
}
table#market {
}
table#market td {
position: relative;
padding: 0.05em 0.8em;
font-size: 18pt;
text-align: center;
}
span.owner {
position: absolute;
right: 0;
bottom: 0;
font-size: small;
}
tr.sell td { background-color: #313; }
tr.buy td { background-color: #133; }
tr#suits td { background-color: #224; }
.bought { animation: 1s 1 normal bought; }
@keyframes bought {
from { background-color: #4b6; }
to { }
}
.sold { animation: 1s 1 normal sold; }
@keyframes sold {
from { background-color: #b46; }
to { }
}
tr#ordersell input, tr#orderbuy input {
width: 2em;
margin: 0;
padding: 0;
color: white;
border: 0;
text-align: center;
font-size: 18pt;
}
tr#ordersell input { background-color: #535; }
tr#orderbuy input { background-color: #355; }
#tape {
display: block;
min-width: 15em;
height: 19em;
overflow-y: scroll;
background-color: #224;
}
#tape td {
padding: 0 0.2em;
}
#tape .oid, #tape .price {
text-align: center;
width: 1em;
}
#tape .buy { color: #0f4; }
#tape .sell { color: #f04; }
div.userinfo {
text-align: left;
display: inline-block;
vertical-align: top;
background-color: #224;
}
div.userinfo.ready, div#userinfo button.ready {
background-color: #133;
}
div.userinfo.notReady, div#userinfo button.notReady {
background-color: #313;
}
div#userinfo button.ready:hover { background-color: #355; }
div#userinfo button.notReady:hover { background-color: #535; }
div#userinfo .left {
float: left;
margin-left: 3em;
}
div#userinfo .right {
float: right;
margin-right: 3em;
}
div#userinfo .near {
clear: both;
}
div#userinfo .me {
margin-top: 0.5em;
font-size: 1.75em;
}
div.userinfo .name {
padding: 0 0.5em;
}
div.userinfo .score {
float: right;
margin-left: 0.5em;
}
div#userinfo .observers {
margin: 0.1em 4em;
text-align: left;
}
div#userinfo .addBot {
border: 0;
background-color: #447;
color: white;
}