@luizleon/sf.prefeiturasp.vuecomponents 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/content/Content.d.ts +21 -0
- package/dist/components/icon/Icon.d.ts +39 -0
- package/dist/components/internal/LoadingCircle.d.ts +2 -0
- package/dist/components/internal/LogoutIcon.d.ts +2 -0
- package/dist/components/internal/MenuIcon.d.ts +2 -0
- package/dist/components/internal/ScrollToTop.d.ts +2 -0
- package/dist/components/internal/ThemeToggle.d.ts +2 -0
- package/dist/components/internal/cssClassBuilder.d.ts +29 -0
- package/dist/components/layout/Layout.d.ts +12 -0
- package/dist/components/navmenulink/NavMenuLink.d.ts +12 -0
- package/dist/enum/cor.d.ts +9 -0
- package/dist/enum/index.d.ts +2 -0
- package/dist/enum/tamanho.d.ts +5 -0
- package/dist/index.d.ts +9 -0
- package/dist/lib.es.js +2724 -0
- package/dist/lib.umd.js +79 -0
- package/dist/services/authService.d.ts +20 -0
- package/dist/services/dialogService.d.ts +12 -0
- package/dist/services/navMenuService.d.ts +9 -0
- package/dist/style.css +1 -0
- package/package.json +31 -0
- package/src/components/content/Content.d.ts +35 -0
- package/src/components/content/Content.vue +41 -0
- package/src/components/icon/Icon.d.ts +38 -0
- package/src/components/icon/Icon.vue +43 -0
- package/src/components/internal/LoadingCircle.vue +16 -0
- package/src/components/internal/LogoutIcon.vue +14 -0
- package/src/components/internal/MenuIcon.vue +13 -0
- package/src/components/internal/ScrollToTop.vue +26 -0
- package/src/components/internal/ThemeToggle.ts +41 -0
- package/src/components/internal/ThemeToggle.vue +23 -0
- package/src/components/internal/cssClassBuilder.ts +44 -0
- package/src/components/layout/Layout.d.ts +44 -0
- package/src/components/layout/Layout.vue +63 -0
- package/src/components/navmenulink/NavMenuLink.d.ts +34 -0
- package/src/components/navmenulink/NavMenuLink.vue +41 -0
- package/src/enum/cor.ts +9 -0
- package/src/enum/index.ts +2 -0
- package/src/enum/tamanho.ts +5 -0
- package/src/index.ts +56 -0
- package/src/services/authService.ts +69 -0
- package/src/services/dialogService.ts +35 -0
- package/src/services/navMenuService.ts +21 -0
- package/src/sf-oidc-state.html +15 -0
- package/src/style/componentes.scss +22 -0
- package/src/style/src/_animation.scss +441 -0
- package/src/style/src/_display.scss +10 -0
- package/src/style/src/_flexbox.scss +85 -0
- package/src/style/src/_functions.scss +171 -0
- package/src/style/src/_gap.scss +8 -0
- package/src/style/src/_grid.scss +100 -0
- package/src/style/src/_mixins.scss +633 -0
- package/src/style/src/_normalize.scss +351 -0
- package/src/style/src/_ripple.scss +30 -0
- package/src/style/src/_size.scss +98 -0
- package/src/style/src/_spacing.scss +42 -0
- package/src/style/src/_typography.scss +43 -0
- package/src/style/src/_variables.scss +87 -0
- package/src/style/src/components/_button.scss +110 -0
- package/src/style/src/components/_checkbox.scss +53 -0
- package/src/style/src/components/_content.scss +57 -0
- package/src/style/src/components/_datefield.scss +405 -0
- package/src/style/src/components/_drawer.scss +99 -0
- package/src/style/src/components/_icon.scss +120 -0
- package/src/style/src/components/_internal_icon_button.scss +5 -0
- package/src/style/src/components/_layout.scss +183 -0
- package/src/style/src/components/_loading-circle.scss +24 -0
- package/src/style/src/components/_mark.scss +9 -0
- package/src/style/src/components/_mask.scss +33 -0
- package/src/style/src/components/_navmenulink.scss +31 -0
- package/src/style/src/components/_numpad.scss +58 -0
- package/src/style/src/components/_progress-circular.scss +52 -0
- package/src/style/src/components/_scrollToTop.scss +28 -0
- package/src/style/src/components/_select.scss +60 -0
- package/src/style/src/components/_svg_icon.scss +5 -0
- package/src/style/src/components/_textfield.scss +186 -0
- package/src/style/src/components/_themetoggle.scss +25 -0
- package/src/style/src/components/_toast.scss +66 -0
- package/src/style/src/components/_tooltip.scss +55 -0
- package/src/style/src/sweetalert/_sweetalert.scss +9 -0
- package/src/style/src/sweetalert/scss/_animations.scss +197 -0
- package/src/style/src/sweetalert/scss/_body.scss +45 -0
- package/src/style/src/sweetalert/scss/_core.scss +863 -0
- package/src/style/src/sweetalert/scss/_mixins.scss +16 -0
- package/src/style/src/sweetalert/scss/_theming.scss +8 -0
- package/src/style/src/sweetalert/scss/_toasts-animations.scss +83 -0
- package/src/style/src/sweetalert/scss/_toasts-body.scss +85 -0
- package/src/style/src/sweetalert/scss/_toasts.scss +203 -0
- package/src/style/src/sweetalert/scss/_variables.scss +265 -0
- package/src/style/tema.scss +169 -0
- package/src/ts-helpers.d.ts +57 -0
- package/tsconfig.json +19 -0
- package/vite.config.js +25 -0
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
.sf-textfield {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: block;
|
|
4
|
+
font-size: 1rem;
|
|
5
|
+
line-height: 1.5;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.sf-textfield > input {
|
|
10
|
+
display: block;
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
margin: 0;
|
|
13
|
+
border: none;
|
|
14
|
+
border-top: 27px solid transparent;
|
|
15
|
+
border-bottom: 1px solid var(--secondary-color);
|
|
16
|
+
border-radius: 4px 4px 0 0;
|
|
17
|
+
padding: 0 12px 10px;
|
|
18
|
+
width: 100%;
|
|
19
|
+
height: inherit;
|
|
20
|
+
color: var(--text-color);
|
|
21
|
+
background-color: var(--surface-300-color);
|
|
22
|
+
box-shadow: none;
|
|
23
|
+
font-family: inherit;
|
|
24
|
+
font-size: inherit;
|
|
25
|
+
line-height: inherit;
|
|
26
|
+
caret-color: var(--primary-color);
|
|
27
|
+
transition: border-bottom 0.2s, background-color 0.2s;
|
|
28
|
+
white-space: nowrap;
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
text-overflow: ellipsis;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.sf-textfield > input + span {
|
|
34
|
+
position: absolute;
|
|
35
|
+
top: 0;
|
|
36
|
+
left: 0;
|
|
37
|
+
right: 0;
|
|
38
|
+
bottom: 0;
|
|
39
|
+
display: block;
|
|
40
|
+
box-sizing: border-box;
|
|
41
|
+
padding: 7px 12px 0;
|
|
42
|
+
color: var(--secondary-color);
|
|
43
|
+
font-size: 75%;
|
|
44
|
+
line-height: 18px;
|
|
45
|
+
pointer-events: none;
|
|
46
|
+
transition: color 0.2s, font-size 0.2s, line-height 0.2s;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.sf-textfield > input + span::after {
|
|
50
|
+
content: "";
|
|
51
|
+
position: absolute;
|
|
52
|
+
left: 0;
|
|
53
|
+
bottom: 0;
|
|
54
|
+
display: block;
|
|
55
|
+
width: 100%;
|
|
56
|
+
height: 2px;
|
|
57
|
+
background-color: var(--primary-color);
|
|
58
|
+
transform-origin: bottom center;
|
|
59
|
+
transform: scaleX(0);
|
|
60
|
+
transition: transform 0.3s;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.sf-textfield > input:hover {
|
|
64
|
+
border-bottom-color: var(--text-color);
|
|
65
|
+
background-color: var(--surface-500-color);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.sf-textfield > input:not(:focus):placeholder-shown + span {
|
|
69
|
+
font-size: inherit;
|
|
70
|
+
line-height: 48px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.sf-textfield > input:focus {
|
|
74
|
+
background-color: var(--surface-500-color);
|
|
75
|
+
outline: none;
|
|
76
|
+
+ span {
|
|
77
|
+
color: var(--primary-color);
|
|
78
|
+
&::before {
|
|
79
|
+
opacity: 0.12;
|
|
80
|
+
}
|
|
81
|
+
&::after {
|
|
82
|
+
transform: scale(1);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.sf-textfield > input:disabled {
|
|
88
|
+
border-bottom-color: var(--surface-1300-color);
|
|
89
|
+
color: var(--surface-1000-color);
|
|
90
|
+
background-color: var(--surface-100-color);
|
|
91
|
+
+ span {
|
|
92
|
+
color: var(--surface-1000-color);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.sf-textfield-dense {
|
|
97
|
+
> input {
|
|
98
|
+
padding-bottom: 4px;
|
|
99
|
+
border-top-width: 18px;
|
|
100
|
+
font-size: 0.875rem;
|
|
101
|
+
}
|
|
102
|
+
> input + span {
|
|
103
|
+
top: -11px;
|
|
104
|
+
padding-top: 13px;
|
|
105
|
+
}
|
|
106
|
+
> input:not(:focus):placeholder-shown + span {
|
|
107
|
+
line-height: 42px;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.sf-textfield-empty-label {
|
|
112
|
+
> input {
|
|
113
|
+
border-top-width: 20px;
|
|
114
|
+
padding-bottom: 17px;
|
|
115
|
+
}
|
|
116
|
+
&.sf-textfield-dense {
|
|
117
|
+
> input {
|
|
118
|
+
border-top-width: 10px;
|
|
119
|
+
padding-bottom: 10px;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.sf-textfield-left {
|
|
125
|
+
> input {
|
|
126
|
+
text-align: left;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.sf-textfield-center {
|
|
131
|
+
> input {
|
|
132
|
+
text-align: center;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.sf-textfield-right {
|
|
137
|
+
> input {
|
|
138
|
+
text-align: right;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
Ícones
|
|
144
|
+
**/
|
|
145
|
+
.sf-textfield {
|
|
146
|
+
&:has(.sf-textfield-leading-icon) {
|
|
147
|
+
> input,
|
|
148
|
+
> span {
|
|
149
|
+
padding-left: 48px;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
&:has(.sf-textfield-clear-icon),
|
|
153
|
+
&:has(.sf-textfield-action-icon) {
|
|
154
|
+
> input,
|
|
155
|
+
> span {
|
|
156
|
+
padding-right: 36px;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
&:has(.sf-textfield-clear-icon):has(.sf-textfield-action-icon) {
|
|
160
|
+
> input,
|
|
161
|
+
> span {
|
|
162
|
+
padding-right: 72px;
|
|
163
|
+
}
|
|
164
|
+
.sf-textfield-clear-icon {
|
|
165
|
+
right: 36px;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
> .sf-icon {
|
|
169
|
+
position: absolute;
|
|
170
|
+
top: 50%;
|
|
171
|
+
transform: translateY(-50%);
|
|
172
|
+
&.sf-textfield-leading-icon {
|
|
173
|
+
pointer-events: none;
|
|
174
|
+
left: 12px;
|
|
175
|
+
}
|
|
176
|
+
&.sf-textfield-clear-icon,
|
|
177
|
+
&.sf-textfield-action-icon {
|
|
178
|
+
right: 4px;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
// Last Pass (e outros plugins...)
|
|
184
|
+
.sf-textfield > div:not(.sf-icon):not(.sf-textfield-action) {
|
|
185
|
+
visibility: hidden;
|
|
186
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@import "../mixins";
|
|
2
|
+
|
|
3
|
+
html {
|
|
4
|
+
#sf-theme-toggle {
|
|
5
|
+
@include sf-internal-icon-button;
|
|
6
|
+
|
|
7
|
+
.toggle-circle {
|
|
8
|
+
transition: transform 500ms ease-out;
|
|
9
|
+
transform: translateX(-15%);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.toggle-sun {
|
|
13
|
+
transform-origin: center center;
|
|
14
|
+
transition: transform 750ms cubic-bezier(0.11, 0.14, 0.29, 1.32);
|
|
15
|
+
transform: rotate(0.5turn);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&.dark #sf-theme-toggle {
|
|
20
|
+
.toggle-circle,
|
|
21
|
+
.toggle-sun {
|
|
22
|
+
transform: unset;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
div.sf-toast {
|
|
2
|
+
transition: all 300ms ease;
|
|
3
|
+
background-color: var(--surface-600-color);
|
|
4
|
+
position: fixed;
|
|
5
|
+
border-radius: 4px;
|
|
6
|
+
bottom: -100px;
|
|
7
|
+
top: -100px;
|
|
8
|
+
opacity: 0;
|
|
9
|
+
width: 480px;
|
|
10
|
+
margin: 24px;
|
|
11
|
+
|
|
12
|
+
@include toast-colors;
|
|
13
|
+
|
|
14
|
+
@media screen and (max-width: #{$sm}) {
|
|
15
|
+
margin: 0;
|
|
16
|
+
margin-bottom: -1px;
|
|
17
|
+
width: 100vw;
|
|
18
|
+
min-height: 100px;
|
|
19
|
+
border-radius: 0;
|
|
20
|
+
.content .progress {
|
|
21
|
+
border-radius: 0 !important;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.content {
|
|
26
|
+
color: var(--text-color);
|
|
27
|
+
padding: 1.75rem 1.5rem;
|
|
28
|
+
position: relative;
|
|
29
|
+
.icon {
|
|
30
|
+
position: absolute;
|
|
31
|
+
top: 50%;
|
|
32
|
+
margin-top: -12px;
|
|
33
|
+
right: 12px;
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
}
|
|
36
|
+
p {
|
|
37
|
+
padding-right: 18px;
|
|
38
|
+
font-size: 1.1rem;
|
|
39
|
+
}
|
|
40
|
+
.progress {
|
|
41
|
+
position: absolute;
|
|
42
|
+
border-top-left-radius: 4px;
|
|
43
|
+
border-top-right-radius: 4px;
|
|
44
|
+
height: 10px;
|
|
45
|
+
top: 0;
|
|
46
|
+
right: 0;
|
|
47
|
+
left: 0;
|
|
48
|
+
transition-property: left;
|
|
49
|
+
transition-timing-function: linear;
|
|
50
|
+
transition-delay: 300ms;
|
|
51
|
+
background-color: var(--animate-bg-color);
|
|
52
|
+
opacity: 0.75;
|
|
53
|
+
}
|
|
54
|
+
&.animate .progress {
|
|
55
|
+
left: 100%;
|
|
56
|
+
border-top-left-radius: 0;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&.visible {
|
|
61
|
+
opacity: 1;
|
|
62
|
+
top: auto !important;
|
|
63
|
+
bottom: 0;
|
|
64
|
+
right: 0;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
.sf-tooltip-wrapper {
|
|
2
|
+
--arrow-width: 7.5px;
|
|
3
|
+
pointer-events: none;
|
|
4
|
+
width: 120px;
|
|
5
|
+
color: var(--bg-color);
|
|
6
|
+
text-align: center;
|
|
7
|
+
text-transform: lowercase;
|
|
8
|
+
position: absolute;
|
|
9
|
+
opacity: 0;
|
|
10
|
+
transition: opacity 0.3s;
|
|
11
|
+
|
|
12
|
+
.sf-tooltip-inner {
|
|
13
|
+
position: relative;
|
|
14
|
+
padding: 6px 0;
|
|
15
|
+
border-radius: 4px;
|
|
16
|
+
background-color: var(--text-color);
|
|
17
|
+
font-size: 0.875rem;
|
|
18
|
+
|
|
19
|
+
&::after {
|
|
20
|
+
content: "";
|
|
21
|
+
position: absolute;
|
|
22
|
+
left: var(--arrow-width);
|
|
23
|
+
top: calc(var(--arrow-width) * -1);
|
|
24
|
+
border-left: var(--arrow-width) solid transparent;
|
|
25
|
+
border-right: var(--arrow-width) solid transparent;
|
|
26
|
+
border-bottom: var(--arrow-width) solid var(--text-color);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.visible {
|
|
31
|
+
opacity: 1;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&.top .sf-tooltip-inner::after {
|
|
35
|
+
top: unset;
|
|
36
|
+
bottom: calc(var(--arrow-width) * -1);
|
|
37
|
+
border-bottom: unset;
|
|
38
|
+
border-top: var(--arrow-width) solid var(--text-color);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.left .sf-tooltip-inner::after {
|
|
42
|
+
left: unset;
|
|
43
|
+
right: var(--arrow-width);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.sf-tooltip-anchor {
|
|
48
|
+
display: inline !important;
|
|
49
|
+
border-radius: 50%;
|
|
50
|
+
&:has(.sf-component-disabled),
|
|
51
|
+
&:has(.sf-component-loading),
|
|
52
|
+
&:has(.sf-component-freeze) {
|
|
53
|
+
pointer-events: none !important;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
//@import 'toasts-animations';
|
|
2
|
+
|
|
3
|
+
// Appearance animation
|
|
4
|
+
@keyframes swal2-show {
|
|
5
|
+
0% {
|
|
6
|
+
transform: scale(0.7);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
45% {
|
|
10
|
+
transform: scale(1.05);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
80% {
|
|
14
|
+
transform: scale(0.95);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
100% {
|
|
18
|
+
transform: scale(1);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// Disppearance animation
|
|
23
|
+
@keyframes swal2-hide {
|
|
24
|
+
0% {
|
|
25
|
+
transform: scale(1);
|
|
26
|
+
opacity: 1;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
100% {
|
|
30
|
+
transform: scale(0.5);
|
|
31
|
+
opacity: 0;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// Success icon animations
|
|
36
|
+
@keyframes swal2-animate-success-line-tip {
|
|
37
|
+
0% {
|
|
38
|
+
top: 1.1875em;
|
|
39
|
+
left: 0.0625em;
|
|
40
|
+
width: 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
54% {
|
|
44
|
+
top: 1.0625em;
|
|
45
|
+
left: 0.125em;
|
|
46
|
+
width: 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
70% {
|
|
50
|
+
top: 2.1875em;
|
|
51
|
+
left: -0.375em;
|
|
52
|
+
width: 3.125em;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
84% {
|
|
56
|
+
top: 3em;
|
|
57
|
+
left: 1.3125em;
|
|
58
|
+
width: 1.0625em;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
100% {
|
|
62
|
+
top: 2.8125em;
|
|
63
|
+
left: 0.8125em;
|
|
64
|
+
width: 1.5625em;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@keyframes swal2-animate-success-line-long {
|
|
69
|
+
0% {
|
|
70
|
+
top: 3.375em;
|
|
71
|
+
right: 2.875em;
|
|
72
|
+
width: 0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
65% {
|
|
76
|
+
top: 3.375em;
|
|
77
|
+
right: 2.875em;
|
|
78
|
+
width: 0;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
84% {
|
|
82
|
+
top: 2.1875em;
|
|
83
|
+
right: 0;
|
|
84
|
+
width: 3.4375em;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
100% {
|
|
88
|
+
top: 2.375em;
|
|
89
|
+
right: 0.5em;
|
|
90
|
+
width: 2.9375em;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@keyframes swal2-rotate-success-circular-line {
|
|
95
|
+
0% {
|
|
96
|
+
transform: rotate(-45deg);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
5% {
|
|
100
|
+
transform: rotate(-45deg);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
12% {
|
|
104
|
+
transform: rotate(-405deg);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
100% {
|
|
108
|
+
transform: rotate(-405deg);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
// Error icon animations
|
|
113
|
+
@keyframes swal2-animate-error-x-mark {
|
|
114
|
+
0% {
|
|
115
|
+
margin-top: 1.625em;
|
|
116
|
+
transform: scale(0.4);
|
|
117
|
+
opacity: 0;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
50% {
|
|
121
|
+
margin-top: 1.625em;
|
|
122
|
+
transform: scale(0.4);
|
|
123
|
+
opacity: 0;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
80% {
|
|
127
|
+
margin-top: -0.375em;
|
|
128
|
+
transform: scale(1.15);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
100% {
|
|
132
|
+
margin-top: 0;
|
|
133
|
+
transform: scale(1);
|
|
134
|
+
opacity: 1;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
@keyframes swal2-animate-error-icon {
|
|
139
|
+
0% {
|
|
140
|
+
transform: rotateX(100deg);
|
|
141
|
+
opacity: 0;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
100% {
|
|
145
|
+
transform: rotateX(0deg);
|
|
146
|
+
opacity: 1;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
@keyframes swal2-rotate-loading {
|
|
151
|
+
0% {
|
|
152
|
+
transform: rotate(0deg);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
100% {
|
|
156
|
+
transform: rotate(360deg);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
// Question mark animation
|
|
161
|
+
@keyframes swal2-animate-question-mark {
|
|
162
|
+
0% {
|
|
163
|
+
transform: rotateY(-360deg);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
100% {
|
|
167
|
+
transform: rotateY(0);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
// Info and Warning mark animation
|
|
172
|
+
@keyframes swal2-animate-i-mark {
|
|
173
|
+
0% {
|
|
174
|
+
transform: rotateZ(45deg);
|
|
175
|
+
opacity: 0;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
25% {
|
|
179
|
+
transform: rotateZ(-25deg);
|
|
180
|
+
opacity: 0.4;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
50% {
|
|
184
|
+
transform: rotateZ(15deg);
|
|
185
|
+
opacity: 0.8;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
75% {
|
|
189
|
+
transform: rotateZ(-5deg);
|
|
190
|
+
opacity: 1;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
100% {
|
|
194
|
+
transform: rotateX(0);
|
|
195
|
+
opacity: 1;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
//@import "toasts-body";
|
|
2
|
+
|
|
3
|
+
@mixin sweetalert2-body() {
|
|
4
|
+
&.swal2-shown {
|
|
5
|
+
@include not(".swal2-no-backdrop", ".swal2-toast-shown") {
|
|
6
|
+
overflow: hidden; // not overflow-y because of Sarari, #1253
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// SfLayout define height de html.
|
|
11
|
+
// &.swal2-height-auto {
|
|
12
|
+
// height: auto !important; // #781 #1107
|
|
13
|
+
// }
|
|
14
|
+
|
|
15
|
+
&.swal2-no-backdrop {
|
|
16
|
+
.swal2-container {
|
|
17
|
+
background-color: transparent !important;
|
|
18
|
+
pointer-events: none;
|
|
19
|
+
|
|
20
|
+
.swal2-popup {
|
|
21
|
+
pointer-events: all;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.swal2-modal {
|
|
25
|
+
box-shadow: 0 0 10px $swal2-backdrop;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@media print {
|
|
31
|
+
&.swal2-shown {
|
|
32
|
+
@include not(".swal2-no-backdrop", ".swal2-toast-shown") {
|
|
33
|
+
overflow-y: scroll !important;
|
|
34
|
+
|
|
35
|
+
> [aria-hidden="true"] {
|
|
36
|
+
display: none;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.swal2-container {
|
|
40
|
+
position: static !important;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|