forked from smogon/damage-calc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ap_calc.css
393 lines (379 loc) · 8.46 KB
/
ap_calc.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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
/* header */
a img {
border: 0;
}
.header {
margin: 0 0 30px 0;
background: #E5ECFB;
background: -webkit-gradient(linear, left top, left bottom, from(#E8EEFC), to(#D7DEEA));
background: -moz-linear-gradient(top, #E8EEFC, #D7DEEA);
background: linear-gradient(top, #E8EEFC, #D7DEEA);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#E8EEFC', endColorstr='#D7DEEA');
border-bottom: 1px solid #AAA;
box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .6), 0px 2px 2px rgba(0, 0, 0, .15);
min-height: 50px;
}
.header-inner {
max-width: 605px;
margin: 0 auto;
}
.nav, .nav li, .nav-play, .nav-play li {
display: block;
list-style: none;
margin: 0;
padding: 0;
float: left;
}
.nav {
padding: 15px 6px 15px 6px;
}
.header .nav {
padding: 15px 0 15px 155px;
}
.header .nav-play {
padding: 15px 0 15px 10px;
}
.nav .button {
position: relative;
padding: 5px 10px;
margin: 0 -1px 0 0;
border-radius: 0;
}
.nav .button img {
position: absolute;
top: -8px;
left: -150px;
}
.nav .button.cur,
.nav .button.cur:hover {
color: #777777;
background: #f8f8f8;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.nav .button.cur:hover {
border: solid 1px #888888;
}
.nav .button:hover {
z-index: 10;
}
.nav .button.nav-first {
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}
.nav .button.nav-last {
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
}
.button {
outline: none;
cursor: pointer;
text-align: center;
text-decoration: none;
text-shadow: 0 1px 0 rgba(255,255,255,.4);
border-radius: 5px;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2), inset 0 -1px 2px rgba(255,255,255,1);
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2), inset 0 -1px 2px rgba(255,255,255,1);
box-shadow: 0 1px 2px rgba(0,0,0,.2), inset 0 -1px 2px rgba(255,255,255,1);
white-space: nowrap;
/* default colors */
color: #222222;
border: solid 1px #AAAAAA;
background: #e3e3e3;
background: -webkit-gradient(linear, left top, left bottom, from(#f6f6f6), to(#e3e3e3));
background: -moz-linear-gradient(top, #f6f6f6, #e3e3e3);
background: linear-gradient(top, #f6f6f6, #e3e3e3);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#e3e3e3');
}
.button:hover {
background: #cfcfcf;
background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#cfcfcf));
background: -moz-linear-gradient(top, #f2f2f2, #cfcfcf);
background: linear-gradient(top, #f2f2f2, #cfcfcf);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f2f2f2', endColorstr='#cfcfcf');
border-color: #606060;
}
.button:active {
background: -webkit-gradient(linear, left top, left bottom, from(#cfcfcf), to(#f2f2f2));
background: -moz-linear-gradient(top, #cfcfcf, #f2f2f2);
background: linear-gradient(top, #cfcfcf, #f2f2f2);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#cfcfcf', endColorstr='#f2f2f2');
}
.greenbutton {
background: hsl(100,30%,93%);
background: -webkit-gradient(linear, left top, left bottom, from(hsl(100,30%,97%)), to(hsl(100,30%,84%)));
background: -moz-linear-gradient(top, hsl(100,30%,97%), hsl(100,30%,84%));
background: linear-gradient(top, hsl(100,30%,97%), hsl(100,30%,84%));
border-color: hsl(100,30%,70%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#e3e3e3');
}
.greenbutton:hover {
background: hsl(100,30%,87%);
background: -webkit-gradient(linear, left top, left bottom, from(hsl(100,30%,94%)), to(hsl(100,30%,77%)));
background: -moz-linear-gradient(top, hsl(100,30%,94%), hsl(100,30%,77%));
background: linear-gradient(top, hsl(100,30%,94%), hsl(100,30%,77%));
border-color: hsl(100,30%,41%);
}
.greenbutton:active {
background: hsl(100,30%,77%);
background: -webkit-gradient(linear, left top, left bottom, from(hsl(100,30%,77%)), to(hsl(100,30%,83%)));
background: -moz-linear-gradient(top, hsl(100,30%,77%), hsl(100,30%,83%));
background: linear-gradient(top, hsl(100,30%,77%), hsl(100,30%,83%));
border-color: hsl(100,30%,41%);
}
/* general page styling */
html, body {
font: 10pt Verdana, sans-serif;
background-color: white;
color: black;
margin: 0;
padding: 0;
min-width: 100em;
}
.wrapper {
padding: 0 1em;
max-width: 1247px;
margin: 0 auto;
}
div.wrapper > div > span {
padding-right: 5px;
}
fieldset {
float: left;
background-color: #F1F4F9;
border: 1px solid #AAAAAA;
}
legend {
font-weight: bold;
text-align: center;
}
th, td {
padding: 0;
}
th {
font-size: 0.8em;
}
.title-text {
font-weight: bold;
font-size: 1.5em;
margin: 0.5em 1em 0.5em 0;
}
.big-text {
text-align: left;
font-weight: bold;
font-size: 1.1em;
margin: 0.5em 0;
}
.small-text {
font-size: 0.8em;
}
.panel {
float: left;
display: inline-block;
}
.poke-info {
width: 30em;
}
.field-info, .poke-import {
text-align: center;
width: 27.5em;
}
.holder-0 {
position: absolute;
top: 151px;
}
#holder-2 tr {
white-space: nowrap;
}
/* general button styling */
.btn {
text-align: center;
border: solid 1px #aaaaaa;
padding: 4px 4px;
position: relative;
cursor: pointer;
color: #555555;
background: #e9e9e9;
margin: -1px -3px 0;
display: inline-block;
width: 5em;
border-radius: 8px;
}
.btn-wide {
width: 7em;
}
.btn-xwide {
width: 8em;
}
.btn-xxwide {
width: 9em;
}
.btn-xxxwide {
width: 10em;
}
.btn-small {
width: 4em;
}
.btn-xsmall {
width: 1em;
}
.btn-left {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.btn-right {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.btn-top {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.btn-bottom {
border-top-left-radius: 0;
border-top-right-radius: 0;
}
.btn-mid {
border-radius: 0;
}
.btn:hover {
z-index: 10;
border-color: #777777;
background: #e3e3e3;
}
.btn-input:checked + .btn {
font-weight: bold;
color: #111111;
background: #f5f5f5;
}
.btn-input[type="radio"]:checked + .btn {
cursor: default;
}
.btn-input {
display: none;
}
.btn-input:disabled + .btn {
color: #999999;
}
.btn-group {
display: inline-block;
width: 100%;
}
.left {
float: left;
}
.right {
float: right;
}
/* header */
.move-result-group {
max-width: 80em;
min-width: 50em;
margin: 1em 0 11.5em;
}
.move-result-subgroup {
float: left;
width: 50%;
}
.move-result-group .btn {
margin-right: 1em;
}
.main-result-group {
margin: 2em 0 1em;
}
.result-move-header {
font-size: 0.8em;
font-weight: bold;
margin: 0 0 5px;
}
/* pokemon info */
.poke-info label {
display: inline-block;
width: 6em;
}
.poke-info input:not([type]), .poke-info input[type="text"], .poke-info span {
display: inline-block;
width: 2.5em;
}
.poke-info input[type="number"] {
display: inline-block;
width: 3em;
}
.info-group {
margin: 1em 0;
}
.set-selector {
width: 100%;
}
.info-selectors select {
width: 8em;
}
select.toxic-counter {
width: 4.5em;
}
.move-selector, .move-bp, .move-type, .move-cat, .move-hits {
font-size: 0.9em;
}
.move-selector {
width: 8.5em;
}
.poke-info input.move-bp {
width: 2em;
}
.move-type {
width: 5.5em;
}
.move-cat {
width: 5.7em;
}
.move-hits {
width: 4.5em;
}
.poke-info .crit-btn {
font-size: 0.8em;
width: 2.5em;
height: 1em;
padding: 3px 3px;
}
.poke-info .z-btn {
font-size: 0.8em;
width: 1.5em;
height: 1em;
padding: 3px 3px;
}
/* field info */
.field-info .btn {
font-size: 0.8em;
}
.hide {
display: none;
}
/* select2 overrides */
.select2-container .select2-choice > .select2-chosen {
width: 100%;
}
.small-select.select2-container .select2-choice {
font-size: 0.9em;
height: 18px;
line-height: 18px;
}
.small-select.select2-container .select2-choice .select2-arrow b {
background-position: 0 -4px;
}
.small-select.select2-dropdown-open .select2-choice .select2-arrow b {
background-position: -18px -4px;
}
/* Bootstrap */
.panel-group > .panel {
clear: left;
}
/* ColVis */
.clear {
clear: right;
}
.import-team-text {
min-width: 27em;
min-height: 10em;
resize: vertical;
}