-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathActoriousClient.css
More file actions
847 lines (753 loc) · 26 KB
/
ActoriousClient.css
File metadata and controls
847 lines (753 loc) · 26 KB
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
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
/* actorious.css
**
** Lots of examples to be found here for customizing common JS libraries that
** are part of the project, most notably the likes of Tabulator and FlatPickr.
** Quite a few 'hacks' are used to move things around change things that
** normally would be better changed elsewhere but can be done here in a pinch.
** Comments abound both for my own sanity and as a way to help track down things
** later when I've forgotten entirely what it was I was doing.
**
** NOTE 1: This CSS file is used on a project with the latest version of the
** Bootstrap library (5.2+) which provides all of its colors as CSS variables.
** This is handy, and these are used throughout, for better or for worse.
** Better because it is consistent. Worse because it is probably what lots of
** folks do, so it might not have all that unique a feel at the end of the day.
**
** NOTE 2: This file is put through a minify step as part of its production
** release process, so comments in particular are stirpped out. Means I can talk
** all I want here :)
**
** Created by: Andrew Simard, June 2022.
*/
/* Using Bootstrap (v5.2+) there are a bunch of colors defined by default.
** Which makes it easy to alter them - specifically the primary and secondary
** colors. Here we're looking for darker variations of the defaults. Primarily
** for the buttons, as few of them as there are.
*/
:root {
--bs-primary: #0047AB; /* Cobalt Blue */
--bs-secondary: #505050; /* Dark Gray */
}
.btn-primary {
--bs-btn-bg: var(--bs-primary);
--bs-btn-border-color: var(--bs-primary);
}
.btn-secondary {
--bs-btn-bg: var(--bs-secondary);
--bs-btn-border-color: var(--bs-secondary);
}
/* Generally the idea is to prevent selection of page content.
** There are areas where this maybe isn't strictly necessary, but it is something
** where perhapse selection will be enabled as as the exception rather than the rule.
*/
body {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.user-select-text {
user-select: text !important;
}
/* In the Biography section, there are sometimes blocks of text shown. We'd like
** to have a bit of space between them, but not as much as a line of text that
** <br /> would produce. So we insert <p></p> tags instead, and then use this
** to define that space as half of the regular amount.
**
** h4 - title
** h5 - tagline
** h6 - used when biography is not available
*/
p {
margin-bottom: 0.5rem;
font-size: 1rem;
}
h4 {
font-size: 1.4rem;
}
h5 {
margin-top: -5px;
font-size: 1.2rem;
font-style: italic;
opacity: 0.5;
}
h6 {
font-size: 1rem;
font-style: italic;
opacity: 0.5;
}
a:link {
color: #000080;
background-color: transparent;
text-decoration: none;
}
a:visited {
color: #000040;
background-color: transparent;
text-decoration: none;
}
a:hover {
color: #0000B0;
background-color: transparent;
text-decoration: underline;
}
a:active {
color: #0000FF;
background-color: transparent;
text-decoration: underline;
}
/* I do like rounded corners. Like is probably not nearly a strong enough term.
** With a little luck and a lot of perseverence, there should be no square
** outside corners appearing anywhere! And the rounding should be consistent.
**
** A quick way to check that everything is rounding the same is to put in an
** absurdly large rounding value and see what isn't conforming. Similiarly,
** setting it to zero can be a way to make sure that everything is aligned
** perfectly.
*/
:root {
--rounding: 0.35rem;
}
div.rounded,
span.rounded,
img.rounded,
button.rounded,
.rounded {
border-radius: var(--rounding) !important;
}
div.rounded-end,
.rounded-end {
border-top-right-radius: var(--rounding) !important;
border-bottom-right-radius: var(--rounding) !important;
}
div.rounded-start,
.rounded-start {
border-top-left-radius: var(--rounding) !important;
border-bottom-left-radius: var(--rounding) !important;
}
/* Bootstrap has some weird ideas about centering text vertically. This little
** nudge helps with the buttons appearing at the top-left of the interface.
*/
#btnWriters,
#btnDirectors,
#btnActors,
#btnTop1000 {
line-height: 5px;
}
/* Customize scrollbars. After rounded corners, customized toolbars are the
** next item on the hit-list. A bit of a challenge as each browser likes to do
** its own thing. Firefox 100+ doesn't even display them anymore, or at least
** hides them as quickly as possible. Which is good if you're not going to
** bother implementing any way to change them I suppose.
*/
::-webkit-scrollbar {
width: 14px;
height: 14px;
}
::-webkit-scrollbar-corner {
background-color: var(--bs-dark);
}
::-webkit-scrollbar-track {
background-color: black;
border-radius: 200px;
}
::-webkit-scrollbar-thumb {
background-color: var(--bs-primary);
border-radius: 200px;
border: 3px solid black;
}
/* Used to center the promo image (pizza or coffee) */
#divPizza {
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
/* Customize switches (Settings page) */
.Switch > div > label {
color: white;
padding-left: 10px;
padding-top: 8px;
cursor:pointer !important;
}
.Switch > div > input {
width: 60px !important;
height: 35px;
border-radius: 4px !important;
cursor:pointer !important;
}
.form-check-input:checked {
background-color: var(--bs-primary);
border-color: var(--bs-primary);
}
.slider {
border-radius: 0.4rem;
}
.slider:before {
border-radius: 0.4rem;
background: var(--bs-light);
}
/* FontAwesome Spinner speed */
.fa-spin {
-webkit-animation: fa-spin 5s infinite linear;
animation: fa-spin 5s infinite linear;
}
/* Fades in images that are already being lazy loaded */
img.lazy {
opacity: 0.7;
}
img:not(.initial) {
transition: opacity 0.1s;
}
img.initial,
img.loaded,
img.error {
opacity: 1;
}
/* Video and Backdrop sliders have two rows, so we need to set the height of
** the slides to be the available height/2 minus the gap between the rows
*/
div.swiper2 > div > .swiper-slide,
div.swiper3 > div > .swiper-slide {
height: calc((100% - 3px) / 2);
width: 207px;
}
div.swiper2 > div > .swiper-slide > img,
div.swiper3 > div > .swiper-slide > img {
width: 206px;
}
/* When clicking on the main photo at the top, or on any of the other images
** (either profile photos or title posters) this block is used to cover the rest
** of the page. The opacity is set to 0.9 and the color to black to give the
** shade effect we're after, and is also an element that can be clicked on to
** then hide the image.
**
** Also, z-index set to appear above everything, particularly toolitps!! The X
** button is also displayed separately, so it can be above an image with the
** background shading below the image - an image sandwich of sorts.
**
** The fancy CSS for the image holder is to center a 2:3 image with a small
** border at the bottom/top. Depends on the aspect-ratio being available.
*/
#divBlock {
position: fixed !important;
z-index: 99997;
background-color: #000;
opacity: 0.9;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#divViewerHolder {
z-index: 99998;
}
#divBlockControls {
position: fixed !important;
z-index: 99999;
bottom: 10px;
right: 15px;
}
#divBlockData {
position: fixed !important;
z-index: 99999;
top: 5px;
right: 0px;
}
/*******************************************************************************
** Custom Bootstrap 5 Tooltips **
** **
** NOTE: Only tested with Bootstrap 5.2. **
** **
** Lots of CSS shenanigans here. The arror for example is just clipped border **
** corners to get the right direction. Plenty of fiddling. Wanted to have a **
** border that matched the arrow color mostly. That's how it started, anyway! **
** **
*******************************************************************************/
/* This is for the whole tooltip */
.tooltip.show {
/* way better than box-shadows in that they take the shape of whatever
** youire applying the filter to. Much nicer effect overall. Probably
** super-expensive, but what the heck. */
filter: drop-shadow(0px 0px 3px #000);
opacity: 1 !important;
}
/* The tooltip contents */
.tooltip-inner {
/* not sure why we need to press this font issue, but it seems we do */
font-family: 'Cairo', sans-serif !important;
background-color: rgba(33,37,41,0.7) !important; /* --bs-dark + transparency */
border: 2px solid var(--bs-secondary);
border-radius: 0.5rem !important;
}
/* style any included image */
.tooltip-inner > img {
border-radius: 0.5rem !important;
margin-top: 6px;
margin-bottom: 4px;
}
/* These adjust the arrow colors based on tooltip placement direction */
.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
border-top-color: var(--bs-secondary) !important;
}
.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before {
border-right-color: var(--bs-secondary) !important;
}
.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before {
border-bottom-color: var(--bs-secondary) !important;
}
.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before {
border-left-color: var(--bs-secondary) !important;
}
/* When using Tabulator to draw the tooltips, here's the missing left arrow */
.tooltip.show.imageright .tooltip-inner::after {
content: "";
position: absolute;
top: 50%;
left: -6px;
margin-top: -12px;
border-width: 6px;
border-style: solid;
border-color: transparent var(--bs-secondary) transparent transparent;
opacity: 1;
}
/*******************************************************************************
** Tabulator 5.2+ **
** **
** Starting from the default tabulator.css file, here are the changes, tweaks **
** and perhaps even a few hacks to get Tabulator to do what I want it to do. **
** Most of this is pretty standard stuff, but some of it is tracked down via **
** the Chrome dev tools to find every last little mysterious line being drawn **
** somwhere that is the wrong color or otherwise messing things up. So lots **
** of silliness to be found. **
** **
*******************************************************************************/
/* This is used to get rid of the padding in Tabulator cells, which we're doing
** so that the images can fill to expand the available space and be directly
** adjacent to one another. Means we also have to add it back elsewhere. And
** by default we'd like the text color to be black most of the time. I think
** it defaults to #333 but that can be a little distracting at times. */
.tabulator-cell {
padding: 0px !important;
color: #000 !important;
}
/* Tabulator background color */
.tabulator-tableholder,
.tabulator {
background-color: var(--bs-dark);
}
/* Column Headers */
.tabulator-header,
.tabulator-col {
background: var(--bs-dark) !important;
color: var(--bs-gray-200);
}
/* Sometimes something tries to make these taller than they need to be, which
** would normally be fine, but as we've got two tables side-by-side, they really
** need to be the same as it is super annoying when they are not. The second
** part is to just tighten up the vertical spacing as much as possible. */
.tabulator-header {
height: 26px;
}
.tabulator .tabulator-header .tabulator-col div.tabulator-col-content {
padding: 2px 4px;
}
/* Odd rows, even rows, selected rows */
.tabulator-row {
background-color: var(--bs-gray-400);
max-height: 68px;
min-height: 68px;
}
.tabulator-row.tabulator-row-even {
background-color: var(--bs-gray-200);
}
.tabulator-row.tabulator-row-even.tabulator-selected,
.tabulator-row.tabulator-selected {
background-color: #9abcde; /* I dunno about this...? */
}
/* Group rows just need to have enough space for one line of text */
.tabulator-row.tabulator-group {
min-height: 34px;
max-height: 34px;
}
/* Tamp down the padding around the header menu icons and change the color so
** all the elements are the same except for the title. The spacing needs to
** be big enough that someone could reasonably tap on it but not so big that
** it uses up all the space in some of the very narrow columns we have. */
.tabulator-header-popup-button {
padding: 0px 6px 0px 0px !important;
color: var(--bs-gray-500);
}
/* Hide all sort icons by default */
.tabulator-col .tabulator-col-sorter div.icon {
display: none;
}
/* Display the fa-sort icon when the column is not sorted */
.tabulator-col[aria-sort="none"] .tabulator-col-sorter div.icon.sort{
display: inline-block;
fill: var(--bs-secondary);
}
/* Hover styles are good */
.tabulator-col[aria-sort="none"] .tabulator-col-sorter div.icon:hover{
opacity:0.6;
}
/* Display the fa-sort-up icon when the column is sorted in asc order */
.tabulator-col[aria-sort="ascending"] .tabulator-col-sorter div.icon.sort-up{
display: inline-block;
fill: #fff;
}
/* Display the fa-sort-down icon when the column is sorted in desc order */
.tabulator-col[aria-sort="descending"] .tabulator-col-sorter div.icon.sort-down{
display: inline-block;
fill: #fff;
}
/* Set the cell borders to match the rest of the theme */
.tabulator-row .tabulator-cell {
border-right-color: var(--bs-secondary) !important;
}
/* These are to get rid of the extra line that is left after changing the
** rest of the colors. It is the far-right column's right borer */
.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row {
background: var(--bs-dark) !important;
}
.tabulator-headers > div:nth-last-child(1),
.tabulator-headers > div:nth-last-child(2),
.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row > div:last-child {
border-right:none !important;
}
/* Aadd a bit of style to the popup menus, such as the column selectors */
.tabulator-menu {
background: var(--bs-dark);
color: var(--bs-light);
border-radius: 0.4rem;
margin-top: 10px;
line-height: 1;
padding: 5px 0px;
filter: drop-shadow(0px 0px 3px black);
opacity: 0.95;
}
.tabulator-menu.tabulator-popup-container {
border: 2px solid var(--bs-secondary) !important;
}
.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover {
background: var(--bs-secondary);
}
.tabulator-menu-item {
max-height: 24px;
width: 175px;
}
/* This is for the popoups like the header filter options */
.tabulator-popup-container {
opacity: 0.95;
filter: drop-shadow(0px 0px 3px black);
}
/* This is used to shift the Filter icon to the right side of the column title
** block. This is basically taking the first element and shifting right, using
** the 'Name' selector to just do this for one column. Will likely do the same
** for other filters in other columns as well. CSS shenanigans indeed! */
/* Normally, ellipsis is a great option here (the default) but we've got some
** closely spaced title elements, so the ellipsis is taking up more space than
** we've got available, potentially using up valuable real estate. */
.tabulator-col-title {
text-overflow: clip !important;
}
#divActorTabulator > div.tabulator-header > div > div.tabulator-headers > div.tabulator-col.tabulator-sortable.tabulator-col-sorter-element.Name > div > div.tabulator-col-title-holder > div.tabulator-col-title {
display: flex;
}
#divActorTabulator > div.tabulator-header > div > div.tabulator-headers > div.tabulator-col.tabulator-sortable.tabulator-col-sorter-element.Name > div > div.tabulator-col-title-holder > div.tabulator-col-title > span:nth-child(1) {
order: 1;
text-align: right;
flex-grow: 1;
margin-right: -10px;
color: var(--bs-secondary);
fill: var(--bs-secondary) !important;
}
#divActorTabulator > div.tabulator-header > div > div.tabulator-headers > div.tabulator-col.tabulator-sortable.tabulator-col-sorter-element.Name.FilterActive > div > div.tabulator-col-title-holder > div.tabulator-col-title > span:nth-child(1) {
color: var(--bs-warning) !important;
fill: var(--bs-warning) !important;
}
/* More CSS Shenanigans with Tabulator Placeholder. Here, we've got a set of
** divs (5 of them) and we hide all but one of them, switching them by changing
** the parent class as we encounter different table states through the
** progression of making requests.
**
** States: <default>, Searching, Preparing, Loading, ReqError
*/
/* Default - shows "No Data Found" when appropriate */
div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(1) {
display: flex !important;
}
div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(2),
div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(3),
div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(4),
div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(5) {
display: none !important;
}
/* Searching */
.Searching div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(1),
.Searching div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(3),
.Searching div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(4),
.Searching div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(5) {
display: none !important;
}
div.Searching > .tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(2) {
display: flex !important;
}
/* Preparing */
.Preparing div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(1),
.Preparing div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(2),
.Preparing div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(4),
.Preparing div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(5) {
display: none !important;
}
.Preparing div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(3) {
display: flex !important;
}
/* Loading */
.Loading div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(1),
.Loading div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(2),
.Loading div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(3),
.Loading div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(5) {
display: none !important;
}
.Loading div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(4) {
display: flex !important;
}
/* ReqError */
.ReqError div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(1),
.ReqError div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(2),
.ReqError div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(3),
.ReqError div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(4) {
display: none !important;
}
.ReqError div.tabulator-tableholder > div.tabulator-placeholder > div > div:nth-child(5) {
display: flex !important;
}
/*******************************************************************************
** FlatPickr **
** **
** The default FlatPickr themes are all really large and mostly the same with **
** just variations in colours. Here we're looking to tighten things up a bit **
** and fit in more with the rest of the theme we've got going on. **
*******************************************************************************/
/* The main calendar window drop-down */
.flatpickr-calendar {
width: 300px !important;
background: var(--bs-dark) !important;
border-radius: 0.4rem !important;
border: 2px solid var(--bs-secondary);
color: var(--bs-light) !important;
box-shadow: none;
font-size: 12px;
opacity: 0.95 !important;
filter: drop-shadow(0px 0px 3px black);
}
/* The arrow at the top */
.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
border-bottom-color: var(--bs-secondary);
}
.flatpickr-calendar:before {
border-width: 8px;
}
/* This is primarily what sets the size of everything. FlatPickr does a bunch
** of math to make it all work. Rather strange, but no criticism here. A good
** example of just copying rules from the dev tools and adjusting to suit. */
.flatpickr-day {
background: none !important;
border: 1px solid transparent;
-webkit-box-sizing: border-box;
box-sizing: border-box;
color: #393939;
width: 14.2857143%;
-webkit-flex-basis: 14.2857143%;
-ms-flex-preferred-size: 14.2857143%;
flex-basis: 14.2857143%;
max-width: 39px;
height: 30px;
line-height: 30px;
color: var(--bs-white) !important;
border-radius: 0.5rem !important;
}
/* The rest of these are kind of self-explanatory. Basically set by looking at
** the control and deciding whether something needs to be changed or not, and
** then adding rules where needed. Seems not efficient, but given how much is
** going on in the layout of this control, not sure if there is a better way.
** Even money that there is a set of SCSS rules that are used to generate all
** the theme-related things here that is likely simpler than this approach */
.flatpickr-day:hover {
color: var(--bs-light) !important;
background: #000 !important;
}
.flatpickr-day.nextMonthDay,
.flatpickr-day.prevMonthDay,
.flatpickr-weeks .flatpickr-day {
color: var(--bs-secondary) !important;
}
.flatpickr-weekdays {
background: var(--bs-secondary) !important;
width: 259px;
}
.flatpickr-weekwrapper .flatpickr-weekday {
background: var(--bs-secondary) !important;
}
.flatpickr-weekwrapper .flatpickr-weeks {
padding: 1px 12px 0px 12px;
-webkit-box-shadow: 2px 0 0 var(--bs-secondary);
box-shadow: 2px 0 0 var(--bs-secondary);
}
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month {
padding: 4px 10px 5px 10px !important;
color: var(--bs-secondary) !important;
fill: var(--bs-secondary) !important;
}
.dayContainer {
width: 260px;
min-width: 260px;
max-width: 260px;
padding: 0px 2px;
}
.flatpickr-current-month {
padding: 0px !important;
color: var(--bs-light) !important;
display: flex !important;
align-items: center !important;
}
.flatpickr-current-month > .numInputWrapper {
margin-left: 30px;
}
/* Not the biggest fan of the animation */
.flatpickr-calendar.animate.open {
-webkit-animation: unset !important;
animation:unset !important;
}
/* This is for the list of months that appears when clicking on a month */
div.flatpickr-months > div > div > select {
background: var(--bs-dark) !important;
color: var(--bs-light) !important;
}
#divTop {
min-height: 281px;
}
#divBottom {
min-height: 281px;
flex: 1;
padding: 0px 4px 4px 4px;
}
#divInfoPages {
position: relative !important;
width: unset !important;
top: unset !important;
left: unset !important;
order: 1;
flex-grow: 1 !important;
min-width: 185px;
}
#divInfoPages > span {
position: relative !important;
width: 100% !important;
height: 100% !important;
top: unset !important;
left: unset !important;
padding: 3px;
}
#divInfoPages > span > div {
height: 100%;
padding: 3px 3px 3px 0px;
}
#pageAbout > div > div,
#pageBio > div > div {
position: relative !important;
width: unset !important;
height: 100% !important;
top: unset !important;
left: unset !important;
/* Make this text selectable */
user-select: text;
}
#divBackgroundSlider,
#divVideoSlider,
#divPhotoSlider {
height: 240px !important;
width: 100% !important;
}
#divBackgroundSlider,
#divVideoSlider {
padding: 0px 3px;
}
.order-0 { order: 0; }
.order-1 { order: 1; }
.order-2 { order: 2; }
.order-3 { order: 3; }
.order-4 { order: 4; }
.order-5 { order: 5; }
.order-6 { order: 6; }
.order-7 { order: 7; }
.order-8 { order: 8; }
.order-9 { order: 9; }
/*******************************************************************************
** Shepherd **
** **
** The tour styling by default is pretty generic. Here we're just adding a **
** few touches here and there to better fit in with the rest of the Actorious **
** theme which, itself, is also pretty generic **
*******************************************************************************/
/* Darken the overlay */
.shepherd-modal-overlay-container.shepherd-modal-is-visible {
opacity: 0.8;
}
/* Add a thicker, rounder border */
.shepherd-element {
border-radius: 15px;
border: 3px solid var(--bs-secondary);
}
/* Match rounding in header, tamp down the padding */
.shepherd-header {
border-top-left-radius: 12px;
border-top-right-radius: 12px;
}
.shepherd-title {
color: white;
}
.shepherd-has-title .shepherd-content .shepherd-header {
background: var(--bs-dark);
}
/* Maybe someone wants to copy this text, like to report a typo or something */
.shepherd-title,
.shepherd-text {
user-select: text;
}
.shepherd-title > img {
user-select: none;
}
/* Adjust the footer and in particular the button arrangement */
.shepherd-footer {
padding: 5px;
justify-content: space-between;
}
.shepherd-button {
background: var(--bs-primary);
border-radius: 9px;
margin-right: 5px;
}
/* if only one button, push it right */
.shepherd-button:last-child {
margin-left: auto;
}
/* Adjust the close button */
.shepherd-cancel-icon {
font-size: 4em;
font-weight: 700;
height: 0px;
position: absolute;
top: 3px;
right: 5px;
user-select: none;
}
/*******************************************************************************
** **
** This is the end! **
** **
*******************************************************************************/