2017-04-13 11:49:17 +03:00
|
|
|
/* Created from build/server/static/css/onboarding.css */
|
|
|
|
window.onboardingCss = `
|
2017-08-25 22:16:22 +03:00
|
|
|
.loader {
|
2018-10-15 23:10:31 +03:00
|
|
|
background: rgba(12, 12, 13, 0.2);
|
2017-08-25 22:16:22 +03:00
|
|
|
border-radius: 2px;
|
|
|
|
height: 4px;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
width: 200px; }
|
|
|
|
|
|
|
|
.loader-inner {
|
|
|
|
animation: bounce infinite alternate 1250ms cubic-bezier(0.7, 0, 0.3, 1);
|
2018-10-15 23:10:31 +03:00
|
|
|
background: #45a1ff;
|
2017-08-25 22:16:22 +03:00
|
|
|
border-radius: 2px;
|
|
|
|
height: 4px;
|
|
|
|
transform: translateX(-40px);
|
|
|
|
width: 50px; }
|
|
|
|
|
|
|
|
@keyframes bounce {
|
|
|
|
0% {
|
|
|
|
transform: translateX(-40px); }
|
|
|
|
100% {
|
|
|
|
transform: translate(190px); } }
|
|
|
|
|
2017-04-13 11:49:17 +03:00
|
|
|
@keyframes fade-in {
|
|
|
|
0% {
|
|
|
|
opacity: 0; }
|
|
|
|
100% {
|
|
|
|
opacity: 1; } }
|
|
|
|
|
|
|
|
@keyframes pop {
|
|
|
|
0% {
|
|
|
|
transform: scale(1); }
|
|
|
|
97% {
|
|
|
|
transform: scale(1.04); }
|
|
|
|
100% {
|
|
|
|
transform: scale(1); } }
|
|
|
|
|
|
|
|
@keyframes pulse {
|
|
|
|
0% {
|
2017-08-25 22:16:22 +03:00
|
|
|
opacity: 0.3;
|
2017-04-13 11:49:17 +03:00
|
|
|
transform: scale(1); }
|
|
|
|
70% {
|
2017-08-25 22:16:22 +03:00
|
|
|
opacity: 0.25;
|
2017-04-13 11:49:17 +03:00
|
|
|
transform: scale(1.04); }
|
|
|
|
100% {
|
2017-08-25 22:16:22 +03:00
|
|
|
opacity: 0.3;
|
2017-04-13 11:49:17 +03:00
|
|
|
transform: scale(1); } }
|
|
|
|
|
|
|
|
@keyframes slide-left {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translate3d(160px, 0, 0); }
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: translate3d(0, 0, 0); } }
|
|
|
|
|
2017-08-25 22:16:22 +03:00
|
|
|
@keyframes bounce-in {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
transform: scale(1); }
|
|
|
|
60% {
|
|
|
|
opacity: 1;
|
|
|
|
transform: scale(1.02); }
|
|
|
|
100% {
|
|
|
|
transform: scale(1); } }
|
|
|
|
|
2017-04-13 11:49:17 +03:00
|
|
|
html,
|
|
|
|
body {
|
|
|
|
box-sizing: border-box;
|
2017-08-25 22:16:22 +03:00
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "segoe ui", "helvetica neue", helvetica, ubuntu, roboto, noto, arial, sans-serif;
|
2017-04-13 11:49:17 +03:00
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
width: 100%; }
|
|
|
|
|
|
|
|
#slide-overlay {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
animation: fade-in 250ms forwards cubic-bezier(0.07, 0.95, 0, 1);
|
|
|
|
background: rgba(0, 0, 0, 0.8);
|
|
|
|
height: 100%;
|
|
|
|
opacity: 0;
|
|
|
|
width: 100%; }
|
|
|
|
|
|
|
|
#slide-container {
|
|
|
|
animation-delay: 50ms;
|
|
|
|
animation: fade-in 250ms forwards cubic-bezier(0.07, 0.95, 0, 1);
|
|
|
|
opacity: 0; }
|
|
|
|
|
|
|
|
.slide {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
2017-09-13 22:40:39 +03:00
|
|
|
background-color: #f9f9fa;
|
2017-04-13 11:49:17 +03:00
|
|
|
border-radius: 5px;
|
|
|
|
height: 520px;
|
|
|
|
overflow: hidden;
|
|
|
|
width: 700px; }
|
|
|
|
.slide .slide-image {
|
|
|
|
background-size: 700px 378px;
|
|
|
|
flex: 0 0 360px;
|
|
|
|
font-size: 16px;
|
|
|
|
width: 100%; }
|
|
|
|
.slide .slide-content {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
box-sizing: border-box;
|
|
|
|
flex: 0 0 160px;
|
|
|
|
padding: 5px;
|
|
|
|
text-align: center; }
|
|
|
|
.slide h1 {
|
|
|
|
font-size: 30px;
|
|
|
|
font-weight: 400;
|
|
|
|
margin: 0 0 10px; }
|
|
|
|
.slide h1 sup {
|
|
|
|
background: #00d1e6;
|
|
|
|
border-radius: 2px;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 16px;
|
2019-02-05 23:33:45 +03:00
|
|
|
margin-inline-start: 5px;
|
2017-05-02 02:58:23 +03:00
|
|
|
padding: 2px; }
|
2017-04-13 11:49:17 +03:00
|
|
|
.slide p {
|
|
|
|
animation-duration: 350ms;
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 23px;
|
|
|
|
margin: 0;
|
|
|
|
width: 75%; }
|
|
|
|
.slide .slide-content-aligner h1 {
|
|
|
|
font-size: 34px; }
|
|
|
|
.slide .slide-content-aligner p {
|
|
|
|
margin: 0 auto; }
|
|
|
|
.slide .onboarding-legal-notice {
|
|
|
|
font-size: 12px;
|
|
|
|
color: #858585; }
|
|
|
|
.slide .onboarding-legal-notice a {
|
|
|
|
color: #009ec0;
|
|
|
|
text-decoration: none; }
|
|
|
|
.slide:not(.slide-1) h1 {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translate3d(160px, 0, 0);
|
|
|
|
animation: slide-left 500ms forwards cubic-bezier(0.07, 0.95, 0, 1); }
|
|
|
|
.slide:not(.slide-1) p {
|
|
|
|
opacity: 0;
|
|
|
|
transform: translate3d(160px, 0, 0);
|
|
|
|
animation: slide-left 600ms forwards cubic-bezier(0.07, 0.95, 0, 1); }
|
|
|
|
.slide:not(.slide-1) .slide-image {
|
|
|
|
background-color: #00d1e6; }
|
|
|
|
.slide.slide-1 {
|
|
|
|
background: #fff; }
|
|
|
|
.slide.slide-1 .slide-content {
|
|
|
|
justify-content: space-between;
|
|
|
|
width: 100%; }
|
|
|
|
|
|
|
|
.slide-1,
|
|
|
|
.slide-2,
|
|
|
|
.slide-3,
|
|
|
|
.slide-4,
|
2018-10-15 23:10:31 +03:00
|
|
|
.slide-5,
|
|
|
|
.slide-6 {
|
2017-04-13 11:49:17 +03:00
|
|
|
display: none; }
|
|
|
|
|
|
|
|
.active-slide-1 .slide-1,
|
|
|
|
.active-slide-2 .slide-2,
|
|
|
|
.active-slide-3 .slide-3,
|
2017-09-13 22:40:39 +03:00
|
|
|
.active-slide-4 .slide-4,
|
2018-10-15 23:10:31 +03:00
|
|
|
.active-slide-5 .slide-5,
|
|
|
|
.active-slide-6 .slide-6 {
|
2017-04-13 11:49:17 +03:00
|
|
|
display: flex; }
|
|
|
|
|
|
|
|
#slide-status-container {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
padding-top: 15px; }
|
|
|
|
|
|
|
|
.goto-slide {
|
|
|
|
background: transparent;
|
2017-09-13 22:40:39 +03:00
|
|
|
background-color: #f9f9fa;
|
2017-04-13 11:49:17 +03:00
|
|
|
border-radius: 50%;
|
|
|
|
border: 0;
|
|
|
|
flex: 0 0 9px;
|
|
|
|
height: 9px;
|
|
|
|
margin: 0 4px;
|
|
|
|
opacity: 0.7;
|
|
|
|
padding: 0;
|
|
|
|
transition: height 100ms cubic-bezier(0.07, 0.95, 0, 1), opacity 100ms cubic-bezier(0.07, 0.95, 0, 1); }
|
|
|
|
|
|
|
|
.goto-slide:hover {
|
|
|
|
opacity: 1; }
|
|
|
|
|
|
|
|
.active-slide-1 .goto-slide-1,
|
|
|
|
.active-slide-2 .goto-slide-2,
|
|
|
|
.active-slide-3 .goto-slide-3,
|
2017-09-13 22:40:39 +03:00
|
|
|
.active-slide-4 .goto-slide-4,
|
2018-10-15 23:10:31 +03:00
|
|
|
.active-slide-5 .goto-slide-5,
|
|
|
|
.active-slide-6 .goto-slide-6 {
|
2017-04-13 11:49:17 +03:00
|
|
|
opacity: 1;
|
|
|
|
transform: scale(1.1); }
|
|
|
|
|
|
|
|
#prev, #next,
|
|
|
|
#done {
|
|
|
|
background-color: #f0f0f0;
|
|
|
|
border-radius: 50%;
|
|
|
|
border: 0;
|
|
|
|
box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
|
|
|
|
display: inline-block;
|
|
|
|
height: 70px;
|
|
|
|
margin-top: -70px;
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
top: 50%;
|
|
|
|
transition: background-color 150ms cubic-bezier(0.07, 0.95, 0, 1), background-size 250ms cubic-bezier(0.07, 0.95, 0, 1);
|
|
|
|
width: 70px; }
|
|
|
|
|
|
|
|
#prev {
|
2017-05-02 02:58:23 +03:00
|
|
|
background-image: url("MOZ_EXTENSION/icons/back.svg");
|
2019-02-05 23:33:45 +03:00
|
|
|
inset-inline-start: 50%;
|
|
|
|
margin-inline-start: -385px; }
|
|
|
|
[dir="rtl"] #prev {
|
|
|
|
transform: rotate(180deg); }
|
2017-04-13 11:49:17 +03:00
|
|
|
|
|
|
|
#next,
|
|
|
|
#done {
|
2019-02-05 23:33:45 +03:00
|
|
|
inset-inline-start: 50%;
|
|
|
|
margin-inline-start: 315px; }
|
2017-04-13 11:49:17 +03:00
|
|
|
|
|
|
|
#prev,
|
|
|
|
#next,
|
|
|
|
#done {
|
|
|
|
background-position: center center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 20px 20px; }
|
2017-05-02 02:58:23 +03:00
|
|
|
#prev:hover,
|
|
|
|
#next:hover,
|
|
|
|
#done:hover {
|
|
|
|
background-color: #fff;
|
|
|
|
background-size: 22px 22px; }
|
|
|
|
#prev:active,
|
|
|
|
#next:active,
|
|
|
|
#done:active {
|
|
|
|
background-color: #fff;
|
|
|
|
background-size: 24px 24px; }
|
2017-04-13 11:49:17 +03:00
|
|
|
|
|
|
|
#next {
|
2017-05-02 02:58:23 +03:00
|
|
|
background-image: url("MOZ_EXTENSION/icons/back.svg");
|
2017-04-13 11:49:17 +03:00
|
|
|
transform: rotate(180deg); }
|
2019-02-05 23:33:45 +03:00
|
|
|
[dir="rtl"] #next {
|
|
|
|
transform: rotate(0deg); }
|
2017-05-02 02:58:23 +03:00
|
|
|
.active-slide-1 #next {
|
|
|
|
background-image: url("MOZ_EXTENSION/icons/back-highlight.svg"); }
|
2017-04-13 11:49:17 +03:00
|
|
|
|
|
|
|
#skip {
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 16px;
|
2019-02-05 23:33:45 +03:00
|
|
|
inset-inline-start: 50%;
|
|
|
|
margin-inline-start: -330px;
|
2017-04-13 11:49:17 +03:00
|
|
|
margin-top: 257px;
|
|
|
|
opacity: 0.7;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
transition: opacity 100ms cubic-bezier(0.07, 0.95, 0, 1);
|
|
|
|
z-index: 10; }
|
|
|
|
|
|
|
|
#skip:hover {
|
|
|
|
opacity: 1; }
|
|
|
|
|
|
|
|
.active-slide-1 #prev,
|
2018-10-15 23:10:31 +03:00
|
|
|
.active-slide-6 #next {
|
2017-04-13 11:49:17 +03:00
|
|
|
display: none; }
|
|
|
|
|
|
|
|
#done {
|
2017-05-02 02:58:23 +03:00
|
|
|
background-image: url("MOZ_EXTENSION/icons/done.svg");
|
2017-04-13 11:49:17 +03:00
|
|
|
display: none; }
|
|
|
|
|
2019-02-05 23:33:45 +03:00
|
|
|
.active-slide-4 #done {
|
2017-04-13 11:49:17 +03:00
|
|
|
display: inline-block; }
|
|
|
|
|
2017-05-02 02:58:23 +03:00
|
|
|
/* for smaller screen sizes */
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
.slide {
|
|
|
|
height: 360px;
|
|
|
|
width: 450px; }
|
|
|
|
.slide .slide-image {
|
|
|
|
background-size: contain;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
flex: 0 0 200px; }
|
|
|
|
.slide .slide-content {
|
|
|
|
flex: 0 0 160px; }
|
|
|
|
.slide .slide-content h1 {
|
|
|
|
font-size: 24px; }
|
|
|
|
.slide .slide-content p {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 21px;
|
|
|
|
width: 85%; }
|
|
|
|
.slide .slide-content .onboarding-legal-notice {
|
|
|
|
font-size: 10px;
|
|
|
|
line-height: 16px; }
|
|
|
|
#skip {
|
2019-02-05 23:33:45 +03:00
|
|
|
margin-inline-start: -205px;
|
2017-05-02 02:58:23 +03:00
|
|
|
margin-top: 177px; }
|
|
|
|
#prev {
|
2019-02-05 23:33:45 +03:00
|
|
|
margin-inline-start: -260px; }
|
2017-05-02 02:58:23 +03:00
|
|
|
#next,
|
|
|
|
#done {
|
2019-02-05 23:33:45 +03:00
|
|
|
margin-inline-start: 190px; } }
|
2017-05-02 02:58:23 +03:00
|
|
|
|
2017-04-13 11:49:17 +03:00
|
|
|
`;
|
|
|
|
null;
|
|
|
|
|