afn-basic-components 1.1.5 → 1.1.7
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/package.json +1 -1
- package/src/components/SvgIcon/icons/simulation-close.vue +41 -0
- package/src/styles/btn.scss +99 -99
- package/src/styles/element-ui.scss +8 -1
- package/src/styles/element-variables.scss +2 -2
- package/src/styles/index.scss +246 -246
- package/src/styles/mixin.scss +60 -66
- package/src/styles/ruoyi.scss +47 -27
- package/src/styles/sidebar.scss +0 -1
- package/src/styles/transition.scss +49 -49
- package/src/styles/variables.scss +57 -57
- package/src/styles/vxe-variables.scss +21 -0
package/package.json
CHANGED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
width="32px"
|
|
4
|
+
height="32px"
|
|
5
|
+
viewBox="0 0 32 32"
|
|
6
|
+
version="1.1"
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
9
|
+
>
|
|
10
|
+
<title>关闭-蓝色</title>
|
|
11
|
+
<g
|
|
12
|
+
id="页面-1"
|
|
13
|
+
stroke="none"
|
|
14
|
+
stroke-width="1"
|
|
15
|
+
fill="none"
|
|
16
|
+
fill-rule="evenodd"
|
|
17
|
+
>
|
|
18
|
+
<g
|
|
19
|
+
id="问答管理-问答配置-模拟问答测试"
|
|
20
|
+
transform="translate(-1864.000000, -19.000000)"
|
|
21
|
+
fill="#333333"
|
|
22
|
+
>
|
|
23
|
+
<g id="编组-17" transform="translate(1120.000000, 0.000000)">
|
|
24
|
+
<g id="关闭-蓝色" transform="translate(744.000000, 19.000000)">
|
|
25
|
+
<path
|
|
26
|
+
d="M16,7 C16.5522847,7 17,7.44771525 17,8 L17,14.999 L24,15 C24.5522847,15 25,15.4477153 25,16 C25,16.5522847 24.5522847,17 24,17 L17,16.999 L17,24 C17,24.5522847 16.5522847,25 16,25 C15.4477153,25 15,24.5522847 15,24 L15,16.999 L8,17 C7.44771525,17 7,16.5522847 7,16 C7,15.4477153 7.44771525,15 8,15 L15,14.999 L15,8 C15,7.44771525 15.4477153,7 16,7 Z"
|
|
27
|
+
id="形状结合"
|
|
28
|
+
transform="translate(16.000000, 16.000000) rotate(-45.000000) translate(-16.000000, -16.000000) "
|
|
29
|
+
></path>
|
|
30
|
+
</g>
|
|
31
|
+
</g>
|
|
32
|
+
</g>
|
|
33
|
+
</g>
|
|
34
|
+
</svg>
|
|
35
|
+
</template>
|
|
36
|
+
|
|
37
|
+
<script>
|
|
38
|
+
export default {
|
|
39
|
+
name: 'IconSimulationClose'
|
|
40
|
+
}
|
|
41
|
+
</script>
|
package/src/styles/btn.scss
CHANGED
|
@@ -1,99 +1,99 @@
|
|
|
1
|
-
@import './variables.scss';
|
|
2
|
-
|
|
3
|
-
@mixin colorBtn($color) {
|
|
4
|
-
background: $color;
|
|
5
|
-
|
|
6
|
-
&:hover {
|
|
7
|
-
color: $color;
|
|
8
|
-
|
|
9
|
-
&:before,
|
|
10
|
-
&:after {
|
|
11
|
-
background: $color;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.blue-btn {
|
|
17
|
-
@include colorBtn($blue)
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.light-blue-btn {
|
|
21
|
-
@include colorBtn($light-blue)
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.red-btn {
|
|
25
|
-
@include colorBtn($red)
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.pink-btn {
|
|
29
|
-
@include colorBtn($pink)
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.green-btn {
|
|
33
|
-
@include colorBtn($green)
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.tiffany-btn {
|
|
37
|
-
@include colorBtn($tiffany)
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.yellow-btn {
|
|
41
|
-
@include colorBtn($yellow)
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.pan-btn {
|
|
45
|
-
font-size: 14px;
|
|
46
|
-
color: #fff;
|
|
47
|
-
padding: 14px 36px;
|
|
48
|
-
border-radius: 8px;
|
|
49
|
-
border: none;
|
|
50
|
-
outline: none;
|
|
51
|
-
transition: 600ms ease all;
|
|
52
|
-
position: relative;
|
|
53
|
-
display: inline-block;
|
|
54
|
-
|
|
55
|
-
&:hover {
|
|
56
|
-
background: #fff;
|
|
57
|
-
|
|
58
|
-
&:before,
|
|
59
|
-
&:after {
|
|
60
|
-
width: 100%;
|
|
61
|
-
transition: 600ms ease all;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&:before,
|
|
66
|
-
&:after {
|
|
67
|
-
content: '';
|
|
68
|
-
position: absolute;
|
|
69
|
-
top: 0;
|
|
70
|
-
right: 0;
|
|
71
|
-
height: 2px;
|
|
72
|
-
width: 0;
|
|
73
|
-
transition: 400ms ease all;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&::after {
|
|
77
|
-
right: inherit;
|
|
78
|
-
top: inherit;
|
|
79
|
-
left: 0;
|
|
80
|
-
bottom: 0;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.custom-button {
|
|
85
|
-
display: inline-block;
|
|
86
|
-
line-height: 1;
|
|
87
|
-
white-space: nowrap;
|
|
88
|
-
cursor: pointer;
|
|
89
|
-
background: #fff;
|
|
90
|
-
color: #fff;
|
|
91
|
-
-webkit-appearance: none;
|
|
92
|
-
text-align: center;
|
|
93
|
-
box-sizing: border-box;
|
|
94
|
-
outline: 0;
|
|
95
|
-
margin: 0;
|
|
96
|
-
padding: 10px 15px;
|
|
97
|
-
font-size: 14px;
|
|
98
|
-
border-radius: 4px;
|
|
99
|
-
}
|
|
1
|
+
@import './variables.scss';
|
|
2
|
+
|
|
3
|
+
@mixin colorBtn($color) {
|
|
4
|
+
background: $color;
|
|
5
|
+
|
|
6
|
+
&:hover {
|
|
7
|
+
color: $color;
|
|
8
|
+
|
|
9
|
+
&:before,
|
|
10
|
+
&:after {
|
|
11
|
+
background: $color;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.blue-btn {
|
|
17
|
+
@include colorBtn($blue);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.light-blue-btn {
|
|
21
|
+
@include colorBtn($light-blue);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.red-btn {
|
|
25
|
+
@include colorBtn($red);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.pink-btn {
|
|
29
|
+
@include colorBtn($pink);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.green-btn {
|
|
33
|
+
@include colorBtn($green);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.tiffany-btn {
|
|
37
|
+
@include colorBtn($tiffany);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.yellow-btn {
|
|
41
|
+
@include colorBtn($yellow);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.pan-btn {
|
|
45
|
+
font-size: 14px;
|
|
46
|
+
color: #fff;
|
|
47
|
+
padding: 14px 36px;
|
|
48
|
+
border-radius: 8px;
|
|
49
|
+
border: none;
|
|
50
|
+
outline: none;
|
|
51
|
+
transition: 600ms ease all;
|
|
52
|
+
position: relative;
|
|
53
|
+
display: inline-block;
|
|
54
|
+
|
|
55
|
+
&:hover {
|
|
56
|
+
background: #fff;
|
|
57
|
+
|
|
58
|
+
&:before,
|
|
59
|
+
&:after {
|
|
60
|
+
width: 100%;
|
|
61
|
+
transition: 600ms ease all;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&:before,
|
|
66
|
+
&:after {
|
|
67
|
+
content: '';
|
|
68
|
+
position: absolute;
|
|
69
|
+
top: 0;
|
|
70
|
+
right: 0;
|
|
71
|
+
height: 2px;
|
|
72
|
+
width: 0;
|
|
73
|
+
transition: 400ms ease all;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&::after {
|
|
77
|
+
right: inherit;
|
|
78
|
+
top: inherit;
|
|
79
|
+
left: 0;
|
|
80
|
+
bottom: 0;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.custom-button {
|
|
85
|
+
display: inline-block;
|
|
86
|
+
line-height: 1;
|
|
87
|
+
white-space: nowrap;
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
background: #fff;
|
|
90
|
+
color: #fff;
|
|
91
|
+
-webkit-appearance: none;
|
|
92
|
+
text-align: center;
|
|
93
|
+
box-sizing: border-box;
|
|
94
|
+
outline: 0;
|
|
95
|
+
margin: 0;
|
|
96
|
+
padding: 10px 15px;
|
|
97
|
+
font-size: 14px;
|
|
98
|
+
border-radius: 4px;
|
|
99
|
+
}
|
|
@@ -10,7 +10,7 @@ body {
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.el-upload {
|
|
13
|
-
input[type=
|
|
13
|
+
input[type='file'] {
|
|
14
14
|
display: none !important;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -303,3 +303,10 @@ body {
|
|
|
303
303
|
.el-button--text {
|
|
304
304
|
font-size: 13px;
|
|
305
305
|
}
|
|
306
|
+
// 文本域字数统计背景透明
|
|
307
|
+
.el-textarea .el-input__count {
|
|
308
|
+
background-color: transparent;
|
|
309
|
+
color: #999;
|
|
310
|
+
line-height: 12px;
|
|
311
|
+
bottom: 10px;
|
|
312
|
+
}
|
|
@@ -20,9 +20,9 @@ $--border-color-lighter: #e6ebf5;
|
|
|
20
20
|
$--table-border: 1px solid#dfe6ec;
|
|
21
21
|
|
|
22
22
|
/* icon font path, required */
|
|
23
|
-
$--font-path:
|
|
23
|
+
$--font-path: '~element-ui/lib/theme-chalk/fonts';
|
|
24
24
|
|
|
25
|
-
@import
|
|
25
|
+
@import '~element-ui/packages/theme-chalk/src/index';
|
|
26
26
|
|
|
27
27
|
// the :export directive is the magic sauce for webpack
|
|
28
28
|
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
|
package/src/styles/index.scss
CHANGED
|
@@ -1,246 +1,246 @@
|
|
|
1
|
-
@import "./variables.scss";
|
|
2
|
-
@import "./mixin.scss";
|
|
3
|
-
@import "./transition.scss";
|
|
4
|
-
@import "./element-ui.scss";
|
|
5
|
-
@import "./sidebar.scss";
|
|
6
|
-
@import "./btn.scss";
|
|
7
|
-
|
|
8
|
-
body {
|
|
9
|
-
height: 100%;
|
|
10
|
-
-moz-osx-font-smoothing: grayscale;
|
|
11
|
-
-webkit-font-smoothing: antialiased;
|
|
12
|
-
text-rendering: optimizeLegibility;
|
|
13
|
-
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
|
|
14
|
-
Microsoft YaHei, Arial, sans-serif;
|
|
15
|
-
background-image: url("../assets/images/background.png");
|
|
16
|
-
background-size: cover;
|
|
17
|
-
background-position: center;
|
|
18
|
-
background-repeat: no-repeat;
|
|
19
|
-
background-attachment: fixed; // 让背景固定,不随内容滚动
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
label {
|
|
23
|
-
font-weight: 700;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
html {
|
|
27
|
-
height: 100%;
|
|
28
|
-
box-sizing: border-box;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
#app {
|
|
32
|
-
height: 100%;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
*,
|
|
36
|
-
*:before,
|
|
37
|
-
*:after {
|
|
38
|
-
box-sizing: inherit;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.no-padding {
|
|
42
|
-
padding: 0px !important;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.padding-content {
|
|
46
|
-
padding: 4px 0;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
a:focus,
|
|
50
|
-
a:active {
|
|
51
|
-
outline: none;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
a,
|
|
55
|
-
a:focus,
|
|
56
|
-
a:hover {
|
|
57
|
-
cursor: pointer;
|
|
58
|
-
color: inherit;
|
|
59
|
-
text-decoration: none;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
div:focus {
|
|
63
|
-
outline: none;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.fr {
|
|
67
|
-
float: right;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.fl {
|
|
71
|
-
float: left;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.pr-5 {
|
|
75
|
-
padding-right: 5px;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.pl-5 {
|
|
79
|
-
padding-left: 5px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.block {
|
|
83
|
-
display: block;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
.pointer {
|
|
87
|
-
cursor: pointer;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.inlineBlock {
|
|
91
|
-
display: block;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.clearfix {
|
|
95
|
-
&:after {
|
|
96
|
-
visibility: hidden;
|
|
97
|
-
display: block;
|
|
98
|
-
font-size: 0;
|
|
99
|
-
content: " ";
|
|
100
|
-
clear: both;
|
|
101
|
-
height: 0;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
aside {
|
|
106
|
-
background: #eef1f6;
|
|
107
|
-
padding: 8px 24px;
|
|
108
|
-
margin-bottom: 20px;
|
|
109
|
-
border-radius: 2px;
|
|
110
|
-
display: block;
|
|
111
|
-
line-height: 32px;
|
|
112
|
-
font-size: 16px;
|
|
113
|
-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
|
|
114
|
-
Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
|
115
|
-
color: #2c3e50;
|
|
116
|
-
-webkit-font-smoothing: antialiased;
|
|
117
|
-
-moz-osx-font-smoothing: grayscale;
|
|
118
|
-
|
|
119
|
-
a {
|
|
120
|
-
color: #337ab7;
|
|
121
|
-
cursor: pointer;
|
|
122
|
-
|
|
123
|
-
&:hover {
|
|
124
|
-
color: rgb(32, 160, 255);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
//main-container全局样式
|
|
130
|
-
.app-container {
|
|
131
|
-
padding: 16px 20px;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.components-container {
|
|
135
|
-
margin: 30px 50px;
|
|
136
|
-
position: relative;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.text-center {
|
|
140
|
-
text-align: center;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.sub-navbar {
|
|
144
|
-
height: 50px;
|
|
145
|
-
line-height: 50px;
|
|
146
|
-
position: relative;
|
|
147
|
-
width: 100%;
|
|
148
|
-
text-align: right;
|
|
149
|
-
padding-right: 20px;
|
|
150
|
-
transition: 600ms ease position;
|
|
151
|
-
background: linear-gradient(
|
|
152
|
-
90deg,
|
|
153
|
-
rgba(32, 182, 249, 1) 0%,
|
|
154
|
-
rgba(32, 182, 249, 1) 0%,
|
|
155
|
-
rgba(33, 120, 241, 1) 100%,
|
|
156
|
-
rgba(33, 120, 241, 1) 100%
|
|
157
|
-
);
|
|
158
|
-
|
|
159
|
-
.subtitle {
|
|
160
|
-
font-size: 20px;
|
|
161
|
-
color: #fff;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
&.draft {
|
|
165
|
-
background: #d0d0d0;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
&.deleted {
|
|
169
|
-
background: #d0d0d0;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.link-type,
|
|
174
|
-
.link-type:focus {
|
|
175
|
-
color: #337ab7;
|
|
176
|
-
cursor: pointer;
|
|
177
|
-
|
|
178
|
-
&:hover {
|
|
179
|
-
color: rgb(32, 160, 255);
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.filter-container {
|
|
184
|
-
padding-bottom: 10px;
|
|
185
|
-
|
|
186
|
-
.filter-item {
|
|
187
|
-
display: inline-block;
|
|
188
|
-
vertical-align: middle;
|
|
189
|
-
margin-bottom: 10px;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
.navbar {
|
|
193
|
-
background: transparent !important;
|
|
194
|
-
box-shadow: none !important;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.app-breadcrumb.el-breadcrumb {
|
|
198
|
-
background: transparent !important;
|
|
199
|
-
|
|
200
|
-
.el-breadcrumb__item {
|
|
201
|
-
// 默认所有面包屑项都是浅色
|
|
202
|
-
.el-breadcrumb__inner,
|
|
203
|
-
.el-breadcrumb__inner a {
|
|
204
|
-
color: #999999 !important; // 🎨 浅灰色 - 非当前页面
|
|
205
|
-
font-weight: normal; // 📏 正常字体粗细
|
|
206
|
-
|
|
207
|
-
&:hover {
|
|
208
|
-
color: #666666 !important; // 🖱️ 悬停时稍深一些
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
// 最后一个面包屑(当前页面)显示深色并加粗
|
|
213
|
-
&:last-child .el-breadcrumb__inner,
|
|
214
|
-
&:last-child .el-breadcrumb__inner a {
|
|
215
|
-
color: #333333 !important; // 🎯 深灰色 - 当前页面
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.el-breadcrumb__item:not(:last-child) .no-redirect {
|
|
220
|
-
color: #999999 !important; // 🎨 非最后一个的不可点击文本显示浅灰色
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
// 最后一个面包屑的不可点击文本保持深色
|
|
224
|
-
.el-breadcrumb__item:last-child .no-redirect {
|
|
225
|
-
color: #333 !important; // ⚫ 最后一个的不可点击文本显示黑色
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
/* 确保导航栏右侧菜单也透明 */
|
|
230
|
-
.right-menu {
|
|
231
|
-
.right-menu-item {
|
|
232
|
-
color: rgba(255, 255, 255, 0.8) !important;
|
|
233
|
-
|
|
234
|
-
&.hover-effect:hover {
|
|
235
|
-
background: rgba(255, 255, 255, 0.1) !important;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
.avatar-container {
|
|
240
|
-
.avatar-wrapper {
|
|
241
|
-
.user-nickname {
|
|
242
|
-
/* color: rgba(255, 255, 255, 0.9) !important; */
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
}
|
|
1
|
+
@import "./variables.scss";
|
|
2
|
+
@import "./mixin.scss";
|
|
3
|
+
@import "./transition.scss";
|
|
4
|
+
@import "./element-ui.scss";
|
|
5
|
+
@import "./sidebar.scss";
|
|
6
|
+
@import "./btn.scss";
|
|
7
|
+
|
|
8
|
+
body {
|
|
9
|
+
height: 100%;
|
|
10
|
+
-moz-osx-font-smoothing: grayscale;
|
|
11
|
+
-webkit-font-smoothing: antialiased;
|
|
12
|
+
text-rendering: optimizeLegibility;
|
|
13
|
+
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
|
|
14
|
+
Microsoft YaHei, Arial, sans-serif;
|
|
15
|
+
background-image: url("../assets/images/background.png"); // 使用你的图片路径
|
|
16
|
+
background-size: cover;
|
|
17
|
+
background-position: center;
|
|
18
|
+
background-repeat: no-repeat;
|
|
19
|
+
background-attachment: fixed; // 让背景固定,不随内容滚动
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
label {
|
|
23
|
+
font-weight: 700;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
html {
|
|
27
|
+
height: 100%;
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
#app {
|
|
32
|
+
height: 100%;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
*,
|
|
36
|
+
*:before,
|
|
37
|
+
*:after {
|
|
38
|
+
box-sizing: inherit;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.no-padding {
|
|
42
|
+
padding: 0px !important;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.padding-content {
|
|
46
|
+
padding: 4px 0;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
a:focus,
|
|
50
|
+
a:active {
|
|
51
|
+
outline: none;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
a,
|
|
55
|
+
a:focus,
|
|
56
|
+
a:hover {
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
color: inherit;
|
|
59
|
+
text-decoration: none;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
div:focus {
|
|
63
|
+
outline: none;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.fr {
|
|
67
|
+
float: right;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.fl {
|
|
71
|
+
float: left;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.pr-5 {
|
|
75
|
+
padding-right: 5px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.pl-5 {
|
|
79
|
+
padding-left: 5px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.block {
|
|
83
|
+
display: block;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.pointer {
|
|
87
|
+
cursor: pointer;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.inlineBlock {
|
|
91
|
+
display: block;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.clearfix {
|
|
95
|
+
&:after {
|
|
96
|
+
visibility: hidden;
|
|
97
|
+
display: block;
|
|
98
|
+
font-size: 0;
|
|
99
|
+
content: " ";
|
|
100
|
+
clear: both;
|
|
101
|
+
height: 0;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
aside {
|
|
106
|
+
background: #eef1f6;
|
|
107
|
+
padding: 8px 24px;
|
|
108
|
+
margin-bottom: 20px;
|
|
109
|
+
border-radius: 2px;
|
|
110
|
+
display: block;
|
|
111
|
+
line-height: 32px;
|
|
112
|
+
font-size: 16px;
|
|
113
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
|
|
114
|
+
Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
|
115
|
+
color: #2c3e50;
|
|
116
|
+
-webkit-font-smoothing: antialiased;
|
|
117
|
+
-moz-osx-font-smoothing: grayscale;
|
|
118
|
+
|
|
119
|
+
a {
|
|
120
|
+
color: #337ab7;
|
|
121
|
+
cursor: pointer;
|
|
122
|
+
|
|
123
|
+
&:hover {
|
|
124
|
+
color: rgb(32, 160, 255);
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
//main-container全局样式
|
|
130
|
+
.app-container {
|
|
131
|
+
padding: 16px 20px;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.components-container {
|
|
135
|
+
margin: 30px 50px;
|
|
136
|
+
position: relative;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.text-center {
|
|
140
|
+
text-align: center;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.sub-navbar {
|
|
144
|
+
height: 50px;
|
|
145
|
+
line-height: 50px;
|
|
146
|
+
position: relative;
|
|
147
|
+
width: 100%;
|
|
148
|
+
text-align: right;
|
|
149
|
+
padding-right: 20px;
|
|
150
|
+
transition: 600ms ease position;
|
|
151
|
+
background: linear-gradient(
|
|
152
|
+
90deg,
|
|
153
|
+
rgba(32, 182, 249, 1) 0%,
|
|
154
|
+
rgba(32, 182, 249, 1) 0%,
|
|
155
|
+
rgba(33, 120, 241, 1) 100%,
|
|
156
|
+
rgba(33, 120, 241, 1) 100%
|
|
157
|
+
);
|
|
158
|
+
|
|
159
|
+
.subtitle {
|
|
160
|
+
font-size: 20px;
|
|
161
|
+
color: #fff;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
&.draft {
|
|
165
|
+
background: #d0d0d0;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
&.deleted {
|
|
169
|
+
background: #d0d0d0;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.link-type,
|
|
174
|
+
.link-type:focus {
|
|
175
|
+
color: #337ab7;
|
|
176
|
+
cursor: pointer;
|
|
177
|
+
|
|
178
|
+
&:hover {
|
|
179
|
+
color: rgb(32, 160, 255);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.filter-container {
|
|
184
|
+
padding-bottom: 10px;
|
|
185
|
+
|
|
186
|
+
.filter-item {
|
|
187
|
+
display: inline-block;
|
|
188
|
+
vertical-align: middle;
|
|
189
|
+
margin-bottom: 10px;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
.navbar {
|
|
193
|
+
background: transparent !important;
|
|
194
|
+
box-shadow: none !important;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.app-breadcrumb.el-breadcrumb {
|
|
198
|
+
background: transparent !important;
|
|
199
|
+
|
|
200
|
+
.el-breadcrumb__item {
|
|
201
|
+
// 默认所有面包屑项都是浅色
|
|
202
|
+
.el-breadcrumb__inner,
|
|
203
|
+
.el-breadcrumb__inner a {
|
|
204
|
+
color: #999999 !important; // 🎨 浅灰色 - 非当前页面
|
|
205
|
+
font-weight: normal; // 📏 正常字体粗细
|
|
206
|
+
|
|
207
|
+
&:hover {
|
|
208
|
+
color: #666666 !important; // 🖱️ 悬停时稍深一些
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
// 最后一个面包屑(当前页面)显示深色并加粗
|
|
213
|
+
&:last-child .el-breadcrumb__inner,
|
|
214
|
+
&:last-child .el-breadcrumb__inner a {
|
|
215
|
+
color: #333333 !important; // 🎯 深灰色 - 当前页面
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.el-breadcrumb__item:not(:last-child) .no-redirect {
|
|
220
|
+
color: #999999 !important; // 🎨 非最后一个的不可点击文本显示浅灰色
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
// 最后一个面包屑的不可点击文本保持深色
|
|
224
|
+
.el-breadcrumb__item:last-child .no-redirect {
|
|
225
|
+
color: #333 !important; // ⚫ 最后一个的不可点击文本显示黑色
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/* 确保导航栏右侧菜单也透明 */
|
|
230
|
+
.right-menu {
|
|
231
|
+
.right-menu-item {
|
|
232
|
+
color: rgba(255, 255, 255, 0.8) !important;
|
|
233
|
+
|
|
234
|
+
&.hover-effect:hover {
|
|
235
|
+
background: rgba(255, 255, 255, 0.1) !important;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.avatar-container {
|
|
240
|
+
.avatar-wrapper {
|
|
241
|
+
.user-nickname {
|
|
242
|
+
/* color: rgba(255, 255, 255, 0.9) !important; */
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
package/src/styles/mixin.scss
CHANGED
|
@@ -1,66 +1,60 @@
|
|
|
1
|
-
@mixin clearfix {
|
|
2
|
-
&:after {
|
|
3
|
-
content:
|
|
4
|
-
display: table;
|
|
5
|
-
clear: both;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@mixin scrollBar {
|
|
10
|
-
&::-webkit-scrollbar-track-piece {
|
|
11
|
-
background: #d3dce6;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&::-webkit-scrollbar {
|
|
15
|
-
width: 6px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&::-webkit-scrollbar-thumb {
|
|
19
|
-
background: #99a9bf;
|
|
20
|
-
border-radius: 20px;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@mixin relative {
|
|
25
|
-
position: relative;
|
|
26
|
-
width: 100%;
|
|
27
|
-
height: 100%;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@mixin pct($pct) {
|
|
31
|
-
width: #{$pct};
|
|
32
|
-
position: relative;
|
|
33
|
-
margin: 0 auto;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@mixin triangle($width, $height, $color, $direction) {
|
|
37
|
-
$width: $width/2;
|
|
38
|
-
$color-border-style: $height solid $color;
|
|
39
|
-
$transparent-border-style: $width solid transparent;
|
|
40
|
-
height: 0;
|
|
41
|
-
width: 0;
|
|
42
|
-
|
|
43
|
-
@if $direction==up {
|
|
44
|
-
border-bottom: $color-border-style;
|
|
45
|
-
border-left: $transparent-border-style;
|
|
46
|
-
border-right: $transparent-border-style;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
border-
|
|
51
|
-
|
|
52
|
-
border-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
@else if $direction==
|
|
56
|
-
border-
|
|
57
|
-
border-
|
|
58
|
-
border-
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
@else if $direction==left {
|
|
62
|
-
border-right: $color-border-style;
|
|
63
|
-
border-top: $transparent-border-style;
|
|
64
|
-
border-bottom: $transparent-border-style;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
1
|
+
@mixin clearfix {
|
|
2
|
+
&:after {
|
|
3
|
+
content: '';
|
|
4
|
+
display: table;
|
|
5
|
+
clear: both;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@mixin scrollBar {
|
|
10
|
+
&::-webkit-scrollbar-track-piece {
|
|
11
|
+
background: #d3dce6;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&::-webkit-scrollbar {
|
|
15
|
+
width: 6px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&::-webkit-scrollbar-thumb {
|
|
19
|
+
background: #99a9bf;
|
|
20
|
+
border-radius: 20px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@mixin relative {
|
|
25
|
+
position: relative;
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: 100%;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@mixin pct($pct) {
|
|
31
|
+
width: #{$pct};
|
|
32
|
+
position: relative;
|
|
33
|
+
margin: 0 auto;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@mixin triangle($width, $height, $color, $direction) {
|
|
37
|
+
$width: $width/2;
|
|
38
|
+
$color-border-style: $height solid $color;
|
|
39
|
+
$transparent-border-style: $width solid transparent;
|
|
40
|
+
height: 0;
|
|
41
|
+
width: 0;
|
|
42
|
+
|
|
43
|
+
@if $direction==up {
|
|
44
|
+
border-bottom: $color-border-style;
|
|
45
|
+
border-left: $transparent-border-style;
|
|
46
|
+
border-right: $transparent-border-style;
|
|
47
|
+
} @else if $direction==right {
|
|
48
|
+
border-left: $color-border-style;
|
|
49
|
+
border-top: $transparent-border-style;
|
|
50
|
+
border-bottom: $transparent-border-style;
|
|
51
|
+
} @else if $direction==down {
|
|
52
|
+
border-top: $color-border-style;
|
|
53
|
+
border-left: $transparent-border-style;
|
|
54
|
+
border-right: $transparent-border-style;
|
|
55
|
+
} @else if $direction==left {
|
|
56
|
+
border-right: $color-border-style;
|
|
57
|
+
border-top: $transparent-border-style;
|
|
58
|
+
border-bottom: $transparent-border-style;
|
|
59
|
+
}
|
|
60
|
+
}
|
package/src/styles/ruoyi.scss
CHANGED
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
margin-bottom: 10px;
|
|
49
49
|
}
|
|
50
50
|
.ml10 {
|
|
51
|
-
|
|
51
|
+
margin-left: 10px;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
.mt20 {
|
|
@@ -63,17 +63,28 @@
|
|
|
63
63
|
margin-bottom: 20px;
|
|
64
64
|
}
|
|
65
65
|
.ml20 {
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.h1,
|
|
66
|
+
margin-left: 20px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.h1,
|
|
70
|
+
.h2,
|
|
71
|
+
.h3,
|
|
72
|
+
.h4,
|
|
73
|
+
.h5,
|
|
74
|
+
.h6,
|
|
75
|
+
h1,
|
|
76
|
+
h2,
|
|
77
|
+
h3,
|
|
78
|
+
h4,
|
|
79
|
+
h5,
|
|
80
|
+
h6 {
|
|
70
81
|
font-family: inherit;
|
|
71
82
|
font-weight: 500;
|
|
72
83
|
line-height: 1.1;
|
|
73
84
|
color: inherit;
|
|
74
85
|
}
|
|
75
86
|
|
|
76
|
-
.el-message-box__status + .el-message-box__message{
|
|
87
|
+
.el-message-box__status + .el-message-box__message {
|
|
77
88
|
word-break: break-word;
|
|
78
89
|
}
|
|
79
90
|
|
|
@@ -89,7 +100,8 @@
|
|
|
89
100
|
}
|
|
90
101
|
|
|
91
102
|
.el-table {
|
|
92
|
-
.el-table__header-wrapper,
|
|
103
|
+
.el-table__header-wrapper,
|
|
104
|
+
.el-table__fixed-header-wrapper {
|
|
93
105
|
th {
|
|
94
106
|
word-break: break-word;
|
|
95
107
|
background-color: #f8f8f9;
|
|
@@ -100,7 +112,7 @@
|
|
|
100
112
|
}
|
|
101
113
|
|
|
102
114
|
.el-table__body-wrapper {
|
|
103
|
-
.el-button [class*=
|
|
115
|
+
.el-button [class*='el-icon-'] + span {
|
|
104
116
|
margin-left: 1px;
|
|
105
117
|
}
|
|
106
118
|
}
|
|
@@ -112,7 +124,7 @@
|
|
|
112
124
|
color: #6379bb;
|
|
113
125
|
border-bottom: 1px solid #ddd;
|
|
114
126
|
margin: 8px 10px 25px 10px;
|
|
115
|
-
padding-bottom: 5px
|
|
127
|
+
padding-bottom: 5px;
|
|
116
128
|
}
|
|
117
129
|
|
|
118
130
|
/** 表格布局 **/
|
|
@@ -126,7 +138,7 @@
|
|
|
126
138
|
.tree-border {
|
|
127
139
|
margin-top: 5px;
|
|
128
140
|
border: 1px solid #e5e6e7;
|
|
129
|
-
background: #
|
|
141
|
+
background: #ffffff none;
|
|
130
142
|
border-radius: 4px;
|
|
131
143
|
}
|
|
132
144
|
|
|
@@ -146,13 +158,21 @@
|
|
|
146
158
|
}
|
|
147
159
|
|
|
148
160
|
/** 表格更多操作下拉样式 */
|
|
149
|
-
.el-table .el-dropdown-link
|
|
150
|
-
|
|
151
|
-
|
|
161
|
+
.el-table .el-dropdown-link,
|
|
162
|
+
.el-table .el-dropdown-selfdefine {
|
|
163
|
+
cursor: pointer;
|
|
164
|
+
margin-left: 5px;
|
|
152
165
|
}
|
|
153
|
-
|
|
154
|
-
.el-table .el-dropdown,
|
|
155
|
-
|
|
166
|
+
//展开状态的箭头
|
|
167
|
+
.el-table .el-dropdown,
|
|
168
|
+
.el-icon-arrow-down {
|
|
169
|
+
font-size: 16px;
|
|
170
|
+
font-weight: 600;
|
|
171
|
+
}
|
|
172
|
+
//收缩状态下的箭头
|
|
173
|
+
.el-submenu__icon-arrow.el-icon-arrow-right {
|
|
174
|
+
font-size: 16px;
|
|
175
|
+
font-weight: 600;
|
|
156
176
|
}
|
|
157
177
|
|
|
158
178
|
.el-tree-node__content > .el-checkbox {
|
|
@@ -200,22 +220,22 @@
|
|
|
200
220
|
/* button color */
|
|
201
221
|
.el-button--cyan.is-active,
|
|
202
222
|
.el-button--cyan:active {
|
|
203
|
-
background: #
|
|
204
|
-
border-color: #
|
|
205
|
-
color: #
|
|
223
|
+
background: #20b2aa;
|
|
224
|
+
border-color: #20b2aa;
|
|
225
|
+
color: #ffffff;
|
|
206
226
|
}
|
|
207
227
|
|
|
208
228
|
.el-button--cyan:focus,
|
|
209
229
|
.el-button--cyan:hover {
|
|
210
|
-
background: #
|
|
211
|
-
border-color: #
|
|
212
|
-
color: #
|
|
230
|
+
background: #48d1cc;
|
|
231
|
+
border-color: #48d1cc;
|
|
232
|
+
color: #ffffff;
|
|
213
233
|
}
|
|
214
234
|
|
|
215
235
|
.el-button--cyan {
|
|
216
|
-
background-color: #
|
|
217
|
-
border-color: #
|
|
218
|
-
color: #
|
|
236
|
+
background-color: #20b2aa;
|
|
237
|
+
border-color: #20b2aa;
|
|
238
|
+
color: #ffffff;
|
|
219
239
|
}
|
|
220
240
|
|
|
221
241
|
/* text color */
|
|
@@ -271,7 +291,7 @@
|
|
|
271
291
|
|
|
272
292
|
/* 拖拽列样式 */
|
|
273
293
|
.sortable-ghost {
|
|
274
|
-
opacity: .8;
|
|
294
|
+
opacity: 0.8;
|
|
275
295
|
color: #fff !important;
|
|
276
296
|
background: #42b983 !important;
|
|
277
297
|
}
|
|
@@ -283,5 +303,5 @@
|
|
|
283
303
|
|
|
284
304
|
/* 分割面板样式 */
|
|
285
305
|
.splitpanes.default-theme .splitpanes__pane {
|
|
286
|
-
background-color: #fff!important;
|
|
306
|
+
background-color: #fff !important;
|
|
287
307
|
}
|
package/src/styles/sidebar.scss
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
// global transition css
|
|
2
|
-
|
|
3
|
-
/* fade */
|
|
4
|
-
.fade-enter-active,
|
|
5
|
-
.fade-leave-active {
|
|
6
|
-
transition: opacity 0.28s;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.fade-enter,
|
|
10
|
-
.fade-leave-active {
|
|
11
|
-
opacity: 0;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/* fade-transform */
|
|
15
|
-
.fade-transform--move,
|
|
16
|
-
.fade-transform-leave-active,
|
|
17
|
-
.fade-transform-enter-active {
|
|
18
|
-
transition: all .5s;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.fade-transform-enter {
|
|
22
|
-
opacity: 0;
|
|
23
|
-
transform: translateX(-30px);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.fade-transform-leave-to {
|
|
27
|
-
opacity: 0;
|
|
28
|
-
transform: translateX(30px);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
/* breadcrumb transition */
|
|
32
|
-
.breadcrumb-enter-active,
|
|
33
|
-
.breadcrumb-leave-active {
|
|
34
|
-
transition: all .5s;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.breadcrumb-enter,
|
|
38
|
-
.breadcrumb-leave-active {
|
|
39
|
-
opacity: 0;
|
|
40
|
-
transform: translateX(20px);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.breadcrumb-move {
|
|
44
|
-
transition: all .5s;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.breadcrumb-leave-active {
|
|
48
|
-
position: absolute;
|
|
49
|
-
}
|
|
1
|
+
// global transition css
|
|
2
|
+
|
|
3
|
+
/* fade */
|
|
4
|
+
.fade-enter-active,
|
|
5
|
+
.fade-leave-active {
|
|
6
|
+
transition: opacity 0.28s;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.fade-enter,
|
|
10
|
+
.fade-leave-active {
|
|
11
|
+
opacity: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* fade-transform */
|
|
15
|
+
.fade-transform--move,
|
|
16
|
+
.fade-transform-leave-active,
|
|
17
|
+
.fade-transform-enter-active {
|
|
18
|
+
transition: all 0.5s;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.fade-transform-enter {
|
|
22
|
+
opacity: 0;
|
|
23
|
+
transform: translateX(-30px);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.fade-transform-leave-to {
|
|
27
|
+
opacity: 0;
|
|
28
|
+
transform: translateX(30px);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* breadcrumb transition */
|
|
32
|
+
.breadcrumb-enter-active,
|
|
33
|
+
.breadcrumb-leave-active {
|
|
34
|
+
transition: all 0.5s;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.breadcrumb-enter,
|
|
38
|
+
.breadcrumb-leave-active {
|
|
39
|
+
opacity: 0;
|
|
40
|
+
transform: translateX(20px);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.breadcrumb-move {
|
|
44
|
+
transition: all 0.5s;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.breadcrumb-leave-active {
|
|
48
|
+
position: absolute;
|
|
49
|
+
}
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
// base color
|
|
2
|
-
$blue: #324157;
|
|
3
|
-
$light-blue: #3a71a8;
|
|
4
|
-
$red: #c03639;
|
|
5
|
-
$pink: #e65d6e;
|
|
6
|
-
$green: #30b08f;
|
|
7
|
-
$tiffany: #4ab7bd;
|
|
8
|
-
$yellow: #fec171;
|
|
9
|
-
$panGreen: #30b08f;
|
|
10
|
-
|
|
11
|
-
// 默认菜单主题风格
|
|
12
|
-
$base-menu-color: #333; // 🌟 默认菜单文字颜色
|
|
13
|
-
$base-menu-color-active: rgb(74, 127, 248); // 💫 激活状态菜单文字颜色
|
|
14
|
-
$base-menu-background: transparent; // 🎯 菜单背景色
|
|
15
|
-
$base-logo-title-color: #000; // 🏷️ Logo标题文字颜色 -
|
|
16
|
-
|
|
17
|
-
$base-menu-light-color: rgba(0, 0, 0, 0.7); // ☀️ 浅色主题菜单文字颜色
|
|
18
|
-
$base-menu-light-background: transparent; // 🌞 浅色主题菜单背景色
|
|
19
|
-
$base-logo-light-title-color: #001529; // 🌅 浅色主题Logo标题颜色 -
|
|
20
|
-
|
|
21
|
-
$base-sub-menu-background: transparent; // 🎨 子菜单背景色
|
|
22
|
-
$base-sub-menu-hover: rgba(202, 210, 228, 0.3); // 🖱️ 子菜单悬停背景色
|
|
23
|
-
|
|
24
|
-
//自定义新增
|
|
25
|
-
$base-menu-active-background: #fff; // 🌟 新增:菜单选中背景色 -
|
|
26
|
-
// 自定义暗色菜单风格
|
|
27
|
-
/**
|
|
28
|
-
$base-menu-color:hsla(0,0%,100%,.65);
|
|
29
|
-
$base-menu-color-active:#fff;
|
|
30
|
-
$base-menu-background:#001529;
|
|
31
|
-
$base-logo-title-color: #ffffff;
|
|
32
|
-
|
|
33
|
-
$base-menu-light-color:rgba(0,0,0,.70);
|
|
34
|
-
$base-menu-light-background:#ffffff;
|
|
35
|
-
$base-logo-light-title-color: #001529;
|
|
36
|
-
|
|
37
|
-
$base-sub-menu-background:#000c17;
|
|
38
|
-
$base-sub-menu-hover:#001528;
|
|
39
|
-
*/
|
|
40
|
-
|
|
41
|
-
$base-sidebar-width: 204px;
|
|
42
|
-
|
|
43
|
-
// the :export directive is the magic sauce for webpack
|
|
44
|
-
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
|
|
45
|
-
:export {
|
|
46
|
-
menuColor: $base-menu-color;
|
|
47
|
-
menuLightColor: $base-menu-light-color;
|
|
48
|
-
menuColorActive: $base-menu-color-active;
|
|
49
|
-
menuBackground: $base-menu-background;
|
|
50
|
-
menuLightBackground: $base-menu-light-background;
|
|
51
|
-
subMenuBackground: $base-sub-menu-background;
|
|
52
|
-
subMenuHover: $base-sub-menu-hover;
|
|
53
|
-
menuActiveBackground: $base-menu-active-background;
|
|
54
|
-
sideBarWidth: $base-sidebar-width;
|
|
55
|
-
logoTitleColor: $base-logo-title-color;
|
|
56
|
-
logoLightTitleColor: $base-logo-light-title-color;
|
|
57
|
-
}
|
|
1
|
+
// base color
|
|
2
|
+
$blue: #324157;
|
|
3
|
+
$light-blue: #3a71a8;
|
|
4
|
+
$red: #c03639;
|
|
5
|
+
$pink: #e65d6e;
|
|
6
|
+
$green: #30b08f;
|
|
7
|
+
$tiffany: #4ab7bd;
|
|
8
|
+
$yellow: #fec171;
|
|
9
|
+
$panGreen: #30b08f;
|
|
10
|
+
|
|
11
|
+
// 默认菜单主题风格
|
|
12
|
+
$base-menu-color: #333; // 🌟 默认菜单文字颜色
|
|
13
|
+
$base-menu-color-active: rgb(74, 127, 248); // 💫 激活状态菜单文字颜色
|
|
14
|
+
$base-menu-background: transparent; // 🎯 菜单背景色
|
|
15
|
+
$base-logo-title-color: #000; // 🏷️ Logo标题文字颜色 -
|
|
16
|
+
|
|
17
|
+
$base-menu-light-color: rgba(0, 0, 0, 0.7); // ☀️ 浅色主题菜单文字颜色
|
|
18
|
+
$base-menu-light-background: transparent; // 🌞 浅色主题菜单背景色
|
|
19
|
+
$base-logo-light-title-color: #001529; // 🌅 浅色主题Logo标题颜色 -
|
|
20
|
+
|
|
21
|
+
$base-sub-menu-background: transparent; // 🎨 子菜单背景色
|
|
22
|
+
$base-sub-menu-hover: rgba(202, 210, 228, 0.3); // 🖱️ 子菜单悬停背景色
|
|
23
|
+
|
|
24
|
+
//自定义新增
|
|
25
|
+
$base-menu-active-background: #fff; // 🌟 新增:菜单选中背景色 -
|
|
26
|
+
// 自定义暗色菜单风格
|
|
27
|
+
/**
|
|
28
|
+
$base-menu-color:hsla(0,0%,100%,.65);
|
|
29
|
+
$base-menu-color-active:#fff;
|
|
30
|
+
$base-menu-background:#001529;
|
|
31
|
+
$base-logo-title-color: #ffffff;
|
|
32
|
+
|
|
33
|
+
$base-menu-light-color:rgba(0,0,0,.70);
|
|
34
|
+
$base-menu-light-background:#ffffff;
|
|
35
|
+
$base-logo-light-title-color: #001529;
|
|
36
|
+
|
|
37
|
+
$base-sub-menu-background:#000c17;
|
|
38
|
+
$base-sub-menu-hover:#001528;
|
|
39
|
+
*/
|
|
40
|
+
|
|
41
|
+
$base-sidebar-width: 204px;
|
|
42
|
+
|
|
43
|
+
// the :export directive is the magic sauce for webpack
|
|
44
|
+
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
|
|
45
|
+
:export {
|
|
46
|
+
menuColor: $base-menu-color;
|
|
47
|
+
menuLightColor: $base-menu-light-color;
|
|
48
|
+
menuColorActive: $base-menu-color-active;
|
|
49
|
+
menuBackground: $base-menu-background;
|
|
50
|
+
menuLightBackground: $base-menu-light-background;
|
|
51
|
+
subMenuBackground: $base-sub-menu-background;
|
|
52
|
+
subMenuHover: $base-sub-menu-hover;
|
|
53
|
+
menuActiveBackground: $base-menu-active-background;
|
|
54
|
+
sideBarWidth: $base-sidebar-width;
|
|
55
|
+
logoTitleColor: $base-logo-title-color;
|
|
56
|
+
logoLightTitleColor: $base-logo-light-title-color;
|
|
57
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
$vxe-font-size: 14px;
|
|
2
|
+
$vxe-font-color: #666;
|
|
3
|
+
$vxe-primary-color: $color-primary;
|
|
4
|
+
// 以下几种本来是用light函数去算的,但是不支持变量计算,后续有需要手动算
|
|
5
|
+
$vxe-primary-lighten-color: $color-primary-light-1;
|
|
6
|
+
$vxe-primary-disabled-color: $color-primary-light-2;
|
|
7
|
+
$vxe-primary-darken-color: $color-primary-dark-1;
|
|
8
|
+
$vxe-table-font-color: $vxe-font-color;
|
|
9
|
+
$vxe-table-border-color: #e8eaec;
|
|
10
|
+
$vxe-table-border-radius: 4px;
|
|
11
|
+
|
|
12
|
+
@import 'vxe-table/styles/variable';
|
|
13
|
+
@import 'vxe-table/styles/custom.scss';
|
|
14
|
+
@import 'vxe-table/styles/icon.scss';
|
|
15
|
+
@import 'vxe-table/styles/toolbar.scss';
|
|
16
|
+
@import 'vxe-table/styles/checkbox.scss';
|
|
17
|
+
@import 'vxe-table/styles/button.scss';
|
|
18
|
+
@import 'vxe-table/styles/v-x-e-table';
|
|
19
|
+
@import 'vxe-table/styles/column';
|
|
20
|
+
@import 'vxe-table/styles/table';
|
|
21
|
+
@import 'vxe-table/styles/tooltip';
|