@ftlab/one-vue3 0.2.16 → 0.3.2

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,142 +1,142 @@
1
- @mixin toggle-button($--color-header) {
2
- height: 35px;
3
- font-size: 18px;
4
- margin-left: 10px;
5
- color: #fff;
6
- border-radius: 5px;
7
- background-color: $--color-header;
8
- padding: 0 10px;
9
- cursor: pointer;
10
- display: flex;
11
- justify-content: center;
12
- align-items: center;
13
- }
14
-
15
- @mixin sidebar-container($bg, $color, $--color-header, $content-bg, $--color-text) {
16
- background-color: $bg;
17
- .sidebar-container-header {
18
- color: $color;
19
- padding: 10px 0;
20
- border-bottom: 2px solid $--color-header;
21
- .pic-box {
22
- width: 46px;
23
- height: 46px;
24
- overflow: hidden;
25
- .logo {
26
- width: 46px;
27
- height: 46px;
28
- filter: drop-shadow(120px 0px #fff);
29
- transform: translateX(-120px);
30
- }
31
- }
32
- .ftl-pic-box {
33
- height: 46px;
34
- display: flex;
35
- justify-content: center;
36
- align-items: center;
37
- .logo {
38
- width: 46px;
39
- height: 30px;
40
- }
41
- }
42
- }
43
- .el-menu-vertical-demo {
44
- padding: 10px;
45
- }
46
- .el-menu {
47
- background-color: $bg;
48
- border: none;
49
- .custom-menu-item {
50
- height: 38px;
51
- line-height: 38px;
52
- color: #fff !important;
53
- overflow: hidden;
54
- border-radius: 10px;
55
- &:focus,
56
- &:hover,
57
- &.is-active {
58
- background-color: $--color-header !important;
59
- }
60
- i {
61
- color: #fff;
62
- }
63
- }
64
- .el-sub-menu {
65
- color: #fff !important;
66
- margin-bottom: 10px;
67
- &:focus,
68
- &:hover,
69
- &.is-active {
70
- & > .el-sub-menu__title {
71
- background-color: $--color-header !important;
72
- }
73
- }
74
- .el-sub-menu__title {
75
- height: 38px;
76
- line-height: 38px;
77
- border-radius: 10px;
78
- color: #fff !important;
79
- }
80
- &.is-opened {
81
- background: $--color-header;
82
- border-radius: 10px;
83
- .el-menu {
84
- background-color: $content-bg !important;
85
- border-bottom-left-radius: 10px !important;
86
- border-bottom-right-radius: 10px !important;
87
- }
88
- }
89
- .el-menu-item {
90
- height: 38px;
91
- line-height: 38px;
92
- background-color: transparent !important;
93
- color: #fff !important;
94
- padding: 0 55px !important;
95
- &:focus,
96
- &:hover,
97
- &.is-active {
98
- color: $--color-text !important;
99
- i {
100
- color: $--color-text !important;
101
- }
102
- }
103
- &:last-child {
104
- margin-bottom: 0;
105
- }
106
- }
107
- }
108
- }
109
- }
110
-
111
- @mixin el-menu--vertical($bg, $--color-header, $--color-text) {
112
- .el-tooltip__trigger {
113
- padding: 0 !important;
114
- display: flex;
115
- justify-content: center;
116
- align-items: center;
117
- i {
118
- margin-right: 0;
119
- }
120
- }
121
- .el-menu {
122
- background: $bg !important;
123
- .el-menu-item {
124
- color: #fff !important;
125
- &:focus,
126
- &:hover {
127
- background: none !important;
128
- color: $--color-text !important;
129
- i {
130
- color: $--color-text !important;
131
- }
132
- }
133
- i {
134
- color: #fff;
135
- }
136
- }
137
- }
138
- }
139
-
140
- .el-popper.is-pure {
141
- border: none;
142
- }
1
+ @mixin toggle-button($--color-header) {
2
+ height: 35px;
3
+ font-size: 18px;
4
+ margin-left: 10px;
5
+ color: #fff;
6
+ border-radius: 5px;
7
+ background-color: $--color-header;
8
+ padding: 0 10px;
9
+ cursor: pointer;
10
+ display: flex;
11
+ justify-content: center;
12
+ align-items: center;
13
+ }
14
+
15
+ @mixin sidebar-container($bg, $color, $--color-header, $content-bg, $--color-text) {
16
+ background-color: $bg;
17
+ .sidebar-container-header {
18
+ color: $color;
19
+ padding: 10px 0;
20
+ border-bottom: 2px solid $--color-header;
21
+ .pic-box {
22
+ width: 46px;
23
+ height: 46px;
24
+ overflow: hidden;
25
+ .logo {
26
+ width: 46px;
27
+ height: 46px;
28
+ filter: drop-shadow(120px 0px #fff);
29
+ transform: translateX(-120px);
30
+ }
31
+ }
32
+ .ftl-pic-box {
33
+ height: 46px;
34
+ display: flex;
35
+ justify-content: center;
36
+ align-items: center;
37
+ .logo {
38
+ width: 46px;
39
+ height: 30px;
40
+ }
41
+ }
42
+ }
43
+ .el-menu-vertical-demo {
44
+ padding: 10px;
45
+ }
46
+ .el-menu {
47
+ background-color: $bg;
48
+ border: none;
49
+ .custom-menu-item {
50
+ height: 38px;
51
+ line-height: 38px;
52
+ color: #fff !important;
53
+ overflow: hidden;
54
+ border-radius: 10px;
55
+ &:focus,
56
+ &:hover,
57
+ &.is-active {
58
+ background-color: $--color-header !important;
59
+ }
60
+ i {
61
+ color: #fff;
62
+ }
63
+ }
64
+ .el-sub-menu {
65
+ color: #fff !important;
66
+ margin-bottom: 10px;
67
+ &:focus,
68
+ &:hover,
69
+ &.is-active {
70
+ & > .el-sub-menu__title {
71
+ background-color: $--color-header !important;
72
+ }
73
+ }
74
+ .el-sub-menu__title {
75
+ height: 38px;
76
+ line-height: 38px;
77
+ border-radius: 10px;
78
+ color: #fff !important;
79
+ }
80
+ &.is-opened {
81
+ background: $--color-header;
82
+ border-radius: 10px;
83
+ .el-menu {
84
+ background-color: $content-bg !important;
85
+ border-bottom-left-radius: 10px !important;
86
+ border-bottom-right-radius: 10px !important;
87
+ }
88
+ }
89
+ .el-menu-item {
90
+ height: 38px;
91
+ line-height: 38px;
92
+ background-color: transparent !important;
93
+ color: #fff !important;
94
+ padding: 0 55px !important;
95
+ &:focus,
96
+ &:hover,
97
+ &.is-active {
98
+ color: $--color-text !important;
99
+ i {
100
+ color: $--color-text !important;
101
+ }
102
+ }
103
+ &:last-child {
104
+ margin-bottom: 0;
105
+ }
106
+ }
107
+ }
108
+ }
109
+ }
110
+
111
+ @mixin el-menu--vertical($bg, $--color-header, $--color-text) {
112
+ .el-tooltip__trigger {
113
+ padding: 0 !important;
114
+ display: flex;
115
+ justify-content: center;
116
+ align-items: center;
117
+ i {
118
+ margin-right: 0;
119
+ }
120
+ }
121
+ .el-menu {
122
+ background: $bg !important;
123
+ .el-menu-item {
124
+ color: #fff !important;
125
+ &:focus,
126
+ &:hover {
127
+ background: none !important;
128
+ color: $--color-text !important;
129
+ i {
130
+ color: $--color-text !important;
131
+ }
132
+ }
133
+ i {
134
+ color: #fff;
135
+ }
136
+ }
137
+ }
138
+ }
139
+
140
+ .el-popper.is-pure {
141
+ border: none;
142
+ }
@@ -1,176 +1,176 @@
1
- * {
2
- box-sizing: border-box;
3
- margin: 0;
4
- padding: 0;
5
- }
6
-
7
- @for $i from -20 through 20 {
8
- $num: 5 * $i;
9
- .p#{$num} {
10
- padding: 0px + $num;
11
- }
12
- .pt#{$num} {
13
- padding-top: 0px + $num;
14
- }
15
- .pr#{$num} {
16
- padding-right: 0px + $num;
17
- }
18
- .pb#{$num} {
19
- padding-bottom: 0px + $num;
20
- }
21
- .pl#{$num} {
22
- padding-left: 0px + $num;
23
- }
24
- .pv#{$num} {
25
- padding-top: 0px + $num;
26
- padding-bottom: 0px + $num;
27
- }
28
- .ph#{$num} {
29
- padding-left: 0px + $num;
30
- padding-right: 0px + $num;
31
- }
32
- .m#{$num} {
33
- margin: 0px + $num;
34
- }
35
- .mt#{$num} {
36
- margin-top: 0px + $num;
37
- }
38
- .mr#{$num} {
39
- margin-right: 0px + $num;
40
- }
41
- .mb#{$num} {
42
- margin-bottom: 0px + $num;
43
- }
44
- .ml#{$num} {
45
- margin-left: 0px + $num;
46
- }
47
- .mv#{$num} {
48
- margin-top: 0px + $num;
49
- margin-bottom: 0px + $num;
50
- }
51
- .mh#{$num} {
52
- margin-left: 0px + $num;
53
- margin-right: 0px + $num;
54
- }
55
- }
56
-
57
- @for $j from 12 through 40 {
58
- .fs#{$j} {
59
- font-size: 0px + $j !important;
60
- }
61
- .lh#{$j} {
62
- line-height: 0px + $j;
63
- }
64
- }
65
-
66
- .f {
67
- display: flex;
68
- }
69
-
70
- .f-s-c {
71
- display: flex;
72
- justify-content: space-between;
73
- align-items: center;
74
- }
75
-
76
- .f-s {
77
- display: flex;
78
- justify-content: space-between;
79
- }
80
-
81
- .f-c {
82
- display: flex;
83
- align-items: center;
84
- }
85
-
86
- .f-c-c {
87
- display: flex;
88
- justify-content: center;
89
- align-items: center;
90
- }
91
-
92
- .f-c-e {
93
- display: flex;
94
- justify-content: flex-end;
95
- align-items: center;
96
- }
97
-
98
- .f-c-c-c {
99
- display: flex;
100
- flex-direction: column;
101
- justify-content: center;
102
- align-items: center;
103
- }
104
-
105
- .f600 {
106
- font-weight: 600;
107
- }
108
-
109
- .tl {
110
- text-align: left;
111
- }
112
- .tc {
113
- text-align: center;
114
- }
115
- .tr {
116
- text-align: right;
117
- }
118
-
119
- .cp {
120
- cursor: pointer;
121
- }
122
-
123
- .breadcrumb-enter-active,
124
- .breadcrumb-leave-active {
125
- transition: all 0.5s;
126
- }
127
-
128
- .breadcrumb-enter,
129
- .breadcrumb-leave-active {
130
- opacity: 0;
131
- transform: translateX(20px);
132
- }
133
-
134
- .breadcrumb-move {
135
- transition: all 0.5s;
136
- }
137
-
138
- .breadcrumb-leave-active {
139
- position: absolute;
140
- }
141
-
142
- .fade-enter-from {
143
- opacity: 0;
144
- transform: translateX(-30px);
145
- }
146
-
147
- .fade-leave-to {
148
- opacity: 0;
149
- transform: translateX(30px);
150
- }
151
-
152
- .fade-enter-active {
153
- transition: all 0.5s;
154
- }
155
- .fade-leave-active {
156
- transition: all 0.5s;
157
- }
158
-
159
- ::-webkit-scrollbar {
160
- width: 8px;
161
- height: 8px;
162
- z-index: 9999;
163
- }
164
-
165
- ::-webkit-scrollbar-track {
166
- border-radius: 0;
167
- background-color: transparent;
168
- }
169
-
170
- input:-webkit-autofill,
171
- input:-webkit-autofill:hover,
172
- input:-webkit-autofill:focus,
173
- input:-webkit-autofill:active {
174
- transition-delay: 111111s;
175
- transition: color 11111s ease-out, background-color 111111s ease-out;
1
+ * {
2
+ box-sizing: border-box;
3
+ margin: 0;
4
+ padding: 0;
5
+ }
6
+
7
+ @for $i from -20 through 20 {
8
+ $num: 5 * $i;
9
+ .p#{$num} {
10
+ padding: 0px + $num;
11
+ }
12
+ .pt#{$num} {
13
+ padding-top: 0px + $num;
14
+ }
15
+ .pr#{$num} {
16
+ padding-right: 0px + $num;
17
+ }
18
+ .pb#{$num} {
19
+ padding-bottom: 0px + $num;
20
+ }
21
+ .pl#{$num} {
22
+ padding-left: 0px + $num;
23
+ }
24
+ .pv#{$num} {
25
+ padding-top: 0px + $num;
26
+ padding-bottom: 0px + $num;
27
+ }
28
+ .ph#{$num} {
29
+ padding-left: 0px + $num;
30
+ padding-right: 0px + $num;
31
+ }
32
+ .m#{$num} {
33
+ margin: 0px + $num;
34
+ }
35
+ .mt#{$num} {
36
+ margin-top: 0px + $num;
37
+ }
38
+ .mr#{$num} {
39
+ margin-right: 0px + $num;
40
+ }
41
+ .mb#{$num} {
42
+ margin-bottom: 0px + $num;
43
+ }
44
+ .ml#{$num} {
45
+ margin-left: 0px + $num;
46
+ }
47
+ .mv#{$num} {
48
+ margin-top: 0px + $num;
49
+ margin-bottom: 0px + $num;
50
+ }
51
+ .mh#{$num} {
52
+ margin-left: 0px + $num;
53
+ margin-right: 0px + $num;
54
+ }
55
+ }
56
+
57
+ @for $j from 12 through 40 {
58
+ .fs#{$j} {
59
+ font-size: 0px + $j !important;
60
+ }
61
+ .lh#{$j} {
62
+ line-height: 0px + $j;
63
+ }
64
+ }
65
+
66
+ .f {
67
+ display: flex;
68
+ }
69
+
70
+ .f-s-c {
71
+ display: flex;
72
+ justify-content: space-between;
73
+ align-items: center;
74
+ }
75
+
76
+ .f-s {
77
+ display: flex;
78
+ justify-content: space-between;
79
+ }
80
+
81
+ .f-c {
82
+ display: flex;
83
+ align-items: center;
84
+ }
85
+
86
+ .f-c-c {
87
+ display: flex;
88
+ justify-content: center;
89
+ align-items: center;
90
+ }
91
+
92
+ .f-c-e {
93
+ display: flex;
94
+ justify-content: flex-end;
95
+ align-items: center;
96
+ }
97
+
98
+ .f-c-c-c {
99
+ display: flex;
100
+ flex-direction: column;
101
+ justify-content: center;
102
+ align-items: center;
103
+ }
104
+
105
+ .f600 {
106
+ font-weight: 600;
107
+ }
108
+
109
+ .tl {
110
+ text-align: left;
111
+ }
112
+ .tc {
113
+ text-align: center;
114
+ }
115
+ .tr {
116
+ text-align: right;
117
+ }
118
+
119
+ .cp {
120
+ cursor: pointer;
121
+ }
122
+
123
+ .breadcrumb-enter-active,
124
+ .breadcrumb-leave-active {
125
+ transition: all 0.5s;
126
+ }
127
+
128
+ .breadcrumb-enter,
129
+ .breadcrumb-leave-active {
130
+ opacity: 0;
131
+ transform: translateX(20px);
132
+ }
133
+
134
+ .breadcrumb-move {
135
+ transition: all 0.5s;
136
+ }
137
+
138
+ .breadcrumb-leave-active {
139
+ position: absolute;
140
+ }
141
+
142
+ .fade-enter-from {
143
+ opacity: 0;
144
+ transform: translateX(-30px);
145
+ }
146
+
147
+ .fade-leave-to {
148
+ opacity: 0;
149
+ transform: translateX(30px);
150
+ }
151
+
152
+ .fade-enter-active {
153
+ transition: all 0.5s;
154
+ }
155
+ .fade-leave-active {
156
+ transition: all 0.5s;
157
+ }
158
+
159
+ ::-webkit-scrollbar {
160
+ width: 8px;
161
+ height: 8px;
162
+ z-index: 9999;
163
+ }
164
+
165
+ ::-webkit-scrollbar-track {
166
+ border-radius: 0;
167
+ background-color: transparent;
168
+ }
169
+
170
+ input:-webkit-autofill,
171
+ input:-webkit-autofill:hover,
172
+ input:-webkit-autofill:focus,
173
+ input:-webkit-autofill:active {
174
+ transition-delay: 111111s;
175
+ transition: color 11111s ease-out, background-color 111111s ease-out;
176
176
  }