.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,'); // 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,');
}
// stylelint-disable-next-line
&-popover-next-btn::after {
// stylelint-disable-next-line
background-image: url('data:image/svg+xml,');
}
&-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;
}