@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.
Files changed (93) hide show
  1. package/dist/components/content/Content.d.ts +21 -0
  2. package/dist/components/icon/Icon.d.ts +39 -0
  3. package/dist/components/internal/LoadingCircle.d.ts +2 -0
  4. package/dist/components/internal/LogoutIcon.d.ts +2 -0
  5. package/dist/components/internal/MenuIcon.d.ts +2 -0
  6. package/dist/components/internal/ScrollToTop.d.ts +2 -0
  7. package/dist/components/internal/ThemeToggle.d.ts +2 -0
  8. package/dist/components/internal/cssClassBuilder.d.ts +29 -0
  9. package/dist/components/layout/Layout.d.ts +12 -0
  10. package/dist/components/navmenulink/NavMenuLink.d.ts +12 -0
  11. package/dist/enum/cor.d.ts +9 -0
  12. package/dist/enum/index.d.ts +2 -0
  13. package/dist/enum/tamanho.d.ts +5 -0
  14. package/dist/index.d.ts +9 -0
  15. package/dist/lib.es.js +2724 -0
  16. package/dist/lib.umd.js +79 -0
  17. package/dist/services/authService.d.ts +20 -0
  18. package/dist/services/dialogService.d.ts +12 -0
  19. package/dist/services/navMenuService.d.ts +9 -0
  20. package/dist/style.css +1 -0
  21. package/package.json +31 -0
  22. package/src/components/content/Content.d.ts +35 -0
  23. package/src/components/content/Content.vue +41 -0
  24. package/src/components/icon/Icon.d.ts +38 -0
  25. package/src/components/icon/Icon.vue +43 -0
  26. package/src/components/internal/LoadingCircle.vue +16 -0
  27. package/src/components/internal/LogoutIcon.vue +14 -0
  28. package/src/components/internal/MenuIcon.vue +13 -0
  29. package/src/components/internal/ScrollToTop.vue +26 -0
  30. package/src/components/internal/ThemeToggle.ts +41 -0
  31. package/src/components/internal/ThemeToggle.vue +23 -0
  32. package/src/components/internal/cssClassBuilder.ts +44 -0
  33. package/src/components/layout/Layout.d.ts +44 -0
  34. package/src/components/layout/Layout.vue +63 -0
  35. package/src/components/navmenulink/NavMenuLink.d.ts +34 -0
  36. package/src/components/navmenulink/NavMenuLink.vue +41 -0
  37. package/src/enum/cor.ts +9 -0
  38. package/src/enum/index.ts +2 -0
  39. package/src/enum/tamanho.ts +5 -0
  40. package/src/index.ts +56 -0
  41. package/src/services/authService.ts +69 -0
  42. package/src/services/dialogService.ts +35 -0
  43. package/src/services/navMenuService.ts +21 -0
  44. package/src/sf-oidc-state.html +15 -0
  45. package/src/style/componentes.scss +22 -0
  46. package/src/style/src/_animation.scss +441 -0
  47. package/src/style/src/_display.scss +10 -0
  48. package/src/style/src/_flexbox.scss +85 -0
  49. package/src/style/src/_functions.scss +171 -0
  50. package/src/style/src/_gap.scss +8 -0
  51. package/src/style/src/_grid.scss +100 -0
  52. package/src/style/src/_mixins.scss +633 -0
  53. package/src/style/src/_normalize.scss +351 -0
  54. package/src/style/src/_ripple.scss +30 -0
  55. package/src/style/src/_size.scss +98 -0
  56. package/src/style/src/_spacing.scss +42 -0
  57. package/src/style/src/_typography.scss +43 -0
  58. package/src/style/src/_variables.scss +87 -0
  59. package/src/style/src/components/_button.scss +110 -0
  60. package/src/style/src/components/_checkbox.scss +53 -0
  61. package/src/style/src/components/_content.scss +57 -0
  62. package/src/style/src/components/_datefield.scss +405 -0
  63. package/src/style/src/components/_drawer.scss +99 -0
  64. package/src/style/src/components/_icon.scss +120 -0
  65. package/src/style/src/components/_internal_icon_button.scss +5 -0
  66. package/src/style/src/components/_layout.scss +183 -0
  67. package/src/style/src/components/_loading-circle.scss +24 -0
  68. package/src/style/src/components/_mark.scss +9 -0
  69. package/src/style/src/components/_mask.scss +33 -0
  70. package/src/style/src/components/_navmenulink.scss +31 -0
  71. package/src/style/src/components/_numpad.scss +58 -0
  72. package/src/style/src/components/_progress-circular.scss +52 -0
  73. package/src/style/src/components/_scrollToTop.scss +28 -0
  74. package/src/style/src/components/_select.scss +60 -0
  75. package/src/style/src/components/_svg_icon.scss +5 -0
  76. package/src/style/src/components/_textfield.scss +186 -0
  77. package/src/style/src/components/_themetoggle.scss +25 -0
  78. package/src/style/src/components/_toast.scss +66 -0
  79. package/src/style/src/components/_tooltip.scss +55 -0
  80. package/src/style/src/sweetalert/_sweetalert.scss +9 -0
  81. package/src/style/src/sweetalert/scss/_animations.scss +197 -0
  82. package/src/style/src/sweetalert/scss/_body.scss +45 -0
  83. package/src/style/src/sweetalert/scss/_core.scss +863 -0
  84. package/src/style/src/sweetalert/scss/_mixins.scss +16 -0
  85. package/src/style/src/sweetalert/scss/_theming.scss +8 -0
  86. package/src/style/src/sweetalert/scss/_toasts-animations.scss +83 -0
  87. package/src/style/src/sweetalert/scss/_toasts-body.scss +85 -0
  88. package/src/style/src/sweetalert/scss/_toasts.scss +203 -0
  89. package/src/style/src/sweetalert/scss/_variables.scss +265 -0
  90. package/src/style/tema.scss +169 -0
  91. package/src/ts-helpers.d.ts +57 -0
  92. package/tsconfig.json +19 -0
  93. package/vite.config.js +25 -0
@@ -0,0 +1,110 @@
1
+ @use "../mixins";
2
+
3
+ .sf-button {
4
+ position: relative;
5
+ display: inline-flex;
6
+ align-items: center;
7
+ border-radius: 4px;
8
+ border: 1px solid transparent;
9
+ overflow: hidden;
10
+ font-weight: 400;
11
+ transition: opacity 0.2s ease-in-out;
12
+ &:hover {
13
+ cursor: pointer;
14
+ }
15
+
16
+ .sf-button-label {
17
+ white-space: nowrap;
18
+ overflow: hidden;
19
+ text-overflow: ellipsis;
20
+ }
21
+
22
+ .sf-icon {
23
+ position: absolute;
24
+ > button {
25
+ color: currentColor !important;
26
+ }
27
+ }
28
+
29
+ &.sf-component-loading {
30
+ color: var(--disabled-color) !important;
31
+ border-color: var(--disabled-color) !important;
32
+ .sf-button-label {
33
+ color: transparent !important;
34
+ }
35
+ }
36
+
37
+ &.sf-button-filled:disabled {
38
+ background-color: hsla(
39
+ var(--disabled-color-h),
40
+ var(--disabled-color-s),
41
+ var(--disabled-color-l),
42
+ 0.5
43
+ ) !important;
44
+ }
45
+
46
+ &.sf-button-small {
47
+ height: 32px;
48
+ font-size: 0.875rem;
49
+ padding: 0 12px;
50
+ &.sf-button-with-icon {
51
+ padding-left: 28px;
52
+ }
53
+ .sf-icon {
54
+ inset: 0 0 0 6px;
55
+ &.sf-component-loading {
56
+ inset: 0 0 0 50%;
57
+ margin-left: -8px;
58
+ }
59
+ }
60
+ .sf-button-label {
61
+ line-height: 32px;
62
+ }
63
+ }
64
+
65
+ &.sf-button-medium {
66
+ height: 36px;
67
+ font-size: 1rem;
68
+ padding: 0 12px;
69
+ &.sf-button-with-icon {
70
+ padding-left: 38px;
71
+ }
72
+ .sf-icon {
73
+ inset: 0 0 0 8px;
74
+ &.sf-component-loading {
75
+ inset: 0 0 0 50%;
76
+ margin-left: -12px;
77
+ }
78
+ }
79
+ .sf-button-label {
80
+ line-height: 36px;
81
+ }
82
+ }
83
+
84
+ &.sf-button-large {
85
+ height: 48px;
86
+ font-size: 1.25rem;
87
+ padding: 0 16px;
88
+ &.sf-button-with-icon {
89
+ padding-left: 54px;
90
+ }
91
+ .sf-icon {
92
+ inset: 0 0 0 10px;
93
+ &.sf-component-loading {
94
+ inset: 0 0 0 50%;
95
+ margin-left: -18px;
96
+ }
97
+ }
98
+ .sf-button-label {
99
+ line-height: 48px;
100
+ }
101
+ }
102
+
103
+ @include button-colors;
104
+ }
105
+
106
+ html.dark {
107
+ .sf-button {
108
+ @include button-colors(true);
109
+ }
110
+ }
@@ -0,0 +1,53 @@
1
+ .sf-checkbox {
2
+ $width: 22px;
3
+ $height: 22px;
4
+ $radius: 4px;
5
+ cursor: pointer;
6
+ user-select: none;
7
+ align-items: center;
8
+ position: relative;
9
+ .sf-checkbox-box {
10
+ min-width: $width;
11
+ min-height: $height;
12
+ width: $width;
13
+ height: $height;
14
+ border-radius: $radius;
15
+ border: 2px solid var(--surface-border-color);
16
+ background: var(--surface-200-color);
17
+ display: flex;
18
+ justify-content: center;
19
+ align-items: center;
20
+ transition-duration: 0.2s;
21
+ transition-timing-function: linear;
22
+ transition-property: box-shadow, border;
23
+ &.sf-checkbox-box-highlight {
24
+ border-color: var(--primary-color);
25
+ background-color: var(--primary-color);
26
+ > .sf-icon > button {
27
+ color: var(--bg-color);
28
+ }
29
+ }
30
+ &.sf-checkbox-box-focus {
31
+ outline: 0 none;
32
+ outline-offset: 0;
33
+ border-color: var(--primary-color);
34
+ box-shadow: 0 0 0 1px var(--primary-color);
35
+ }
36
+ &:not(.sf-checkbox-box-highlight) {
37
+ &:hover {
38
+ outline: 0 none;
39
+ outline-offset: 0;
40
+ border-color: var(--surface-900-color);
41
+ background: var(--surface-300-color);
42
+ }
43
+ }
44
+ }
45
+ .sf-checkbox-label {
46
+ padding-left: 1rem;
47
+ margin-right: 1rem;
48
+ word-break: break-all;
49
+ &:empty {
50
+ display: none;
51
+ }
52
+ }
53
+ }
@@ -0,0 +1,57 @@
1
+ @import "../mixins";
2
+
3
+ .sf-content {
4
+ height: 100%;
5
+ overflow: hidden;
6
+ position: relative;
7
+ > .sf-content-body {
8
+ height: calc(100% - 25%);
9
+ overflow: auto;
10
+ scroll-behavior: smooth;
11
+ padding: 1rem;
12
+ &.sf-content-no-padding {
13
+ padding: 0;
14
+ }
15
+ }
16
+ > .sf-content-header {
17
+ top: 0;
18
+ border-bottom: 1px solid var(--surface-900-color);
19
+ }
20
+ > .sf-content-footer {
21
+ bottom: 0;
22
+ border-top: 1px solid var(--surface-900-color);
23
+ }
24
+ > .sf-content-header,
25
+ > .sf-content-footer {
26
+ width: 100%;
27
+ padding: 0 1rem;
28
+ height: 12.5%;
29
+ display: flex;
30
+ align-items: center;
31
+ gap: 0.5rem;
32
+ &:empty {
33
+ display: none;
34
+ height: 0;
35
+ }
36
+ &.sf-content-no-padding {
37
+ padding: 0;
38
+ gap: 0;
39
+ }
40
+ }
41
+ > .sf-content-header {
42
+ background-color: var(--bg-color);
43
+ }
44
+ > .sf-content-footer {
45
+ background-color: var(--surface-300-color);
46
+ }
47
+ &:has(.sf-content-header:empty) > .sf-content-body {
48
+ height: calc(100% - 12.5%);
49
+ }
50
+ &:has(.sf-content-footer:empty) > .sf-content-body {
51
+ height: calc(100% - 12.5%);
52
+ }
53
+ &:has(.sf-content-header:empty):has(.sf-content-footer:empty)
54
+ > .sf-content-body {
55
+ height: 100%;
56
+ }
57
+ }
@@ -0,0 +1,405 @@
1
+ .sf-datepicker-wrapper {
2
+ display: flex;
3
+ flex-direction: column;
4
+ align-items: center;
5
+ }
6
+ .sf-timepicker-wrapper {
7
+ display: flex;
8
+ align-items: center;
9
+ justify-content: center;
10
+ height: 100%;
11
+ max-height: 240px;
12
+ margin: 1rem 0;
13
+ > div {
14
+ display: flex;
15
+ flex-direction: column;
16
+ align-items: center;
17
+ width: 80px;
18
+ height: 100%;
19
+ > .sf-icon > button {
20
+ font-size: 48px;
21
+ pointer-events: auto;
22
+ cursor: pointer;
23
+ }
24
+ span {
25
+ font-size: 2rem;
26
+ flex-grow: 1;
27
+ display: flex;
28
+ align-items: center;
29
+ margin: 1rem 0;
30
+ }
31
+ }
32
+ }
33
+
34
+ .air-datepicker-cell.-day-.-other-month-,
35
+ .air-datepicker-cell.-year-.-other-decade- {
36
+ color: var(--adp-color-other-month);
37
+ }
38
+ .air-datepicker-cell.-day-.-other-month-:hover,
39
+ .air-datepicker-cell.-year-.-other-decade-:hover {
40
+ color: var(--adp-color-other-month-hover);
41
+ }
42
+ .-disabled-.-focus-.air-datepicker-cell.-day-.-other-month-,
43
+ .-disabled-.-focus-.air-datepicker-cell.-year-.-other-decade- {
44
+ color: var(--adp-color-other-month) !important;
45
+ }
46
+ .-selected-.air-datepicker-cell.-day-.-other-month-,
47
+ .-selected-.air-datepicker-cell.-year-.-other-decade- {
48
+ color: var(bg-color);
49
+ background: var(--adp-background-color-selected-other-month);
50
+ }
51
+ .-selected-.-focus-.air-datepicker-cell.-day-.-other-month-,
52
+ .-selected-.-focus-.air-datepicker-cell.-year-.-other-decade- {
53
+ background: var(
54
+ --adp-background-color-selected-other-month-focused
55
+ );
56
+ }
57
+ .-in-range-.air-datepicker-cell.-day-.-other-month-,
58
+ .-in-range-.air-datepicker-cell.-year-.-other-decade- {
59
+ background-color: var(--adp-background-color-in-range);
60
+ color: var(--adp-color);
61
+ }
62
+ .-in-range-.-focus-.air-datepicker-cell.-day-.-other-month-,
63
+ .-in-range-.-focus-.air-datepicker-cell.-year-.-other-decade- {
64
+ background-color: var(--adp-background-color-in-range-focused);
65
+ }
66
+ .air-datepicker-cell.-day-.-other-month-:empty,
67
+ .air-datepicker-cell.-year-.-other-decade-:empty {
68
+ background: none;
69
+ border: none;
70
+ }
71
+ .air-datepicker-cell {
72
+ border-radius: var(--adp-cell-border-radius);
73
+ box-sizing: border-box;
74
+ cursor: pointer;
75
+ display: flex;
76
+ position: relative;
77
+ align-items: center;
78
+ justify-content: center;
79
+ z-index: 1;
80
+ }
81
+
82
+ @media (pointer: fine) {
83
+ .air-datepicker-cell.-focus- {
84
+ background: var(--adp-cell-background-color-hover);
85
+ }
86
+ .air-datepicker-nav--title:hover,
87
+ .air-datepicker-nav--action:hover {
88
+ background: var(--adp-background-color-hover);
89
+ }
90
+ .air-datepicker-button:hover {
91
+ color: var(--adp-btn-color-hover);
92
+ background: var(--adp-btn-background-color-hover);
93
+ }
94
+ .air-datepicker-button:focus {
95
+ color: var(--adp-btn-color-hover);
96
+ background: var(--adp-btn-background-color-hover);
97
+ outline: none;
98
+ }
99
+ }
100
+
101
+ .air-datepicker-cell.-current- {
102
+ color: var(--info-color);
103
+ }
104
+
105
+ .air-datepicker-cell.-disabled- {
106
+ pointer-events: none;
107
+ color: var(--adp-color-disabled) !important;
108
+ }
109
+
110
+ .air-datepicker-cell.-selected- {
111
+ color: var(--bg-color) !important;
112
+ border: none !important;
113
+ background: var(--adp-cell-background-color-selected) !important;
114
+ }
115
+ .air-datepicker-cell.-selected-.-current- {
116
+ color: var(--bg-color);
117
+ background: var(--adp-cell-background-color-selected);
118
+ }
119
+ .air-datepicker-cell.-selected-.-focus- {
120
+ background: var(--adp-cell-background-color-selected-hover);
121
+ }
122
+
123
+ .air-datepicker-body {
124
+ transition: all var(--adp-transition-duration)
125
+ var(--adp-transition-ease);
126
+ }
127
+ .air-datepicker-body.-hidden- {
128
+ display: none;
129
+ }
130
+ .air-datepicker-body--day-names {
131
+ display: grid;
132
+ grid-template-columns: repeat(7, var(--adp-day-cell-width));
133
+ height: 25px;
134
+ }
135
+ .air-datepicker-body--day-name {
136
+ color: var(--adp-day-name-color);
137
+ display: flex;
138
+ align-items: center;
139
+ justify-content: center;
140
+ flex: 1;
141
+ text-align: center;
142
+ text-transform: uppercase;
143
+ font-size: 0.8em;
144
+ }
145
+ .air-datepicker-body--day-name.-clickable- {
146
+ cursor: pointer;
147
+ }
148
+ .air-datepicker-body--day-name.-clickable-:hover {
149
+ color: var(--adp-day-name-color-hover);
150
+ }
151
+ .air-datepicker-body--cells {
152
+ display: grid;
153
+ }
154
+ .air-datepicker-body--cells.-days- {
155
+ grid-template-columns: repeat(7, var(--adp-day-cell-width));
156
+ height: 140px;
157
+ }
158
+ .air-datepicker-body--cells.-months- {
159
+ grid-template-columns: repeat(3, 1fr);
160
+ grid-auto-rows: var(--adp-month-cell-height);
161
+ }
162
+ .air-datepicker-body--cells.-years- {
163
+ grid-template-columns: repeat(4, 1fr);
164
+ grid-auto-rows: var(--adp-year-cell-height);
165
+ }
166
+
167
+ .air-datepicker-nav {
168
+ display: flex;
169
+ justify-content: space-between;
170
+ border-bottom: 1px solid var(--adp-border-color-inner);
171
+ min-height: var(--adp-nav-height);
172
+ padding: var(--adp-padding);
173
+ box-sizing: content-box;
174
+ }
175
+ .-only-timepicker- .air-datepicker-nav {
176
+ display: none;
177
+ }
178
+ .air-datepicker-nav--title,
179
+ .air-datepicker-nav--action {
180
+ display: flex;
181
+ cursor: pointer;
182
+ align-items: center;
183
+ justify-content: center;
184
+ }
185
+ .air-datepicker-nav--action {
186
+ width: var(--adp-nav-action-size);
187
+ border-radius: var(--adp-border-radius);
188
+ -webkit-user-select: none;
189
+ -moz-user-select: none;
190
+ user-select: none;
191
+ }
192
+ .air-datepicker-nav--action.-disabled- {
193
+ visibility: hidden;
194
+ }
195
+ .air-datepicker-nav--action svg {
196
+ width: 32px;
197
+ height: 32px;
198
+ }
199
+ .air-datepicker-nav--action path {
200
+ fill: none;
201
+ stroke: var(--adp-nav-arrow-color);
202
+ stroke-width: 2px;
203
+ }
204
+ .air-datepicker-nav--title {
205
+ border-radius: var(--adp-border-radius);
206
+ padding: 0 8px;
207
+ }
208
+ .air-datepicker-nav--title i {
209
+ font-style: normal;
210
+ color: var(--adp-nav-color-secondary);
211
+ margin-left: 0.3em;
212
+ }
213
+ .air-datepicker-nav--title.-disabled- {
214
+ cursor: default;
215
+ background: none;
216
+ }
217
+
218
+ .air-datepicker-buttons {
219
+ display: grid;
220
+ grid-auto-columns: 1fr;
221
+ grid-auto-flow: column;
222
+ }
223
+ .air-datepicker-button {
224
+ display: inline-flex;
225
+ color: var(--adp-btn-color);
226
+ border-radius: var(--adp-btn-border-radius);
227
+ cursor: pointer;
228
+ height: var(--adp-btn-height);
229
+ border: none;
230
+ background: rgba(255, 255, 255, 0);
231
+ }
232
+
233
+ .air-datepicker-button:active {
234
+ opacity: 0.8;
235
+ color: var(--adp-btn-color-hover);
236
+ background: var(--adp-btn-background-color-hover);
237
+ }
238
+
239
+ .air-datepicker-button span {
240
+ outline: none;
241
+ display: flex;
242
+ align-items: center;
243
+ justify-content: center;
244
+ width: 100%;
245
+ height: 100%;
246
+ }
247
+
248
+ .air-datepicker {
249
+ --adp-width: 100%;
250
+ --adp-max-width: 280px;
251
+ --adp-padding: 4px;
252
+ --adp-grid-areas: "nav" "body" "timepicker" "buttons";
253
+ --adp-transition-duration: 0.3s;
254
+ --adp-transition-ease: ease-out;
255
+ --adp-transition-offset: 8px;
256
+ --adp-background-color: var(--bg-color);
257
+ --adp-background-color-hover: var(--primary-hover-color);
258
+ --adp-background-color-active: transparent;
259
+ --adp-background-color-in-range: rgba(92, 196, 239, 0.1);
260
+ --adp-background-color-in-range-focused: rgba(92, 196, 239, 0.2);
261
+ --adp-background-color-selected-other-month-focused: var(
262
+ --primary-hover-color
263
+ );
264
+ --adp-background-color-selected-other-month: var(
265
+ --primary-hover-color
266
+ );
267
+ --adp-color: var(--text-color);
268
+ --adp-color-secondary: var(--secondary-color);
269
+ --adp-accent-color: var(--primary-color);
270
+ --adp-color-other-month: hsla(
271
+ var(--text-color-h),
272
+ var(--text-color-s),
273
+ var(--text-color-l),
274
+ 0.4
275
+ );
276
+ --adp-color-disabled: hsla(
277
+ var(--text-color-h),
278
+ var(--text-color-s),
279
+ var(--text-color-l),
280
+ 0.2
281
+ );
282
+ --adp-color-disabled-in-range: hsla(
283
+ var(--text-color-h),
284
+ var(--text-color-s),
285
+ var(--text-color-l),
286
+ 0.4
287
+ );
288
+ --adp-color-other-month-hover: hsla(
289
+ var(--text-color-h),
290
+ var(--text-color-s),
291
+ var(--text-color-l),
292
+ 0.6
293
+ );
294
+ --adp-border-color: var(--surface-border-color);
295
+ --adp-border-color-inner: var(--surface-100-color);
296
+ --adp-border-radius: 4px;
297
+ --adp-border-color-inline: var(--surface-300-color);
298
+ --adp-nav-height: 32px;
299
+ --adp-nav-arrow-color: var(--adp-color-secondary);
300
+ --adp-nav-action-size: 32px;
301
+ --adp-nav-color-secondary: var(--adp-color-secondary);
302
+ --adp-day-name-color: var(--primary-color);
303
+ --adp-day-name-color-hover: var(--primary-hover-color);
304
+ --adp-day-cell-width: 1fr;
305
+ --adp-day-cell-height: 1fr;
306
+ --adp-month-cell-height: 36px;
307
+ --adp-year-cell-height: 42px;
308
+ --adp-pointer-size: 10px;
309
+ --adp-poiner-border-radius: 2px;
310
+ --adp-pointer-offset: 14px;
311
+ --adp-cell-border-radius: 4px;
312
+ --adp-cell-background-color-hover: var(
313
+ --adp-background-color-hover
314
+ );
315
+ --adp-cell-background-color-selected: var(--primary-color);
316
+ --adp-cell-background-color-selected-hover: var(
317
+ --primary-hover-color
318
+ );
319
+ --adp-cell-background-color-in-range: rgba(92, 196, 239, 0.1);
320
+ --adp-cell-background-color-in-range-hover: rgba(92, 196, 239, 0.2);
321
+ --adp-cell-border-color-in-range: var(
322
+ --adp-cell-background-color-selected
323
+ );
324
+ --adp-btn-height: 32px;
325
+ --adp-btn-color: var(--adp-accent-color);
326
+ --adp-btn-color-hover: var(--adp-color);
327
+ --adp-btn-border-radius: var(--adp-border-radius);
328
+ --adp-btn-background-color-hover: var(--adp-background-color-hover);
329
+ --adp-btn-background-color-active: var(
330
+ --adp-background-color-active
331
+ );
332
+ --adp-time-track-height: 1px;
333
+ --adp-time-track-color: #dedede;
334
+ --adp-time-track-color-hover: #b1b1b1;
335
+ --adp-time-thumb-size: 12px;
336
+ --adp-time-padding-inner: 10px;
337
+ --adp-time-day-period-color: var(--adp-color-secondary);
338
+ --adp-mobile-font-size: 16px;
339
+ --adp-mobile-nav-height: 40px;
340
+ --adp-mobile-width: 320px;
341
+ --adp-mobile-day-cell-height: 38px;
342
+ --adp-mobile-month-cell-height: 48px;
343
+ --adp-mobile-year-cell-height: 64px;
344
+ }
345
+
346
+ .air-datepicker {
347
+ background: var(--adp-background-color);
348
+ box-sizing: content-box;
349
+ display: grid;
350
+ grid-template-columns: 1fr;
351
+ grid-template-rows: repeat(4, -webkit-max-content);
352
+ grid-template-rows: repeat(4, max-content);
353
+ grid-template-areas: var(--adp-grid-areas);
354
+ color: var(--adp-color);
355
+ width: var(--adp-width);
356
+ max-width: var(--adp-max-width);
357
+ }
358
+
359
+ .air-datepicker--navigation {
360
+ grid-area: nav;
361
+ }
362
+ .air-datepicker--content {
363
+ box-sizing: content-box;
364
+ grid-area: body;
365
+ padding: 0 var(--adp-padding);
366
+ height: 175px;
367
+ }
368
+ .-only-timepicker- .air-datepicker--content {
369
+ display: none;
370
+ }
371
+ .air-datepicker--time {
372
+ grid-area: timepicker;
373
+ }
374
+ .air-datepicker--buttons {
375
+ grid-area: buttons;
376
+ }
377
+ .air-datepicker--buttons,
378
+ .air-datepicker--time {
379
+ padding: var(--adp-padding);
380
+ border-top: 1px solid var(--adp-border-color-inner);
381
+ }
382
+ .air-datepicker-overlay {
383
+ position: fixed;
384
+ background: var(--adp-overlay-background-color);
385
+ left: 0;
386
+ top: 0;
387
+ width: 0;
388
+ height: 0;
389
+ opacity: 0;
390
+ transition: opacity var(--adp-overlay-transition-duration)
391
+ var(--adp-overlay-transition-ease),
392
+ left 0s, height 0s, width 0s;
393
+ transition-delay: 0s, var(--adp-overlay-transition-duration),
394
+ var(--adp-overlay-transition-duration),
395
+ var(--adp-overlay-transition-duration);
396
+ z-index: var(--adp-overlay-z-index);
397
+ }
398
+ .air-datepicker-overlay.-active- {
399
+ opacity: 1;
400
+ width: 100%;
401
+ height: 100%;
402
+ transition: opacity var(--adp-overlay-transition-duration)
403
+ var(--adp-overlay-transition-ease),
404
+ height 0s, width 0s;
405
+ }
@@ -0,0 +1,99 @@
1
+ .sf-drawer {
2
+ pointer-events: auto;
3
+ height: var(--window-height);
4
+ background: var(--bg-color);
5
+ border-right: 1px solid var(--surface-border-color);
6
+ width: 360px;
7
+ transform: translate3d(0px, 0px, 0px);
8
+ opacity: 1;
9
+ transition: all 0.2s linear;
10
+ @media screen and (min-width: #{$xl}) {
11
+ width: 480px;
12
+ }
13
+ @media screen and (max-width: #{$sm}) {
14
+ width: 100%;
15
+ border: none;
16
+ }
17
+ .sf-drawer-header,
18
+ .sf-drawer-footer {
19
+ border-color: var(--surface-border-color);
20
+ height: 60px;
21
+ }
22
+ .sf-drawer-header {
23
+ padding: 0 1.25rem;
24
+ display: flex;
25
+ align-items: center;
26
+ justify-content: space-between;
27
+ border-bottom: 1px solid var(--surface-border-color);
28
+ .sf-drawer-title {
29
+ white-space: nowrap;
30
+ overflow: hidden;
31
+ text-overflow: ellipsis;
32
+ }
33
+ }
34
+ .sf-drawer-content {
35
+ overflow: auto;
36
+ height: 100%;
37
+ }
38
+ .sf-drawer-footer {
39
+ border-top: 1px solid var(--surface-border-color);
40
+ }
41
+ &.sf-drawer-with-title .sf-drawer-content {
42
+ height: calc(100% - 60px);
43
+ }
44
+ &.sf-drawer-with-footer .sf-drawer-content {
45
+ height: calc(100% - 60px);
46
+ }
47
+ &.sf-drawer-with-title.sf-drawer-with-footer .sf-drawer-content {
48
+ height: calc(100% - 120px);
49
+ }
50
+ }
51
+ .sf-drawer-enter-active {
52
+ transition: all 0.2 linear;
53
+ }
54
+ .sf-drawer-leave-active {
55
+ transition: all 0.2 linear;
56
+ }
57
+ .sf-drawer-enter-from,
58
+ .sf-drawer-leave-to {
59
+ transform: translate3d(-100%, 0px, 0px);
60
+ }
61
+ .sf-mask.right {
62
+ justify-content: flex-end;
63
+ .sf-drawer {
64
+ border-left: 1px solid var(--surface-border-color);
65
+ border-right: unset;
66
+ }
67
+ .sf-drawer-enter-from,
68
+ .sf-drawer-leave-to {
69
+ transform: translate3d(100%, 0px, 0px);
70
+ }
71
+ }
72
+ .sf-mask.bottom,
73
+ .sf-mask.full {
74
+ justify-content: flex-end;
75
+ .sf-drawer {
76
+ border-left: unset;
77
+ border-top: 1px solid var(--surface-border-color);
78
+ width: 100%;
79
+ height: 420px;
80
+ align-self: end;
81
+ }
82
+ .sf-drawer-enter-from,
83
+ .sf-drawer-leave-to {
84
+ transform: translate3d(0px, var(--window-height), 0px);
85
+ }
86
+ }
87
+
88
+ .sf-mask.bottom .sf-drawer {
89
+ @media screen and (max-height: 360px) {
90
+ height: var(--window-height);
91
+ }
92
+ @media (pointer: coarse) {
93
+ height: var(--window-height);
94
+ }
95
+ }
96
+
97
+ .sf-mask.full .sf-drawer {
98
+ height: var(--window-height);
99
+ }