shepherd.scss
2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
@use "@core/scss/base/mixins";
@use "shepherd.js/dist/css/shepherd.css";
@use "@styles/variables/_vuetify.scss" as variables;
.shepherd-button {
border-radius: 4px;
block-size: 30px;
color: #fff;
font-size: variables.$button-font-size;
font-weight: variables.$button-font-weight;
margin-inline-end: 0.75rem;
padding-block: 0.25rem;
padding-inline: 1rem;
&:not(:disabled):hover {
color: #fff;
}
}
.shepherd-footer {
background: rgb(var(--v-theme-background));
padding-block: 0.5rem 1rem;
padding-inline: 1rem;
}
.shepherd-element .shepherd-content .shepherd-header {
background: rgb(var(--v-theme-background));
padding-block: 1rem 0;
padding-inline: 1rem;
}
.shepherd-element .shepherd-content .shepherd-header .shepherd-title {
color: rgb(var(--v-theme-on-background));
font-size: 1.125rem;
font-weight: 600;
}
.shepherd-text {
padding: 1rem;
background: rgb(var(--v-theme-background));
color: rgb(var(--v-theme-on-background));
font-size: variables.$card-text-font-size;
}
.shepherd-cancel-icon {
color: rgba(var(--v-theme-on-background), var(--v-disabled-opacity)) !important;
font-size: 1.5rem;
}
.shepherd-element[data-popper-placement^="bottom"] {
margin-block-start: 0.75rem !important;
}
.shepherd-element[data-popper-placement^="top"] {
margin-block-start: -0.75rem !important;
}
.shepherd-element[data-popper-placement^="right"] {
margin-inline-start: 0.75rem !important;
}
.shepherd-element[data-popper-placement^="left"] {
margin-inline-end: 0.75rem !important;
}
.shepherd-element[data-popper-placement] {
.shepherd-arrow::before {
background: rgb(var(--v-theme-background)) !important;
}
}
.shepherd-element {
@include mixins.elevation(8);
border-radius: variables.$card-border-radius;
background: transparent;
}
.nextBtnClass,
.nextBtnClass:not(:disabled):hover {
background: rgb(var(--v-theme-primary));
@include mixins.elevation(2);
}
.backBtnClass,
.backBtnClass:not(:disabled):hover {
background: rgba(var(--v-theme-secondary), var(--v-medium-emphasis-opacity));
@include mixins.elevation(2);
}
@media screen and (max-width: 600px) {
.shepherd-element {
max-inline-size: 75vw;
}
}