-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtable.css
194 lines (161 loc) · 2.93 KB
/
table.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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
.players {
border-collapse: collapse;
width: 100%;
}
.players tr:first-child {
cursor: pointer;
}
.players tr.marked,
.players tr.marked input {
background: gray;
color: white;
}
.players td {
border: 1px dotted;
font: bold .8rem sans-serif;
padding: 0 .15rem;
}
.players td:first-child {
cursor: pointer;
text-align: right;
}
.players td.centered {
text-align: center;
}
.players input {
border: none;
box-sizing: border-box;
font: .8rem sans-serif;
width: 100%;
}
.players input[type="number"] {
text-align: right;
}
.tournament-info {
display: flex;
font: bold .8rem sans-serif;
margin: .5rem 0;
}
.tournament-info .tournament-name,
.tournament-info .tournament-place,
.tournament-info .chief-arbiter,
.tournament-info .tournament-rounds-count {
margin: 0 .5rem;
}
.tournament-info .tournament-name {
flex: .42;
margin-left: 0;
}
.tournament-info .tournament-place {
flex: .18;
}
.tournament-info .chief-arbiter {
flex: .26;
}
.tournament-info .tournament-rounds-count {
flex: .14;
margin-right: 0;
width: auto;
}
#tournament-name,
#tournament-place,
#chief-arbiter,
#tournament-rounds-count {
border: 1px dotted;
font: .8rem sans-serif;
margin: .2em 0 0 0;
padding: .15rem;
width: 100%;
}
#tournament-rounds-count {
text-align: right;
}
.buttons {
display: flex;
flex-wrap: wrap;
margin: .5rem 0;
}
.buttons > button {
border: none;
border-radius: 5%/1rem;
color: white;
cursor: pointer;
flex: 30%;
font: bold 1rem sans-serif;
margin: .5rem 10%;
outline: none;
padding: .5rem;
}
button.invert-selection,
button.delete-selected {
background: white;
box-shadow: 0 0 .2rem gray;
color: gray;
}
.invert-selection:hover {
background: gray;
box-shadow: 0 0 1rem gray;
color: white;
}
.delete-selected:hover {
background: pink;
box-shadow: 0 0 1rem red;
color: darkred;
}
.save {
background: green;
box-shadow: 0 0 .2rem green;
}
.save:hover {
box-shadow: 0 0 1rem green;
}
.save:active {
color: lightgreen;
}
.clean {
background: darkred;
box-shadow: 0 0 .2rem darkred;
}
.clean:hover {
box-shadow: 0 0 1rem darkred;
}
.clean:active {
color: red;
}
.message-board {
position: fixed;
right: 0;
top: 0;
width: 33%;
}
.message {
background: blue;
border-radius: 5%/1rem;
box-shadow: 0 0 .5rem white;
color: white;
cursor: pointer;
font: 1rem sans-serif;
margin-bottom: .1rem;
padding: .5rem 2rem;
}
.message.error {
background: darkred;
}
.message.success {
background: green;
}
#autocomplete {
background: white;
border-collapse: collapse;
margin-bottom: 1rem;
position: absolute;
}
#autocomplete tr {
border: 1px solid green;
}
#autocomplete tr:hover,
#autocomplete tr.selected {
background: green;
color: white;
cursor: pointer;
}