PluginProbe
WpStream – Live Streaming, Video on Demand, Pay Per View / trunk
WpStream – Live Streaming, Video on Demand, Pay Per View vtrunk
4.14.1 4.14.0 4.13.2 4.13.1 4.13 4.12.5 4.12.4 4.12.3 4.12.2 4.12.1 4.12 4.4.4 4.4.5 4.4.6 4.4.7 4.4.8 4.4.9 4.5 4.5.1 4.5.11 4.5.11.1 4.5.11.2 4.5.11.4 4.5.11.5 4.5.11.6 All 181 releases
wpstream / admin / css / wpstream-admin-onboarding.css

wpstream-admin-onboarding.css in WpStream – Live Streaming, Video on Demand, Pay Per View trunk, at admin/css/wpstream-admin-onboarding.css

773 lines 18.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * WpStream admin onboarding wizard styles.
3 *
4 * Styles the guided first-run onboarding experience shown inside wp-admin:
5 * the centered onboarding modal/wrapper, the contextual "bubble" tooltips that
6 * point at page elements, the account register/login step, the per-content
7 * setup steps (live channel, PPV/free VOD), the accordion sections, the call-to
8 * -action buttons, the full-screen dark modal backgrounds, and the responsive
9 * adjustments that keep the wizard usable on short/narrow viewports.
10 *
11 * Loaded on the plugin's admin onboarding screens only.
12 */
13
14 /* Onboarding wrapper: the fixed, centered panel that hosts the wizard steps.
15 Hidden by default; JS toggles it on. Width is offset by half via negative
16 margin-left to center it against left:50%. */
17 .wpstream_on_boarding_wrapper{
18 background-color: #fff;
19 position: fixed;
20 width: 500px;
21 top: 125px;
22 left: 50%;
23 margin-left: -250px;
24 z-index: 10002;
25 display: none;
26 }
27
28 /* Contextual tooltip bubble: floating hint anchored beside a target element.
29 Hidden by default. Fixed (viewport-relative, not page-relative) so JS can
30 keep it pinned to its target across page scroll, scroll of an inner
31 container (e.g. the block editor sidebar), and window resize by simply
32 re-reading the target's current getBoundingClientRect() on those events. */
33 #wpstream_onboard_bubble{
34 position: fixed;
35 z-index: 10002;
36 background: #fff;
37 left: 175px;
38 top: -30px;
39 width: 375px;
40 display: none;
41 }
42
43 /* Bubble arrows: the little CSS triangle "pointer" on the side of a bubble,
44 drawn with the classic transparent-border trick. Left/right variants point
45 the bubble toward its anchor on either side. */
46 .boarding-left-arrow:after{
47 content: " ";
48 position: absolute;
49 top: 20%;
50 margin-top: 0px;
51 left: -12px;
52 width: 0;
53 height: 0;
54 border-top: 10px solid transparent;
55 border-bottom: 10px solid transparent;
56 border-right: 12px solid #F7F4FC;
57 }
58
59 .boarding-right-arrow:after{
60 content: " ";
61 position: absolute;
62 top: 20%;
63 margin-top: 0px;
64 right: -12px;
65 width: 0;
66 height: 0;
67 border-top: 10px solid transparent;
68 border-bottom: 10px solid transparent;
69 border-left: 12px solid white;
70 }
71
72
73
74
75 /* Shared card chrome: the drop shadow, padding, rounded corners and border
76 applied to both the bubble and the main wrapper so they read as one surface. */
77 #wpstream_onboard_bubble,
78 .wpstream_on_boarding_wrapper{
79 box-shadow: 8px 8px 7px 1px #0606061f;
80 padding: 20px 30px;
81 border-radius: 5px;
82 border: 1px solid #ccc;
83 }
84
85
86 /* Wrapper overrides: bump the wrapper padding and give it the light purple
87 fill used across the onboarding UI. */
88 .wpstream_on_boarding_wrapper{
89 padding: 30px;
90 min-height: 60px;
91 background-color: #F7F4FC;
92
93 }
94
95
96 /* Wizard steps: each step is a hidden panel toggled into view by JS, with a
97 centered heading. wpstream_has_credential is the variant shown once the user
98 already has WpStream credentials. */
99 .wpstream_step_wrapper{
100 display: none;
101 }
102
103 .wpstream_step_wrapper h1{
104 font-size: 20px;
105 margin: 30px 0px 45px 0px;
106 color:#221466;
107 text-align: center;
108 }
109
110
111 .wpstream_has_credential h1{
112 margin-top: 0px;
113 }
114
115 .header_special {
116 color: #4e2ee6;
117 }
118
119 .wpstream_step_wrapper .wpstream_option{
120 width: 100%;
121 padding: 0px 0px 0px 0px;
122 }
123
124 /* Register / option panels: the boxed sub-sections inside a step (account
125 registration form and generic option groups) with their own padded, bordered
126 purple card. */
127 .wpstream_on_board_register_wrapper,
128 .wpstream_step_wrapper .wpstream_option_wrapper {
129 max-width: 100%;
130 padding: 0px 0px 0px 0px;
131 padding: 30px;
132 border-radius: 5px;
133 margin-bottom: 30px;
134 background-color: #eae8fc;
135 border: 1px solid #e8dbfc;
136 }
137
138 .wpstream_on_board_register_wrapper h2{
139 color:#221466;
140 margin-top: 0px;
141 }
142
143 .wpstream_on_board_register_wrapper #wpstream_register_privacy {
144 width: 1rem;
145 }
146
147 .wpstream_on_board_register_wrapper .wpstream_terms_agreement {
148 display: flex;
149 flex-direction: row;
150 align-items: center;
151 }
152
153 /* Login explanation blurb: the small centered helper text above the login form. */
154 .wpstream_on_board_login_wrapper_explanations{
155 margin-bottom: 35px;
156 font-size: 14px;
157 line-height: 1.6em;
158 margin-top: -20px;
159 text-align: center;
160 }
161
162 /* Register/login submit buttons stretch full width of their card. */
163 .wpstream_onboard_register,
164 .wpstream_onboard_login{
165 width:100%;
166
167 }
168
169 /* Auth toggles hidden by default: the login action link and the register/login
170 panels start collapsed and are revealed by JS as the user switches modes. */
171 #wpstream_onboarding_action_login,
172 .wpstream_on_board_register_wrapper,
173 .wpstream_on_board_login_wrapper{
174 display: none;
175 }
176
177
178
179 /* Inline status messages: green success "notification" pill (hidden until JS
180 shows it), a red error variant, and the "checking account status" text. */
181 .wpstream_onboarding_notification{
182 background: #45a73f;
183 padding: 5px 10px;
184 color: #fff;
185 border-radius: 5px;
186 width: auto;
187 margin-top: 10px;
188 display: inline-block;
189 display: none;
190 }
191
192 .onboarding_error{
193 background: #F24B4B;
194
195 margin-top: 0px;
196 }
197
198 .wpstream_onboarding_notification{
199 margin-bottom: 10px;
200 }
201
202 .wpstream_check_account_status{
203 font-size: 15px;
204 padding: 30px 0px;
205 font-weight: 500;
206 }
207
208
209 /* Option inputs span the full width of their row. */
210 .wpstream_step_wrapper .wpstream_option input{
211 width: 100%;
212
213 }
214
215 /* Register action link hidden by default. */
216 #wpstream_onboarding_action_register{
217 display: none;
218 }
219
220 /* The login/register mode-switch links: small underlined clickable text. */
221 #wpstream_onboarding_action_login,
222 #wpstream_onboarding_action_register{
223 font-size: 14px;
224 font-weight: 500;
225 text-decoration: underline;
226 margin-top: 10px;
227 cursor: pointer;
228 margin-bottom: 10px;
229 }
230
231 /* Step 1 is the only step visible on load. */
232 .wpstream_step_1{
233 display: block;
234 }
235
236
237
238 /* The "or" divider between two alternative actions (e.g. login vs register). */
239 .wpstram_or{
240 text-align: center;
241 font-size: 14px;
242 color: #221466;
243 font-weight: 500;
244 }
245
246 /* Warning callout: soft-red boxed notice used for onboarding warnings. */
247 .wpstream_warning_onboarding{
248 background: #ffe5e5;
249 border: 1px solid #ff4c4c8c;
250 color: #3b3b3b;
251 margin-bottom: 30px;
252 padding: 30px;
253 font-size: 14px;
254 font-weight: 500;
255 line-height: 1.6;
256 border-radius: 5px;
257 }
258
259
260
261 /* Accordion header: the clickable collapsible section title (live/VOD setup),
262 with a purple hover state. */
263 .wpstream_accordion_header{
264 padding: 20px 10px;
265 border: 1px solid #ccc;
266 cursor: pointer;
267 margin: 20px 0px 20px 0px;
268 border-radius: 5px;
269 font-size: 17px;
270 text-transform: capitalize;
271 text-align: center;
272 font-weight: 500;
273 background-color: #eae8fc;
274 border: 1px solid #e8dbfc;
275 transition: 0.2s ease-out;
276 line-height: 1.4em;
277 color: #221466;
278 }
279
280 .wpstream_accordion_header:hover{
281 background:#4e2ee6;
282 color: #fff;
283 }
284
285
286 /* Live-setup sub-block and the field labels used throughout the steps. */
287 .wpstream_onboard_live{
288 padding: 10px;
289 border: 1px solid #ccc;
290 }
291 .wpstream_step_wrapper label{
292 color:#221466;
293 display: block;
294 font-size: 15px;
295 font-weight: 500;
296 margin-bottom: 5px;
297 }
298
299
300 /* Accordion body: the padded purple panel revealed under an accordion header. */
301 .wpstream_accordion_container{
302 padding: 30px;
303 border-radius: 5px;
304 margin-bottom: 30px;
305 background-color: #eae8fc;
306 border: 1px solid #e8dbfc;
307 }
308
309 /* Onboarding form fields: shared white text-input styling for every channel /
310 VOD name and price input across the live, PPV and free-VOD setup steps. */
311 #wpstream_free_vod_file_name_for_ppv,
312 #wpstream_onboarding_vod_price,
313 #wpstream_onboarding_ppv_vod_name,
314 #wpstream_ppv_vod_file_name,
315 #wpstream_free_vod_file_name,
316 #wpstream_onboarding_vod_name,
317 #wpstream_onboarding_event_price_ppv,
318 #wpstream_onboarding_channel_name_ppv,
319 #wpstream_onboarding_channel_name{
320 border: 1px solid #d6d6d6;
321 background-color: #fff;
322 color: #2c3338;
323 padding: 5px 10px;
324 width: 100%;
325 margin-bottom: 15px;
326 }
327
328 /* Width tweaks: cap the PPV VOD name field, make the editable post-name a
329 positioning context, and force the VOD file-name fields to full width. */
330 #wpstream_onboarding_ppv_vod_name{
331 max-width: 450px;
332 }
333 #editable-post-name{
334 position: relative;
335 }
336
337 #wpstream_free_vod_file_name_for_ppv,
338 #wpstream_ppv_vod_file_name,
339 #wpstream_free_vod_file_name{
340 max-width: 100%;
341 width: 100%;
342 }
343
344 /* Legacy "on board" trigger button (brown). */
345 #wpstream_on_board{
346 background-color: brown;
347 padding: 15px;
348 cursor: pointer;
349 width: auto;
350 color: #fff;
351 display: inline-block;
352 /* float: left; */
353 margin: 20px;
354 }
355
356 /* Primary action buttons: the shared purple pill styling for every wizard/
357 bubble control (next, prev, finish, upload, try again, install, view VOD,
358 start channel, close). */
359 #wpstream_onboarding_view_vod,
360 .wpstream_upload_video,
361 .wpstream_onboarding_tryagain,
362 .wpstream_install_plugin,
363 .wpstream_onboard_initial_bubble_next,
364 .wpstream_onboard_initial_bubble_prev,
365 #wpstream_onboarding_start_chanel,
366 #wpstrean_close_modal_ack,
367 .wpstream_onboard_bubble_finish,
368 .wpstream_onboard_bubble_prev,
369 .wpstream_onboard_bubble_next{
370 cursor: pointer;
371 margin: 0px 10px 15px 0px;
372 background-color: #4e2ee6;
373 color: #fff;
374 padding: 5px 10px;
375 border-radius: 5px;
376 transition: 0.3s ease-out;
377 display: inline-block;
378 line-height: 1.4em;
379 }
380
381 /* Extra top margin for the try-again / install-plugin buttons. */
382 .wpstream_onboarding_tryagain,
383 .wpstream_install_plugin{
384 margin: 30px 0px 0px 0px;
385 }
386
387
388 /* Positioning contexts so absolutely-positioned bubbles/controls anchor here. */
389 #post-body,
390 .wpstream_initial_onboarding_controls_wrapper{
391 position: relative;
392 }
393
394
395 /* Start-channel button laid out as its own block. */
396 #wpstream_onboarding_start_chanel{
397 display: block;
398 width: fit-content;
399 margin: 10px 0px;
400 }
401
402 /* Shared dark-purple hover state for the action buttons above. */
403 .wpstream_onboard_initial_bubble_prev:hover,
404 #wpstream_onboarding_view_vod:hover,
405 .wpstream_onboarding_tryagain:hover,
406 .wpstream_install_plugin:hover,
407 .wpstream_onboard_bubble_finish:hover,
408 #wpstrean_close_modal_ack:hover,
409 .wpstream_onboard_bubble_prev:hover,
410 .wpstream_onboard_bubble_next:hover{
411 background-color: #221466;
412 }
413
414
415 /* Progress dots: the row of small round step indicators under a bubble. */
416 .wpstream_round_bubble{
417 text-align: center;
418 }
419
420 .wpstream_round_bubble li{
421 width: 5px;
422 height: 5px;
423 border-radius: 50%;
424 background-color: #4e2ee6;
425 display: inline-block;
426 margin-right: 10px!important;
427 opacity: 0.5;
428 }
429
430
431
432 /* The bubble "finish" button is hidden until the last step. */
433 .wpstream_onboard_bubble_finish{
434 display: none;
435 }
436
437 /* Modal backdrop: full-screen dark dimming layer behind the onboarding modal
438 (hidden until the wizard opens). */
439 .wpstream_modal_background_onboard {
440 position: fixed;
441 z-index: 10001;
442 top: 0px;
443 bottom: 0px;
444 left: 0px;
445 right: 0px;
446 background-color: rgb(0 20 40 / 86%);
447 opacity: 0.7;
448 display: none;
449 }
450
451 /* Decorative background image layer sitting behind the backdrop content. */
452 .wpstream_modal_back{
453 position: absolute;
454 width: 100%;
455 height: 100%;
456 left: 0px;
457 top: 0px;
458 background-image: url(home-decor-lines3.png);
459 background-size: cover;
460 background-position: center;
461 opacity: 0.4;
462 z-index: -1;
463 }
464
465
466
467 /* Secondary backdrop variant (lower z-index) for a second modal layer. */
468 .wpstream_modal_background_onboard2 {
469 position: fixed;
470 z-index: 1000;
471 top: 0px;
472 bottom: 0px;
473 left: 0px;
474 right: 0px;
475 background-color: rgb(0 20 40 / 86%);
476 opacity: 0.7;
477 display: none;
478 }
479
480 /* Close (X) button: the top-right dismiss control on the onboarding panel,
481 using a background-image icon; a second rule nudges it for the initial modal. */
482 .wpstream_close_onboarding{
483 width:30px;
484 height: 30px;
485 background-color: rgba(13,110,253,0.12);
486 position: absolute;
487 top:15px;
488 right: 15px;
489 border-radius: 3px;
490 cursor: pointer;
491 background-image: url(../../img/closeicon4.png);
492 background-repeat: no-repeat;
493 background-position: center;
494 }
495
496 .wpstream_close_onboarding:hover{
497 background-color: rgba(13,110,253,0.32);
498 }
499
500 .wpstream_close_initial_onboarding{
501 top:30px;
502 right: 30px;
503 }
504
505
506
507
508 /* "Acknowledge / close" text button inside the modal. */
509 #wpstrean_close_modal_ack{
510 font-size: 14px;
511 margin-top: 20px;
512 font-weight: 400;
513 margin-bottom: 0px;
514 }
515
516 /* Confirmation text shown when the user tries to close mid-onboarding. */
517 .wpstream_close_onboarding_warning{
518 color: #1d2327;
519 margin: 15px 0px 0px 0px;
520 display: inline-block;
521 width: 100%;
522 font-size: 15px;
523 line-height: 1.5;
524 font-weight: 500;
525 }
526
527
528 /* Bubble body text and its line-break spacer. */
529 #wpstream_onboard_bubble_content{
530 color: #1d2327;
531 margin: 0px 0px 15px 0px;
532 display: inline-block;
533 width: 100%;
534 font-size: 14px;
535 line-height: 1.5;
536 font-weight: 400;
537 }
538
539
540 #wpstream_onboard_bubble_content .onboard_line_break{
541 margin-bottom: 10px;
542 }
543
544 /* Bubble title heading (note: id spells "tile"), forced with !important. */
545 #wpstream_onboard_bubble_tile{
546 margin: 15px 0px 15px 0px!important;
547 line-height: 1.3em!important;
548 padding: 0px!important;
549 font-size: 17px!important;
550 color: #221466!important;
551 padding-right: 30px!important;
552 float: left;
553 font-weight: 600!important;
554 }
555
556 /* Start-channel button, distinct green "success" styling with a green hover. */
557 #wpstream_onboarding_start_chanel {
558 padding: 9px 20px;
559 width: auto;
560 min-width: 130px;
561 color: #7a88a3;
562 border: 1px solid #3dc93d;
563 color: #3b3b3b;
564 background-color: #eaf2f7;
565 background-color: #e8f7e8;
566 border: 1px solid #3dc93d85;
567 width: 220px;
568 cursor: pointer;
569 font-weight: 500;
570 font-size: 14px;
571 text-align: center;
572 }
573
574 #wpstream_onboarding_start_chanel:hover{
575 background: #45a73f;
576 color: #fff;
577 }
578
579 /* Purple call-to-action buttons: register/login, quick-start trigger and the
580 VOD/live "action" buttons, with a shared dark-purple hover. */
581 .wpstream_onboard_register,
582 .wpstream_onboard_login,
583 #wpstream_trigger_quick_start,
584 #wpstream_onboard_vod_ppv_action,
585 #wpstream_onboard_vod_free_action,
586 #wpstream_onboard_live_ppv_action,
587 .wpstream_onboard_live_action{
588 background-color:#4e2ee6
589 }
590
591 /* The quick-start trigger sizes to its label instead of the shared fixed button height. */
592 #wpstream_trigger_quick_start{
593 height: auto;
594 }
595
596 .wpstream_onboard_register:hover,
597 .wpstream_onboard_login:hover,
598 #wpstream_trigger_quick_start:hover,
599 #wpstream_onboard_vod_ppv_action:hover,
600 #wpstream_onboard_vod_free_action:hover,
601 #wpstream_onboard_live_ppv_action:hover,
602 .wpstream_onboard_live_action:hover{
603 background-color: #221466;
604 }
605
606 /* Sample inline icons: small square glyph badges (settings/camera/view) used
607 in the instructional copy, each set via a background-image SVG with a hover. */
608 .wpstream_sample_icon_settings{
609 width: 37px;
610 height: 37px;
611 border: 1px solid #f0f0f0;
612 border-radius: 3px;
613 display: inline-block;
614 text-align: center;
615 background-color: #f8f8f8;
616 background-image: url(settings.svg);
617 background-size: 50%;
618 background-repeat: no-repeat;
619 background-position: 50%;
620 text-align: -webkit-left;
621 vertical-align: middle;
622 margin: 0px 2px;
623 }
624
625 .wpstream_sample_icon_camera{
626 background-image: url(camera.svg);
627
628 }
629
630
631 .wpstream_sample_icon_open_channel:hover,
632 .wpstream_sample_icon_camera:hover{
633 background-color: #dadada;
634 }
635
636
637
638 .wpstream_sample_icon_open_channel{
639 background-image: url(view.svg);
640 cursor: pointer;
641 }
642
643
644 /* Quick-start card: the white bordered panel promoting the quick-start flow,
645 with its heading and paragraph styles. */
646 .wpstream_quick_start_wrapper{
647 background: #fff;
648 margin: 5px 15px 2px;
649 padding: 30px 30px;
650 border-radius: 5px;
651 box-shadow: 0 2px 4px rgb(0 25 60 / 8%);
652 border: 1px solid #e2e5e8;
653 }
654
655 .wpstream_quick_start_wrapper h1{
656 color:#221466!important;
657 }
658
659 .wpstream_quick_start_wrapper p{
660 max-width: 500px;
661 font-size: 15px;
662 margin: 25px 0px;
663 }
664
665
666 /* Responsive: short-viewport tweaks. As screen height shrinks the wizard moves
667 up, narrows, drops the logo and tightens spacing so it still fits on screen. */
668 @media screen and (max-height: 850px) {
669 .wpstream_on_boarding_wrapper{
670 top: 45px;
671 }
672 }
673 @media screen and (max-height: 750px) {
674 .wpstream_on_boarding_wrapper {
675 width: 400px;
676 margin-left: -200px;
677 }
678
679 .wpstream_on_boarding_wrapper{
680 top:40px;
681 padding: 5px 20px;
682 }
683
684 .wpstream_onboarding_logo{
685 display: none;;
686 }
687 .wpstream_close_initial_onboarding {
688 top: 10px;
689 right: 10px;
690 }
691
692 .wpstream_has_credential h1 {
693 margin-top: 0px;
694 margin-bottom: 20px;
695 font-size: 16px;
696 }
697 .wpstream_on_board_login_wrapper_explanations {
698 margin-bottom: 10px;
699 font-size: 13px;
700 }
701 .wpstream_on_board_register_wrapper, .wpstream_step_wrapper .wpstream_option_wrapper {
702 padding: 15px;
703 margin-bottom: 15px;
704 }
705 }
706
707
708 @media screen and (max-height: 550px) {
709
710 .wpstream_on_board_register_wrapper, .wpstream_step_wrapper .wpstream_option_wrapper {
711 padding: 5px;
712 }
713 .wpstream_option{
714 margin-bottom: 10px;
715 }
716 .wpstream_option input {
717 padding: 0px 10px;
718 }
719 .wpstream_step_wrapper h1 {
720 font-size: 14px;
721 margin: 15px 0px 15px 0px;
722 }
723 }
724
725
726 /* Responsive: narrow (mobile) viewports. The wizard goes full-screen and form
727 fields/links stretch to fit the small width. */
728 @media screen and (max-width: 768px) {
729
730 .wpstream_on_boarding_wrapper {
731 position: fixed;
732 width: 100%;
733 top: 0px;
734 margin-left: 0px;
735 z-index: 10002;
736 height: 100%;
737 left: 0px;
738 right: 0px;
739 padding: 55px 25px;
740 display: inline-block;
741 box-sizing: border-box;
742 }
743 .wpstream_close_initial_onboarding {
744 top: 50px;
745 right: 10px;
746 }
747 #wpstream_onboarding_action_login, #wpstream_onboarding_action_register {
748 text-align: center;
749 }
750
751 #wpstream_onboarding_ppv_vod_name{
752 max-width: 100%;
753 }
754
755 }
756
757 /* Loading spinner shown full-width and centred inside an accordion while work is
758 pending (core floats it right, which pushes it to the bottom corner). */
759 .wpstream_accordion_container .spinner {
760 visibility: visible;
761 background-position: center;
762 width: 100%;
763 float: none;
764 margin: 0 auto;
765 }
766
767 /* Strip the default admin link box-shadow from links inside a warning box
768 (uses CSS nesting). */
769 .wpstream_warning_onboarding {
770 a {
771 box-shadow: none;
772 }
773 }