-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.css
1386 lines (1084 loc) · 31.2 KB
/
base.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
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
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
@tailwind base;
@tailwind components;
@tailwind utilities;
* {
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica Neue, Arial,
Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
tab-size: 4;
line-height: 1.15;
-webkit-text-size-adjust: 100%;
}
body {
@apply transition-colors duration-200;
background-color: var(--page-bg-color);
color: var(--page-text-color);
}
.preload,
.preload * {
@apply !transition-none;
}
a.link {
@apply cursor-pointer;
}
.Page .Pinpoint.constraint {
@apply mx-auto px-4 md:px-10 w-full;
max-width: 80rem;
}
/*
* Styles for the header component
*/
.headerWrapper {
@apply transition-colors duration-200;
background-color: var(--header-bg-color);
}
.Header {
@apply flex py-5 flex-col;
}
.Pinpoint.Header .top {
@apply flex justify-between;
}
.Pinpoint.Header .left {
@apply flex items-center;
}
.Pinpoint.Header .mobileMenuButton {
@apply hidden;
}
.Pinpoint.Header .right {
@apply flex gap-x-4;
}
.Pinpoint.Header .center {
@apply py-8 flex flex-col content-center text-center;
}
.Pinpoint.Header .title {
@apply font-semibold text-4xl md:text-5xl py-6 transition-colors duration-200;
color: var(--header-title-color);
}
.Pinpoint.Header .description {
@apply transition-colors duration-200;
color: var(--header-description-color);
}
.Pinpoint.Header .action {
@apply mt-6 mx-auto;
}
.Pinpoint.Header .Subscribe {
color: var(--header-subscribe-color);
}
/*
* Styles for the search bar component
*/
.Pinpoint.Search.Bar {
@apply border rounded-full flex items-center w-48 h-8 overflow-hidden transition-colors duration-200;
border-color: var(--header-control-color);
color: var(--header-control-color);
border-style: solid;
}
.Pinpoint.Search.Bar .icon {
@apply ml-3 mr-2;
}
.Pinpoint.Search.Bar .input {
@apply w-full border-0 py-1 pr-2 outline-none bg-transparent transition-colors duration-200;
color: var(--page-text-color);
}
.Pinpoint.Search.Bar .input::placeholder {
@apply opacity-30 transition-colors duration-200;
color: var(--page-text-color);
}
/*
* Styles for the theme toggle component
*/
.Pinpoint.ThemeToggle .mode {
@apply relative block h-8 border transition-colors duration-200;
border-radius: 30px;
width: 58px;
outline-width: 0;
outline-offset: 0;
border-color: var(--header-control-color);
color: var(--header-control-color);
}
.Pinpoint.ThemeToggle .mode::after {
content: '';
position: absolute;
right: 6px;
top: 5px;
border-radius: 50%;
transition: transform 0.3s;
height: 1.25rem;
width: 1.25rem;
background-color: var(--header-control-color);
}
html.dark .Pinpoint.ThemeToggle .mode::before {
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='%23999' stroke-width='2' fill='%23999' stroke-linecap='round' stroke-linejoin='round' class='css-i6dzq1' viewBox='0 0 24 24'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'/%3E%3C/svg%3E");
transform: translateX(26px);
}
html.dark .Pinpoint.ThemeToggle .mode::after {
transform: translateX(-24px);
}
.Pinpoint.ThemeToggle .mode::before {
@apply absolute h-full bg-cover bg-no-repeat top-0 left-0 w-8;
content: '';
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke='%23999' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath d='M12 1v2m0 18v2M4.22 4.22l1.42 1.42m12.72 12.72 1.42 1.42M1 12h2m18 0h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42'/%3E%3C/svg%3E");
background-size: 50%;
transition: 0.3s;
background-position: 50%;
background-color: initial;
opacity: 0.5;
}
/*
* Styles for the subscribe component
*/
.Pinpoint.Subscribe {
@apply flex items-center cursor-pointer no-underline transition-colors duration-200;
color: var(--page-highlight-color);
}
.Pinpoint.Subscribe.invisible {
@apply invisible;
}
.Pinpoint.Subscribe.visible {
@apply visible;
}
.Pinpoint.Subscribe .text {
@apply ml-1 text-sm;
}
/*
* Styles for the footer component
*/
.Pinpoint .footerWrapper {
@apply transition-colors duration-200;
background-color: var(--footer-bg-color);
color: var(--footer-text-color);
}
.Pinpoint.Footer {
@apply py-14 text-sm transition-colors duration-200;
background-color: var(--footer-bg-color);
color: var(--footer-text-color);
}
.Pinpoint.Footer .content {
@apply flex flex-col md:items-end md:flex-row items-center;
}
.Pinpoint.Footer .powered {
@apply flex pt-8;
}
.Pinpoint.Footer .right {
@apply md:ml-auto py-6 md:py-0 flex flex-col items-center md:items-end;
}
.Pinpoint.Footer .Social,
.Pinpoint.Footer .SocialMedia {
@apply mt-4 md:mt-1;
}
.Pinpoint.Footer .Copyright {
@apply flex flex-col items-center md:items-start;
}
.Pinpoint.Footer .Pinpoint.Subscribe {
@apply transition-all duration-200;
color: var(--footer-text-color);
}
.Pinpoint.Footer .Pinpoint.Subscribe:hover {
filter: brightness(1.5);
}
/*
* Styles for the copyright component
*/
.Pinpoint.Copyright .text {
@apply mt-1;
}
/*
* Styles for the social components
*/
.Pinpoint.SocialMedia,
.Pinpoint.Social {
@apply no-underline transition-all duration-200;
}
.Pinpoint.SocialMedia.Bar,
.Pinpoint.Social.Bar {
@apply flex gap-x-4;
}
.Pinpoint.SocialMedia.Bar a:hover,
.Pinpoint.Social.Bar a:hover {
filter: brightness(1.5);
}
.Pinpoint.SocialMedia.Bar.sharing,
.Pinpoint.Social.Bar.sharing {
@apply flex gap-x-2;
}
.Pinpoint.SocialMedia.ShareItem,
.Pinpoint.Social.Item.sharing {
@apply flex flex-col items-center content-center justify-center rounded-lg w-8 h-8 text-white hover:filter-none;
}
.Pinpoint.SocialMedia.TwitterShare,
.Pinpoint.Social.sharing.Twitter {
@apply bg-[#55acee] hover:bg-[#2795e9];
}
.Pinpoint.SocialMedia.FacebookShare,
.Pinpoint.Social.sharing.Facebook {
@apply bg-[#3b5998] hover:bg-[#2d4373];
}
.Pinpoint.SocialMedia.LinkedInShare,
.Pinpoint.Social.sharing.LinkedIn {
@apply bg-[#0077b5] hover:bg-[#046293];
}
.Pinpoint.SocialMedia.EmailShare,
.Pinpoint.Social.sharing.Email {
@apply bg-gray-500 hover:bg-gray-600;
}
/*
* Styles for the card components
*/
.Pinpoint.Content.Card.Container.wrapper {
@apply w-full rounded-md overflow-hidden flex flex-col cursor-pointer shadow-md hover:shadow-lg transition-all duration-200;
background-color: var(--card-bg-color);
}
.Pinpoint.Content.Card.Container.wrapper .cover,
.Pinpoint.Content.Card.Container.wrapper .covermedia .media-container img {
@apply md:h-36 lg:h-48 w-full object-cover object-center;
}
.Pinpoint.Content.Card.Container.wrapper .empty-cover {
@apply md:h-36 lg:h-48 w-full;
background-image: linear-gradient(to right, var(--card-empty-gradient-from), var(--card-empty-gradient-to));
}
.Pinpoint.Content.Card.Container.wrapper .content {
@apply flex flex-col p-6 flex-grow flex-shrink;
}
.Pinpoint.Content.Card.Container.wrapper .footer {
@apply flex mt-auto;
}
.Pinpoint.Content.Card.Container.wrapper .statistics {
@apply ml-auto;
}
.Pinpoint.Content.Card .Date {
@apply mt-0.5 text-xs mb-2 transition-colors duration-200;
color: var(--card-date-color);
}
.Pinpoint.Content.Card.Title {
@apply text-lg font-semibold transition-colors duration-200;
color: var(--card-title-color);
}
.Pinpoint.Content.Card:hover .Title {
@apply transition-colors duration-200;
color: var(--card-link-color);
}
.Pinpoint.Content.Card.Description {
@apply mb-4 transition-colors duration-200;
color: var(--card-summary-color);
}
.Pinpoint.Content.Card.Read {
@apply flex items-center cursor-pointer no-underline transition-colors duration-200;
color: var(--card-link-color);
}
.Pinpoint.Content.Card.Read .arrow {
@apply ml-2;
}
.Pinpoint.Content.Card .Tag.Bar {
@apply mb-4;
}
/*
* Styles for the statistic components
*/
.Pinpoint.Statistic.wrapper {
@apply flex items-center transition-colors duration-200;
color: var(--card-info-color);
}
.Pinpoint.Statistic .count {
@apply ml-2;
}
.Pinpoint.Statistic.Bar .Statistic.Views.wrapper {
@apply mr-4;
}
/*
* Styles for the dashboard and search components
*/
.latestWrapper {
@apply py-10 md:py-14 transition-colors duration-200;
background-color: var(--section-bg-color);
}
.Pinpoint.Latest .heading,
.Pinpoint.Recent .heading,
.Pinpoint.Search.Query .heading,
.Pinpoint.Search.Results .heading {
@apply text-2xl font-semibold;
}
.Pinpoint.Latest {
@apply flex flex-col md:flex-row;
}
.Pinpoint.Latest .heading,
.Pinpoint.Recent .heading,
.Pinpoint.Search.Results .heading {
@apply mb-10 md:mb-0 md:mr-4;
flex-basis: 25%;
}
.Pinpoint.Latest .cards {
@apply flex gap-x-8;
flex-basis: 75%;
}
.Pinpoint.Latest .Content.Card.Container.wrapper .cover,
.Pinpoint.Latest .Content.Card.Container.wrapper .covermedia .media-container img,
.Pinpoint.Latest .Content.Card.Container.wrapper .empty-cover {
@apply md:!h-64 lg:!h-80;
}
.recentWrapper,
.searchResultsWrapper {
@apply py-10 md:py-14;
}
.Pinpoint.Recent,
.Pinpoint.Search.Results {
@apply flex flex-col md:flex-row;
}
.Pinpoint.Recent .cards,
.Pinpoint.Search.Results .cards {
@apply grid grid-cols-1 sm:grid-cols-2 md:grid-cols-1 lg:grid-cols-2 gap-4 md:gap-8 grid-flow-row;
flex-basis: 75%;
}
.Pinpoint.Recent .pageIndicator {
@apply font-normal text-base ml-2 transition-colors duration-200;
color: var(--page-secondary-text-color);
}
.Pinpoint .searchQueryWrapper {
@apply py-10 md:py-14 transition-colors duration-200;
background-color: var(--section-bg-color);
}
.Pinpoint.Search.Query .heading {
@apply mb-4;
}
.Pinpoint.Search.Query .query {
@apply flex;
}
.Pinpoint.Search.Results .empty {
@apply text-3xl font-bold text-center ml-auto mr-auto;
}
.Pinpoint .searchResultsWrapper .empty {
@apply mt-[5vh];
}
.Pinpoint.Search.Results .back {
@apply flex items-center justify-center text-gray-500 text-xl mt-6 font-normal cursor-pointer;
}
.Pinpoint.Search.Results .back .icon {
@apply mr-2;
}
/*
* Pagination
*/
.Pinpoint .paginationWrapper {
@apply pb-10 md:pb-14 flex-grow;
}
.Pinpoint .paginationWrapper .Pagination {
@apply md:ml-[calc(25%+1rem)];
}
.Pinpoint.Pagination {
@apply flex justify-between items-center space-x-10 transition-colors duration-200;
color: var(--page-highlight-color);
}
.Pinpoint.Pagination.forwardOnly {
@apply justify-end;
}
.Pinpoint.Pagination .back,
.Pinpoint.Pagination .forward {
@apply min-w-0 flex items-center cursor-pointer;
flex: 1 1 50%;
}
.Pinpoint.Pagination .forward {
@apply justify-end;
}
.Pinpoint.Pagination .forward .icon {
@apply ml-2 flex-shrink-0;
}
.Pinpoint.Pagination .back .icon {
@apply mr-2 flex-shrink-0;
}
.Pinpoint.Pagination .back .text,
.Pinpoint.Pagination .forward .text {
@apply truncate;
}
/*
* Styles for the page (dashboard) component
*/
.Pinpoint.Page.Dashboard {
@apply flex flex-col h-screen;
}
.Pinpoint.Page .loaderWrapper {
@apply relative flex-grow;
}
/*
* Styles for the page (entry) component
*/
.Pinpoint.Page.Entry {
@apply flex flex-col h-screen;
}
.Pinpoint .entryWrapper {
@apply flex-grow transition-colors duration-200;
background-color: var(--article-bg-color);
}
.Pinpoint .entryWrapper .entry {
@apply py-10 md:py-14 flex flex-col md:flex-row border-t transition-colors duration-200;
border-color: var(--section-border-color);
}
.Pinpoint .entryWrapper .entry article {
@apply flex-grow;
}
.Pinpoint .entryWrapper .entry .content {
@apply flex-grow;
}
.Pinpoint .entryWrapper .sidebarWrapper {
@apply transition-colors duration-200;
color: var(--article-info-color);
}
.Pinpoint .entryWrapper .sidebarWrapper.before {
@apply md:mr-4 mb-8 md:mb-0 min-w-1/4;
}
.Pinpoint .entryWrapper .sidebarWrapper.before .Sidebar {
@apply flex-shrink-0 flex-wrap;
}
.Pinpoint .entryWrapper .sidebarWrapper.before .Clap,
.Pinpoint .entryWrapper .sidebarWrapper.before .SocialMedia.Bar,
.Pinpoint .entryWrapper .sidebarWrapper.before .Social.Bar {
@apply hidden md:flex;
}
.Pinpoint .entryWrapper .sidebarWrapper.after {
@apply md:hidden mt-8;
}
.Pinpoint .entryWrapper .sidebarWrapper.after .Sidebar {
@apply justify-between;
}
.Pinpoint .entryWrapper .sidebarWrapper.after .Date,
.Pinpoint .entryWrapper .sidebarWrapper.after .Author,
.Pinpoint .entryWrapper .sidebarWrapper.after .Tag.Bar {
@apply hidden;
}
.Pinpoint .entryWrapper .renderer {
@apply mb-10 md:mb-14 transition-colors duration-200;
color: var(--article-text-color);
}
/*
* Styles for the sidebar component
*/
.Pinpoint.Sidebar {
@apply flex flex-row md:flex-col items-center md:items-start gap-y-4 md:gap-y-8;
}
/*
* Date
*/
.Pinpoint .entryWrapper .Date {
@apply font-semibold flex-grow md:flex-initial flex-shrink-0 w-full md:w-auto;
}
/*
* Styles for the author component
*/
.Pinpoint.Author,
.Pinpoint.Author > .Pinpoint.Link,
.Pinpoint.Author a {
@apply flex items-center mr-auto;
}
.Pinpoint.Author .avatar {
@apply rounded-full mr-2 w-8 h-8 border-2;
border-color: var(--page-secondary-text-color);
}
.Pinpoint.Author .name {
@apply whitespace-nowrap;
}
/*
* Styles for the interactive clap component
*/
.Pinpoint.Clap.wrapper {
@apply relative cursor-pointer flex items-center;
}
.Pinpoint.Clap.icon {
@apply inline-flex items-center content-center transition-all;
color: var(--page-secondary-text-color);
}
.Pinpoint.Clap.icon.active {
color: var(--page-highlight-color);
}
.Pinpoint.Clap.counter {
@apply opacity-0 ml-1 transition-all;
color: var(--page-secondary-text-color);
}
.Pinpoint.Clap.counter.active {
@apply opacity-100;
}
.Pinpoint.Clap.notice {
@apply rounded-full opacity-0 absolute bg-black text-white select-none transition-all left-0 px-2 py-0.5;
}
.Pinpoint.Clap.notice.active {
@apply opacity-100 left-12;
}
/*
* Styles for the tag component
*/
.Pinpoint.Tag.Item {
@apply inline-flex items-center rounded-full text-xs px-1.5 py-0.5;
}
.Pinpoint.Tag.Item.nocolor {
@apply text-gray-600 bg-gray-300 border border-gray-500;
}
.Pinpoint.Tag.Item .icon {
@apply ml-1;
}
.Pinpoint.Tag.Bar {
@apply flex flex-wrap gap-x-2 gap-y-2;
}
/*
* Loader
*/
.Pinpoint.Loader {
@apply absolute left-0 top-0 right-0 bottom-0 flex items-center content-center justify-center;
}
.Pinpoint.Loader .inner {
@apply w-12 h-12 rounded-full border-3 animate-ping border-gray-900 m-6;
border-color: var(--page-secondary-text-color);
}
/*
* Styles for the logo component
*/
.Pinpoint.Logo {
@apply block rounded-full overflow-hidden;
}
.Pinpoint.Logo.xs {
width: 22px;
height: 22px;
}
.Pinpoint.Logo.sm {
width: 32px;
height: 32px;
}
.Pinpoint.Logo.md {
width: 42px;
height: 42px;
}
.Pinpoint.Logo.lg {
width: 52px;
height: 52px;
}
.Pinpoint.Logo.xl {
width: 62px;
height: 62px;
}
.Pinpoint.Logo .image {
width: 100%;
height: 100%;
}
/*
* Styles for the link component
*/
.Pinpoint.Link.clickable {
@apply cursor-pointer;
}
/*
* Error
*/
.Pinpoint.Page.ErrorPage {
@apply h-screen w-full flex flex-col justify-between items-stretch;
}
.Pinpoint .errorWrapper {
@apply flex-grow py-10 flex flex-col justify-center;
}
.Pinpoint.Error {
@apply flex flex-col justify-center items-center text-center;
}
.Pinpoint.Error .logo {
@apply mb-10 md:mb-14;
}
.Pinpoint.Error .error {
@apply uppercase font-medium;
color: var(--page-error-color);
}
.Pinpoint.Error .title {
@apply my-4 text-4xl md:text-5xl font-semibold;
color: var(--page-title-color);
}
.Pinpoint.Error .description {
@apply text-lg;
color: var(--page-secondary-text-color);
}
.Pinpoint.Error .link {
@apply mt-10 flex text-xl items-center;
color: var(--page-highlight-color);
}
.Pinpoint.Error .link .icon {
@apply ml-2;
}
.Pinpoint.Banner.wrapper {
@apply w-full flex flex-row items-center justify-center p-4 bg-yellow-500 text-yellow-900;
}
.Pinpoint.Banner .close {
@apply ml-auto cursor-pointer;
}
.Pinpoint.Banner .inner {
@apply flex items-center flex-row w-full max-w-[75rem];
}
.Pinpoint.Banner .icon {
@apply mr-2 w-4 h-4;
}
.Pinpoint.SubscribeForm.wrapper {
@apply block;
}
.Pinpoint.SubscribeForm.invisible {
@apply invisible;
}
.Pinpoint.SubscribeForm.visible {
@apply visible;
}
.Pinpoint.SubscribeForm .inner {
@apply flex flex-row;
}
.Pinpoint.SubscribeForm .inner .input {
@apply relative border-2 mr-2 focus-within:border-blue-500 disabled:focus-within:border-gray-500;
}
.Pinpoint.SubscribeForm .spinner {
@apply absolute top-2 right-1 text-indigo-500 z-10;
}
.Pinpoint.SubscribeForm .spinner.visible {
@apply visible;
}
.Pinpoint.SubscribeForm .spinner.invisible {
@apply invisible;
}
.Pinpoint.SubscribeForm input {
@apply p-1 focus:outline-none pr-4 bg-white disabled:text-gray-400 disabled:bg-white disabled:cursor-not-allowed;
}
.Pinpoint.SubscribeForm button {
@apply border rounded text-gray-700 bg-gray-100 px-2 py-1 disabled:bg-gray-50 disabled:text-gray-400 disabled:cursor-not-allowed;
}
.Pinpoint.SubscribeForm .success {
@apply text-green-600 dark:text-green-500 text-sm text-left mt-1;
}
.Pinpoint.SubscribeForm .error {
@apply text-red-500 text-sm text-left mt-1;
}
.Pinpoint.SubscribeForm .error .icon,
.Pinpoint.SubscribeForm .success .icon {
@apply mr-1;
}
.Pinpoint.SubscribeForm .error.visible {
@apply visible;
}
.Pinpoint.SubscribeForm .error.invisible {
@apply invisible;
}
.Pinpoint.Image :not(.image_block) {
/* note: image block can have alignment and shouldn't be responsive */
@apply max-w-full w-full h-auto;
}
:not(.covermedia) .Pinpoint.video video {
@apply w-full object-cover object-center;
}
:not(.covermedia) .Pinpoint.audio audio {
@apply w-full object-cover object-center;
}
.covermedia .Pinpoint.Image img.blurhash {
@apply h-[19rem] sm:h-[27rem] md:h-[32rem] lg:h-[36rem];
}
.Pinpoint.feedbackWrapper {
@apply mt-10 mb-5 border rounded p-4 inline-flex bg-white;
}
.Pinpoint.Roadmap .Pinpoint.feedbackWrapper {
@apply mx-auto lg:mx-12 pb-5;
}
.Pinpoint.Form.Wrapper {
@apply flex flex-col w-full;
}
.Pinpoint.Form.Parent {
@apply mt-4 sm:mt-8 sm:mx-8 py-2 px-4;
}
.Pinpoint.Form.Control {
@apply mb-4 md:mb-0 flex flex-col md:flex-row md:justify-between;
}
.Pinpoint.Form.Heading {
@apply mb-4 md:mb-8;
}
.Pinpoint.Form.Heading h1 {
@apply font-bold text-2xl leading-8 text-gray-800 whitespace-nowrap dark:text-white;
}
.Pinpoint.Form.Heading h2 {
@apply mt-2 text-gray-500 dark:text-gray-300;
}
.Pinpoint.Form.BottomButton {
@apply flex flex-wrap;
}
.Pinpoint.Form.Spacer {
@apply space-x-4;
}
.Pinpoint.Form.SaveButton {
@apply disabled:opacity-50 inline-flex items-center justify-center cursor-pointer disabled:cursor-not-allowed px-4 py-1.5 focus:outline-none font-normal rounded-md transition-colors duration-200 bg-green-600 hover:bg-green-800 text-white ml-8;
}
.Pinpoint.Field.Wrapper {
@apply flex flex-col;
}
.Pinpoint.Field.Parent {
@apply flex flex-row text-sm;
}
.Pinpoint.Field.Label {
@apply font-semibold text-gray-700 dark:text-gray-300;
}
.Pinpoint.Field.Status {
@apply ml-auto mr-1 space-x-2 flex flex-row items-center;
}
.Pinpoint.Field.Error {
@apply text-red-500;
}
.Pinpoint.Field.Info {
@apply text-gray-400;
}
.Pinpoint.Field.Children {
@apply mt-1;
}
.Pinpoint.Field.Description {
@apply mt-2 text-sm text-gray-500;
}
.Pinpoint.SegmentedControl.Wrapper {
@apply flex space-x-2;
}
.Pinpoint.SegmentedControl.Button {
@apply w-8 h-8 rounded border;
}
.Pinpoint.SegmentedControl.Button.active {
@apply bg-blue-500 border-transparent text-white;
}
.Pinpoint.SegmentedControl.Button.inactive {
@apply bg-white;
}
.Pinpoint.Field.FullWidth {
@apply w-full;
}
.Pinpoint.subscribeWrapper,
.Pinpoint.unsubscribeWrapper,
.Pinpoint.manageWrapper {
@apply flex-grow;
}
.Pinpoint.SubscriptionSubscribe .Pinpoint.Form.Control {
@apply hidden;
}
.Pinpoint.SubscriptionSubscribe.Title {
@apply text-3xl pt-4 mb-4 px-12 text-center dark:text-white;
}
.Pinpoint.SubscriptionSubscribe.Description {
@apply text-center mb-12 px-12 text-gray-600 dark:text-gray-300;
}
.Pinpoint.SubscriptionSubscribe.Wrapper {
@apply flex items-center flex-col mx-16 sm:mx-36 mb-16;
}
.Pinpoint.SubscriptionSubscribe.Field {
@apply flex-1 disabled:cursor-not-allowed focus:ring-blue-500 focus:border-blue-500 block w-full min-w-0 rounded-md text-sm border-gray-300 focus:bg-white bg-gray-100 p-2 border text-black;
}
.Pinpoint.SubscriptionSubscribe.Submit {
@apply disabled:opacity-50 inline-flex justify-center cursor-pointer disabled:cursor-not-allowed px-4 py-1.5 rounded-md flex items-center font-semibold text-white bg-green-600 hover:bg-green-500 transition-colors duration-200 focus:outline-none;
}
.Pinpoint.EmailValidation.Subscribing {
@apply flex items-center w-full;
}
.Pinpoint.EmailValidation.Subscribing.Icon {
@apply text-gray-700 mr-2;
}
.Pinpoint.EmailValidation.Error {
@apply flex items-center text-orange-600 w-full;
}
.Pinpoint.EmailValidation.Message {
@apply flex items-center text-green-600 w-full;
}
.Pinpoint.EmailValidation.Status {
@apply flex items-center w-full;
}
.Pinpoint.EmailValidation.Status.Success {
@apply text-green-600;
}
.Pinpoint.EmailValidation.Status.Invalid {
@apply text-orange-600;
}
.Pinpoint.EmailValidation.Status .Pinpoint.EmailValidation.Icon {
@apply mr-2;
}
/* Manage Subscription Component */
.Pinpoint.SubscriptionManage.Wrapper {
@apply flex items-center flex-col mx-16 sm:mx-36 mb-16;
}
.Pinpoint.SubscriptionManage.Entry {
@apply bg-gray-100 w-full p-6 rounded-lg mb-6 dark:bg-gray-700;
}