Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
polakowo
GitHub Repository: polakowo/vectorbt
Path: blob/master/apps/candlestick-patterns/assets/default.css
1073 views
1
/* Table of contents
2
––––––––––––––––––––––––––––––––––––––––––––––––––
3
- Plotly.js
4
- Grid
5
- Base Styles
6
- Typography
7
- Links
8
- Buttons
9
- Forms
10
- Lists
11
- Code
12
- Tables
13
- Spacing
14
- Utilities
15
- Clearing
16
- Media Queries
17
*/
18
19
/* PLotly.js
20
–––––––––––––––––––––––––––––––––––––––––––––––––– */
21
/* plotly.js's modebar's z-index is 1001 by default
22
* https://github.com/plotly/plotly.js/blob/7e4d8ab164258f6bd48be56589dacd9bdd7fded2/src/css/_modebar.scss#L5
23
* In case a dropdown is above the graph, the dropdown's options
24
* will be rendered below the modebar
25
* Increase the select option's z-index
26
*/
27
28
/* This was actually not quite right -
29
dropdowns were overlapping each other (edited October 26)
30
31
.Select {
32
z-index: 1002;
33
}*/
34
35
/* Grid
36
–––––––––––––––––––––––––––––––––––––––––––––––––– */
37
.container {
38
position: relative;
39
width: 100%;
40
max-width: 960px;
41
margin: 0 auto;
42
padding: 0 20px;
43
box-sizing: border-box;
44
}
45
46
.column,
47
.columns {
48
width: 100%;
49
float: left;
50
box-sizing: border-box;
51
}
52
53
/* For devices larger than 400px */
54
@media (min-width: 400px) {
55
.container {
56
width: 85%;
57
padding: 0;
58
}
59
}
60
61
/* For devices larger than 550px */
62
@media (min-width: 550px) {
63
.container {
64
width: 80%;
65
}
66
67
.column,
68
.columns {
69
margin-left: 2%;
70
}
71
72
.column:first-child,
73
.columns:first-child {
74
margin-left: 2%;
75
}
76
77
.one.column,
78
.one.columns {
79
width: 4.66666666667%;
80
}
81
82
.two.columns {
83
width: 13.3333333333%;
84
}
85
86
.three.columns {
87
width: 22%;
88
}
89
90
.four.columns {
91
width: 30.6666666667%;
92
}
93
94
.five.columns {
95
width: 39.3333333333%;
96
}
97
98
.six.columns {
99
width: 48%;
100
}
101
102
.seven.columns {
103
width: 56.6666666667%;
104
}
105
106
.eight.columns {
107
width: 65.3333333333%;
108
}
109
110
.nine.columns {
111
width: 74.0%;
112
}
113
114
.ten.columns {
115
width: 82.6666666667%;
116
}
117
118
.eleven.columns {
119
width: 91.3333333333%;
120
}
121
122
.twelve.columns {
123
width: 100%;
124
margin-left: 0;
125
}
126
127
.one-third.column {
128
width: 30.6666666667%;
129
}
130
131
.two-thirds.column {
132
width: 65.3333333333%;
133
}
134
135
.one-half.column {
136
width: 48%;
137
}
138
139
/* Offsets */
140
.offset-by-one.column,
141
.offset-by-one.columns {
142
margin-left: 8.66666666667%;
143
}
144
145
.offset-by-two.column,
146
.offset-by-two.columns {
147
margin-left: 17.3333333333%;
148
}
149
150
.offset-by-three.column,
151
.offset-by-three.columns {
152
margin-left: 26%;
153
}
154
155
.offset-by-four.column,
156
.offset-by-four.columns {
157
margin-left: 34.6666666667%;
158
}
159
160
.offset-by-five.column,
161
.offset-by-five.columns {
162
margin-left: 43.3333333333%;
163
}
164
165
.offset-by-six.column,
166
.offset-by-six.columns {
167
margin-left: 52%;
168
}
169
170
.offset-by-seven.column,
171
.offset-by-seven.columns {
172
margin-left: 60.6666666667%;
173
}
174
175
.offset-by-eight.column,
176
.offset-by-eight.columns {
177
margin-left: 69.3333333333%;
178
}
179
180
.offset-by-nine.column,
181
.offset-by-nine.columns {
182
margin-left: 78.0%;
183
}
184
185
.offset-by-ten.column,
186
.offset-by-ten.columns {
187
margin-left: 86.6666666667%;
188
}
189
190
.offset-by-eleven.column,
191
.offset-by-eleven.columns {
192
margin-left: 95.3333333333%;
193
}
194
195
.offset-by-one-third.column,
196
.offset-by-one-third.columns {
197
margin-left: 34.6666666667%;
198
}
199
200
.offset-by-two-thirds.column,
201
.offset-by-two-thirds.columns {
202
margin-left: 69.3333333333%;
203
}
204
205
.offset-by-one-half.column,
206
.offset-by-one-half.columns {
207
margin-left: 52%;
208
}
209
210
}
211
212
213
/* Base Styles
214
–––––––––––––––––––––––––––––––––––––––––––––––––– */
215
/* NOTE
216
html is set to 62.5% so that all the REM measurements throughout Skeleton
217
are based on 10px sizing. So basically 1.5rem = 15px :) */
218
html {
219
font-size: 62.5%;
220
}
221
222
body {
223
font-size: 1.5em;
224
/* currently ems cause chrome bug misinterpreting rems on body element */
225
line-height: 1.6;
226
font-weight: 400;
227
font-family: "Open Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
228
color: rgb(50, 50, 50);
229
}
230
231
232
/* Typography
233
–––––––––––––––––––––––––––––––––––––––––––––––––– */
234
h1,
235
h2,
236
h3,
237
h4,
238
h5,
239
h6 {
240
margin-top: 0;
241
margin-bottom: 0;
242
font-weight: 300;
243
}
244
245
h1 {
246
font-size: 4.5rem;
247
line-height: 1.2;
248
letter-spacing: -.1rem;
249
margin-bottom: 2rem;
250
}
251
252
h2 {
253
font-size: 3.6rem;
254
line-height: 1.25;
255
letter-spacing: -.1rem;
256
margin-bottom: 1.8rem;
257
margin-top: 1.8rem;
258
}
259
260
h3 {
261
font-size: 3.0rem;
262
line-height: 1.3;
263
letter-spacing: -.1rem;
264
margin-bottom: 1.5rem;
265
margin-top: 1.5rem;
266
}
267
268
h4 {
269
font-size: 2.6rem;
270
line-height: 1.35;
271
letter-spacing: -.08rem;
272
margin-bottom: 1.2rem;
273
margin-top: 1.2rem;
274
}
275
276
h5 {
277
font-size: 2.2rem;
278
line-height: 1.5;
279
letter-spacing: -.05rem;
280
margin-bottom: 0.6rem;
281
margin-top: 0.6rem;
282
}
283
284
h6 {
285
font-size: 2.0rem;
286
line-height: 1.6;
287
letter-spacing: 0;
288
margin-bottom: 0.75rem;
289
margin-top: 0.75rem;
290
}
291
292
p {
293
margin-top: 0;
294
}
295
296
297
/* Blockquotes
298
–––––––––––––––––––––––––––––––––––––––––––––––––– */
299
blockquote {
300
border-left: 4px lightgrey solid;
301
padding-left: 1rem;
302
margin-top: 2rem;
303
margin-bottom: 2rem;
304
margin-left: 0rem;
305
}
306
307
308
/* Links
309
–––––––––––––––––––––––––––––––––––––––––––––––––– */
310
a {
311
color: #1EAEDB;
312
text-decoration: underline;
313
cursor: pointer;
314
}
315
316
a:hover {
317
color: #0FA0CE;
318
}
319
320
321
/* Buttons
322
–––––––––––––––––––––––––––––––––––––––––––––––––– */
323
.button,
324
button,
325
input[type="submit"],
326
input[type="reset"],
327
input[type="button"] {
328
display: inline-block;
329
height: 38px;
330
padding: 0 30px;
331
color: #555;
332
text-align: center;
333
font-size: 11px;
334
font-weight: 600;
335
line-height: 38px;
336
letter-spacing: .1rem;
337
text-transform: uppercase;
338
text-decoration: none;
339
white-space: nowrap;
340
background-color: transparent;
341
border-radius: 4px;
342
border: 1px solid #bbb;
343
cursor: pointer;
344
box-sizing: border-box;
345
}
346
347
.button:hover,
348
button:hover,
349
input[type="submit"]:hover,
350
input[type="reset"]:hover,
351
input[type="button"]:hover,
352
.button:focus,
353
button:focus,
354
input[type="submit"]:focus,
355
input[type="reset"]:focus,
356
input[type="button"]:focus {
357
color: #333;
358
border-color: #888;
359
outline: 0;
360
}
361
362
.button.button-primary,
363
button.button-primary,
364
input[type="submit"].button-primary,
365
input[type="reset"].button-primary,
366
input[type="button"].button-primary {
367
color: #FFF;
368
background-color: #33C3F0;
369
border-color: #33C3F0;
370
}
371
372
.button.button-primary:hover,
373
button.button-primary:hover,
374
input[type="submit"].button-primary:hover,
375
input[type="reset"].button-primary:hover,
376
input[type="button"].button-primary:hover,
377
.button.button-primary:focus,
378
button.button-primary:focus,
379
input[type="submit"].button-primary:focus,
380
input[type="reset"].button-primary:focus,
381
input[type="button"].button-primary:focus {
382
color: #FFF;
383
background-color: #1EAEDB;
384
border-color: #1EAEDB;
385
}
386
387
388
/* Forms
389
–––––––––––––––––––––––––––––––––––––––––––––––––– */
390
input[type="email"],
391
input[type="number"],
392
input[type="search"],
393
input[type="text"],
394
input[type="tel"],
395
input[type="url"],
396
input[type="password"],
397
textarea,
398
select {
399
height: 38px;
400
padding: 6px 10px;
401
/* The 6px vertically centers text on FF, ignored by Webkit */
402
background-color: #fff;
403
border: 1px solid #D1D1D1;
404
border-radius: 4px;
405
box-shadow: none;
406
box-sizing: border-box;
407
font-family: inherit;
408
font-size: inherit;
409
/*https://stackoverflow.com/questions/6080413/why-doesnt-input-inherit-the-font-from-body*/
410
}
411
412
/* Removes awkward default styles on some inputs for iOS */
413
input[type="email"],
414
input[type="number"],
415
input[type="search"],
416
input[type="text"],
417
input[type="tel"],
418
input[type="url"],
419
input[type="password"],
420
textarea {
421
-webkit-appearance: none;
422
-moz-appearance: none;
423
appearance: none;
424
}
425
426
textarea {
427
min-height: 65px;
428
padding-top: 6px;
429
padding-bottom: 6px;
430
}
431
432
input[type="email"]:focus,
433
input[type="number"]:focus,
434
input[type="search"]:focus,
435
input[type="text"]:focus,
436
input[type="tel"]:focus,
437
input[type="url"]:focus,
438
input[type="password"]:focus,
439
textarea:focus,
440
/*select:focus {*/
441
/* border: 1px solid #33C3F0;*/
442
/* outline: 0; }*/
443
label,
444
legend {
445
display: block;
446
margin-bottom: 0px;
447
}
448
449
fieldset {
450
padding: 0;
451
border-width: 0;
452
}
453
454
input[type="checkbox"],
455
input[type="radio"] {
456
display: inline;
457
}
458
459
label>.label-body {
460
display: inline-block;
461
margin-left: .5rem;
462
font-weight: normal;
463
}
464
465
466
/* Lists
467
–––––––––––––––––––––––––––––––––––––––––––––––––– */
468
ul {
469
list-style: circle inside;
470
}
471
472
ol {
473
list-style: decimal inside;
474
}
475
476
ol,
477
ul {
478
padding-left: 0;
479
margin-top: 0;
480
}
481
482
ul ul,
483
ul ol,
484
ol ol,
485
ol ul {
486
margin: 1.5rem 0 1.5rem 3rem;
487
font-size: 90%;
488
}
489
490
li {
491
margin-bottom: 1rem;
492
}
493
494
495
/* Tables
496
–––––––––––––––––––––––––––––––––––––––––––––––––– */
497
table {
498
border-collapse: collapse;
499
}
500
501
th,
502
td {
503
padding: 12px 15px;
504
text-align: left;
505
border-bottom: 1px solid #E1E1E1;
506
}
507
508
th:first-child,
509
td:first-child {
510
padding-left: 0;
511
}
512
513
th:last-child,
514
td:last-child {
515
padding-right: 0;
516
}
517
518
519
/* Spacing
520
–––––––––––––––––––––––––––––––––––––––––––––––––– */
521
button,
522
.button {
523
margin-bottom: 0rem;
524
}
525
526
input,
527
textarea,
528
select,
529
fieldset {
530
margin-bottom: 0rem;
531
}
532
533
pre,
534
dl,
535
figure,
536
table,
537
form {
538
margin-bottom: 0rem;
539
}
540
541
p,
542
ul,
543
ol {
544
margin-bottom: 0.75rem;
545
}
546
547
/* Utilities
548
–––––––––––––––––––––––––––––––––––––––––––––––––– */
549
.u-full-width {
550
width: 100%;
551
box-sizing: border-box;
552
}
553
554
.u-max-full-width {
555
max-width: 100%;
556
box-sizing: border-box;
557
}
558
559
.u-pull-right {
560
float: right;
561
}
562
563
.u-pull-left {
564
float: left;
565
}
566
567
568
/* Misc
569
–––––––––––––––––––––––––––––––––––––––––––––––––– */
570
hr {
571
margin-top: 3rem;
572
margin-bottom: 3.5rem;
573
border-width: 0;
574
border-top: 1px solid #E1E1E1;
575
}
576
577
578
/* Clearing
579
–––––––––––––––––––––––––––––––––––––––––––––––––– */
580
581
/* Self Clearing Goodness */
582
.container:after,
583
.row:after,
584
.u-cf {
585
content: "";
586
display: table;
587
clear: both;
588
}
589
590
591
/* Media Queries
592
–––––––––––––––––––––––––––––––––––––––––––––––––– */
593
/*
594
Note: The best way to structure the use of media queries is to create the queries
595
near the relevant code. For example, if you wanted to change the styles for buttons
596
on small devices, paste the mobile query code up in the buttons section and style it
597
there.
598
*/
599
600
601
/* Larger than mobile */
602
@media (min-width: 400px) {}
603
604
/* Larger than phablet (also point when grid becomes active) */
605
@media (min-width: 550px) {}
606
607
/* Larger than tablet */
608
@media (min-width: 750px) {}
609
610
/* Larger than desktop */
611
@media (min-width: 1000px) {}
612
613
/* Larger than Desktop HD */
614
@media (min-width: 1200px) {}
615