initial
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
:root {
|
||||
--vrts-admin-theme-color: #2271b1;
|
||||
}
|
||||
|
||||
.admin-color-fresh {
|
||||
--vrts-admin-theme-color: #1e8cbe;
|
||||
}
|
||||
|
||||
.admin-color-modern {
|
||||
--vrts-admin-theme-color: #3858e9;
|
||||
}
|
||||
|
||||
.admin-color-light {
|
||||
--vrts-admin-theme-color: #04a4cc;
|
||||
}
|
||||
|
||||
.admin-color-blue {
|
||||
--vrts-admin-theme-color: #e1a948;
|
||||
}
|
||||
|
||||
.admin-color-coffee {
|
||||
--vrts-admin-theme-color: #c7a589;
|
||||
}
|
||||
|
||||
.admin-color-ectoplasm {
|
||||
--vrts-admin-theme-color: #a3b745;
|
||||
}
|
||||
|
||||
.admin-color-midnight {
|
||||
--vrts-admin-theme-color: #dd362d;
|
||||
}
|
||||
|
||||
.admin-color-ocean {
|
||||
--vrts-admin-theme-color: #9ebaa0;
|
||||
}
|
||||
|
||||
.admin-color-sunrise {
|
||||
--vrts-admin-theme-color: #dd823b;
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
@keyframes vrts-fade-in {
|
||||
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes vrts-slide-up {
|
||||
|
||||
from {
|
||||
transform: translateY(20px);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes vrts-rotate {
|
||||
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes vrts-shimmer {
|
||||
|
||||
0% {
|
||||
background-position: 100% 0;
|
||||
}
|
||||
|
||||
100% {
|
||||
background-position: -100% 0;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes vrts-scale-up-down {
|
||||
|
||||
from,
|
||||
to {
|
||||
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
||||
}
|
||||
|
||||
0% {
|
||||
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
||||
transform: scale3d(1, 1, 1);
|
||||
}
|
||||
|
||||
20% {
|
||||
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
||||
transform: scale3d(1.5, 1.5, 1.5);
|
||||
}
|
||||
|
||||
40% {
|
||||
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
||||
transform: scale3d(0.7, 0.7, 0.7);
|
||||
}
|
||||
|
||||
60% {
|
||||
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
||||
transform: scale3d(1.3, 1.3, 1.3);
|
||||
}
|
||||
|
||||
80% {
|
||||
animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
|
||||
transform: scale3d(0.8, 0.8, 0.8);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: scale3d(1, 1, 1);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes vrts-color-highlight {
|
||||
|
||||
25% {
|
||||
background-color: rgba(32, 113, 177, 0.2);
|
||||
}
|
||||
|
||||
75% {
|
||||
background-color: rgba(32, 113, 177, 0.2);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,202 @@
|
||||
.driver {
|
||||
|
||||
&-no-interaction {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
&-overlay {
|
||||
animation: vrts-fade-in 0.2s ease-in-out;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
&-popover {
|
||||
all: unset;
|
||||
animation: vrts-fade-in 0.2s;
|
||||
box-sizing: border-box;
|
||||
background-color: #fff;
|
||||
color: #1e1e1e;
|
||||
line-height: 1.5;
|
||||
padding: 15px;
|
||||
border-radius: 2px;
|
||||
min-width: 250px;
|
||||
max-width: 345px;
|
||||
box-shadow: 2px 2px 8px 4px rgba(30, 30, 30, 0.12);
|
||||
z-index: 100099;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
&-popover-title {
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
line-height: 1.5;
|
||||
padding-right: 25px;
|
||||
}
|
||||
|
||||
&-popover-description {
|
||||
font-size: 0.8125rem;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
&-popover-close-btn {
|
||||
all: unset;
|
||||
position: absolute;
|
||||
top: 7px;
|
||||
right: 7px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
cursor: pointer;
|
||||
display: block !important;
|
||||
background-image: url('data:image/svg+xml,<svg width="11" height="10" viewBox="0 0 11 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.2564 1.41L6.71644 4.95L10.2564 8.49L8.84645 9.9L5.30645 6.37L1.77644 9.9L0.356445 8.48L3.88645 4.95L0.356445 1.42L1.77644 0L5.30645 3.53L8.84645 0L10.2564 1.41Z" fill="%23757575"/></svg>'); // stylelint-disable-line
|
||||
background-position: center;
|
||||
background-repeat: no-repeat;
|
||||
border-radius: 3px;
|
||||
font-size: 0;
|
||||
z-index: 1;
|
||||
transition: background-color 0.2s;
|
||||
|
||||
&:hover {
|
||||
background-color: #f6f7f7;
|
||||
}
|
||||
}
|
||||
|
||||
&-popover-footer {
|
||||
margin-top: 15px;
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
&-popover-navigation-btns {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
margin-left: auto;
|
||||
|
||||
.button-secondary[disabled] {
|
||||
border-color: #2271b1 !important;
|
||||
color: #2271b1 !important;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.button-secondary,
|
||||
.button-secondary[disabled] {
|
||||
background: transparent !important;
|
||||
}
|
||||
}
|
||||
|
||||
&-popover-prev-btn,
|
||||
&-popover-next-btn {
|
||||
display: flex !important;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
|
||||
&[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
&-popover-prev-btn::before,
|
||||
&-popover-next-btn:not(.driver-popover-success-btn)::after {
|
||||
content: "";
|
||||
display: block;
|
||||
width: 12px;
|
||||
height: 100%;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center 52%;
|
||||
}
|
||||
|
||||
&-popover-prev-btn::before {
|
||||
// stylelint-disable-next-line
|
||||
background-image: url('data:image/svg+xml,<svg width="12" height="10" viewBox="0 0 12 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.0572 4.34922V5.64922H3.25723L5.85723 8.24922L5.20723 9.54922L0.657227 4.99922L5.20723 0.449219L5.85723 1.74922L3.25723 4.34922H11.0572Z" fill="%232271B1"/></svg>');
|
||||
}
|
||||
|
||||
// stylelint-disable-next-line
|
||||
&-popover-next-btn::after {
|
||||
// stylelint-disable-next-line
|
||||
background-image: url('data:image/svg+xml,<svg width="12" height="10" viewBox="0 0 12 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.657227 5.64922V4.34922H8.45723L5.85723 1.74922L6.50723 0.449219L11.0572 4.99922L6.50723 9.54922L5.85723 8.24922L8.45723 5.64922H0.657227Z" fill="white"/></svg>');
|
||||
}
|
||||
|
||||
&-popover-progress-text {
|
||||
font-size: 0.75rem;
|
||||
color: #757575;
|
||||
}
|
||||
|
||||
&-popover-arrow {
|
||||
content: "";
|
||||
position: absolute;
|
||||
border: 8px solid #fff;
|
||||
|
||||
&-none,
|
||||
&-side-over,
|
||||
&-side-center {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&-side-left {
|
||||
left: 100%;
|
||||
border-right-color: transparent;
|
||||
border-bottom-color: transparent;
|
||||
border-top-color: transparent;
|
||||
}
|
||||
|
||||
&-side-right {
|
||||
right: 100%;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: transparent;
|
||||
border-top-color: transparent;
|
||||
}
|
||||
|
||||
&-side-top {
|
||||
top: 100%;
|
||||
border-right-color: transparent;
|
||||
border-bottom-color: transparent;
|
||||
border-left-color: transparent;
|
||||
}
|
||||
|
||||
&-side-bottom {
|
||||
bottom: 100%;
|
||||
border-left-color: transparent;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
}
|
||||
|
||||
&-side-left.driver-popover-arrow-align-start,
|
||||
&-side-right.driver-popover-arrow-align-start {
|
||||
top: 8px;
|
||||
}
|
||||
|
||||
&-side-top.driver-popover-arrow-align-start,
|
||||
&-side-bottom.driver-popover-arrow-align-start {
|
||||
left: 8px;
|
||||
}
|
||||
|
||||
&-align-end.driver-popover-arrow-side-left,
|
||||
&-align-end.driver-popover-arrow-side-right {
|
||||
bottom: 8px;
|
||||
}
|
||||
|
||||
&-side-top.driver-popover-arrow-align-end,
|
||||
&-side-bottom.driver-popover-arrow-align-end {
|
||||
right: 8px;
|
||||
}
|
||||
|
||||
&-side-left.driver-popover-arrow-align-center,
|
||||
&-side-right.driver-popover-arrow-align-center {
|
||||
top: 50%;
|
||||
margin-top: -5px;
|
||||
}
|
||||
|
||||
&-side-top.driver-popover-arrow-align-center,
|
||||
&-side-bottom.driver-popover-arrow-align-center {
|
||||
left: 50%;
|
||||
margin-left: -5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.vrts-onboarding-nonblocking ~ .driver-overlay {
|
||||
display: none;
|
||||
}
|
||||
Reference in New Issue
Block a user