polivalente 0.6.2 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/app/assets/build/css/components/_bookmarks.scss +20 -0
- data/app/assets/build/css/components/_colors.scss +104 -0
- data/app/assets/build/css/components/_forms.scss +23 -0
- data/app/assets/build/css/components/_pagination.scss +75 -0
- data/app/assets/build/css/components/_player.scss +148 -0
- data/app/assets/build/css/components/_tags.scss +29 -0
- data/app/assets/build/css/components/_themes.scss +69 -0
- data/app/assets/build/css/components/_tribute.scss +25 -0
- data/app/assets/build/css/components/plyr.css +1 -0
- data/app/assets/build/css/components/trix/_clipboard.scss +27 -0
- data/app/assets/build/css/components/trix/_trix.scss +181 -0
- data/app/assets/build/css/index.css +19 -0
- data/app/assets/build/js/application.js +2 -0
- data/app/assets/build/js/controllers/accordion_controller.js +21 -0
- data/app/assets/build/js/controllers/dynamic_select_controller.js +22 -0
- data/app/assets/build/js/controllers/index.js +33 -0
- data/app/assets/build/js/controllers/offline_controller.js +19 -0
- data/app/assets/build/js/controllers/reactive_text_controller.js +15 -0
- data/app/assets/build/js/controllers/text_counter_controller.js +38 -0
- data/app/assets/build/js/controllers/theme_controller.js +36 -0
- data/app/assets/build/js/controllers/trix_attachment_blocker_controller.js +15 -0
- data/app/assets/build/js/controllers/trix_autocomplete_controller.js +86 -0
- data/app/assets/build/js/controllers/trix_blockcode_controller.js +41 -0
- data/app/assets/build/js/controllers/trix_clipboard_controller.js +50 -0
- data/app/assets/build/js/controllers/trix_color_controller.js +49 -0
- data/app/assets/build/js/controllers/trix_highlight_controller.js +55 -0
- data/app/assets/build/js/controllers/trix_plyr_controller.js +86 -0
- data/app/assets/build/js/controllers/trix_toolbar_controller.js +48 -0
- data/app/assets/config/polivalente_manifest.js +1 -0
- data/app/assets/javascripts/polivalente/application.js +173 -0
- data/app/assets/stylesheets/polivalente/application.css +3 -14
- data/app/assets/stylesheets/polivalente/styles.css +1928 -0
- data/app/controllers/polivalente/application_controller.rb +2 -0
- data/app/controllers/polivalente/archives_controller.rb +18 -0
- data/app/controllers/polivalente/autocomplete_controller.rb +2 -3
- data/app/controllers/polivalente/comments_controller.rb +27 -0
- data/app/controllers/polivalente/trashes_controller.rb +18 -0
- data/app/controllers/polivalente/users_controller.rb +42 -0
- data/app/helpers/polivalente/gravatar_helper.rb +0 -4
- data/app/models/polivalente/tag.rb +1 -0
- data/app/views/layouts/polivalente/application.html.erb +9 -3
- data/app/views/polivalente/archives/_archive.html.erb +2 -0
- data/app/views/polivalente/archives/index.html.erb +3 -0
- data/app/views/polivalente/archives/show.html.erb +3 -0
- data/app/views/polivalente/autocomplete/tags.json.jbuilder +1 -0
- data/app/views/polivalente/autocomplete/users.json.jbuilder +1 -0
- data/app/views/polivalente/shared/_notices.html.erb +10 -0
- data/app/views/polivalente/shared/_offline_indicator.html.erb +10 -0
- data/app/views/polivalente/shared/_theme_toggle.html.erb +1 -0
- data/app/views/polivalente/tags/_cloud.html.erb +7 -0
- data/app/views/polivalente/tags/_list.html.erb +5 -0
- data/app/views/polivalente/tags/_tag.html.erb +1 -0
- data/app/views/polivalente/tags/_tag.json.jbuilder +4 -0
- data/app/views/polivalente/trashes/_trash.html.erb +2 -0
- data/app/views/polivalente/trashes/index.html.erb +3 -0
- data/app/views/polivalente/trashes/show.html.erb +3 -0
- data/app/views/polivalente/users/_form.html.erb +38 -0
- data/app/views/polivalente/users/_user.html.erb +4 -0
- data/app/views/polivalente/users/_user.json.jbuilder +4 -0
- data/app/views/polivalente/users/activities/_activity.html.erb +12 -0
- data/app/views/polivalente/users/activities/_recent.html.erb +17 -0
- data/app/views/polivalente/users/edit.html.erb +13 -0
- data/app/views/polivalente/users/related/_user.html.erb +14 -0
- data/app/views/polivalente/users/related/_users.html.erb +14 -0
- data/app/views/polivalente/users/show.html.erb +180 -0
- data/config/locales/en.yml +72 -0
- data/config/locales/es.yml +72 -0
- data/config/locales/fr.yml +74 -0
- data/config/locales/pt.yml +72 -0
- data/config/routes.rb +6 -0
- data/lib/generators/polivalente/install/install_generator.rb +1 -1
- data/lib/generators/polivalente/locales/locales_generator.rb +11 -0
- data/lib/generators/polivalente/templates/user.rb +3 -0
- data/lib/polivalente/engine.rb +1 -0
- data/lib/polivalente/version.rb +1 -1
- data/lib/polivalente.rb +3 -0
- metadata +107 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd9e481350fa34a4de4d1b749f6ac24d4e219881ed891ea810220154a826a0b1
|
4
|
+
data.tar.gz: 7283697ebb73ea5d2f85fd73cdf8fac05cf8fbceb334e24760418b47e295265e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f97784dbe0afab6c32cec149b26c31a4991120163804873209d13dcfc7b077f1eec101334367b385d69ae4b26fab102e9ac8eaa94a60be5b48804383eaf7d70e
|
7
|
+
data.tar.gz: fc9965a3985d67ca6b8155a51a3cb6cc33b02e079b7ed6244e8950c4a368aee4a3fc516dc96f819e95d39350fb3f299f77f963475ff91605f624a238e0889020
|
data/README.md
CHANGED
@@ -0,0 +1,20 @@
|
|
1
|
+
@layer components {
|
2
|
+
.bookmarked {
|
3
|
+
&__article {
|
4
|
+
@apply bg-green-500 dark:bg-green-500;
|
5
|
+
}
|
6
|
+
|
7
|
+
&__comment {
|
8
|
+
@apply bg-indigo-500 dark:bg-indigo-500;
|
9
|
+
@apply text-gray-100;
|
10
|
+
}
|
11
|
+
|
12
|
+
&__episode {
|
13
|
+
@apply bg-yellow-500 dark:bg-yellow-500;
|
14
|
+
}
|
15
|
+
|
16
|
+
&__podcast {
|
17
|
+
@apply bg-yellow-500 dark:bg-yellow-500;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,104 @@
|
|
1
|
+
.colored-article {
|
2
|
+
&.base {
|
3
|
+
@apply bg-secondary border border-tertiary text-primary;
|
4
|
+
.secondary {
|
5
|
+
@apply bg-tertiary text-primary;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
/**/
|
10
|
+
&.entertainment, &.movies, &.sports {
|
11
|
+
@apply bg-orange-500 text-white;
|
12
|
+
.secondary {
|
13
|
+
@apply bg-gray-200 text-secondary;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
/*
|
18
|
+
accounting
|
19
|
+
bank
|
20
|
+
banking
|
21
|
+
budgets
|
22
|
+
business
|
23
|
+
ecommerce
|
24
|
+
economics
|
25
|
+
finances
|
26
|
+
*/
|
27
|
+
&.business, &.finances {
|
28
|
+
@apply bg-blue-600 text-white;
|
29
|
+
.secondary {
|
30
|
+
@apply bg-gray-200 text-gray-600;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
/*
|
35
|
+
code
|
36
|
+
coding
|
37
|
+
data
|
38
|
+
database
|
39
|
+
databases
|
40
|
+
programming
|
41
|
+
scripting
|
42
|
+
sql
|
43
|
+
*/
|
44
|
+
&.coding, &.programming {
|
45
|
+
@apply bg-yellow-400 text-gray-800;
|
46
|
+
.secondary {
|
47
|
+
@apply bg-yellow-500;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
/*
|
52
|
+
art
|
53
|
+
galleries
|
54
|
+
gallery
|
55
|
+
media
|
56
|
+
video
|
57
|
+
*/
|
58
|
+
&.media, &.art, &.design {
|
59
|
+
@apply bg-gradient-to-r from-purple-400 via-pink-500 to-red-500 text-white;
|
60
|
+
.secondary {
|
61
|
+
@apply bg-gray-50 text-gray-800;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
/*
|
66
|
+
geography
|
67
|
+
history
|
68
|
+
languages
|
69
|
+
narratives
|
70
|
+
stories
|
71
|
+
story
|
72
|
+
*/
|
73
|
+
&.social-sciences {
|
74
|
+
@apply bg-gray-500 text-white;
|
75
|
+
.secondary {
|
76
|
+
@apply bg-gray-50 text-gray-800;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
/*
|
81
|
+
chemistry
|
82
|
+
math
|
83
|
+
physics
|
84
|
+
science
|
85
|
+
sciences
|
86
|
+
*/
|
87
|
+
&.sciences {
|
88
|
+
@apply bg-indigo-600 text-white;
|
89
|
+
.secondary {
|
90
|
+
@apply bg-gray-50 text-gray-800;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
/*
|
95
|
+
countries
|
96
|
+
tourism
|
97
|
+
*/
|
98
|
+
&.travel, &.tourism, &.trips {
|
99
|
+
@apply bg-pink-500 text-white;
|
100
|
+
.secondary {
|
101
|
+
@apply bg-gray-50 text-gray-800;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
.input-base {
|
2
|
+
@apply px-3 py-2 w-full;
|
3
|
+
@apply appearance-none rounded-md;
|
4
|
+
@apply focus:outline-none;
|
5
|
+
@apply transition duration-500;
|
6
|
+
@apply disabled:bg-muted;
|
7
|
+
}
|
8
|
+
|
9
|
+
.label-base {
|
10
|
+
@apply block mb-2;
|
11
|
+
@apply text-secondary text-sm font-semibold;
|
12
|
+
}
|
13
|
+
|
14
|
+
.devise-button-base {
|
15
|
+
@apply block;
|
16
|
+
@apply hover:opacity-95;
|
17
|
+
@apply px-3 py-2 w-full;
|
18
|
+
@apply border rounded;
|
19
|
+
}
|
20
|
+
|
21
|
+
.devise-link-base {
|
22
|
+
@apply my-1 block;
|
23
|
+
}
|
@@ -0,0 +1,75 @@
|
|
1
|
+
.pagy-nav,
|
2
|
+
.pagy-nav-js {
|
3
|
+
@apply flex space-x-2;
|
4
|
+
}
|
5
|
+
|
6
|
+
.pagy-nav .page a,
|
7
|
+
.pagy-nav .page.active,
|
8
|
+
.pagy-nav .page.prev.disabled,
|
9
|
+
.pagy-nav .page.next.disabled,
|
10
|
+
.pagy-nav-js .page a,
|
11
|
+
.pagy-nav-js .page.active,
|
12
|
+
.pagy-nav-js .page.prev.disabled,
|
13
|
+
.pagy-nav-js .page.next.disabled {
|
14
|
+
@apply block rounded-lg px-3 py-1 text-sm text-gray-500 font-semibold bg-gray-200 shadow-md;
|
15
|
+
|
16
|
+
&:hover {
|
17
|
+
@apply bg-gray-300;
|
18
|
+
}
|
19
|
+
|
20
|
+
&:active {
|
21
|
+
@apply bg-gray-400 text-white;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
.pagy-nav .page.prev.disabled,
|
26
|
+
.pagy-nav .page.next.disabled,
|
27
|
+
.pagy-nav-js .page.prev.disabled,
|
28
|
+
.pagy-nav-js .page.next.disabled {
|
29
|
+
@apply text-gray-400 cursor-default;
|
30
|
+
|
31
|
+
&:hover {
|
32
|
+
@apply text-gray-400 bg-gray-200;
|
33
|
+
}
|
34
|
+
|
35
|
+
&:active {
|
36
|
+
@apply text-gray-400 bg-gray-200;
|
37
|
+
}
|
38
|
+
|
39
|
+
}
|
40
|
+
|
41
|
+
.pagy-nav .page.active,
|
42
|
+
.pagy-nav-js .page.active {
|
43
|
+
@apply text-white cursor-default bg-gray-400;
|
44
|
+
|
45
|
+
&:hover {
|
46
|
+
@apply text-white bg-gray-400;
|
47
|
+
}
|
48
|
+
|
49
|
+
&:active {
|
50
|
+
@apply bg-gray-400 text-white;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
.pagy-combo-nav-js {
|
55
|
+
@apply flex max-w-max rounded-full px-3 py-1 text-sm text-gray-500 font-semibold bg-gray-200 shadow-md;
|
56
|
+
}
|
57
|
+
|
58
|
+
.pagy-combo-nav-js .pagy-combo-input {
|
59
|
+
@apply bg-white px-2 rounded-sm
|
60
|
+
}
|
61
|
+
|
62
|
+
.pagy-combo-nav-js .page.prev,
|
63
|
+
.pagy-combo-nav-js .page.next {
|
64
|
+
&:hover {
|
65
|
+
@apply text-gray-800;
|
66
|
+
}
|
67
|
+
&:active {
|
68
|
+
@apply text-gray-800;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
|
72
|
+
.pagy-combo-nav-js .page.prev.disabled,
|
73
|
+
.pagy-combo-nav-js .page.next.disabled {
|
74
|
+
@apply text-gray-400 cursor-default;
|
75
|
+
}
|
@@ -0,0 +1,148 @@
|
|
1
|
+
.player {
|
2
|
+
.rewind-button {
|
3
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath d='M8.445 14.832A1 1 0 0010 14v-2.798l5.445 3.63A1 1 0 0017 14V6a1 1 0 00-1.555-.832L10 8.798V6a1 1 0 00-1.555-.832l-6 4a1 1 0 000 1.664l6 4z' /%3E%3C/svg%3E");
|
4
|
+
background-repeat: no-repeat;
|
5
|
+
background-position: cover;
|
6
|
+
pointer-events: all;
|
7
|
+
@apply text-primary;
|
8
|
+
}
|
9
|
+
|
10
|
+
.play-button {
|
11
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zM9.555 7.168A1 1 0 008 8v4a1 1 0 001.555.832l3-2a1 1 0 000-1.664l-3-2z' clip-rule='evenodd' /%3E%3C/svg%3E");
|
12
|
+
background-repeat: no-repeat;
|
13
|
+
background-position: cover;
|
14
|
+
pointer-events: all;
|
15
|
+
@apply text-primary;
|
16
|
+
}
|
17
|
+
|
18
|
+
.forward-button {
|
19
|
+
background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' class='h-5 w-5' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath d='M4.555 5.168A1 1 0 003 6v8a1 1 0 001.555.832L10 11.202V14a1 1 0 001.555.832l6-4a1 1 0 000-1.664l-6-4A1 1 0 0010 6v2.798l-5.445-3.63z' /%3E");
|
20
|
+
background-repeat: no-repeat;
|
21
|
+
background-position: cover;
|
22
|
+
pointer-events: all;
|
23
|
+
@apply text-primary;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
#audio-player {
|
28
|
+
.container {
|
29
|
+
width: 800px;
|
30
|
+
margin: 30px auto;
|
31
|
+
}
|
32
|
+
|
33
|
+
.mejs {
|
34
|
+
&__container {
|
35
|
+
margin-top: 10px;
|
36
|
+
}
|
37
|
+
|
38
|
+
&__controls {
|
39
|
+
display: block;
|
40
|
+
}
|
41
|
+
|
42
|
+
&__controls, &__container {
|
43
|
+
background: none !important;
|
44
|
+
}
|
45
|
+
|
46
|
+
&__time {
|
47
|
+
color: #777;
|
48
|
+
font-weight: normal;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
.podcast {
|
53
|
+
background: #f0f0f0;
|
54
|
+
padding: 30px;
|
55
|
+
border-radius: 3px;
|
56
|
+
|
57
|
+
&__episode_title {
|
58
|
+
font-size: 28px;
|
59
|
+
font-weight: bold;
|
60
|
+
line-height: 1.5;
|
61
|
+
margin-bottom: 0;
|
62
|
+
padding-bottom: 0;
|
63
|
+
margin-top: 0;
|
64
|
+
color: #333;
|
65
|
+
}
|
66
|
+
|
67
|
+
&__title {
|
68
|
+
margin-top: 10px;
|
69
|
+
text-transform: uppercase;
|
70
|
+
font-size: 11px;
|
71
|
+
color: #555;
|
72
|
+
i {
|
73
|
+
font-style: normal;
|
74
|
+
font-weight: normal;
|
75
|
+
text-transform: capitalize;
|
76
|
+
margin-left: 10px;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
&__meta {
|
81
|
+
background: #ddd;
|
82
|
+
margin: 40px -30px -30px -30px;
|
83
|
+
padding: 0 30px 30px 30px;
|
84
|
+
display: flex;
|
85
|
+
justify-content: space-between;
|
86
|
+
border-bottom-left-radius: 3px;
|
87
|
+
border-bottom-right-radius: 3px;
|
88
|
+
.artwork {
|
89
|
+
margin-right: 0;
|
90
|
+
transform: translateY(-70px);
|
91
|
+
>img {
|
92
|
+
border-radius: 3px;
|
93
|
+
width: 150px;
|
94
|
+
height: 150px;
|
95
|
+
box-shadow: 0 4px 6px 0 hsla(0, 0%, 0%, 0.1);
|
96
|
+
margin-bottom: -80px;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
|
102
|
+
}
|
103
|
+
|
104
|
+
.mejs-prepended-buttons {
|
105
|
+
display: flex
|
106
|
+
}
|
107
|
+
|
108
|
+
.mejs-appended-buttons {
|
109
|
+
display: flex;
|
110
|
+
justify-content: space-evenly;
|
111
|
+
}
|
112
|
+
|
113
|
+
.mejs__play > button {
|
114
|
+
background: transparent url('https://cdn.jsdelivr.net/gh/ivorpad/images-src/mediaplayer-sprite-gray.svg') no-repeat;
|
115
|
+
}
|
116
|
+
|
117
|
+
.mejs__pause > button {
|
118
|
+
background: transparent url('https://cdn.jsdelivr.net/gh/ivorpad/images-src/mediaplayer-sprite-gray.svg') no-repeat;
|
119
|
+
background-position: -20px 0;
|
120
|
+
}
|
121
|
+
|
122
|
+
.mejs__mute > button {
|
123
|
+
background: transparent url('https://cdn.jsdelivr.net/gh/ivorpad/images-src/mediaplayer-sprite-gray.svg') no-repeat;
|
124
|
+
background-position: -60px 0;
|
125
|
+
}
|
126
|
+
|
127
|
+
.mejs__unmute > button {
|
128
|
+
background: transparent url('https://cdn.jsdelivr.net/gh/ivorpad/images-src/mediaplayer-sprite-gray.svg') no-repeat;
|
129
|
+
background-position: -40px 0;
|
130
|
+
}
|
131
|
+
|
132
|
+
.mejs-skip-back-button>button,
|
133
|
+
.mejs__skip-back-button>button {
|
134
|
+
background: transparent url('https://cdn.jsdelivr.net/gh/ivorpad/images-src/skipback.svg');
|
135
|
+
}
|
136
|
+
|
137
|
+
.mejs-jump-forward-button>button, .mejs__jump-forward-button>button {
|
138
|
+
background: url('https://cdn.jsdelivr.net/gh/ivorpad/images-src/jumpforward.svg') no-repeat;
|
139
|
+
}
|
140
|
+
|
141
|
+
.mejs__button > button {
|
142
|
+
color: #555;
|
143
|
+
}
|
144
|
+
|
145
|
+
.mejs__horizontal-volume-slider {
|
146
|
+
display: none !important;
|
147
|
+
}
|
148
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
.tag-cloud {
|
2
|
+
width: 500px;
|
3
|
+
line-height: 1.6em;
|
4
|
+
|
5
|
+
.s { @apply text-xs }
|
6
|
+
.m { @apply text-lg }
|
7
|
+
.l { @apply text-2xl }
|
8
|
+
|
9
|
+
a {
|
10
|
+
@apply px-1.5 shadow-sm rounded-md font-light text-white;
|
11
|
+
|
12
|
+
&.all { @apply border border-primary bg-inverted text-inverted; }
|
13
|
+
|
14
|
+
&.tag {
|
15
|
+
@apply bg-indigo-600 border border-indigo-700;
|
16
|
+
@apply hover:bg-amber-400 hover:border-amber-500 hover:text-black;
|
17
|
+
}
|
18
|
+
|
19
|
+
&.active { @apply bg-amber-400 border-amber-500 text-black; }
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
.tag-list {
|
24
|
+
a {
|
25
|
+
@apply bg-indigo-600 border border-indigo-700;
|
26
|
+
@apply hover:bg-amber-400 hover:border-amber-500 hover:text-black;
|
27
|
+
@apply px-1.5 shadow-sm rounded-md font-light text-white;
|
28
|
+
}
|
29
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
/* True colors: SCSS RGB */
|
2
|
+
$white: rgba(255, 255, 255, 1);
|
3
|
+
$off-white: rgba(238, 242, 255, 1);
|
4
|
+
$mint-cream: rgba(244, 255, 253, 1);
|
5
|
+
$gainsboro: rgba(217, 217, 217, 1);
|
6
|
+
$something-else: rgba(254, 242, 242, 1);
|
7
|
+
$aquamarine: rgba(146, 255, 221, 1);
|
8
|
+
$something-w: rgba(249, 250, 251, 1);
|
9
|
+
$something-x: rgba(229, 231, 235, 1);
|
10
|
+
$spring-frost: rgba(146, 255, 27, 1);
|
11
|
+
$naples-yellow: rgba(249, 220, 92, 1);
|
12
|
+
$blue: rgba(99, 102, 241, 1);
|
13
|
+
$space-cadet: rgba(29, 52, 97, 1);
|
14
|
+
$something-c: rgba(239, 68, 68, 1);
|
15
|
+
$red-crayola: rgba(237, 37, 78, 1);
|
16
|
+
$queen-blue: rgba(55, 105, 150, 1);
|
17
|
+
$ming: rgba(60, 110, 113, 1);
|
18
|
+
$something-f: rgba(95, 85, 99, 1);
|
19
|
+
$indigo: rgba(75, 85, 99, 1);
|
20
|
+
$indigo-dye: rgba(40, 75, 99, 1);
|
21
|
+
$something-b: rgba(55, 65, 81, 1);
|
22
|
+
$jet: rgba(53, 53, 53, 1);
|
23
|
+
$something-y: rgba(31, 41, 55, 1);
|
24
|
+
$dark-night: rgba(17, 24, 39, 1);
|
25
|
+
|
26
|
+
|
27
|
+
:root {
|
28
|
+
--color-bg-fill: rgba();
|
29
|
+
--color-bg-primary: $white;
|
30
|
+
--color-bg-secondary: $something-x;
|
31
|
+
--color-bg-muted: $dark-night;
|
32
|
+
--color-bg-inverted: $dark-night;
|
33
|
+
|
34
|
+
--color-text-primary: $something-y;
|
35
|
+
--color-text-secondary: $indigo;
|
36
|
+
--color-text-inverted: $something-w;
|
37
|
+
--color-text-muted: $something-x;
|
38
|
+
|
39
|
+
--color-border-primary: $something-y;
|
40
|
+
--color-border-secondary: $something-w;
|
41
|
+
--color-border-muted: $something-x;
|
42
|
+
--color-border-inverted: $something-x;
|
43
|
+
|
44
|
+
--color-button-accent: $white;
|
45
|
+
--color-button-accent-hover: $off-white;
|
46
|
+
--color-button-muted: $blue;
|
47
|
+
--color-button-inverted: $blue;
|
48
|
+
}
|
49
|
+
|
50
|
+
.dark {
|
51
|
+
--color-bg-primary: $dark-night;
|
52
|
+
--color-bg-secondary: $something-y;
|
53
|
+
--color-bg-tertiary: $something-b;
|
54
|
+
--color-bg-inverted: $something-w;
|
55
|
+
--color-bg-muted: $something-w;
|
56
|
+
|
57
|
+
--color-text-primary: $something-w;
|
58
|
+
--color-text-secondary: $indigo;
|
59
|
+
--color-text-tertiary: $something-f;
|
60
|
+
--color-text-inverted: $dark-night;
|
61
|
+
|
62
|
+
--color-border-primary: $something-x;
|
63
|
+
--color-border-secondary: 156, 163, 175;
|
64
|
+
--color-border-tertiary: $something-b;
|
65
|
+
|
66
|
+
--color-button-accent: $white;
|
67
|
+
--color-button-accent-hover: $off-white;
|
68
|
+
--color-button-muted: $something-c;
|
69
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
.tribute-container {
|
2
|
+
ul {
|
3
|
+
@apply p-0 mt-1 list-none text-primary;
|
4
|
+
@apply rounded shadow-md bg-tertiary;
|
5
|
+
}
|
6
|
+
|
7
|
+
li {
|
8
|
+
@apply bg-primary max-w-full px-1.5;
|
9
|
+
@apply hover:bg-blue-600 hover:text-white;
|
10
|
+
@apply focus:bg-blue-600 focus:text-white;
|
11
|
+
min-width: 15em;
|
12
|
+
|
13
|
+
&.highlight {
|
14
|
+
@apply bg-indigo-600 text-white;
|
15
|
+
|
16
|
+
span {
|
17
|
+
@apply font-bold;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
turbo-frame {
|
24
|
+
@apply border-t border-amber-400 block;
|
25
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
@charset "UTF-8";@keyframes plyr-progress{to{background-position:25px 0;background-position:var(--plyr-progress-loading-size,25px) 0}}@keyframes plyr-popup{0%{opacity:.5;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes plyr-fade-in{0%{opacity:0}to{opacity:1}}.plyr{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;align-items:center;direction:ltr;display:flex;flex-direction:column;font-family:inherit;font-family:var(--plyr-font-family,inherit);font-variant-numeric:tabular-nums;font-weight:400;font-weight:var(--plyr-font-weight-regular,400);line-height:1.7;line-height:var(--plyr-line-height,1.7);max-width:100%;min-width:200px;position:relative;text-shadow:none;transition:box-shadow .3s ease;z-index:0}.plyr audio,.plyr iframe,.plyr video{display:block;height:100%;width:100%}.plyr button{font:inherit;line-height:inherit;width:auto}.plyr:focus{outline:0}.plyr--full-ui{box-sizing:border-box}.plyr--full-ui *,.plyr--full-ui :after,.plyr--full-ui :before{box-sizing:inherit}.plyr--full-ui a,.plyr--full-ui button,.plyr--full-ui input,.plyr--full-ui label{touch-action:manipulation}.plyr__badge{background:#4a5464;background:var(--plyr-badge-background,#4a5464);border-radius:2px;border-radius:var(--plyr-badge-border-radius,2px);color:#fff;color:var(--plyr-badge-text-color,#fff);font-size:9px;font-size:var(--plyr-font-size-badge,9px);line-height:1;padding:3px 4px}.plyr--full-ui ::-webkit-media-text-track-container{display:none}.plyr__captions{animation:plyr-fade-in .3s ease;bottom:0;display:none;font-size:13px;font-size:var(--plyr-font-size-small,13px);left:0;padding:10px;padding:var(--plyr-control-spacing,10px);position:absolute;text-align:center;transition:transform .4s ease-in-out;width:100%}.plyr__captions span:empty{display:none}@media (min-width:480px){.plyr__captions{font-size:15px;font-size:var(--plyr-font-size-base,15px);padding:20px;padding:calc(var(--plyr-control-spacing, 10px)*2)}}@media (min-width:768px){.plyr__captions{font-size:18px;font-size:var(--plyr-font-size-large,18px)}}.plyr--captions-active .plyr__captions{display:block}.plyr:not(.plyr--hide-controls) .plyr__controls:not(:empty)~.plyr__captions{transform:translateY(-40px);transform:translateY(calc(var(--plyr-control-spacing, 10px)*-4))}.plyr__caption{background:rgba(0,0,0,.8);background:var(--plyr-captions-background,rgba(0,0,0,.8));border-radius:2px;-webkit-box-decoration-break:clone;box-decoration-break:clone;color:#fff;color:var(--plyr-captions-text-color,#fff);line-height:185%;padding:.2em .5em;white-space:pre-wrap}.plyr__caption div{display:inline}.plyr__control{background:transparent;border:0;border-radius:3px;border-radius:var(--plyr-control-radius,3px);color:inherit;cursor:pointer;flex-shrink:0;overflow:visible;padding:7px;padding:calc(var(--plyr-control-spacing, 10px)*.7);position:relative;transition:all .3s ease}.plyr__control svg{fill:currentColor;display:block;height:18px;height:var(--plyr-control-icon-size,18px);pointer-events:none;width:18px;width:var(--plyr-control-icon-size,18px)}.plyr__control:focus{outline:0}.plyr__control.plyr__tab-focus{outline-color:#00b3ff;outline-color:var(--plyr-tab-focus-color,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));outline-offset:2px;outline-style:dotted;outline-width:3px}a.plyr__control{text-decoration:none}.plyr__control.plyr__control--pressed .icon--not-pressed,.plyr__control.plyr__control--pressed .label--not-pressed,.plyr__control:not(.plyr__control--pressed) .icon--pressed,.plyr__control:not(.plyr__control--pressed) .label--pressed,a.plyr__control:after,a.plyr__control:before{display:none}.plyr--full-ui ::-webkit-media-controls{display:none}.plyr__controls{align-items:center;display:flex;justify-content:flex-end;text-align:center}.plyr__controls .plyr__progress__container{flex:1;min-width:0}.plyr__controls .plyr__controls__item{margin-left:2.5px;margin-left:calc(var(--plyr-control-spacing, 10px)/4)}.plyr__controls .plyr__controls__item:first-child{margin-left:0;margin-right:auto}.plyr__controls .plyr__controls__item.plyr__progress__container{padding-left:2.5px;padding-left:calc(var(--plyr-control-spacing, 10px)/4)}.plyr__controls .plyr__controls__item.plyr__time{padding:0 5px;padding:0 calc(var(--plyr-control-spacing, 10px)/2)}.plyr__controls .plyr__controls__item.plyr__progress__container:first-child,.plyr__controls .plyr__controls__item.plyr__time+.plyr__time,.plyr__controls .plyr__controls__item.plyr__time:first-child{padding-left:0}.plyr [data-plyr=airplay],.plyr [data-plyr=captions],.plyr [data-plyr=fullscreen],.plyr [data-plyr=pip],.plyr__controls:empty{display:none}.plyr--airplay-supported [data-plyr=airplay],.plyr--captions-enabled [data-plyr=captions],.plyr--fullscreen-enabled [data-plyr=fullscreen],.plyr--pip-supported [data-plyr=pip]{display:inline-block}.plyr__menu{display:flex;position:relative}.plyr__menu .plyr__control svg{transition:transform .3s ease}.plyr__menu .plyr__control[aria-expanded=true] svg{transform:rotate(90deg)}.plyr__menu .plyr__control[aria-expanded=true] .plyr__tooltip{display:none}.plyr__menu__container{animation:plyr-popup .2s ease;background:hsla(0,0%,100%,.9);background:var(--plyr-menu-background,hsla(0,0%,100%,.9));border-radius:4px;bottom:100%;box-shadow:0 1px 2px rgba(0,0,0,.15);box-shadow:var(--plyr-menu-shadow,0 1px 2px rgba(0,0,0,.15));color:#4a5464;color:var(--plyr-menu-color,#4a5464);font-size:15px;font-size:var(--plyr-font-size-base,15px);margin-bottom:10px;position:absolute;right:-3px;text-align:left;white-space:nowrap;z-index:3}.plyr__menu__container>div{overflow:hidden;transition:height .35s cubic-bezier(.4,0,.2,1),width .35s cubic-bezier(.4,0,.2,1)}.plyr__menu__container:after{border:4px solid transparent;border-top:var(--plyr-menu-arrow-size,4px) solid hsla(0,0%,100%,.9);border-width:var(--plyr-menu-arrow-size,4px);content:"";height:0;position:absolute;right:14px;right:calc(var(--plyr-control-icon-size, 18px)/2 + var(--plyr-control-spacing, 10px)*.7 - var(--plyr-menu-arrow-size, 4px)/2);top:100%;width:0}.plyr__menu__container [role=menu]{padding:7px;padding:calc(var(--plyr-control-spacing, 10px)*.7)}.plyr__menu__container [role=menuitem],.plyr__menu__container [role=menuitemradio]{margin-top:2px}.plyr__menu__container [role=menuitem]:first-child,.plyr__menu__container [role=menuitemradio]:first-child{margin-top:0}.plyr__menu__container .plyr__control{align-items:center;color:#4a5464;color:var(--plyr-menu-color,#4a5464);display:flex;font-size:13px;font-size:var(--plyr-font-size-menu,var(--plyr-font-size-small,13px));padding:4.66667px 10.5px;padding:calc(var(--plyr-control-spacing, 10px)*.7/1.5) calc(var(--plyr-control-spacing, 10px)*.7*1.5);-webkit-user-select:none;user-select:none;width:100%}.plyr__menu__container .plyr__control>span{align-items:inherit;display:flex;width:100%}.plyr__menu__container .plyr__control:after{border:4px solid transparent;border:var(--plyr-menu-item-arrow-size,4px) solid transparent;content:"";position:absolute;top:50%;transform:translateY(-50%)}.plyr__menu__container .plyr__control--forward{padding-right:28px;padding-right:calc(var(--plyr-control-spacing, 10px)*.7*4)}.plyr__menu__container .plyr__control--forward:after{border-left-color:#728197;border-left-color:var(--plyr-menu-arrow-color,#728197);right:6.5px;right:calc(var(--plyr-control-spacing, 10px)*.7*1.5 - var(--plyr-menu-item-arrow-size, 4px))}.plyr__menu__container .plyr__control--forward.plyr__tab-focus:after,.plyr__menu__container .plyr__control--forward:hover:after{border-left-color:currentColor}.plyr__menu__container .plyr__control--back{font-weight:400;font-weight:var(--plyr-font-weight-regular,400);margin:7px;margin:calc(var(--plyr-control-spacing, 10px)*.7);margin-bottom:3.5px;margin-bottom:calc(var(--plyr-control-spacing, 10px)*.7/2);padding-left:28px;padding-left:calc(var(--plyr-control-spacing, 10px)*.7*4);position:relative;width:calc(100% - 14px);width:calc(100% - var(--plyr-control-spacing, 10px)*.7*2)}.plyr__menu__container .plyr__control--back:after{border-right-color:#728197;border-right-color:var(--plyr-menu-arrow-color,#728197);left:6.5px;left:calc(var(--plyr-control-spacing, 10px)*.7*1.5 - var(--plyr-menu-item-arrow-size, 4px))}.plyr__menu__container .plyr__control--back:before{background:#dcdfe5;background:var(--plyr-menu-back-border-color,#dcdfe5);box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 var(--plyr-menu-back-border-shadow-color,#fff);content:"";height:1px;left:0;margin-top:3.5px;margin-top:calc(var(--plyr-control-spacing, 10px)*.7/2);overflow:hidden;position:absolute;right:0;top:100%}.plyr__menu__container .plyr__control--back.plyr__tab-focus:after,.plyr__menu__container .plyr__control--back:hover:after{border-right-color:currentColor}.plyr__menu__container .plyr__control[role=menuitemradio]{padding-left:7px;padding-left:calc(var(--plyr-control-spacing, 10px)*.7)}.plyr__menu__container .plyr__control[role=menuitemradio]:after,.plyr__menu__container .plyr__control[role=menuitemradio]:before{border-radius:100%}.plyr__menu__container .plyr__control[role=menuitemradio]:before{background:rgba(0,0,0,.1);content:"";display:block;flex-shrink:0;height:16px;margin-right:10px;margin-right:var(--plyr-control-spacing,10px);transition:all .3s ease;width:16px}.plyr__menu__container .plyr__control[role=menuitemradio]:after{background:#fff;border:0;height:6px;left:12px;opacity:0;top:50%;transform:translateY(-50%) scale(0);transition:transform .3s ease,opacity .3s ease;width:6px}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:before{background:#00b3ff;background:var(--plyr-control-toggle-checked-background,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)))}.plyr__menu__container .plyr__control[role=menuitemradio][aria-checked=true]:after{opacity:1;transform:translateY(-50%) scale(1)}.plyr__menu__container .plyr__control[role=menuitemradio].plyr__tab-focus:before,.plyr__menu__container .plyr__control[role=menuitemradio]:hover:before{background:rgba(35,40,47,.1)}.plyr__menu__container .plyr__menu__value{align-items:center;display:flex;margin-left:auto;margin-right:calc(-7px - -2);margin-right:calc(var(--plyr-control-spacing, 10px)*.7*-1 - -2);overflow:hidden;padding-left:24.5px;padding-left:calc(var(--plyr-control-spacing, 10px)*.7*3.5);pointer-events:none}.plyr--full-ui input[type=range]{-webkit-appearance:none;background:transparent;border:0;border-radius:26px;border-radius:calc(var(--plyr-range-thumb-height, 13px)*2);color:#00b3ff;color:var(--plyr-range-fill-background,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));display:block;height:19px;height:calc(var(--plyr-range-thumb-active-shadow-width, 3px)*2 + var(--plyr-range-thumb-height, 13px));margin:0;min-width:0;padding:0;transition:box-shadow .3s ease;width:100%}.plyr--full-ui input[type=range]::-webkit-slider-runnable-track{background:transparent;background-image:linear-gradient(90deg,currentColor 0,transparent 0);background-image:linear-gradient(to right,currentColor var(--value,0),transparent var(--value,0));border:0;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px);-webkit-transition:box-shadow .3s ease;transition:box-shadow .3s ease;-webkit-user-select:none;user-select:none}.plyr--full-ui input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2));height:13px;height:var(--plyr-range-thumb-height,13px);margin-top:-4px;margin-top:calc(var(--plyr-range-thumb-height, 13px)/2*-1 - var(--plyr-range-track-height, 5px)/2*-1);position:relative;-webkit-transition:all .2s ease;transition:all .2s ease;width:13px;width:var(--plyr-range-thumb-height,13px)}.plyr--full-ui input[type=range]::-moz-range-track{background:transparent;border:0;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px);-moz-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}.plyr--full-ui input[type=range]::-moz-range-thumb{background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2));height:13px;height:var(--plyr-range-thumb-height,13px);position:relative;-moz-transition:all .2s ease;transition:all .2s ease;width:13px;width:var(--plyr-range-thumb-height,13px)}.plyr--full-ui input[type=range]::-moz-range-progress{background:currentColor;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px)}.plyr--full-ui input[type=range]::-ms-track{color:transparent}.plyr--full-ui input[type=range]::-ms-fill-upper,.plyr--full-ui input[type=range]::-ms-track{background:transparent;border:0;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px);-ms-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}.plyr--full-ui input[type=range]::-ms-fill-lower{background:transparent;background:currentColor;border:0;border-radius:2.5px;border-radius:calc(var(--plyr-range-track-height, 5px)/2);height:5px;height:var(--plyr-range-track-height,5px);-ms-transition:box-shadow .3s ease;transition:box-shadow .3s ease;user-select:none}.plyr--full-ui input[type=range]::-ms-thumb{background:#fff;background:var(--plyr-range-thumb-background,#fff);border:0;border-radius:100%;box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2));height:13px;height:var(--plyr-range-thumb-height,13px);margin-top:0;position:relative;-ms-transition:all .2s ease;transition:all .2s ease;width:13px;width:var(--plyr-range-thumb-height,13px)}.plyr--full-ui input[type=range]::-ms-tooltip{display:none}.plyr--full-ui input[type=range]:focus{outline:0}.plyr--full-ui input[type=range]::-moz-focus-outer{border:0}.plyr--full-ui input[type=range].plyr__tab-focus::-webkit-slider-runnable-track{outline-color:#00b3ff;outline-color:var(--plyr-tab-focus-color,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));outline-offset:2px;outline-style:dotted;outline-width:3px}.plyr--full-ui input[type=range].plyr__tab-focus::-moz-range-track{outline-color:#00b3ff;outline-color:var(--plyr-tab-focus-color,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));outline-offset:2px;outline-style:dotted;outline-width:3px}.plyr--full-ui input[type=range].plyr__tab-focus::-ms-track{outline-color:#00b3ff;outline-color:var(--plyr-tab-focus-color,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));outline-offset:2px;outline-style:dotted;outline-width:3px}.plyr__poster{background-color:#000;background-color:var(--plyr-video-background,var(--plyr-video-background,#000));background-position:50% 50%;background-repeat:no-repeat;background-size:contain;height:100%;left:0;opacity:0;position:absolute;top:0;transition:opacity .2s ease;width:100%;z-index:1}.plyr--stopped.plyr__poster-enabled .plyr__poster{opacity:1}.plyr--youtube.plyr--paused.plyr__poster-enabled:not(.plyr--stopped) .plyr__poster{display:none}.plyr__time{font-size:13px;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px))}.plyr__time+.plyr__time:before{content:"⁄";margin-right:10px;margin-right:var(--plyr-control-spacing,10px)}@media (max-width:767px){.plyr__time+.plyr__time{display:none}}.plyr__tooltip{background:hsla(0,0%,100%,.9);background:var(--plyr-tooltip-background,hsla(0,0%,100%,.9));border-radius:3px;border-radius:var(--plyr-tooltip-radius,3px);bottom:100%;box-shadow:0 1px 2px rgba(0,0,0,.15);box-shadow:var(--plyr-tooltip-shadow,0 1px 2px rgba(0,0,0,.15));color:#4a5464;color:var(--plyr-tooltip-color,#4a5464);font-size:13px;font-size:var(--plyr-font-size-small,13px);font-weight:400;font-weight:var(--plyr-font-weight-regular,400);left:50%;line-height:1.3;margin-bottom:10px;margin-bottom:calc(var(--plyr-control-spacing, 10px)/2*2);opacity:0;padding:5px 7.5px;padding:calc(var(--plyr-control-spacing, 10px)/2) calc(var(--plyr-control-spacing, 10px)/2*1.5);pointer-events:none;position:absolute;transform:translate(-50%,10px) scale(.8);transform-origin:50% 100%;transition:transform .2s ease .1s,opacity .2s ease .1s;white-space:nowrap;z-index:2}.plyr__tooltip:before{border-left:4px solid transparent;border-left:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-right:4px solid transparent;border-right:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-top:4px solid hsla(0,0%,100%,.9);border-top:var(--plyr-tooltip-arrow-size,4px) solid var(--plyr-tooltip-background,hsla(0,0%,100%,.9));bottom:-4px;bottom:calc(var(--plyr-tooltip-arrow-size, 4px)*-1);content:"";height:0;left:50%;position:absolute;transform:translateX(-50%);width:0;z-index:2}.plyr .plyr__control.plyr__tab-focus .plyr__tooltip,.plyr .plyr__control:hover .plyr__tooltip,.plyr__tooltip--visible{opacity:1;transform:translate(-50%) scale(1)}.plyr .plyr__control:hover .plyr__tooltip{z-index:3}.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip,.plyr__controls>.plyr__control:first-child .plyr__tooltip{left:0;transform:translateY(10px) scale(.8);transform-origin:0 100%}.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip:before,.plyr__controls>.plyr__control:first-child .plyr__tooltip:before{left:16px;left:calc(var(--plyr-control-icon-size, 18px)/2 + var(--plyr-control-spacing, 10px)*.7)}.plyr__controls>.plyr__control:last-child .plyr__tooltip{left:auto;right:0;transform:translateY(10px) scale(.8);transform-origin:100% 100%}.plyr__controls>.plyr__control:last-child .plyr__tooltip:before{left:auto;right:16px;right:calc(var(--plyr-control-icon-size, 18px)/2 + var(--plyr-control-spacing, 10px)*.7);transform:translateX(50%)}.plyr__controls>.plyr__control:first-child+.plyr__control.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:first-child+.plyr__control .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child+.plyr__control:hover .plyr__tooltip,.plyr__controls>.plyr__control:first-child.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:first-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:first-child:hover .plyr__tooltip,.plyr__controls>.plyr__control:last-child.plyr__tab-focus .plyr__tooltip,.plyr__controls>.plyr__control:last-child .plyr__tooltip--visible,.plyr__controls>.plyr__control:last-child:hover .plyr__tooltip{transform:translate(0) scale(1)}.plyr__progress{left:6.5px;left:calc(var(--plyr-range-thumb-height, 13px)*.5);margin-right:13px;margin-right:var(--plyr-range-thumb-height,13px);position:relative}.plyr__progress__buffer,.plyr__progress input[type=range]{margin-left:-6.5px;margin-left:calc(var(--plyr-range-thumb-height, 13px)*-.5);margin-right:-6.5px;margin-right:calc(var(--plyr-range-thumb-height, 13px)*-.5);width:calc(100% + 13px);width:calc(100% + var(--plyr-range-thumb-height, 13px))}.plyr__progress input[type=range]{position:relative;z-index:2}.plyr__progress .plyr__tooltip{font-size:13px;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px));left:0}.plyr__progress__buffer{-webkit-appearance:none;background:transparent;border:0;border-radius:100px;height:5px;height:var(--plyr-range-track-height,5px);left:0;margin-top:-2.5px;margin-top:calc(var(--plyr-range-track-height, 5px)/2*-1);padding:0;position:absolute;top:50%}.plyr__progress__buffer::-webkit-progress-bar{background:transparent}.plyr__progress__buffer::-webkit-progress-value{background:currentColor;border-radius:100px;min-width:5px;min-width:var(--plyr-range-track-height,5px);-webkit-transition:width .2s ease;transition:width .2s ease}.plyr__progress__buffer::-moz-progress-bar{background:currentColor;border-radius:100px;min-width:5px;min-width:var(--plyr-range-track-height,5px);-moz-transition:width .2s ease;transition:width .2s ease}.plyr__progress__buffer::-ms-fill{border-radius:100px;-ms-transition:width .2s ease;transition:width .2s ease}.plyr--loading .plyr__progress__buffer{animation:plyr-progress 1s linear infinite;background-image:linear-gradient(-45deg,rgba(35,40,47,.6) 25%,transparent 0,transparent 50%,rgba(35,40,47,.6) 0,rgba(35,40,47,.6) 75%,transparent 0,transparent);background-image:linear-gradient(-45deg,var(--plyr-progress-loading-background,rgba(35,40,47,.6)) 25%,transparent 25%,transparent 50%,var(--plyr-progress-loading-background,rgba(35,40,47,.6)) 50%,var(--plyr-progress-loading-background,rgba(35,40,47,.6)) 75%,transparent 75%,transparent);background-repeat:repeat-x;background-size:25px 25px;background-size:var(--plyr-progress-loading-size,25px) var(--plyr-progress-loading-size,25px);color:transparent}.plyr--video.plyr--loading .plyr__progress__buffer{background-color:hsla(0,0%,100%,.25);background-color:var(--plyr-video-progress-buffered-background,hsla(0,0%,100%,.25))}.plyr--audio.plyr--loading .plyr__progress__buffer{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6))}.plyr__volume{align-items:center;display:flex;max-width:110px;min-width:80px;position:relative;width:20%}.plyr__volume input[type=range]{margin-left:5px;margin-left:calc(var(--plyr-control-spacing, 10px)/2);margin-right:5px;margin-right:calc(var(--plyr-control-spacing, 10px)/2);position:relative;z-index:2}.plyr--is-ios .plyr__volume{min-width:0;width:auto}.plyr--audio{display:block}.plyr--audio .plyr__controls{background:#fff;background:var(--plyr-audio-controls-background,#fff);border-radius:inherit;color:#4a5464;color:var(--plyr-audio-control-color,#4a5464);padding:10px;padding:var(--plyr-control-spacing,10px)}.plyr--audio .plyr__control.plyr__tab-focus,.plyr--audio .plyr__control:hover,.plyr--audio .plyr__control[aria-expanded=true]{background:#00b3ff;background:var(--plyr-audio-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));color:#fff;color:var(--plyr-audio-control-color-hover,#fff)}.plyr--full-ui.plyr--audio input[type=range]::-webkit-slider-runnable-track{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6)))}.plyr--full-ui.plyr--audio input[type=range]::-moz-range-track{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6)))}.plyr--full-ui.plyr--audio input[type=range]::-ms-track{background-color:rgba(193,200,209,.6);background-color:var(--plyr-audio-range-track-background,var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6)))}.plyr--full-ui.plyr--audio input[type=range]:active::-webkit-slider-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px rgba(35,40,47,.1);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,rgba(35,40,47,.1))}.plyr--full-ui.plyr--audio input[type=range]:active::-moz-range-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px rgba(35,40,47,.1);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,rgba(35,40,47,.1))}.plyr--full-ui.plyr--audio input[type=range]:active::-ms-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px rgba(35,40,47,.1);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,rgba(35,40,47,.1))}.plyr--audio .plyr__progress__buffer{color:rgba(193,200,209,.6);color:var(--plyr-audio-progress-buffered-background,rgba(193,200,209,.6))}.plyr--video{background:#000;background:var(--plyr-video-background,var(--plyr-video-background,#000));overflow:hidden}.plyr--video.plyr--menu-open{overflow:visible}.plyr__video-wrapper{background:#000;background:var(--plyr-video-background,var(--plyr-video-background,#000));height:100%;margin:auto;overflow:hidden;position:relative;width:100%}.plyr__video-embed,.plyr__video-wrapper--fixed-ratio{aspect-ratio:16/9}@supports not (aspect-ratio:16/9){.plyr__video-embed,.plyr__video-wrapper--fixed-ratio{height:0;padding-bottom:56.25%;position:relative}}.plyr__video-embed iframe,.plyr__video-wrapper--fixed-ratio video{border:0;height:100%;left:0;position:absolute;top:0;width:100%}.plyr--full-ui .plyr__video-embed>.plyr__video-embed__container{padding-bottom:240%;position:relative;transform:translateY(-38.28125%)}.plyr--video .plyr__controls{background:linear-gradient(transparent,rgba(0,0,0,.75));background:var(--plyr-video-controls-background,linear-gradient(transparent,rgba(0,0,0,.75)));border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;bottom:0;color:#fff;color:var(--plyr-video-control-color,#fff);left:0;padding:5px;padding:calc(var(--plyr-control-spacing, 10px)/2);padding-top:20px;padding-top:calc(var(--plyr-control-spacing, 10px)*2);position:absolute;right:0;transition:opacity .4s ease-in-out,transform .4s ease-in-out;z-index:3}@media (min-width:480px){.plyr--video .plyr__controls{padding:10px;padding:var(--plyr-control-spacing,10px);padding-top:35px;padding-top:calc(var(--plyr-control-spacing, 10px)*3.5)}}.plyr--video.plyr--hide-controls .plyr__controls{opacity:0;pointer-events:none;transform:translateY(100%)}.plyr--video .plyr__control.plyr__tab-focus,.plyr--video .plyr__control:hover,.plyr--video .plyr__control[aria-expanded=true]{background:#00b3ff;background:var(--plyr-video-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));color:#fff;color:var(--plyr-video-control-color-hover,#fff)}.plyr__control--overlaid{background:#00b3ff;background:var(--plyr-video-control-background-hover,var(--plyr-color-main,var(--plyr-color-main,#00b3ff)));border:0;border-radius:100%;color:#fff;color:var(--plyr-video-control-color,#fff);display:none;left:50%;opacity:.9;padding:15px;padding:calc(var(--plyr-control-spacing, 10px)*1.5);position:absolute;top:50%;transform:translate(-50%,-50%);transition:.3s;z-index:2}.plyr__control--overlaid svg{left:2px;position:relative}.plyr__control--overlaid:focus,.plyr__control--overlaid:hover{opacity:1}.plyr--playing .plyr__control--overlaid{opacity:0;visibility:hidden}.plyr--full-ui.plyr--video .plyr__control--overlaid{display:block}.plyr--full-ui.plyr--video input[type=range]::-webkit-slider-runnable-track{background-color:hsla(0,0%,100%,.25);background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,hsla(0,0%,100%,.25)))}.plyr--full-ui.plyr--video input[type=range]::-moz-range-track{background-color:hsla(0,0%,100%,.25);background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,hsla(0,0%,100%,.25)))}.plyr--full-ui.plyr--video input[type=range]::-ms-track{background-color:hsla(0,0%,100%,.25);background-color:var(--plyr-video-range-track-background,var(--plyr-video-progress-buffered-background,hsla(0,0%,100%,.25)))}.plyr--full-ui.plyr--video input[type=range]:active::-webkit-slider-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px hsla(0,0%,100%,.5);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,hsla(0,0%,100%,.5))}.plyr--full-ui.plyr--video input[type=range]:active::-moz-range-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px hsla(0,0%,100%,.5);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,hsla(0,0%,100%,.5))}.plyr--full-ui.plyr--video input[type=range]:active::-ms-thumb{box-shadow:0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2),0 0 0 3px hsla(0,0%,100%,.5);box-shadow:var(--plyr-range-thumb-shadow,0 1px 1px rgba(35,40,47,.15),0 0 0 1px rgba(35,40,47,.2)),0 0 0 var(--plyr-range-thumb-active-shadow-width,3px) var(--plyr-audio-range-thumb-active-shadow-color,hsla(0,0%,100%,.5))}.plyr--video .plyr__progress__buffer{color:hsla(0,0%,100%,.25);color:var(--plyr-video-progress-buffered-background,hsla(0,0%,100%,.25))}.plyr:fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:fullscreen video{height:100%}.plyr:fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:fullscreen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-webkit-full-screen .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}.plyr:fullscreen .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr:-webkit-full-screen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-webkit-full-screen video{height:100%}.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-webkit-full-screen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-webkit-full-screen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-webkit-full-screen .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr:-moz-full-screen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-moz-full-screen video{height:100%}.plyr:-moz-full-screen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-moz-full-screen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-moz-full-screen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-moz-full-screen .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr:-ms-fullscreen{background:#000;border-radius:0!important;height:100%;margin:0;width:100%}.plyr:-ms-fullscreen video{height:100%}.plyr:-ms-fullscreen .plyr__control .icon--exit-fullscreen{display:block}.plyr:-ms-fullscreen .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr:-ms-fullscreen.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr:-ms-fullscreen .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr--fullscreen-fallback{background:#000;border-radius:0!important;bottom:0;display:block;height:100%;left:0;margin:0;position:fixed;right:0;top:0;width:100%;z-index:10000000}.plyr--fullscreen-fallback video{height:100%}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen{display:block}.plyr--fullscreen-fallback .plyr__control .icon--exit-fullscreen+svg{display:none}.plyr--fullscreen-fallback.plyr--hide-controls{cursor:none}@media (min-width:1024px){.plyr--fullscreen-fallback .plyr__captions{font-size:21px;font-size:var(--plyr-font-size-xlarge,21px)}}.plyr__ads{border-radius:inherit;bottom:0;cursor:pointer;left:0;overflow:hidden;position:absolute;right:0;top:0;z-index:-1}.plyr__ads>div,.plyr__ads>div iframe{height:100%;position:absolute;width:100%}.plyr__ads:after{background:#23282f;border-radius:2px;bottom:10px;bottom:var(--plyr-control-spacing,10px);color:#fff;content:attr(data-badge-text);font-size:11px;padding:2px 6px;pointer-events:none;position:absolute;right:10px;right:var(--plyr-control-spacing,10px);z-index:3}.plyr__ads:empty:after{display:none}.plyr__cues{background:currentColor;display:block;height:5px;height:var(--plyr-range-track-height,5px);left:0;margin:-var(--plyr-range-track-height,5px)/2 0 0;opacity:.8;position:absolute;top:50%;width:3px;z-index:3}.plyr__preview-thumb{background-color:hsla(0,0%,100%,.9);background-color:var(--plyr-tooltip-background,hsla(0,0%,100%,.9));border-radius:3px;bottom:100%;box-shadow:0 1px 2px rgba(0,0,0,.15);box-shadow:var(--plyr-tooltip-shadow,0 1px 2px rgba(0,0,0,.15));margin-bottom:10px;margin-bottom:calc(var(--plyr-control-spacing, 10px)/2*2);opacity:0;padding:3px;padding:var(--plyr-tooltip-radius,3px);pointer-events:none;position:absolute;transform:translateY(10px) scale(.8);transform-origin:50% 100%;transition:transform .2s ease .1s,opacity .2s ease .1s;z-index:2}.plyr__preview-thumb--is-shown{opacity:1;transform:translate(0) scale(1)}.plyr__preview-thumb:before{border-left:4px solid transparent;border-left:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-right:4px solid transparent;border-right:var(--plyr-tooltip-arrow-size,4px) solid transparent;border-top:4px solid hsla(0,0%,100%,.9);border-top:var(--plyr-tooltip-arrow-size,4px) solid var(--plyr-tooltip-background,hsla(0,0%,100%,.9));bottom:-4px;bottom:calc(var(--plyr-tooltip-arrow-size, 4px)*-1);content:"";height:0;left:50%;position:absolute;transform:translateX(-50%);width:0;z-index:2}.plyr__preview-thumb__image-container{background:#c1c8d1;border-radius:2px;border-radius:calc(var(--plyr-tooltip-radius, 3px) - 1px);overflow:hidden;position:relative;z-index:0}.plyr__preview-thumb__image-container img{height:100%;left:0;max-height:none;max-width:none;position:absolute;top:0;width:100%}.plyr__preview-thumb__time-container{bottom:6px;left:0;position:absolute;right:0;white-space:nowrap;z-index:3}.plyr__preview-thumb__time-container span{background-color:rgba(0,0,0,.55);border-radius:2px;border-radius:calc(var(--plyr-tooltip-radius, 3px) - 1px);color:#fff;font-size:13px;font-size:var(--plyr-font-size-time,var(--plyr-font-size-small,13px));padding:3px 6px}.plyr__preview-scrubbing{bottom:0;filter:blur(1px);height:100%;left:0;margin:auto;opacity:0;overflow:hidden;pointer-events:none;position:absolute;right:0;top:0;transition:opacity .3s ease;width:100%;z-index:1}.plyr__preview-scrubbing--is-shown{opacity:1}.plyr__preview-scrubbing img{height:100%;left:0;max-height:none;max-width:none;-o-object-fit:contain;object-fit:contain;position:absolute;top:0;width:100%}.plyr--no-transition{transition:none!important}.plyr__sr-only{clip:rect(1px,1px,1px,1px);border:0!important;height:1px!important;overflow:hidden;padding:0!important;position:absolute!important;width:1px!important}.plyr [hidden]{display:none!important}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
.clipboard--supported {
|
2
|
+
pre {
|
3
|
+
&.hljs {
|
4
|
+
pointer-events: all;
|
5
|
+
@apply bg-gray-800;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
.code-sample {
|
10
|
+
pointer-events: none;
|
11
|
+
@apply bg-gray-800 border border-gray-800;
|
12
|
+
@apply px-2 py-0 my-6 rounded-md;
|
13
|
+
@apply flex flex-row relative;
|
14
|
+
|
15
|
+
button {
|
16
|
+
&.copy {
|
17
|
+
@apply bg-gray-100;
|
18
|
+
@apply absolute w-7 h-7 top-0 right-0 py-0.5 px-2 rounded-r rounded-bl;
|
19
|
+
@apply text-white text-xs uppercase hover:scale-110 hover:text-white hover:p-3 hover:bg-yellow-300;
|
20
|
+
pointer-events: all;
|
21
|
+
background-image: url('data:image/svg+xml;base64,PHN2ZyBjbGFzcz0idGV4dC13aGl0ZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHN0cm9rZT0iY3VycmVudENvbG9yIj4KICA8cGF0aCBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiIgZD0iTTggNUg2YTIgMiAwIDAwLTIgMnYxMmEyIDIgMCAwMDIgMmgxMGEyIDIgMCAwMDItMnYtMU04IDVhMiAyIDAgMDAyIDJoMmEyIDIgMCAwMDItMk04IDVhMiAyIDAgMDEyLTJoMmEyIDIgMCAwMTIgMm0wIDBoMmEyIDIgMCAwMTIgMnYzbTIgNEgxMG0wIDBsMy0zbS0zIDNsMyAzIiAvPgo8L3N2Zz4=');
|
22
|
+
background-repeat: no-repeat;
|
23
|
+
background-position: center;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|