2022-09-29 01:31:56 +08:00
|
|
|
$wizard-bg: absolute-image-url("/branded-background.svg");
|
|
|
|
$wizard-mobile-bg: absolute-image-url("/branded-background-mobile.svg");
|
2020-10-08 04:23:14 +08:00
|
|
|
|
2021-12-17 06:17:36 +08:00
|
|
|
@keyframes bump {
|
|
|
|
0% {
|
|
|
|
transform: scale(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
50% {
|
|
|
|
transform: scale(1.05);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
transform: scale(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-01 01:35:49 +08:00
|
|
|
body.wizard {
|
2022-07-27 09:23:01 +08:00
|
|
|
background: $wizard-bg;
|
|
|
|
background-size: 110vw 110vh; // crops better than cover at various viewport sizes
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: bottom;
|
2022-08-04 09:49:21 +08:00
|
|
|
background-color: var(--secondary);
|
2020-09-25 20:56:23 +08:00
|
|
|
color: var(--primary-very-high);
|
2020-07-22 22:24:04 +08:00
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
2021-02-06 06:01:21 +08:00
|
|
|
Oxygen-Sans, Ubuntu, Cantarell, Arial, sans-serif;
|
2020-09-25 23:05:10 +08:00
|
|
|
|
|
|
|
#wizard-main {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2022-07-27 09:23:01 +08:00
|
|
|
align-items: center;
|
2020-09-25 20:56:23 +08:00
|
|
|
}
|
2016-10-18 23:44:25 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
@media screen and (max-height: 900px) {
|
|
|
|
.desktop-view & {
|
|
|
|
#main-outlet {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2016-09-20 04:11:15 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
.discourse-logo svg {
|
|
|
|
height: 70px;
|
|
|
|
width: auto;
|
|
|
|
@include breakpoint("mobile-extra-large") {
|
|
|
|
height: 50px;
|
2022-06-17 23:28:54 +08:00
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
@media screen and (max-height: 900px) {
|
|
|
|
.desktop-view & {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
}
|
2019-04-22 22:17:29 +08:00
|
|
|
}
|
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
@include breakpoint("mobile-extra-large") {
|
|
|
|
background: $wizard-mobile-bg;
|
|
|
|
background-size: cover;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: bottom;
|
|
|
|
}
|
|
|
|
}
|
2019-04-22 22:17:29 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
// Refactored SCSS
|
|
|
|
.wizard-container {
|
|
|
|
position: relative;
|
|
|
|
z-index: 11;
|
|
|
|
background-color: var(--secondary);
|
2022-08-27 00:29:40 +08:00
|
|
|
box-shadow: 0 4px 19px 6px rgba(0, 0, 0, 0.05);
|
2022-07-27 09:23:01 +08:00
|
|
|
box-sizing: border-box;
|
2022-12-20 08:24:09 +08:00
|
|
|
margin: 1em auto;
|
2022-07-27 09:23:01 +08:00
|
|
|
padding: 0;
|
|
|
|
border: 1px solid var(--primary-low);
|
|
|
|
border-radius: 8px;
|
2022-12-23 01:15:09 +08:00
|
|
|
padding: 2em;
|
2022-07-27 09:23:01 +08:00
|
|
|
|
2022-12-23 01:15:09 +08:00
|
|
|
@include breakpoint("large") {
|
2022-07-27 09:23:01 +08:00
|
|
|
padding: 2em 1.5em;
|
|
|
|
}
|
2018-07-24 21:00:20 +08:00
|
|
|
|
2022-12-20 08:24:09 +08:00
|
|
|
&__step {
|
|
|
|
margin-top: 1em;
|
|
|
|
max-width: 50%;
|
|
|
|
min-width: 35%;
|
2022-07-27 09:23:01 +08:00
|
|
|
width: 100%;
|
2022-12-20 08:24:09 +08:00
|
|
|
|
2022-12-23 01:15:09 +08:00
|
|
|
@include breakpoint("large") {
|
2022-12-21 10:13:00 +08:00
|
|
|
max-width: 95%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wizard-container__button:not(.wizard-container__button-upload) {
|
|
|
|
@include breakpoint("mobile-extra-large") {
|
|
|
|
width: 100%;
|
|
|
|
margin: 0 0 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-12-20 08:24:09 +08:00
|
|
|
&.styling {
|
|
|
|
max-width: 85%;
|
2022-12-21 10:13:00 +08:00
|
|
|
|
|
|
|
@include breakpoint("mobile-extra-large") {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2018-07-24 21:00:20 +08:00
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2018-07-24 21:00:20 +08:00
|
|
|
|
2022-12-20 08:24:09 +08:00
|
|
|
&__fields {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__step-counter {
|
|
|
|
text-align: center;
|
|
|
|
font-weight: 700;
|
|
|
|
color: var(--primary-medium);
|
|
|
|
}
|
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__step-banner {
|
|
|
|
@include breakpoint("large") {
|
2022-06-17 23:28:54 +08:00
|
|
|
display: none;
|
2021-08-26 05:10:12 +08:00
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2021-08-26 05:10:12 +08:00
|
|
|
|
2022-12-20 08:24:09 +08:00
|
|
|
&__step-description {
|
|
|
|
font-size: var(--font-up-2);
|
|
|
|
flex: 1 0 40%;
|
|
|
|
@include breakpoint("tablet") {
|
|
|
|
font-size: var(--font-up-2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__step.branding .wizard-container__field {
|
|
|
|
@include breakpoint("mobile-extra-large") {
|
|
|
|
max-width: 100%;
|
2021-08-26 05:10:12 +08:00
|
|
|
}
|
2020-10-06 01:40:41 +08:00
|
|
|
}
|
2016-08-25 02:35:07 +08:00
|
|
|
|
2022-12-20 08:24:09 +08:00
|
|
|
&__step.branding .wizard-container__preview {
|
|
|
|
background-color: var(--primary-very-low);
|
|
|
|
border-radius: 0.5em;
|
|
|
|
padding: 1em;
|
|
|
|
margin-bottom: 1em;
|
2020-08-31 18:14:09 +08:00
|
|
|
}
|
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__step.branding .wizard-container__preview canvas {
|
|
|
|
@include breakpoint("mobile-extra-large") {
|
|
|
|
max-width: 100%;
|
2022-12-21 10:13:00 +08:00
|
|
|
height: auto !important;
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2016-09-17 00:04:40 +08:00
|
|
|
}
|
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__field {
|
|
|
|
margin-bottom: 1em;
|
2016-09-21 01:25:56 +08:00
|
|
|
}
|
2016-08-26 01:14:56 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__field.checkbox-field {
|
2022-12-20 08:24:09 +08:00
|
|
|
margin-bottom: 1.5em;
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2016-08-26 01:14:56 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__field.invalid input {
|
|
|
|
outline: 0;
|
|
|
|
border: 3px solid var(--danger);
|
|
|
|
animation: bump 0.25s ease-in-out;
|
|
|
|
animation-iteration-count: 2;
|
|
|
|
}
|
2016-09-21 02:04:18 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__field label {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__field.component-styling-preview {
|
|
|
|
display: inline;
|
|
|
|
@media only screen and (max-device-width: 568px) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__field.text-governing-law,
|
|
|
|
&__field.text-city-for-disputes {
|
|
|
|
@media only screen and (max-device-width: 568px) {
|
|
|
|
display: none;
|
2016-09-21 02:04:18 +08:00
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
}
|
2016-09-21 02:04:18 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__step-form {
|
2022-06-17 23:28:54 +08:00
|
|
|
display: flex;
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2016-09-21 02:04:18 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__sidebar {
|
|
|
|
width: 170px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
margin-right: 1em;
|
2016-09-21 02:04:18 +08:00
|
|
|
|
2022-12-23 01:15:09 +08:00
|
|
|
@media only screen and (max-device-width: 568px) {
|
|
|
|
width: 80%;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
+ .wizard-container__fields {
|
|
|
|
padding: 1em;
|
2022-06-17 23:28:54 +08:00
|
|
|
background: var(--primary-very-low);
|
2022-07-27 09:23:01 +08:00
|
|
|
width: calc(100% - 170px);
|
|
|
|
border-radius: 0.5em;
|
|
|
|
margin-top: -1em;
|
2022-12-21 10:13:00 +08:00
|
|
|
|
|
|
|
@media only screen and (max-device-width: 568px) {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-08-25 02:35:07 +08:00
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
}
|
2016-09-21 02:04:18 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
.preview-nav {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
position: relative;
|
|
|
|
padding-right: 10px;
|
|
|
|
.preview-nav-button {
|
|
|
|
text-align: center;
|
|
|
|
padding: 10px 15px;
|
|
|
|
cursor: pointer;
|
|
|
|
margin-left: 10px;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: bold;
|
|
|
|
color: var(--primary-high);
|
|
|
|
&.active {
|
|
|
|
background: var(--secondary);
|
|
|
|
border-bottom-left-radius: 10px;
|
|
|
|
border-bottom-right-radius: 10px;
|
|
|
|
color: var(--tertiary);
|
|
|
|
border-top: none;
|
2022-06-17 23:28:54 +08:00
|
|
|
}
|
2020-11-11 00:31:54 +08:00
|
|
|
}
|
2016-09-16 03:04:25 +08:00
|
|
|
}
|
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
.previews {
|
2022-06-17 23:28:54 +08:00
|
|
|
position: relative;
|
2022-07-27 09:23:01 +08:00
|
|
|
height: 320px;
|
2022-06-17 23:28:54 +08:00
|
|
|
width: 100%;
|
2022-07-27 09:23:01 +08:00
|
|
|
overflow: hidden;
|
|
|
|
background: var(--secondary);
|
|
|
|
border-radius: 10px;
|
|
|
|
cursor: grab;
|
|
|
|
user-select: none;
|
|
|
|
&.dragging {
|
|
|
|
cursor: grabbing;
|
2016-09-14 03:14:17 +08:00
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
.topic-preview {
|
|
|
|
position: absolute;
|
|
|
|
left: 0px;
|
|
|
|
top: 0px;
|
|
|
|
}
|
|
|
|
.homepage-preview {
|
|
|
|
position: absolute;
|
|
|
|
left: calc(100% + 25px);
|
|
|
|
top: 0px;
|
2016-09-09 04:58:07 +08:00
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2016-09-09 04:58:07 +08:00
|
|
|
|
2022-12-20 08:24:09 +08:00
|
|
|
&__step-header {
|
|
|
|
text-align: center;
|
|
|
|
margin-bottom: 3em;
|
|
|
|
|
|
|
|
&--emoji img {
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__step-title {
|
|
|
|
font-size: 2.75em;
|
|
|
|
color: var(--primary);
|
2022-10-12 22:05:42 +08:00
|
|
|
line-height: var(--line-height-medium);
|
2022-12-20 08:24:09 +08:00
|
|
|
margin: 0 0 0.5em 0;
|
2022-07-27 09:23:01 +08:00
|
|
|
@include breakpoint("medium") {
|
|
|
|
font-size: var(--font-up-5);
|
2016-09-09 04:58:07 +08:00
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2016-09-09 04:58:07 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__step-container {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__step-contents {
|
|
|
|
min-height: 37em;
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|
2016-09-09 04:58:07 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__step-form {
|
|
|
|
flex: 1 0 50%;
|
|
|
|
@media only screen and (max-device-width: 568px) {
|
2022-06-17 23:28:54 +08:00
|
|
|
width: 100%;
|
2016-09-09 04:58:07 +08:00
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2016-09-14 03:14:17 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
@media only screen and (max-device-width: 568px) {
|
|
|
|
&__step.introduction .wizard-container__step-banner,
|
|
|
|
&__step.privacy .wizard-container__step-banner {
|
|
|
|
display: none;
|
2016-09-14 03:14:17 +08:00
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2016-09-14 03:14:17 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__step-banner {
|
|
|
|
flex: 0 1 40%;
|
|
|
|
}
|
2016-09-14 03:14:17 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__step-banner-image {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2016-09-14 03:14:17 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__step.ready {
|
|
|
|
.wizard-container__step-banner {
|
|
|
|
display: flex;
|
|
|
|
flex: 1 0 100%;
|
|
|
|
gap: 2em;
|
|
|
|
}
|
|
|
|
.wizard-container__step-banner-image {
|
|
|
|
padding-top: 2em;
|
|
|
|
flex: 0 1 40%;
|
|
|
|
margin-left: 2em;
|
|
|
|
max-height: 300px;
|
|
|
|
@include breakpoint("large") {
|
|
|
|
display: none;
|
2022-06-17 23:28:54 +08:00
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2022-09-05 19:51:41 +08:00
|
|
|
.wizard-container__buttons {
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2016-09-14 03:14:17 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__step.branding .wizard-container__description {
|
|
|
|
font-size: var(--font-0);
|
|
|
|
}
|
2016-09-14 03:14:17 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__step-progress {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
font-weight: bold;
|
2016-09-14 03:14:17 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
@include breakpoint("mobile-extra-large") {
|
2022-12-21 10:13:00 +08:00
|
|
|
margin-right: 0;
|
|
|
|
flex-direction: column;
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
|
|
|
.wizard-container__link {
|
|
|
|
color: var(--primary-400);
|
|
|
|
margin: 0 1em;
|
|
|
|
&.inactive {
|
|
|
|
// disabling instead of removing, to hold space
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0;
|
2022-06-17 23:28:54 +08:00
|
|
|
}
|
2016-09-14 03:14:17 +08:00
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2016-09-14 03:14:17 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__step-text {
|
|
|
|
display: inline;
|
|
|
|
margin-right: 0.25em;
|
|
|
|
@media only screen and (max-device-width: 568px) {
|
|
|
|
display: none;
|
2016-09-09 04:58:07 +08:00
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2016-08-26 01:14:56 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__step-count {
|
|
|
|
min-width: 3.2em;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2018-10-15 09:43:31 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
.preloaded-font-styles {
|
|
|
|
font-size: 1px;
|
|
|
|
}
|
2016-08-26 01:14:56 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__link {
|
|
|
|
margin-right: 1em;
|
|
|
|
text-decoration: none;
|
|
|
|
color: var(--primary-high);
|
|
|
|
font-size: var(--font-up-1);
|
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__link:hover {
|
|
|
|
color: var(--tertiary-hover);
|
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button {
|
|
|
|
border-radius: 2px;
|
|
|
|
font-size: var(--font-0);
|
|
|
|
border: 0;
|
|
|
|
padding: 0.5em;
|
|
|
|
transition: background-color 0.3s;
|
|
|
|
text-decoration: none;
|
|
|
|
background-color: var(--secondary);
|
|
|
|
color: var(--primary-very-high);
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: var(--font-up-1);
|
|
|
|
}
|
2016-08-26 01:14:56 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button.small {
|
|
|
|
padding: 0.25em 0.5em;
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
}
|
2016-08-26 01:14:56 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button:hover,
|
|
|
|
&__button:focus {
|
|
|
|
background-color: var(--primary-low);
|
|
|
|
}
|
2016-09-01 01:35:49 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button:active {
|
|
|
|
background-color: var(--primary-low-mid);
|
|
|
|
}
|
2016-09-01 01:35:49 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button:disabled,
|
|
|
|
&__button.disabled {
|
|
|
|
background-color: var(--primary-medium);
|
|
|
|
}
|
2016-09-01 01:35:49 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button.primary {
|
|
|
|
background-color: var(--tertiary);
|
|
|
|
color: var(--secondary);
|
|
|
|
}
|
|
|
|
&__button.primary:hover,
|
|
|
|
&__button.primary:focus {
|
|
|
|
background-color: var(--tertiary-hover);
|
|
|
|
}
|
2016-09-09 04:58:07 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button.primary:active {
|
|
|
|
background-color: var(--tertiary-high);
|
|
|
|
}
|
2016-09-09 04:58:07 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button.primary:disabled {
|
|
|
|
background-color: var(--tertiary-low);
|
|
|
|
}
|
2016-09-09 04:58:07 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button.configure-more {
|
2022-12-20 08:24:09 +08:00
|
|
|
//background-color: var(--primary-200);
|
|
|
|
background-color: transparent;
|
|
|
|
color: var(--tertiary);
|
2022-12-21 10:13:00 +08:00
|
|
|
@include breakpoint("mobile-extra-large") {
|
|
|
|
order: 2;
|
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2016-08-26 01:14:56 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button.configure-more:hover {
|
2022-12-20 08:24:09 +08:00
|
|
|
background-color: transparent;
|
2022-07-27 09:23:01 +08:00
|
|
|
color: var(--primary);
|
|
|
|
}
|
2016-08-26 01:14:56 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button.jump-in {
|
2022-12-20 08:24:09 +08:00
|
|
|
background-color: var(--tertiary);
|
2022-07-27 09:23:01 +08:00
|
|
|
color: var(--secondary);
|
2022-12-20 08:24:09 +08:00
|
|
|
margin-left: 1em;
|
2022-12-21 10:13:00 +08:00
|
|
|
@include breakpoint("mobile-extra-large") {
|
|
|
|
order: 1;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
&:hover {
|
2022-12-20 08:24:09 +08:00
|
|
|
background-color: var(--primary-300);
|
2016-09-01 01:35:49 +08:00
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2016-09-01 01:35:49 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button.finish {
|
|
|
|
color: var(--tertiary);
|
2022-12-21 10:13:00 +08:00
|
|
|
@include breakpoint("mobile-extra-large") {
|
|
|
|
order: 2;
|
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button.finish:hover {
|
|
|
|
color: var(--tertiary-hover);
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
&__button.finish:active,
|
|
|
|
&__button.finish:disabled {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button.next {
|
|
|
|
min-width: 70px;
|
2022-12-20 08:24:09 +08:00
|
|
|
margin-left: 1em;
|
2022-12-21 10:13:00 +08:00
|
|
|
@include breakpoint("mobile-extra-large") {
|
|
|
|
order: 1;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button.danger {
|
|
|
|
background-color: var(--danger);
|
|
|
|
color: var(--secondary);
|
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button.danger:hover,
|
|
|
|
&__button.danger:focus {
|
|
|
|
background-color: var(--danger-hover);
|
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button.danger:active {
|
|
|
|
background-color: var(--danger-medium);
|
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button.danger:disabled {
|
|
|
|
background-color: var(--danger-low);
|
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button-upload {
|
|
|
|
display: block;
|
2022-12-20 08:24:09 +08:00
|
|
|
background-color: transparent;
|
|
|
|
margin-top: 1em;
|
|
|
|
border: 1px solid var(--tertiary-high);
|
|
|
|
text-align: center;
|
|
|
|
color: var(--tertiary-high);
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2016-09-01 01:35:49 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button-upload:hover {
|
2022-12-20 08:24:09 +08:00
|
|
|
background-color: transparent;
|
|
|
|
border-color: var(--tertiary-hover);
|
|
|
|
color: var(--tertiary-hover);
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2020-11-10 04:14:57 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button-upload svg {
|
|
|
|
margin-left: 0.5em;
|
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
.wizard-hidden-upload-field {
|
|
|
|
visibility: hidden;
|
|
|
|
position: absolute;
|
|
|
|
}
|
2020-11-10 04:14:57 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__button:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__step-footer {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
2022-12-23 01:15:09 +08:00
|
|
|
@include breakpoint("mobile-extra-large") {
|
2022-07-27 09:23:01 +08:00
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
2022-12-21 10:13:00 +08:00
|
|
|
align-items: stretch;
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__buttons {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 1em;
|
|
|
|
align-items: center;
|
2022-12-21 10:13:00 +08:00
|
|
|
@include breakpoint("mobile-extra-large") {
|
|
|
|
order: 2;
|
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__label {
|
|
|
|
font-weight: bold;
|
2022-12-20 08:24:09 +08:00
|
|
|
font-size: var(--font-up-1);
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__step.styling .wizard-container__label {
|
|
|
|
font-size: var(--font-0);
|
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__label.required {
|
|
|
|
display: inline;
|
|
|
|
color: var(--danger);
|
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__description {
|
|
|
|
color: var(--primary-high);
|
|
|
|
font-size: var(--font-down-1);
|
|
|
|
margin: 0.25em 0 0.5em 0;
|
|
|
|
|
|
|
|
a {
|
|
|
|
margin: 0;
|
2020-11-10 04:14:57 +08:00
|
|
|
}
|
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
@media only screen and (max-device-width: 568px) {
|
|
|
|
font-size: var(--font-0);
|
2022-06-17 23:28:54 +08:00
|
|
|
}
|
2016-09-14 03:14:17 +08:00
|
|
|
}
|
2021-08-26 05:10:12 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__description.extra {
|
|
|
|
color: var(--primary-high);
|
|
|
|
font-size: var(--font-up-1);
|
2022-12-23 01:15:09 +08:00
|
|
|
margin: 0.25em 0 0.5em 3.5em;
|
|
|
|
@media only screen and (max-device-width: 568px) {
|
|
|
|
margin-left: 2em;
|
|
|
|
}
|
2021-08-26 05:10:12 +08:00
|
|
|
}
|
2016-08-26 01:14:56 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__text-input {
|
|
|
|
border-radius: 4px !important;
|
|
|
|
padding: 5px;
|
2022-06-17 23:28:54 +08:00
|
|
|
width: 100%;
|
|
|
|
font-size: var(--font-up-1);
|
|
|
|
margin: 0;
|
2022-07-27 09:23:01 +08:00
|
|
|
padding: 10px;
|
2022-06-17 23:28:54 +08:00
|
|
|
background-color: var(--secondary);
|
|
|
|
border: 1px solid var(--primary-low-mid);
|
|
|
|
transition: border-color 0.5s;
|
|
|
|
}
|
2016-08-26 01:14:56 +08:00
|
|
|
|
2022-12-23 01:15:09 +08:00
|
|
|
&__dropdown {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__dropdown .select-kit-header:not(.btn) {
|
|
|
|
border-radius: 4px;
|
2022-06-17 23:28:54 +08:00
|
|
|
}
|
2016-08-25 02:35:07 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__dropdown.color-palettes .select-kit-row.color-palettes-row .name {
|
|
|
|
flex: 0 0 30%;
|
|
|
|
}
|
|
|
|
&__dropdown.color-palettes .select-kit-row.color-palettes-row .palettes {
|
|
|
|
flex: 1 1 70%;
|
|
|
|
overflow: hidden;
|
2016-09-10 03:57:44 +08:00
|
|
|
}
|
2016-09-14 03:14:17 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__field.checkbox-field .wizard-container__label {
|
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2016-09-14 03:14:17 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__checkbox-slider {
|
|
|
|
display: inline-block;
|
|
|
|
background: var(--primary-low-mid);
|
|
|
|
border-radius: 16px;
|
2022-12-23 01:15:09 +08:00
|
|
|
width: 50px;
|
|
|
|
height: 28px;
|
2022-07-27 09:23:01 +08:00
|
|
|
margin-right: 0.5em;
|
|
|
|
position: relative;
|
|
|
|
vertical-align: middle;
|
|
|
|
transition: background 0.25s;
|
|
|
|
@media only screen and (max-device-width: 568px) {
|
|
|
|
height: 20px;
|
|
|
|
width: 35px;
|
2022-06-17 23:28:54 +08:00
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
|
|
|
&__checkbox-slider:before,
|
|
|
|
&__checkbox-slider:after {
|
|
|
|
content: "";
|
2022-12-13 05:30:21 +08:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__checkbox-slider:after {
|
|
|
|
content: "\2713"; // checkmark
|
|
|
|
color: var(--secondary);
|
|
|
|
top: 4px;
|
2022-12-23 01:15:09 +08:00
|
|
|
left: 9px;
|
2022-12-13 05:30:21 +08:00
|
|
|
@media only screen and (max-device-width: 568px) {
|
|
|
|
top: 3px;
|
|
|
|
left: 5px;
|
|
|
|
font-size: var(--font-down-3);
|
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
}
|
2016-09-14 03:14:17 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__checkbox-slider:before {
|
|
|
|
background: var(--secondary);
|
|
|
|
border-radius: 50%;
|
2022-12-23 01:15:09 +08:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2022-07-27 09:23:01 +08:00
|
|
|
top: 4px;
|
|
|
|
left: 4px;
|
|
|
|
transition: left 0.25s;
|
|
|
|
@media only screen and (max-device-width: 568px) {
|
|
|
|
height: 12px;
|
|
|
|
width: 12px;
|
2016-09-14 03:14:17 +08:00
|
|
|
}
|
|
|
|
}
|
2022-07-27 09:23:01 +08:00
|
|
|
&__field.checkbox-field
|
|
|
|
.wizard-container__label:hover
|
|
|
|
.wizard-container__checkbox-slider:before {
|
|
|
|
background: var(--secondary);
|
|
|
|
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
|
|
|
|
}
|
|
|
|
&__checkbox:checked + .wizard-container__checkbox-slider {
|
|
|
|
background: var(--tertiary);
|
|
|
|
}
|
|
|
|
&__checkbox:checked + .wizard-container__checkbox-slider:before {
|
2022-12-23 01:15:09 +08:00
|
|
|
left: 26px;
|
2022-07-27 09:23:01 +08:00
|
|
|
@media only screen and (max-device-width: 568px) {
|
|
|
|
left: 20px;
|
2016-09-14 03:14:17 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__checkbox {
|
|
|
|
position: absolute;
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
2016-10-28 01:59:15 +08:00
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
&__checkbox-label {
|
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
|
|
|
}
|
2022-06-17 23:28:54 +08:00
|
|
|
|
2022-12-13 05:30:21 +08:00
|
|
|
label .svg-icon {
|
|
|
|
top: 2px;
|
|
|
|
}
|
|
|
|
|
2022-07-27 09:23:01 +08:00
|
|
|
.wizard-container__image-upload canvas {
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
2016-10-28 01:59:15 +08:00
|
|
|
}
|
2022-08-27 00:29:40 +08:00
|
|
|
|
|
|
|
.finish-installation {
|
|
|
|
.wizard-congratulations-wrap {
|
|
|
|
display: flex;
|
|
|
|
@media screen and (max-width: 750px) {
|
|
|
|
flex-direction: column-reverse;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.row:not(.finish-installation-image) {
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin: 0 auto 1em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-image {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tada {
|
|
|
|
height: 15vw;
|
|
|
|
max-height: 10em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.help-text {
|
|
|
|
margin: 2em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.primary {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
2016-10-18 23:44:25 +08:00
|
|
|
}
|
2022-08-04 09:49:21 +08:00
|
|
|
|
|
|
|
// Register admin page... /finish-installation/register
|
|
|
|
|
|
|
|
.wizard-container-contents.finish-installation {
|
|
|
|
.wizard-container__combobox {
|
|
|
|
background: var(--secondary);
|
|
|
|
color: var(--primary);
|
|
|
|
padding: 0.5em;
|
|
|
|
font-size: var(--font-up-1);
|
|
|
|
border-radius: 4px;
|
|
|
|
border: 1px solid var(--primary-low-mid);
|
|
|
|
margin-top: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wizard-container__fields {
|
|
|
|
max-width: 500px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wizard-container__text-input {
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
|
|
|
}
|