@luizleon/sf.prefeiturasp.vuecomponents 4.0.1 → 4.0.3
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/{src/axios → axios}/axiosClient.d.ts +3 -3
- package/dist/{src/components/button/Button.vue.d.ts → components/button/Button.d.ts} +3 -3
- package/dist/{src/components/content/Content.vue.d.ts → components/content/Content.d.ts} +2 -2
- package/dist/{src/components/drawer/Drawer.vue.d.ts → components/drawer/Drawer.d.ts} +4 -4
- package/dist/{src/components/icon/Icon.vue.d.ts → components/icon/Icon.d.ts} +4 -4
- package/dist/components/internal/HeaderAvatar.d.ts +6 -0
- package/dist/components/internal/LoadingCircle.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/layout/Layout.d.ts +19 -0
- package/dist/{src/components/message/Message.vue.d.ts → components/message/Message.d.ts} +3 -3
- package/dist/components/navmenu/NavMenu.d.ts +15 -0
- package/dist/{src/components/tabnavigation/TabNavigation.vue.d.ts → components/tabnavigation/TabNavigation.d.ts} +1 -1
- package/dist/{src/components/tooltip/Tooltip.vue.d.ts → components/tooltip/Tooltip.d.ts} +1 -1
- package/dist/index.d.ts +16 -0
- package/dist/{src/services → services}/authService.d.ts +2 -2
- package/dist/{src/services → services}/dialogService.d.ts +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.cjs.map +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.js.map +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.umd.cjs.map +1 -1
- package/dist/{src/types → types}/index.d.ts +1 -1
- package/package.json +7 -6
- package/dist/src/components/internal/HeaderAvatar.vue.d.ts +0 -6
- package/dist/src/components/internal/LoadingCircle.vue.d.ts +0 -2
- package/dist/src/components/internal/MenuIcon.vue.d.ts +0 -2
- package/dist/src/components/internal/ScrollToTop.vue.d.ts +0 -2
- package/dist/src/components/internal/ThemeToggle.d.ts +0 -10
- package/dist/src/components/internal/ThemeToggle.vue.d.ts +0 -2
- package/dist/src/components/layout/Layout.vue.d.ts +0 -27
- package/dist/src/components/navmenu/NavMenu.vue.d.ts +0 -15
- package/dist/src/index.d.ts +0 -17
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/src/axios/axiosClient.ts +0 -207
- package/src/common/appResult.ts +0 -34
- package/src/components/button/Button.vue +0 -104
- package/src/components/content/Content.vue +0 -49
- package/src/components/drawer/Drawer.vue +0 -146
- package/src/components/icon/Icon.vue +0 -96
- package/src/components/internal/HeaderAvatar.vue +0 -73
- package/src/components/internal/LoadingCircle.vue +0 -16
- package/src/components/internal/MenuIcon.vue +0 -13
- package/src/components/internal/ScrollToTop.vue +0 -26
- package/src/components/internal/ThemeToggle.ts +0 -41
- package/src/components/internal/ThemeToggle.vue +0 -23
- package/src/components/internal/cssClassBuilder.ts +0 -44
- package/src/components/internal/getMaxZindex.ts +0 -15
- package/src/components/layout/Layout.vue +0 -67
- package/src/components/message/Message.vue +0 -65
- package/src/components/navmenu/NavMenu.vue +0 -109
- package/src/components/tabnavigation/TabNavigation.vue +0 -125
- package/src/components/tooltip/Tooltip.vue +0 -91
- package/src/index.ts +0 -53
- package/src/keycloak.js +0 -1731
- package/src/services/authService.ts +0 -118
- package/src/services/dialogService.ts +0 -109
- package/src/services/navMenuService.ts +0 -21
- package/src/style/componentes.scss +0 -20
- package/src/style/src/_functions.scss +0 -19
- package/src/style/src/_mixins.scss +0 -193
- package/src/style/src/_variables.scss +0 -12
- package/src/style/src/components/_button.scss +0 -104
- package/src/style/src/components/_content.scss +0 -57
- package/src/style/src/components/_drawer.scss +0 -89
- package/src/style/src/components/_headerAvatar.scss +0 -22
- package/src/style/src/components/_icon.scss +0 -119
- package/src/style/src/components/_layout.scss +0 -160
- package/src/style/src/components/_loading-circle.scss +0 -24
- package/src/style/src/components/_mask.scss +0 -35
- package/src/style/src/components/_message.scss +0 -47
- package/src/style/src/components/_navmenulink.scss +0 -31
- package/src/style/src/components/_scrollToTop.scss +0 -28
- package/src/style/src/components/_svg_icon.scss +0 -5
- package/src/style/src/components/_tab-navigation.scss +0 -93
- package/src/style/src/components/_themetoggle.scss +0 -52
- package/src/style/src/components/_tooltip.scss +0 -53
- package/src/style/src/sweetalert/_sweetalert.scss +0 -9
- package/src/style/src/sweetalert/scss/_animations.scss +0 -197
- package/src/style/src/sweetalert/scss/_body.scss +0 -45
- package/src/style/src/sweetalert/scss/_core.scss +0 -862
- package/src/style/src/sweetalert/scss/_mixins.scss +0 -16
- package/src/style/src/sweetalert/scss/_theming.scss +0 -8
- package/src/style/src/sweetalert/scss/_toasts-animations.scss +0 -83
- package/src/style/src/sweetalert/scss/_toasts-body.scss +0 -85
- package/src/style/src/sweetalert/scss/_toasts.scss +0 -203
- package/src/style/src/sweetalert/scss/_variables.scss +0 -271
- package/src/types/index.ts +0 -59
- package/src/vite-env.d.ts +0 -1
- package/tsconfig.json +0 -22
- package/vite.config.js +0 -28
- /package/dist/{src/common → common}/appResult.d.ts +0 -0
- /package/dist/{src/components → components}/internal/cssClassBuilder.d.ts +0 -0
- /package/dist/{src/components → components}/internal/getMaxZindex.d.ts +0 -0
- /package/{src → dist}/keycloak.d.ts +0 -0
- /package/dist/{src/services → services}/navMenuService.d.ts +0 -0
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
@import "../variables";
|
|
2
|
-
|
|
3
|
-
.#{$prefix}drawer {
|
|
4
|
-
pointer-events: auto;
|
|
5
|
-
height: var(--window-height);
|
|
6
|
-
background: var(--bg-color);
|
|
7
|
-
border-right: 1px solid var(--surface-border-color);
|
|
8
|
-
width: min(360px, 100vw);
|
|
9
|
-
transform: translate3d(0px, 0px, 0px);
|
|
10
|
-
opacity: 1;
|
|
11
|
-
transition: all 0.2s linear;
|
|
12
|
-
.#{$prefix}drawer-header,
|
|
13
|
-
.#{$prefix}drawer-footer {
|
|
14
|
-
border-color: var(--surface-border-color);
|
|
15
|
-
height: 60px;
|
|
16
|
-
}
|
|
17
|
-
.#{$prefix}drawer-header {
|
|
18
|
-
padding: 0 1.25rem;
|
|
19
|
-
display: flex;
|
|
20
|
-
align-items: center;
|
|
21
|
-
justify-content: space-between;
|
|
22
|
-
border-bottom: 1px solid var(--surface-border-color);
|
|
23
|
-
.#{$prefix}drawer-title {
|
|
24
|
-
white-space: nowrap;
|
|
25
|
-
overflow: hidden;
|
|
26
|
-
text-overflow: ellipsis;
|
|
27
|
-
flex-grow: 1;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
.#{$prefix}drawer-content {
|
|
31
|
-
overflow: auto;
|
|
32
|
-
height: calc(var(--window-height) - 60px);
|
|
33
|
-
}
|
|
34
|
-
.#{$prefix}drawer-footer {
|
|
35
|
-
border-top: 1px solid var(--surface-border-color);
|
|
36
|
-
}
|
|
37
|
-
&.#{$prefix}drawer-with-footer .#{$prefix}drawer-content {
|
|
38
|
-
height: calc(var(--window-height) - 120px);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
.#{$prefix}drawer-enter-active {
|
|
42
|
-
transition: all 0.2 linear;
|
|
43
|
-
}
|
|
44
|
-
.#{$prefix}drawer-leave-active {
|
|
45
|
-
transition: all 0.2 linear;
|
|
46
|
-
}
|
|
47
|
-
.#{$prefix}drawer-enter-from,
|
|
48
|
-
.#{$prefix}drawer-leave-to {
|
|
49
|
-
transform: translate3d(-100%, 0px, 0px);
|
|
50
|
-
}
|
|
51
|
-
.#{$prefix}mask.right {
|
|
52
|
-
justify-content: flex-end;
|
|
53
|
-
.#{$prefix}drawer {
|
|
54
|
-
border-left: 1px solid var(--surface-border-color);
|
|
55
|
-
border-right: unset;
|
|
56
|
-
}
|
|
57
|
-
.#{$prefix}drawer-enter-from,
|
|
58
|
-
.#{$prefix}drawer-leave-to {
|
|
59
|
-
transform: translate3d(100%, 0px, 0px);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
.#{$prefix}mask.bottom,
|
|
63
|
-
.#{$prefix}mask.full {
|
|
64
|
-
justify-content: flex-end;
|
|
65
|
-
.#{$prefix}drawer {
|
|
66
|
-
border-left: unset;
|
|
67
|
-
border-top: 1px solid var(--surface-border-color);
|
|
68
|
-
width: 100%;
|
|
69
|
-
height: 420px;
|
|
70
|
-
align-self: end;
|
|
71
|
-
}
|
|
72
|
-
.#{$prefix}drawer-enter-from,
|
|
73
|
-
.#{$prefix}drawer-leave-to {
|
|
74
|
-
transform: translate3d(0px, var(--window-height), 0px);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.mask.bottom .#{$prefix}drawer {
|
|
79
|
-
@media screen and (max-height: 360px) {
|
|
80
|
-
height: var(--window-height);
|
|
81
|
-
}
|
|
82
|
-
@media (pointer: coarse) {
|
|
83
|
-
height: var(--window-height);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.mask.full .#{$prefix}drawer {
|
|
88
|
-
height: var(--window-height);
|
|
89
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
html {
|
|
2
|
-
#sf-header-avatar {
|
|
3
|
-
text-transform: uppercase;
|
|
4
|
-
line-height: 1;
|
|
5
|
-
word-break: keep-all;
|
|
6
|
-
display: inline-flex;
|
|
7
|
-
align-items: center;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
background-position: center;
|
|
10
|
-
background-size: contain;
|
|
11
|
-
font-size: 1rem;
|
|
12
|
-
min-width: 36px;
|
|
13
|
-
min-height: 36px;
|
|
14
|
-
border-radius: 50%;
|
|
15
|
-
margin-left: 0.5rem;
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
@include avatar-colors();
|
|
18
|
-
&.dark {
|
|
19
|
-
@include avatar-colors(true);
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
@import "../variables";
|
|
2
|
-
@import "../mixins";
|
|
3
|
-
|
|
4
|
-
.material-symbols-outlined {
|
|
5
|
-
font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
|
|
6
|
-
&.icon-filled {
|
|
7
|
-
font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
div.#{$prefix}icon {
|
|
12
|
-
position: relative;
|
|
13
|
-
display: inline-flex;
|
|
14
|
-
align-items: center;
|
|
15
|
-
|
|
16
|
-
> button {
|
|
17
|
-
color: currentColor;
|
|
18
|
-
pointer-events: none;
|
|
19
|
-
background: none;
|
|
20
|
-
border: none;
|
|
21
|
-
padding: 0;
|
|
22
|
-
+ span {
|
|
23
|
-
position: absolute;
|
|
24
|
-
border-radius: 50%;
|
|
25
|
-
width: 8px;
|
|
26
|
-
height: 8px;
|
|
27
|
-
top: 6px;
|
|
28
|
-
right: 6px;
|
|
29
|
-
@include dot-colors;
|
|
30
|
-
}
|
|
31
|
-
&:focus-visible {
|
|
32
|
-
outline: none;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&:has(button:focus-visible) {
|
|
37
|
-
outline: 2px solid var(--surface-1300-color);
|
|
38
|
-
outline-offset: 0px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.#{$prefix}loading-circle {
|
|
42
|
-
svg {
|
|
43
|
-
stroke: currentColor;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&.#{$prefix}icon-small {
|
|
48
|
-
--size: calc(var(--material-icon-font-size) * 0.75);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&.#{$prefix}icon-medium {
|
|
52
|
-
--size: var(--material-icon-font-size);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&.#{$prefix}icon-large {
|
|
56
|
-
--size: calc(var(--material-icon-font-size) * 1.25);
|
|
57
|
-
> button {
|
|
58
|
-
font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0,
|
|
59
|
-
"opsz" 48;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&.#{$prefix}icon-xlarge {
|
|
64
|
-
--size: calc(var(--material-icon-font-size) * 2);
|
|
65
|
-
> button {
|
|
66
|
-
font-variation-settings: "FILL" 0, "wght" 200, "GRAD" 0,
|
|
67
|
-
"opsz" 48;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&.#{$prefix}icon-2xlarge {
|
|
72
|
-
--size: calc(var(--material-icon-font-size) * 2.5);
|
|
73
|
-
> button {
|
|
74
|
-
font-variation-settings: "FILL" 0, "wght" 100, "GRAD" 0,
|
|
75
|
-
"opsz" 48;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&.#{$prefix}icon-3xlarge {
|
|
80
|
-
--size: calc(var(--material-icon-font-size) * 3);
|
|
81
|
-
> button {
|
|
82
|
-
font-variation-settings: "FILL" 0, "wght" 100, "GRAD" 0,
|
|
83
|
-
"opsz" 48;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.#{$prefix}loading-circle {
|
|
88
|
-
width: var(--size);
|
|
89
|
-
height: var(--size);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
> button {
|
|
93
|
-
font-size: var(--size);
|
|
94
|
-
width: var(--size);
|
|
95
|
-
height: var(--size);
|
|
96
|
-
line-height: var(--size);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&.#{$prefix}icon-button {
|
|
100
|
-
padding: 6px;
|
|
101
|
-
border-radius: 50%;
|
|
102
|
-
transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1)
|
|
103
|
-
0ms;
|
|
104
|
-
@media (pointer: fine) {
|
|
105
|
-
&:hover,
|
|
106
|
-
&:focus-within {
|
|
107
|
-
cursor: pointer;
|
|
108
|
-
background: color-mix(in srgb, currentColor 10%, transparent);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&.#{$prefix}component-loading,
|
|
114
|
-
&.#{$prefix}component-disabled {
|
|
115
|
-
> button + span {
|
|
116
|
-
display: none;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
@import "../variables";
|
|
2
|
-
@import "../functions";
|
|
3
|
-
@import "../mixins";
|
|
4
|
-
|
|
5
|
-
#sf-layout {
|
|
6
|
-
height: var(--window-height);
|
|
7
|
-
overflow: hidden;
|
|
8
|
-
position: relative;
|
|
9
|
-
|
|
10
|
-
header {
|
|
11
|
-
background-color: #001e49;
|
|
12
|
-
color: #fff !important;
|
|
13
|
-
height: var(--header-height);
|
|
14
|
-
border-bottom: 1px solid var(--surface-border-color);
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
padding: 0 16px;
|
|
18
|
-
transition: padding 0.3s linear;
|
|
19
|
-
|
|
20
|
-
.sf-icon {
|
|
21
|
-
color: #fff !important;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
#sf-theme-toggle svg,
|
|
25
|
-
.sf-svg-icon {
|
|
26
|
-
fill: #fff !important;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.sf-layout-menu-toggler {
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
display: flex;
|
|
32
|
-
align-items: center;
|
|
33
|
-
|
|
34
|
-
svg {
|
|
35
|
-
transition: transform 0.2s linear;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&.invert {
|
|
39
|
-
svg {
|
|
40
|
-
transform: rotate(180deg);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.sf-layout-menu-toggler-logo {
|
|
45
|
-
height: 40px;
|
|
46
|
-
width: 36px;
|
|
47
|
-
background-image: url("https://static.sf.prefeitura.sp.gov.br/logo-header.png");
|
|
48
|
-
background-position: center;
|
|
49
|
-
background-size: contain;
|
|
50
|
-
background-repeat: no-repeat;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
> .title {
|
|
55
|
-
padding: 0 16px;
|
|
56
|
-
font-size: 1.25rem;
|
|
57
|
-
font-weight: bold;
|
|
58
|
-
flex-grow: 1;
|
|
59
|
-
white-space: nowrap;
|
|
60
|
-
overflow: hidden;
|
|
61
|
-
text-overflow: ellipsis;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
main,
|
|
66
|
-
nav {
|
|
67
|
-
transition-duration: 0.2s;
|
|
68
|
-
transition-timing-function: ease;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
main {
|
|
72
|
-
position: relative;
|
|
73
|
-
height: var(--main-height);
|
|
74
|
-
width: 100vw;
|
|
75
|
-
padding-left: 0;
|
|
76
|
-
transition-property: padding;
|
|
77
|
-
|
|
78
|
-
> section#sf-layout-page-title {
|
|
79
|
-
background-color: var(--surface-300-color);
|
|
80
|
-
border-bottom: 1px solid var(--surface-border-color);
|
|
81
|
-
color: var(--secondary-color);
|
|
82
|
-
font-size: 0.875rem;
|
|
83
|
-
text-align: center;
|
|
84
|
-
display: flex;
|
|
85
|
-
align-items: center;
|
|
86
|
-
justify-content: center;
|
|
87
|
-
height: 28px;
|
|
88
|
-
> span {
|
|
89
|
-
white-space: nowrap;
|
|
90
|
-
overflow: hidden;
|
|
91
|
-
text-overflow: ellipsis;
|
|
92
|
-
padding: 0 0.75rem;
|
|
93
|
-
}
|
|
94
|
-
+ #sf-layout-content {
|
|
95
|
-
height: calc(100% - 28px);
|
|
96
|
-
}
|
|
97
|
-
&:empty {
|
|
98
|
-
height: 0;
|
|
99
|
-
display: none;
|
|
100
|
-
+ #sf-layout-content {
|
|
101
|
-
height: 100%;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
> section#sf-layout-content {
|
|
107
|
-
overflow: hidden;
|
|
108
|
-
height: 100%;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
&.menu-visible {
|
|
112
|
-
padding-left: 290px;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
nav {
|
|
117
|
-
--nav-width: min(100vw, 290px);
|
|
118
|
-
z-index: 5;
|
|
119
|
-
position: absolute;
|
|
120
|
-
top: var(--header-height);
|
|
121
|
-
height: calc(var(--window-height) - var(--header-height));
|
|
122
|
-
background-color: var(--surface-100-color);
|
|
123
|
-
width: var(--nav-width);
|
|
124
|
-
border-right: 1px solid var(--surface-border-color);
|
|
125
|
-
transform: translateX(calc(-1 * var(--nav-width)));
|
|
126
|
-
transition-property: transform;
|
|
127
|
-
display: flex;
|
|
128
|
-
flex-direction: column;
|
|
129
|
-
|
|
130
|
-
&.visible {
|
|
131
|
-
transition-duration: 0.2s;
|
|
132
|
-
transform: translateX(0);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
> .sf-layout-nav-content {
|
|
136
|
-
height: calc(100% - 80px);
|
|
137
|
-
overflow: auto;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
> .sf-layout-nav-footer {
|
|
141
|
-
height: 80px;
|
|
142
|
-
border-top: 1px solid var(--surface-border-color);
|
|
143
|
-
background-color: var(--surface-300-color);
|
|
144
|
-
|
|
145
|
-
> .sf-layout-nav-footer-logo {
|
|
146
|
-
height: 60px;
|
|
147
|
-
margin-top: 10px;
|
|
148
|
-
width: 100%;
|
|
149
|
-
background-image: url("https://static.sf.prefeitura.sp.gov.br/logo-nav-theme-light.png");
|
|
150
|
-
background-position: center;
|
|
151
|
-
background-size: contain;
|
|
152
|
-
background-repeat: no-repeat;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
html.dark #sf-layout .sf-layout-nav-footer-logo {
|
|
159
|
-
background-image: url("https://static.sf.prefeitura.sp.gov.br/logo-nav-theme-dark.png");
|
|
160
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
@import "../mixins";
|
|
2
|
-
|
|
3
|
-
div.sf-loading-circle {
|
|
4
|
-
display: inline-block;
|
|
5
|
-
width: 100%;
|
|
6
|
-
height: 100%;
|
|
7
|
-
> div {
|
|
8
|
-
position: relative;
|
|
9
|
-
> svg {
|
|
10
|
-
position: absolute;
|
|
11
|
-
top: 0;
|
|
12
|
-
left: 0;
|
|
13
|
-
stroke: var(--text-color);
|
|
14
|
-
animation: spin 2s linear infinite;
|
|
15
|
-
> circle {
|
|
16
|
-
stroke-dasharray: 1, 200;
|
|
17
|
-
stroke-dashoffset: 0;
|
|
18
|
-
animation: sf-loading-circle-circle-dash 1.5s ease-in-out
|
|
19
|
-
infinite;
|
|
20
|
-
stroke-linecap: square;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
@import "../variables";
|
|
2
|
-
|
|
3
|
-
.#{$prefix}mask {
|
|
4
|
-
position: fixed;
|
|
5
|
-
top: 0;
|
|
6
|
-
left: 0;
|
|
7
|
-
width: 100%;
|
|
8
|
-
height: 100%;
|
|
9
|
-
display: flex;
|
|
10
|
-
pointer-events: none;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.#{$prefix}mask-overlay-enter {
|
|
14
|
-
pointer-events: auto;
|
|
15
|
-
animation: #{$prefix}mask-overlay-enter-animation 250ms forwards;
|
|
16
|
-
}
|
|
17
|
-
.#{$prefix}mask-overlay-leave {
|
|
18
|
-
animation: #{$prefix}mask-overlay-leave-animation 250ms forwards;
|
|
19
|
-
}
|
|
20
|
-
@keyframes #{$prefix}mask-overlay-enter-animation {
|
|
21
|
-
from {
|
|
22
|
-
background-color: transparent;
|
|
23
|
-
}
|
|
24
|
-
to {
|
|
25
|
-
background-color: var(--maskbg-color);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
@keyframes #{$prefix}mask-overlay-leave-animation {
|
|
29
|
-
from {
|
|
30
|
-
background-color: var(--maskbg-color);
|
|
31
|
-
}
|
|
32
|
-
to {
|
|
33
|
-
background-color: transparent;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
@import "../variables";
|
|
2
|
-
|
|
3
|
-
.#{$prefix}message {
|
|
4
|
-
border-radius: 4px;
|
|
5
|
-
padding: 1rem 1.5rem;
|
|
6
|
-
margin: 1rem;
|
|
7
|
-
position: relative;
|
|
8
|
-
&.#{$prefix}message-info {
|
|
9
|
-
background-color: var(--info-hover-color);
|
|
10
|
-
color: var(--info-color);
|
|
11
|
-
}
|
|
12
|
-
&.#{$prefix}message-error {
|
|
13
|
-
background-color: var(--error-hover-color);
|
|
14
|
-
color: var(--error-color);
|
|
15
|
-
}
|
|
16
|
-
&.#{$prefix}message-success {
|
|
17
|
-
background-color: var(--success-hover-color);
|
|
18
|
-
color: var(--success-color);
|
|
19
|
-
}
|
|
20
|
-
&.#{$prefix}message-warning {
|
|
21
|
-
background-color: var(--warn-hover-color);
|
|
22
|
-
color: var(--warn-color);
|
|
23
|
-
}
|
|
24
|
-
&.#{$prefix}message-help {
|
|
25
|
-
background-color: var(--help-hover-color);
|
|
26
|
-
color: var(--help-color);
|
|
27
|
-
}
|
|
28
|
-
&.#{$prefix}message-primary {
|
|
29
|
-
background-color: var(--primary-hover-color);
|
|
30
|
-
color: var(--primary-color);
|
|
31
|
-
}
|
|
32
|
-
&.#{$prefix}message-secondary {
|
|
33
|
-
background-color: var(--secondary-hover-color);
|
|
34
|
-
color: var(--secondary-color);
|
|
35
|
-
}
|
|
36
|
-
&[data-icon] {
|
|
37
|
-
padding-left: 3.25rem;
|
|
38
|
-
&::before {
|
|
39
|
-
@include material-symbols-filled;
|
|
40
|
-
content: attr(data-icon);
|
|
41
|
-
position: absolute;
|
|
42
|
-
top: 50%;
|
|
43
|
-
transform: translateY(-50%);
|
|
44
|
-
left: 1rem;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
.sf-navmenulink {
|
|
2
|
-
height: 40px;
|
|
3
|
-
text-decoration: none !important;
|
|
4
|
-
position: relative;
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
padding: 0 0.75rem;
|
|
8
|
-
border-radius: 4px;
|
|
9
|
-
margin: 0.5rem;
|
|
10
|
-
color: var(--text-color);
|
|
11
|
-
> span.sf-navmenulink-text {
|
|
12
|
-
white-space: nowrap;
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
text-overflow: ellipsis;
|
|
15
|
-
line-height: 1.5;
|
|
16
|
-
}
|
|
17
|
-
&[data-active="true"] {
|
|
18
|
-
background-color: var(--surface-400-color);
|
|
19
|
-
pointer-events: none;
|
|
20
|
-
color: var(--primary-color);
|
|
21
|
-
> .sf-icon > button:first-child {
|
|
22
|
-
color: var(--primary-color);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
&:hover {
|
|
26
|
-
background-color: var(--surface-300-color);
|
|
27
|
-
}
|
|
28
|
-
&:active {
|
|
29
|
-
background-color: var(--surface-400-color);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
button.sf-scrollToTop {
|
|
2
|
-
position: fixed;
|
|
3
|
-
z-index: 100;
|
|
4
|
-
bottom: 10px;
|
|
5
|
-
right: 26px;
|
|
6
|
-
opacity: 0;
|
|
7
|
-
transform: translateY(100px);
|
|
8
|
-
transition: all 0.5s ease;
|
|
9
|
-
border-radius: 50%;
|
|
10
|
-
width: 48px;
|
|
11
|
-
height: 48px;
|
|
12
|
-
background-color: var(--text-color);
|
|
13
|
-
cursor: pointer;
|
|
14
|
-
outline: none;
|
|
15
|
-
border: none;
|
|
16
|
-
&.sf-scrollToTop-visible {
|
|
17
|
-
opacity: 1;
|
|
18
|
-
transform: translateY(0);
|
|
19
|
-
}
|
|
20
|
-
&::before {
|
|
21
|
-
content: "";
|
|
22
|
-
position: absolute;
|
|
23
|
-
inset: 30%;
|
|
24
|
-
transform: translateY(20%) rotate(-45deg);
|
|
25
|
-
border-top: 5px solid var(--bg-color);
|
|
26
|
-
border-right: 5px solid var(--bg-color);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
.sf-tab-navigation {
|
|
2
|
-
background: var(--surface-100-color);
|
|
3
|
-
overflow: hidden;
|
|
4
|
-
position: relative;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.sf-tab-navigation svg {
|
|
8
|
-
width: 36px;
|
|
9
|
-
height: 36px;
|
|
10
|
-
padding: 8px;
|
|
11
|
-
cursor: pointer;
|
|
12
|
-
color: var(--text-color);
|
|
13
|
-
border-radius: 50%;
|
|
14
|
-
pointer-events: auto;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.sf-tab-navigation ul {
|
|
18
|
-
padding: 0;
|
|
19
|
-
margin: 0;
|
|
20
|
-
display: flex;
|
|
21
|
-
height: 42px;
|
|
22
|
-
list-style: none;
|
|
23
|
-
overflow: scroll;
|
|
24
|
-
-ms-overflow-style: none;
|
|
25
|
-
scrollbar-width: none;
|
|
26
|
-
scroll-behavior: smooth;
|
|
27
|
-
background-color: var(--bg-color);
|
|
28
|
-
border-bottom: 1px solid var(--surface-border-color);
|
|
29
|
-
> li {
|
|
30
|
-
display: flex;
|
|
31
|
-
align-items: center;
|
|
32
|
-
padding: 0 1rem;
|
|
33
|
-
border-bottom: 2px solid transparent;
|
|
34
|
-
&[data-active="true"] {
|
|
35
|
-
border-bottom-color: var(--primary-color);
|
|
36
|
-
pointer-events: none;
|
|
37
|
-
}
|
|
38
|
-
&:not([data-active="true"]) {
|
|
39
|
-
> a {
|
|
40
|
-
&:hover,
|
|
41
|
-
&:focus {
|
|
42
|
-
color: var(--info-color);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
> a {
|
|
47
|
-
text-decoration: none;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.sf-tab-navigation ul::-webkit-scrollbar {
|
|
53
|
-
display: none;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.sf-tab-navigation .right-arrow,
|
|
57
|
-
.sf-tab-navigation .left-arrow {
|
|
58
|
-
position: absolute;
|
|
59
|
-
height: 100%;
|
|
60
|
-
width: 100px;
|
|
61
|
-
top: 0;
|
|
62
|
-
display: none;
|
|
63
|
-
align-items: center;
|
|
64
|
-
padding: 0 10px;
|
|
65
|
-
pointer-events: none;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.sf-tab-navigation .right-arrow.active,
|
|
69
|
-
.sf-tab-navigation .left-arrow.active {
|
|
70
|
-
display: flex;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.sf-tab-navigation .right-arrow {
|
|
74
|
-
right: 0;
|
|
75
|
-
background: linear-gradient(
|
|
76
|
-
to left,
|
|
77
|
-
var(--surface-100-color) 30%,
|
|
78
|
-
transparent
|
|
79
|
-
);
|
|
80
|
-
justify-content: flex-end;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.sf-tab-navigation .left-arrow {
|
|
84
|
-
background: linear-gradient(
|
|
85
|
-
to right,
|
|
86
|
-
var(--surface-100-color) 50%,
|
|
87
|
-
transparent
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.sf-tab-navigation svg:hover {
|
|
92
|
-
background: var(--surface-300-color);
|
|
93
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
@import "../mixins";
|
|
2
|
-
|
|
3
|
-
html {
|
|
4
|
-
##{$prefix}theme-toggle {
|
|
5
|
-
isolation: isolate;
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: center;
|
|
8
|
-
background: none;
|
|
9
|
-
border: none;
|
|
10
|
-
padding: 8px;
|
|
11
|
-
position: relative;
|
|
12
|
-
border-radius: 50%;
|
|
13
|
-
@media (pointer: fine) {
|
|
14
|
-
&:hover {
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
background-color: hsla(
|
|
17
|
-
var(--primary-color-h),
|
|
18
|
-
var(--primary-color-s),
|
|
19
|
-
var(--primary-color-l),
|
|
20
|
-
0.1
|
|
21
|
-
);
|
|
22
|
-
}
|
|
23
|
-
&:focus-visible {
|
|
24
|
-
outline-offset: 0px;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
svg {
|
|
29
|
-
height: 24px;
|
|
30
|
-
width: 24px;
|
|
31
|
-
fill: var(--text-color);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.toggle-circle {
|
|
35
|
-
transition: transform 500ms ease-out;
|
|
36
|
-
transform: translateX(-15%);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.toggle-sun {
|
|
40
|
-
transform-origin: center center;
|
|
41
|
-
transition: transform 750ms cubic-bezier(0.11, 0.14, 0.29, 1.32);
|
|
42
|
-
transform: rotate(0.5turn);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&.dark ##{$prefix}theme-toggle {
|
|
47
|
-
.toggle-circle,
|
|
48
|
-
.toggle-sun {
|
|
49
|
-
transform: unset;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|