icve-urc 1.0.0
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/README.en.md +36 -0
- package/README.md +24 -0
- package/dist/demo.html +10 -0
- package/dist/icve-urc.common.js +114103 -0
- package/dist/icve-urc.common.js.map +1 -0
- package/dist/icve-urc.css +1 -0
- package/dist/icve-urc.umd.js +114113 -0
- package/dist/icve-urc.umd.js.map +1 -0
- package/dist/icve-urc.umd.min.js +75 -0
- package/dist/icve-urc.umd.min.js.map +1 -0
- package/package.json +33 -0
- package/src/App copy.vue +116 -0
- package/src/App.vue +125 -0
- package/src/api/resourceManagement/index.js +33 -0
- package/src/assets/img/error.png +0 -0
- package/src/assets/img/file.png +0 -0
- package/src/assets/img/icon-pic.png +0 -0
- package/src/assets/img/icon_audio.png +0 -0
- package/src/assets/img/icon_excel.png +0 -0
- package/src/assets/img/icon_other.png +0 -0
- package/src/assets/img/icon_pdf.png +0 -0
- package/src/assets/img/icon_ppt.png +0 -0
- package/src/assets/img/icon_txt_s.png +0 -0
- package/src/assets/img/icon_vedio.png +0 -0
- package/src/assets/img/icon_word.png +0 -0
- package/src/assets/img/icon_zip.png +0 -0
- package/src/assets/img/loading.gif +0 -0
- package/src/assets/logo.png +0 -0
- package/src/assets/styles/btn.scss +99 -0
- package/src/assets/styles/element-ui.scss +92 -0
- package/src/assets/styles/element-variables.scss +31 -0
- package/src/assets/styles/icon/demo.css +539 -0
- package/src/assets/styles/icon/demo_index.html +556 -0
- package/src/assets/styles/icon/iconfont.css +79 -0
- package/src/assets/styles/icon/iconfont.js +1 -0
- package/src/assets/styles/icon/iconfont.json +121 -0
- package/src/assets/styles/icon/iconfont.ttf +0 -0
- package/src/assets/styles/icon/iconfont.woff +0 -0
- package/src/assets/styles/icon/iconfont.woff2 +0 -0
- package/src/assets/styles/index.scss +252 -0
- package/src/assets/styles/mixin.scss +66 -0
- package/src/assets/styles/ruoyi.scss +273 -0
- package/src/assets/styles/sidebar.scss +249 -0
- package/src/assets/styles/transition.scss +53 -0
- package/src/assets/styles/variables.scss +54 -0
- package/src/components/AliPlayer.vue +158 -0
- package/src/components/Pagination/index.vue +119 -0
- package/src/components/fileImport.vue +466 -0
- package/src/components/filePreview.vue +670 -0
- package/src/components/fileUpload.vue +752 -0
- package/src/components/treeCompontent.vue +277 -0
- package/src/main.js +26 -0
- package/src/router/index.js +22 -0
- package/src/utils/auth.js +15 -0
- package/src/utils/errorCode.js +6 -0
- package/src/utils/request.js +63 -0
- package/src/utils/scroll-to.js +58 -0
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 通用css样式布局处理
|
|
3
|
+
* Copyright (c) 2019 ruoyi
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/** 基础通用 **/
|
|
7
|
+
.pt5 {
|
|
8
|
+
padding-top: 5px;
|
|
9
|
+
}
|
|
10
|
+
.pr5 {
|
|
11
|
+
padding-right: 5px;
|
|
12
|
+
}
|
|
13
|
+
.pb5 {
|
|
14
|
+
padding-bottom: 5px;
|
|
15
|
+
}
|
|
16
|
+
.mt5 {
|
|
17
|
+
margin-top: 5px;
|
|
18
|
+
}
|
|
19
|
+
.mr5 {
|
|
20
|
+
margin-right: 5px;
|
|
21
|
+
}
|
|
22
|
+
.mb5 {
|
|
23
|
+
margin-bottom: 5px;
|
|
24
|
+
}
|
|
25
|
+
.mb8 {
|
|
26
|
+
margin-bottom: 8px;
|
|
27
|
+
}
|
|
28
|
+
.ml5 {
|
|
29
|
+
margin-left: 5px;
|
|
30
|
+
}
|
|
31
|
+
.mt10 {
|
|
32
|
+
margin-top: 10px;
|
|
33
|
+
}
|
|
34
|
+
.mr10 {
|
|
35
|
+
margin-right: 10px;
|
|
36
|
+
}
|
|
37
|
+
.mb10 {
|
|
38
|
+
margin-bottom: 10px;
|
|
39
|
+
}
|
|
40
|
+
.ml10 {
|
|
41
|
+
margin-left: 10px;
|
|
42
|
+
}
|
|
43
|
+
.mt20 {
|
|
44
|
+
margin-top: 20px;
|
|
45
|
+
}
|
|
46
|
+
.mr20 {
|
|
47
|
+
margin-right: 20px;
|
|
48
|
+
}
|
|
49
|
+
.mb20 {
|
|
50
|
+
margin-bottom: 20px;
|
|
51
|
+
}
|
|
52
|
+
.ml20 {
|
|
53
|
+
margin-left: 20px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
|
|
57
|
+
font-family: inherit;
|
|
58
|
+
font-weight: 500;
|
|
59
|
+
line-height: 1.1;
|
|
60
|
+
color: inherit;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.el-dialog:not(.is-fullscreen) {
|
|
64
|
+
margin-top: 6vh !important;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.el-dialog__wrapper.scrollbar .el-dialog .el-dialog__body {
|
|
68
|
+
overflow: auto;
|
|
69
|
+
overflow-x: hidden;
|
|
70
|
+
max-height: 70vh;
|
|
71
|
+
padding: 10px 20px 0;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.el-table {
|
|
75
|
+
.el-table__header-wrapper, .el-table__fixed-header-wrapper {
|
|
76
|
+
th {
|
|
77
|
+
word-break: break-word;
|
|
78
|
+
background-color: #f8f8f9;
|
|
79
|
+
color: #515a6e;
|
|
80
|
+
height: 40px;
|
|
81
|
+
font-size: 13px;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
.el-table__body-wrapper {
|
|
85
|
+
.el-button [class*="el-icon-"] + span {
|
|
86
|
+
margin-left: 1px;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/** 表单布局 **/
|
|
92
|
+
.form-header {
|
|
93
|
+
font-size:15px;
|
|
94
|
+
color:#6379bb;
|
|
95
|
+
border-bottom:1px solid #ddd;
|
|
96
|
+
margin:8px 10px 25px 10px;
|
|
97
|
+
padding-bottom:5px
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/** 表格布局 **/
|
|
101
|
+
.pagination-container {
|
|
102
|
+
position: relative;
|
|
103
|
+
height: 25px;
|
|
104
|
+
margin-bottom: 10px;
|
|
105
|
+
margin-top: 15px;
|
|
106
|
+
padding: 10px 20px !important;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* tree border */
|
|
110
|
+
.tree-border {
|
|
111
|
+
margin-top: 5px;
|
|
112
|
+
border: 1px solid #e5e6e7;
|
|
113
|
+
background: #FFFFFF none;
|
|
114
|
+
border-radius:4px;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.pagination-container .el-pagination {
|
|
118
|
+
right: 0;
|
|
119
|
+
position: absolute;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@media ( max-width : 768px) {
|
|
123
|
+
.pagination-container .el-pagination > .el-pagination__jump {
|
|
124
|
+
display: none !important;
|
|
125
|
+
}
|
|
126
|
+
.pagination-container .el-pagination > .el-pagination__sizes {
|
|
127
|
+
display: none !important;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.el-table .fixed-width .el-button--mini {
|
|
132
|
+
padding-left: 0;
|
|
133
|
+
padding-right: 0;
|
|
134
|
+
width: inherit;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/** 表格更多操作下拉样式 */
|
|
138
|
+
.el-table .el-dropdown-link,.el-table .el-dropdown-selfdefine {
|
|
139
|
+
cursor: pointer;
|
|
140
|
+
margin-left: 5px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.el-table .el-dropdown, .el-icon-arrow-down {
|
|
144
|
+
font-size: 12px;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.el-tree-node__content > .el-checkbox {
|
|
148
|
+
margin-right: 8px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.list-group-striped > .list-group-item {
|
|
152
|
+
border-left: 0;
|
|
153
|
+
border-right: 0;
|
|
154
|
+
border-radius: 0;
|
|
155
|
+
padding-left: 0;
|
|
156
|
+
padding-right: 0;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.list-group {
|
|
160
|
+
padding-left: 0px;
|
|
161
|
+
list-style: none;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.list-group-item {
|
|
165
|
+
border-bottom: 1px solid #e7eaec;
|
|
166
|
+
border-top: 1px solid #e7eaec;
|
|
167
|
+
margin-bottom: -1px;
|
|
168
|
+
padding: 11px 0px;
|
|
169
|
+
font-size: 13px;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.pull-right {
|
|
173
|
+
float: right !important;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.el-card__header {
|
|
177
|
+
padding: 14px 15px 7px;
|
|
178
|
+
min-height: 40px;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.el-card__body {
|
|
182
|
+
padding: 15px 20px 20px 20px;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.card-box {
|
|
186
|
+
padding-right: 15px;
|
|
187
|
+
padding-left: 15px;
|
|
188
|
+
margin-bottom: 10px;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/* button color */
|
|
192
|
+
.el-button--cyan.is-active,
|
|
193
|
+
.el-button--cyan:active {
|
|
194
|
+
background: #20B2AA;
|
|
195
|
+
border-color: #20B2AA;
|
|
196
|
+
color: #FFFFFF;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.el-button--cyan:focus,
|
|
200
|
+
.el-button--cyan:hover {
|
|
201
|
+
background: #48D1CC;
|
|
202
|
+
border-color: #48D1CC;
|
|
203
|
+
color: #FFFFFF;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.el-button--cyan {
|
|
207
|
+
background-color: #20B2AA;
|
|
208
|
+
border-color: #20B2AA;
|
|
209
|
+
color: #FFFFFF;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
/* text color */
|
|
213
|
+
.text-navy {
|
|
214
|
+
color: #1ab394;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.text-primary {
|
|
218
|
+
color: inherit;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.text-success {
|
|
222
|
+
color: #1c84c6;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.text-info {
|
|
226
|
+
color: #23c6c8;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.text-warning {
|
|
230
|
+
color: #f8ac59;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.text-danger {
|
|
234
|
+
color: #ed5565;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.text-muted {
|
|
238
|
+
color: #888888;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/* image */
|
|
242
|
+
.img-circle {
|
|
243
|
+
border-radius: 50%;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.img-lg {
|
|
247
|
+
width: 120px;
|
|
248
|
+
height: 120px;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.avatar-upload-preview {
|
|
252
|
+
position: relative;
|
|
253
|
+
top: 50%;
|
|
254
|
+
left: 50%;
|
|
255
|
+
transform: translate(-50%, -50%);
|
|
256
|
+
width: 200px;
|
|
257
|
+
height: 200px;
|
|
258
|
+
border-radius: 50%;
|
|
259
|
+
box-shadow: 0 0 4px #ccc;
|
|
260
|
+
overflow: hidden;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/* 拖拽列样式 */
|
|
264
|
+
.sortable-ghost{
|
|
265
|
+
opacity: .8;
|
|
266
|
+
color: #fff!important;
|
|
267
|
+
background: #42b983!important;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.top-right-btn {
|
|
271
|
+
position: relative;
|
|
272
|
+
float: right;
|
|
273
|
+
}
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
#app {
|
|
2
|
+
|
|
3
|
+
.main-container {
|
|
4
|
+
min-height: 100%;
|
|
5
|
+
transition: margin-left .28s;
|
|
6
|
+
margin-left: $base-sidebar-width;
|
|
7
|
+
position: relative;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.sidebarHide {
|
|
11
|
+
margin-left: 0 !important;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.sidebar-container {
|
|
15
|
+
padding-top: 100px;
|
|
16
|
+
-webkit-transition: width .28s;
|
|
17
|
+
transition: width 0.28s;
|
|
18
|
+
width: $base-sidebar-width !important;
|
|
19
|
+
background-color: $base-menu-background;
|
|
20
|
+
height: 100%;
|
|
21
|
+
position: fixed;
|
|
22
|
+
font-size: 0px;
|
|
23
|
+
top: 0;
|
|
24
|
+
bottom: 0;
|
|
25
|
+
left: 0;
|
|
26
|
+
z-index: 1;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
background: #fff !important;
|
|
29
|
+
-webkit-box-shadow: 2px 0 6px rgba(0, 21, 41, .35);
|
|
30
|
+
box-shadow: 4px 0px 4px 0px rgba(0,0,0,0.05);
|
|
31
|
+
|
|
32
|
+
// reset element-ui css
|
|
33
|
+
.horizontal-collapse-transition {
|
|
34
|
+
transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.scrollbar-wrapper {
|
|
38
|
+
overflow-x: hidden !important;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.el-scrollbar__bar.is-vertical {
|
|
42
|
+
right: 0px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.el-scrollbar {
|
|
46
|
+
height: 100%;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&.has-logo {
|
|
50
|
+
.el-scrollbar {
|
|
51
|
+
height: calc(100% - 50px);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.is-horizontal {
|
|
56
|
+
display: none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
a {
|
|
60
|
+
display: inline-block;
|
|
61
|
+
width: 100%;
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.svg-icon {
|
|
66
|
+
margin-right: 16px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.el-menu {
|
|
70
|
+
border: none;
|
|
71
|
+
height: 100%;
|
|
72
|
+
width: 100% !important;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.el-menu-item,
|
|
76
|
+
.el-submenu__title {
|
|
77
|
+
overflow: hidden !important;
|
|
78
|
+
text-overflow: ellipsis !important;
|
|
79
|
+
white-space: nowrap !important;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.el-menu-item-group {
|
|
83
|
+
ul {
|
|
84
|
+
li {
|
|
85
|
+
padding-left: 52px !important;
|
|
86
|
+
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// menu hover
|
|
92
|
+
.submenu-title-noDropdown,
|
|
93
|
+
.el-submenu__title {
|
|
94
|
+
background-color: #fff;
|
|
95
|
+
|
|
96
|
+
&:hover {
|
|
97
|
+
background-color: #EBF1FE !important;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
& .theme-dark .is-active {
|
|
102
|
+
color: #3E7BFA !important;
|
|
103
|
+
background-color: #EBF1FE !important;
|
|
104
|
+
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
& .theme-dark .is-active>.el-submenu__title {
|
|
108
|
+
color: #3E7BFA !important;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
& .nest-menu .el-submenu>.el-submenu__title,
|
|
112
|
+
& .el-submenu .el-menu-item {
|
|
113
|
+
min-width: $base-sidebar-width !important;
|
|
114
|
+
|
|
115
|
+
&:hover {
|
|
116
|
+
background-color: #EBF1FE !important;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
& .theme-dark .nest-menu .el-submenu>.el-submenu__title,
|
|
121
|
+
& .theme-dark .el-submenu .el-menu-item {
|
|
122
|
+
|
|
123
|
+
& .is-active {
|
|
124
|
+
background-color: #EBF1FE !important;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&:hover {
|
|
128
|
+
background-color: #EBF1FE !important;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.hideSidebar {
|
|
134
|
+
.sidebar-container {
|
|
135
|
+
width: 84px !important;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.main-container {
|
|
139
|
+
margin-left: 84px;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.submenu-title-noDropdown {
|
|
143
|
+
padding: 0 !important;
|
|
144
|
+
position: relative;
|
|
145
|
+
|
|
146
|
+
.el-tooltip {
|
|
147
|
+
padding: 0 !important;
|
|
148
|
+
|
|
149
|
+
.svg-icon {
|
|
150
|
+
margin-left: 20px;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.el-submenu {
|
|
156
|
+
overflow: hidden;
|
|
157
|
+
|
|
158
|
+
&>.el-submenu__title {
|
|
159
|
+
padding: 0 !important;
|
|
160
|
+
|
|
161
|
+
.svg-icon {
|
|
162
|
+
margin-left: 20px;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.el-menu--collapse {
|
|
169
|
+
.el-submenu {
|
|
170
|
+
&>.el-submenu__title {
|
|
171
|
+
&>span {
|
|
172
|
+
height: 0;
|
|
173
|
+
width: 0;
|
|
174
|
+
overflow: hidden;
|
|
175
|
+
visibility: hidden;
|
|
176
|
+
display: inline-block;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.el-menu--collapse .el-menu .el-submenu {
|
|
184
|
+
min-width: $base-sidebar-width !important;
|
|
185
|
+
}
|
|
186
|
+
// mobile responsive
|
|
187
|
+
.mobile {
|
|
188
|
+
.main-container {
|
|
189
|
+
margin-left: 0px;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.sidebar-container {
|
|
193
|
+
transition: transform .28s;
|
|
194
|
+
width: $base-sidebar-width !important;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
&.hideSidebar {
|
|
198
|
+
.sidebar-container {
|
|
199
|
+
pointer-events: none;
|
|
200
|
+
transition-duration: 0.3s;
|
|
201
|
+
transform: translate3d(-$base-sidebar-width, 0, 0);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.withoutAnimation {
|
|
207
|
+
|
|
208
|
+
.main-container,
|
|
209
|
+
.sidebar-container {
|
|
210
|
+
transition: none;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
// when menu collapsed
|
|
216
|
+
.el-menu--vertical {
|
|
217
|
+
&>.el-menu {
|
|
218
|
+
.svg-icon {
|
|
219
|
+
margin-right: 16px;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.nest-menu .el-submenu>.el-submenu__title,
|
|
224
|
+
.el-menu-item {
|
|
225
|
+
&:hover {
|
|
226
|
+
// you can use $subMenuHover
|
|
227
|
+
background-color: rgba(0, 0, 0, 0.06) !important;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
// the scroll bar appears when the subMenu is too long
|
|
232
|
+
>.el-menu--popup {
|
|
233
|
+
max-height: 100vh;
|
|
234
|
+
overflow-y: auto;
|
|
235
|
+
|
|
236
|
+
&::-webkit-scrollbar-track-piece {
|
|
237
|
+
background: #d3dce6;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
&::-webkit-scrollbar {
|
|
241
|
+
width: 6px;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
&::-webkit-scrollbar-thumb {
|
|
245
|
+
background: #99a9bf;
|
|
246
|
+
border-radius: 20px;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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-leave-active {
|
|
22
|
+
position: absolute;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.fade-transform-enter {
|
|
26
|
+
opacity: 0;
|
|
27
|
+
transform: translateX(-30px);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.fade-transform-leave-to {
|
|
31
|
+
opacity: 0;
|
|
32
|
+
transform: translateX(30px);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* breadcrumb transition */
|
|
36
|
+
.breadcrumb-enter-active,
|
|
37
|
+
.breadcrumb-leave-active {
|
|
38
|
+
transition: all .5s;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.breadcrumb-enter,
|
|
42
|
+
.breadcrumb-leave-active {
|
|
43
|
+
opacity: 0;
|
|
44
|
+
transform: translateX(20px);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.breadcrumb-move {
|
|
48
|
+
transition: all .5s;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.breadcrumb-leave-active {
|
|
52
|
+
position: absolute;
|
|
53
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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: #bfcbd9;
|
|
13
|
+
$base-menu-color-active: #f4f4f5;
|
|
14
|
+
$base-menu-background: #304156;
|
|
15
|
+
$base-logo-title-color: #ffffff;
|
|
16
|
+
|
|
17
|
+
$base-menu-light-color: rgba(0, 0, 0, .70);
|
|
18
|
+
$base-menu-light-background: #ffffff;
|
|
19
|
+
$base-logo-light-title-color: #001529;
|
|
20
|
+
|
|
21
|
+
$base-sub-menu-background: #1f2d3d;
|
|
22
|
+
$base-sub-menu-hover: #001528;
|
|
23
|
+
|
|
24
|
+
// 自定义暗色菜单风格
|
|
25
|
+
/**
|
|
26
|
+
$base-menu-color:hsla(0,0%,100%,.65);
|
|
27
|
+
$base-menu-color-active:#fff;
|
|
28
|
+
$base-menu-background:#001529;
|
|
29
|
+
$base-logo-title-color: #ffffff;
|
|
30
|
+
|
|
31
|
+
$base-menu-light-color:rgba(0,0,0,.70);
|
|
32
|
+
$base-menu-light-background:#ffffff;
|
|
33
|
+
$base-logo-light-title-color: #001529;
|
|
34
|
+
|
|
35
|
+
$base-sub-menu-background:#000c17;
|
|
36
|
+
$base-sub-menu-hover:#001528;
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
$base-sidebar-width: 200px;
|
|
40
|
+
|
|
41
|
+
// the :export directive is the magic sauce for webpack
|
|
42
|
+
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
|
|
43
|
+
:export {
|
|
44
|
+
menuColor: $base-menu-color;
|
|
45
|
+
menuLightColor: $base-menu-light-color;
|
|
46
|
+
menuColorActive: $base-menu-color-active;
|
|
47
|
+
menuBackground: $base-menu-background;
|
|
48
|
+
menuLightBackground: $base-menu-light-background;
|
|
49
|
+
subMenuBackground: $base-sub-menu-background;
|
|
50
|
+
subMenuHover: $base-sub-menu-hover;
|
|
51
|
+
sideBarWidth: $base-sidebar-width;
|
|
52
|
+
logoTitleColor: $base-logo-title-color;
|
|
53
|
+
logoLightTitleColor: $base-logo-light-title-color
|
|
54
|
+
}
|