@luizleon/sf.prefeiturasp.vuecomponents 0.0.2 → 0.0.4

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.
@@ -1,405 +0,0 @@
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
- }
@@ -1,9 +0,0 @@
1
- .sf-mark {
2
- padding: 0;
3
- margin: 0;
4
- display: inline;
5
- mark {
6
- background-color: var(--amber-color);
7
- color: #000;
8
- }
9
- }
@@ -1,33 +0,0 @@
1
- .sf-mask {
2
- position: fixed;
3
- top: 0;
4
- left: 0;
5
- width: 100%;
6
- height: 100%;
7
- display: flex;
8
- pointer-events: none;
9
- }
10
-
11
- .sf-mask-overlay-enter {
12
- pointer-events: auto;
13
- animation: sf-mask-overlay-enter-animation 250ms forwards;
14
- }
15
- .sf-mask-overlay-leave {
16
- animation: sf-mask-overlay-leave-animation 250ms forwards;
17
- }
18
- @keyframes sf-mask-overlay-enter-animation {
19
- from {
20
- background-color: transparent;
21
- }
22
- to {
23
- background-color: var(--maskbg-color);
24
- }
25
- }
26
- @keyframes sf-mask-overlay-leave-animation {
27
- from {
28
- background-color: var(--maskbg-color);
29
- }
30
- to {
31
- background-color: transparent;
32
- }
33
- }
@@ -1,58 +0,0 @@
1
- .numpad-wrapper {
2
- max-width: 280px;
3
- max-height: 100%;
4
- height: 100%;
5
- display: flex;
6
- flex-direction: column;
7
- justify-content: start;
8
- margin: 0 auto;
9
- padding: 16px;
10
- > div.sf-numpad-valor {
11
- padding: 0.75rem 0.5rem;
12
- margin-bottom: 0.5rem;
13
- text-align: right;
14
- background-color: var(--surface-300-color);
15
- border-radius: 4px;
16
- border: 1px solid var(--surface-border-color);
17
- &:empty::before {
18
- content: " ";
19
- display: inline-block;
20
- }
21
- }
22
- > div.teclas {
23
- border: 1px solid var(--surface-900-color);
24
- display: flex;
25
- flex-direction: column;
26
- flex-grow: 1;
27
- max-height: 360px;
28
- > div.row {
29
- flex-grow: 1;
30
- display: flex;
31
- border-bottom: 1px solid var(--surface-900-color);
32
- &:last-child {
33
- border-bottom: none;
34
- }
35
- > div.tecla {
36
- display: flex;
37
- flex-grow: 1;
38
- justify-content: center;
39
- align-items: center;
40
- font-size: 1.5em;
41
- border-left: 1px solid var(--surface-900-color);
42
- cursor: pointer;
43
- &:first-child {
44
- border-left: none;
45
- }
46
- &:active,
47
- &.active {
48
- background-color: var(--secondary-hover-color);
49
- }
50
- > * {
51
- min-width: 48px;
52
- text-align: center;
53
- justify-content: center;
54
- }
55
- }
56
- }
57
- }
58
- }
@@ -1,52 +0,0 @@
1
- .sf-progress-circular {
2
- display: inline-block;
3
-
4
- &.sf-progress-indeterminate {
5
- animation: sf-progress-circular-keyframes-circular-rotate 1.4s
6
- linear infinite;
7
- }
8
-
9
- &.sf-progress-static {
10
- transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
11
- }
12
-
13
- &.sf-progress-sm {
14
- height: 24px;
15
- width: 24px;
16
- }
17
-
18
- &.sf-progress-md {
19
- height: 40px;
20
- width: 40px;
21
- }
22
-
23
- &.sf-progress-lg {
24
- height: 56px;
25
- width: 56px;
26
- }
27
- }
28
-
29
- .sf-progress-circular-svg {
30
- display: block;
31
- transform: rotate(-90deg);
32
- }
33
-
34
- .sf-progress-circular-circle {
35
- stroke: currentColor;
36
-
37
- &.sf-progress-indeterminate {
38
- animation: sf-progress-circular-keyframes-circular-dash 1.4s
39
- ease-in-out infinite;
40
- stroke-dasharray: 80px, 200px;
41
- stroke-dashoffset: 0px;
42
- }
43
-
44
- &.sf-progress-static {
45
- transition: stroke-dashoffset 300ms cubic-bezier(0.4, 0, 0.2, 1)
46
- 0ms;
47
- }
48
- }
49
-
50
- .sf-progress-circular-disable-shrink {
51
- animation: none;
52
- }
@@ -1,60 +0,0 @@
1
- .sf-select-panel {
2
- padding: 0.5rem 0;
3
- .sf-select-option {
4
- display: flex;
5
- align-items: center;
6
- padding: 0.5rem 1rem;
7
- .sf-select-option-label {
8
- padding-left: 1rem;
9
- }
10
- .sf-select-option-icon::before {
11
- content: "\e836";
12
- }
13
- &.sf-select-option-selected {
14
- pointer-events: none;
15
- color: var(--primary-color);
16
- background-color: var(--primary-hover-color);
17
- .sf-select-option-icon::before {
18
- content: "\e837";
19
- }
20
- }
21
- &:hover {
22
- cursor: pointer;
23
- &:not(.sf-select-option-selected) {
24
- background-color: var(--secondary-hover-color);
25
- }
26
- }
27
- }
28
- &.sf-select-multiple {
29
- .sf-select-option {
30
- .sf-select-option-icon::before {
31
- content: "\e835";
32
- }
33
- &.sf-select-option-selected {
34
- pointer-events: auto;
35
- .sf-select-option-icon::before {
36
- content: "\e834";
37
- }
38
- }
39
- }
40
- }
41
- }
42
- .sf-select-search {
43
- padding: 0.5rem 1rem;
44
- position: sticky;
45
- top: 0;
46
- background-color: var(--bg-color);
47
- border-bottom: 1px solid var(--surface-border-color);
48
- display: flex;
49
- align-items: center;
50
- .sf-select-toggle-all {
51
- margin-right: 1rem;
52
- height: 22px;
53
- }
54
- .sf-select-search-input {
55
- flex-grow: 1;
56
- }
57
- &:empty {
58
- display: none;
59
- }
60
- }