cloud-web-corejs 1.1.0-dev.29 → 1.1.0-dev.31
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 +11 -4
- package/src/app-bootstrap.js +523 -0
- package/src/boot-assets.legacy.js +7 -0
- package/src/boot-assets.next.js +7 -0
- package/src/components/xform/form-designer/designer.js +52 -6
- package/src/components/xform/form-designer/form-widget/field-widget/row-col-select-widget.vue +64 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-temp-edito.vue +13 -1
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +2 -0
- package/src/core-resources/css/h5.scss +548 -0
- package/src/core-resources/css/iconfont.css +1447 -0
- package/src/core-resources/font/iconfont.ttf +0 -0
- package/src/core-resources/font/iconfont.woff +0 -0
- package/src/core-resources/font/iconfont.woff2 +0 -0
- package/src/core-resources/images/default-header.png +0 -0
- package/src/core-resources/images/ico-default_wenjian.svg +1 -0
- package/src/core-resources/images/ico-excel.svg +1 -0
- package/src/core-resources/images/ico-ftl.svg +7 -0
- package/src/core-resources/images/ico-html.svg +1 -0
- package/src/core-resources/images/ico-java.svg +1 -0
- package/src/core-resources/images/ico-music.svg +1 -0
- package/src/core-resources/images/ico-pdf.svg +1 -0
- package/src/core-resources/images/ico-photo.svg +1 -0
- package/src/core-resources/images/ico-ppt.svg +1 -0
- package/src/core-resources/images/ico-psd.svg +1 -0
- package/src/core-resources/images/ico-service.png +0 -0
- package/src/core-resources/images/ico-txt.svg +1 -0
- package/src/core-resources/images/ico-video.svg +1 -0
- package/src/core-resources/images/ico-vue.svg +8 -0
- package/src/core-resources/images/ico-wenjianjia.svg +1 -0
- package/src/core-resources/images/ico-wrod.svg +1 -0
- package/src/core-resources/images/ico-xml.svg +1 -0
- package/src/core-resources/images/ico-yasuobao.svg +1 -0
- package/src/core-resources/images/icon-error.png +0 -0
- package/src/core-resources/images/icon-tips.png +0 -0
- package/src/core-resources/images/nodata.png +0 -0
- package/src/core-resources/images/nodata2.png +0 -0
- package/src/core-resources/js/base/common.js +110 -0
- package/src/icons/index.js +9 -0
- package/src/icons/svg/404.svg +1 -0
- package/src/icons/svg/alert.svg +1 -0
- package/src/icons/svg/bug.svg +1 -0
- package/src/icons/svg/button.svg +1 -0
- package/src/icons/svg/card.svg +1 -0
- package/src/icons/svg/cascader-field.svg +1 -0
- package/src/icons/svg/census.svg +1 -0
- package/src/icons/svg/chart.svg +1 -0
- package/src/icons/svg/checkbox-field.svg +1 -0
- package/src/icons/svg/clipboard.svg +1 -0
- package/src/icons/svg/color-field.svg +1 -0
- package/src/icons/svg/component.svg +1 -0
- package/src/icons/svg/custom-component.svg +1 -0
- package/src/icons/svg/dashboard.svg +1 -0
- package/src/icons/svg/data-table.svg +1 -0
- package/src/icons/svg/date-field.svg +1 -0
- package/src/icons/svg/date-range-field.svg +1 -0
- package/src/icons/svg/descriptions.svg +1 -0
- package/src/icons/svg/divider.svg +1 -0
- package/src/icons/svg/document.svg +1 -0
- package/src/icons/svg/documentation.svg +1 -0
- package/src/icons/svg/drag.svg +1 -0
- package/src/icons/svg/echart-category.svg +1 -0
- package/src/icons/svg/echart-pie.svg +1 -0
- package/src/icons/svg/echart.svg +1 -0
- package/src/icons/svg/edit.svg +1 -0
- package/src/icons/svg/education.svg +1 -0
- package/src/icons/svg/email.svg +1 -0
- package/src/icons/svg/example.svg +1 -0
- package/src/icons/svg/excel.svg +1 -0
- package/src/icons/svg/exit-fullscreen.svg +1 -0
- package/src/icons/svg/eye-open.svg +1 -0
- package/src/icons/svg/eye.svg +1 -0
- package/src/icons/svg/file-upload-field.svg +1 -0
- package/src/icons/svg/form.svg +1 -0
- package/src/icons/svg/fullscreen.svg +1 -0
- package/src/icons/svg/github.svg +1 -0
- package/src/icons/svg/grid.svg +1 -0
- package/src/icons/svg/guide.svg +1 -0
- package/src/icons/svg/html-text.svg +1 -0
- package/src/icons/svg/ico-more.svg +1 -0
- package/src/icons/svg/ico-wenjianjia.svg +1 -0
- package/src/icons/svg/icon.svg +1 -0
- package/src/icons/svg/input-batch.svg +1 -0
- package/src/icons/svg/international.svg +1 -0
- package/src/icons/svg/language.svg +1 -0
- package/src/icons/svg/link.svg +1 -0
- package/src/icons/svg/list-export.svg +1 -0
- package/src/icons/svg/list.svg +1 -0
- package/src/icons/svg/lock.svg +1 -0
- package/src/icons/svg/message.svg +1 -0
- package/src/icons/svg/money.svg +1 -0
- package/src/icons/svg/nested.svg +1 -0
- package/src/icons/svg/news-list.svg +1 -0
- package/src/icons/svg/node-tree.svg +1 -0
- package/src/icons/svg/number-field.svg +1 -0
- package/src/icons/svg/password.svg +1 -0
- package/src/icons/svg/pdf.svg +1 -0
- package/src/icons/svg/people.svg +1 -0
- package/src/icons/svg/peoples.svg +1 -0
- package/src/icons/svg/picture-upload-field.svg +1 -0
- package/src/icons/svg/qq.svg +1 -0
- package/src/icons/svg/query.svg +1 -0
- package/src/icons/svg/radio-field.svg +1 -0
- package/src/icons/svg/rate-field.svg +1 -0
- package/src/icons/svg/redo.svg +1 -0
- package/src/icons/svg/rich-editor-field.svg +1 -0
- package/src/icons/svg/search.svg +1 -0
- package/src/icons/svg/searchbox.svg +1 -0
- package/src/icons/svg/section.svg +1 -0
- package/src/icons/svg/select-field.svg +1 -0
- package/src/icons/svg/shopping.svg +1 -0
- package/src/icons/svg/size.svg +1 -0
- package/src/icons/svg/skill.svg +1 -0
- package/src/icons/svg/slider-field.svg +1 -0
- package/src/icons/svg/slot-component.svg +1 -0
- package/src/icons/svg/slot-field.svg +1 -0
- package/src/icons/svg/star.svg +1 -0
- package/src/icons/svg/static-text.svg +1 -0
- package/src/icons/svg/status.svg +1 -0
- package/src/icons/svg/sub-form.svg +1 -0
- package/src/icons/svg/switch-field.svg +1 -0
- package/src/icons/svg/tab.svg +1 -0
- package/src/icons/svg/table.svg +1 -0
- package/src/icons/svg/text-field.svg +1 -0
- package/src/icons/svg/text.svg +1 -0
- package/src/icons/svg/textarea-field.svg +1 -0
- package/src/icons/svg/theme.svg +1 -0
- package/src/icons/svg/time-field.svg +1 -0
- package/src/icons/svg/time-range-field.svg +1 -0
- package/src/icons/svg/tips-text.svg +1 -0
- package/src/icons/svg/title-head.svg +1 -0
- package/src/icons/svg/tree-pane.svg +1 -0
- package/src/icons/svg/tree-table.svg +1 -0
- package/src/icons/svg/tree.svg +1 -0
- package/src/icons/svg/undo.svg +1 -0
- package/src/icons/svg/uploadbox.svg +1 -0
- package/src/icons/svg/user.svg +1 -0
- package/src/icons/svg/vf-box.svg +1 -0
- package/src/icons/svg/vf-dialog.svg +1 -0
- package/src/icons/svg/vf-drawer.svg +1 -0
- package/src/icons/svg/vue-sfc.svg +1 -0
- package/src/icons/svg/wechat.svg +1 -0
- package/src/icons/svg/zip.svg +1 -0
- package/src/index.next.js +5 -0
- package/src/styles/btn.scss +104 -0
- package/src/styles/element-ui.scss +155 -0
- package/src/styles/element-variables.scss +31 -0
- package/src/styles/global.scss +115 -0
- package/src/styles/index.scss +200 -0
- package/src/styles/menu-icons.scss +75 -0
- package/src/styles/mixin.scss +72 -0
- package/src/styles/nprogress.scss +14 -0
- package/src/styles/sidebar.scss +281 -0
- package/src/styles/split-handle.scss +52 -0
- package/src/styles/theme-variables.scss +7 -0
- package/src/styles/transition.scss +48 -0
- package/src/styles/utilities.scss +137 -0
- package/src/styles/variables.scss +44 -0
- package/src/views/demo/bizTab/bill/billConfig.js +0 -41
- package/src/views/demo/bizTab/bill/detail.vue +0 -436
- package/src/views/demo/bizTab/bill/list.vue +0 -288
- package/src/views/demo/bizTab/bill/productDialog.vue +0 -176
- package/src/views/demo/bizTab/simple/billApi.js +0 -123
- package/src/views/demo/bizTab/simple/detail.vue +0 -407
- package/src/views/demo/bizTab/simple/list.vue +0 -217
- package/src/views/demo/bizTab/standalone/index.vue +0 -121
- package/src/views/demo/bizTab/wf/billConfig.js +0 -44
- package/src/views/demo/bizTab/wf/detail.vue +0 -661
- package/src/views/demo/bizTab/wf/list.vue +0 -242
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
// cover some element-ui styles
|
|
2
|
+
|
|
3
|
+
.el-breadcrumb__inner,
|
|
4
|
+
.el-breadcrumb__inner a {
|
|
5
|
+
font-weight: 400 !important;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.el-upload {
|
|
9
|
+
input[type="file"] {
|
|
10
|
+
display: none !important;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.el-upload__input {
|
|
15
|
+
display: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.cell {
|
|
19
|
+
.el-tag {
|
|
20
|
+
margin-right: 0px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.small-padding {
|
|
25
|
+
.cell {
|
|
26
|
+
padding-left: 5px;
|
|
27
|
+
padding-right: 5px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.fixed-width {
|
|
32
|
+
.el-button--mini {
|
|
33
|
+
padding: 7px 10px;
|
|
34
|
+
min-width: 60px;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.status-col {
|
|
39
|
+
.cell {
|
|
40
|
+
padding: 0 10px;
|
|
41
|
+
text-align: center;
|
|
42
|
+
|
|
43
|
+
.el-tag {
|
|
44
|
+
margin-right: 0px;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// to fixed https://github.com/ElemeFE/element/issues/2461
|
|
50
|
+
.el-dialog {
|
|
51
|
+
transform: none;
|
|
52
|
+
left: 0;
|
|
53
|
+
position: relative;
|
|
54
|
+
margin: 0 auto;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// refine element ui upload
|
|
58
|
+
.upload-container {
|
|
59
|
+
.el-upload {
|
|
60
|
+
width: 100%;
|
|
61
|
+
|
|
62
|
+
.el-upload-dragger {
|
|
63
|
+
width: 100%;
|
|
64
|
+
height: 200px;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// dropdown
|
|
70
|
+
.el-dropdown-menu {
|
|
71
|
+
a {
|
|
72
|
+
display: block
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// fix date-picker ui bug in filter-item
|
|
77
|
+
.el-range-editor.el-input__inner {
|
|
78
|
+
display: inline-flex !important;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// to fix el-date-picker css style
|
|
82
|
+
.el-range-separator {
|
|
83
|
+
box-sizing: content-box;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
//xk
|
|
87
|
+
form.el-form.disabled {
|
|
88
|
+
i.el-icon-delete, i.el-icon-search {
|
|
89
|
+
display: none;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
form.el-form {
|
|
93
|
+
i.el-icon-delete, i.el-icon-search {
|
|
94
|
+
display: block;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
form.el-form.disabled {
|
|
99
|
+
i.el-icon-delete, i.el-icon-search {
|
|
100
|
+
display: none;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.el-link {
|
|
106
|
+
font-size: $fontSizeBase;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.el-input--small .el-input__inner {
|
|
110
|
+
height: 30px;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.el-dialog__wrapper {
|
|
114
|
+
overflow: hidden !important;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.el-button--primary.is-plain {
|
|
118
|
+
background: #fff !important;
|
|
119
|
+
color: $baseColor !important;
|
|
120
|
+
&:hover,
|
|
121
|
+
&:focus {
|
|
122
|
+
color: $baseColor;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.el-tag--medium {
|
|
127
|
+
margin: 3px 10px 3px 0 !important;
|
|
128
|
+
+ .el-tag {
|
|
129
|
+
margin: 3px 10px 3px 0 !important;
|
|
130
|
+
}
|
|
131
|
+
+ .el-button {
|
|
132
|
+
margin-left: 0 !important;
|
|
133
|
+
}
|
|
134
|
+
> span {
|
|
135
|
+
overflow: hidden;
|
|
136
|
+
text-overflow: ellipsis;
|
|
137
|
+
white-space: nowrap;
|
|
138
|
+
display: inline-block;
|
|
139
|
+
vertical-align: middle;
|
|
140
|
+
text-align: center;
|
|
141
|
+
}
|
|
142
|
+
> i {
|
|
143
|
+
vertical-align: middle;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.el-cascader__tags {
|
|
148
|
+
overflow: hidden;
|
|
149
|
+
display: inline-block;
|
|
150
|
+
white-space: nowrap;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.el-loading-parent--relative {
|
|
154
|
+
overflow: hidden;
|
|
155
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* I think element-ui's default theme color is too light for long-term use.
|
|
3
|
+
* So I modified the default color and you can modify it to your liking.
|
|
4
|
+
**/
|
|
5
|
+
|
|
6
|
+
/* theme color */
|
|
7
|
+
$--color-primary: #2a6494;
|
|
8
|
+
$--color-success: #30B08F;
|
|
9
|
+
$--color-warning: #e6a23c;
|
|
10
|
+
$--color-danger: #ea5353;
|
|
11
|
+
$--color-info: #94979d;
|
|
12
|
+
|
|
13
|
+
$--button-font-weight: 400;
|
|
14
|
+
|
|
15
|
+
// $--color-text-regular: #1f2d3d;
|
|
16
|
+
|
|
17
|
+
$--border-color-light: #dfe4ed;
|
|
18
|
+
$--border-color-lighter: #e6ebf5;
|
|
19
|
+
|
|
20
|
+
$--table-border: 1px solid #dfe6ec;
|
|
21
|
+
|
|
22
|
+
/* icon font path, required */
|
|
23
|
+
$--font-path: "~element-ui/lib/theme-chalk/fonts";
|
|
24
|
+
|
|
25
|
+
@import "~element-ui/packages/theme-chalk/src/index";
|
|
26
|
+
|
|
27
|
+
// the :export directive is the magic sauce for webpack
|
|
28
|
+
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass
|
|
29
|
+
:export {
|
|
30
|
+
theme: $--color-primary;
|
|
31
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
@import './theme-variables.scss';
|
|
2
|
+
|
|
3
|
+
/* 全局基础规则:仅由 styles/index.scss 引入一次。 */
|
|
4
|
+
|
|
5
|
+
.primary-color {
|
|
6
|
+
color: $--color-primary;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.background-opacity {
|
|
10
|
+
background: rgba(64, 158, 255, 0.6);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.form-widget-list {
|
|
14
|
+
|
|
15
|
+
.ghost{
|
|
16
|
+
content: '';
|
|
17
|
+
font-size: 0;
|
|
18
|
+
height: 3px;
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
background: $--color-primary;
|
|
21
|
+
border: 2px solid $--color-primary;
|
|
22
|
+
outline-width: 0;
|
|
23
|
+
padding: 0;
|
|
24
|
+
overflow: hidden;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.el-form-item--medium {
|
|
29
|
+
.el-radio {
|
|
30
|
+
line-height: 36px !important;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.el-rate{
|
|
34
|
+
margin-top: 8px;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.el-form-item--small {
|
|
39
|
+
.el-radio {
|
|
40
|
+
line-height: 32px !important;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.el-rate{
|
|
44
|
+
margin-top: 6px;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.el-form-item--mini {
|
|
49
|
+
.el-radio {
|
|
50
|
+
line-height: 28px !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.el-rate{
|
|
54
|
+
margin-top: 4px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.el-card {
|
|
59
|
+
margin-top: 3px;
|
|
60
|
+
margin-bottom: 3px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
input[type="password"]::-ms-reveal { /* 隐藏IE/Edge原生的密码查看按钮 */
|
|
64
|
+
display: none;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* 滚动条样式 begin */
|
|
68
|
+
::-webkit-scrollbar {
|
|
69
|
+
width: 8px;
|
|
70
|
+
height: 8px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
::-webkit-scrollbar-track {
|
|
74
|
+
width: 8px;
|
|
75
|
+
background: rgba(#101F1C, 0.1);
|
|
76
|
+
-webkit-border-radius: 2em;
|
|
77
|
+
-moz-border-radius: 2em;
|
|
78
|
+
border-radius: 2em;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
::-webkit-scrollbar-thumb {
|
|
82
|
+
background-color: rgba(#101F1C, 0.35);
|
|
83
|
+
background-clip: padding-box;
|
|
84
|
+
min-height: 28px;
|
|
85
|
+
-webkit-border-radius: 2em;
|
|
86
|
+
-moz-border-radius: 2em;
|
|
87
|
+
border-radius: 2em;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
::-webkit-scrollbar-thumb:hover {
|
|
91
|
+
background-color: rgba(#101F1C, 0.85);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
* {//Firefox浏览器滚动条样式
|
|
95
|
+
scrollbar-color: #e5e5e5 #f7f7f9; //滚动条轨道颜色、滚动条滑块的颜色
|
|
96
|
+
scrollbar-width: thin; //thin模式下滚动条两端的三角按钮会消失
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
/*
|
|
101
|
+
body {//IE浏览器滚动条样式
|
|
102
|
+
scrollbar-shadow-color: #e5e5e5;
|
|
103
|
+
scrollbar-face-color: #e5e5e5;
|
|
104
|
+
scrollbar-base-color: #ffffff;
|
|
105
|
+
scrollbar-arrow-color: #444040;
|
|
106
|
+
}
|
|
107
|
+
*/
|
|
108
|
+
|
|
109
|
+
/* 滚动条样式 end */
|
|
110
|
+
|
|
111
|
+
.label-tooltip-pre-line {
|
|
112
|
+
white-space: pre-line;
|
|
113
|
+
line-height: 1.4;
|
|
114
|
+
max-width: 320px;
|
|
115
|
+
}
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
@import './variables.scss';
|
|
2
|
+
@import './global.scss';
|
|
3
|
+
@import './utilities.scss';
|
|
4
|
+
@import './split-handle.scss';
|
|
5
|
+
@import './nprogress.scss';
|
|
6
|
+
@import './menu-icons.scss';
|
|
7
|
+
@import './mixin.scss';
|
|
8
|
+
@import './transition.scss';
|
|
9
|
+
@import './element-ui.scss';
|
|
10
|
+
@import './sidebar.scss';
|
|
11
|
+
@import './btn.scss';
|
|
12
|
+
// 功能性图标字体随 npm 包发布。
|
|
13
|
+
@import '~@base/core-resources/css/iconfont.css';
|
|
14
|
+
|
|
15
|
+
// 历史业务样式聚合文件属于 App 层,不随 npm 包发布。
|
|
16
|
+
// 消费应用继续从 @/resources/css/style.scss 引入。
|
|
17
|
+
body {
|
|
18
|
+
height: 100%;
|
|
19
|
+
-moz-osx-font-smoothing: grayscale;
|
|
20
|
+
-webkit-font-smoothing: antialiased;
|
|
21
|
+
text-rendering: optimizeLegibility;
|
|
22
|
+
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
label {
|
|
26
|
+
font-weight: 700;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
html {
|
|
30
|
+
height: 100%;
|
|
31
|
+
box-sizing: border-box;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
#app {
|
|
35
|
+
height: 100%;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
*,
|
|
39
|
+
*:before,
|
|
40
|
+
*:after {
|
|
41
|
+
box-sizing: inherit;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.no-padding {
|
|
45
|
+
padding: 0px !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.padding-content {
|
|
49
|
+
padding: 4px 0;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
a:focus,
|
|
53
|
+
a:active {
|
|
54
|
+
outline: none;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
a,
|
|
58
|
+
a:focus,
|
|
59
|
+
a:hover {
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
color: inherit;
|
|
62
|
+
text-decoration: none;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
div:focus {
|
|
66
|
+
outline: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.fr {
|
|
70
|
+
float: right;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.fl {
|
|
74
|
+
float: left;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.pr-5 {
|
|
78
|
+
padding-right: 5px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.pl-5 {
|
|
82
|
+
padding-left: 5px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.block {
|
|
86
|
+
display: block;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.pointer {
|
|
90
|
+
cursor: pointer;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.inlineBlock {
|
|
94
|
+
display: block;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.clearfix {
|
|
98
|
+
&:after {
|
|
99
|
+
visibility: hidden;
|
|
100
|
+
display: block;
|
|
101
|
+
font-size: 0;
|
|
102
|
+
content: " ";
|
|
103
|
+
clear: both;
|
|
104
|
+
height: 0;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
aside {
|
|
109
|
+
background: #eef1f6;
|
|
110
|
+
padding: 8px 24px;
|
|
111
|
+
margin-bottom: 20px;
|
|
112
|
+
border-radius: 2px;
|
|
113
|
+
display: block;
|
|
114
|
+
line-height: 32px;
|
|
115
|
+
font-size: 16px;
|
|
116
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
|
117
|
+
color: #2c3e50;
|
|
118
|
+
-webkit-font-smoothing: antialiased;
|
|
119
|
+
-moz-osx-font-smoothing: grayscale;
|
|
120
|
+
|
|
121
|
+
a {
|
|
122
|
+
color: #337ab7;
|
|
123
|
+
cursor: pointer;
|
|
124
|
+
|
|
125
|
+
&:hover {
|
|
126
|
+
color: rgb(32, 160, 255);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
//main-container全局样式
|
|
132
|
+
.app-container {
|
|
133
|
+
padding: 20px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.components-container {
|
|
137
|
+
margin: 30px 50px;
|
|
138
|
+
position: relative;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.pagination-container {
|
|
142
|
+
margin-top: 30px;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.text-center {
|
|
146
|
+
text-align: center
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.sub-navbar {
|
|
150
|
+
height: 50px;
|
|
151
|
+
line-height: 50px;
|
|
152
|
+
position: relative;
|
|
153
|
+
width: 100%;
|
|
154
|
+
text-align: right;
|
|
155
|
+
padding-right: 20px;
|
|
156
|
+
transition: 600ms ease position;
|
|
157
|
+
background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
|
|
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
|
+
|
|
193
|
+
//refine vue-multiselect plugin
|
|
194
|
+
.multiselect {
|
|
195
|
+
line-height: 16px;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.multiselect--active {
|
|
199
|
+
z-index: 1000 !important;
|
|
200
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// Menu icon picker styles extracted from the app stylesheet.
|
|
2
|
+
@import "./variables.scss";
|
|
3
|
+
.icon-style1 {
|
|
4
|
+
position: absolute;
|
|
5
|
+
right: 10px;
|
|
6
|
+
margin-top: 20px;
|
|
7
|
+
.tips-icon {
|
|
8
|
+
font-size: 42px !important;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.icons-box {
|
|
13
|
+
max-height: 400px;
|
|
14
|
+
overflow: auto;
|
|
15
|
+
.item {
|
|
16
|
+
display: inline-block;
|
|
17
|
+
border: solid 1px #dcdcdc;
|
|
18
|
+
width: 33px;
|
|
19
|
+
height: 33px;
|
|
20
|
+
font-size: 18px;
|
|
21
|
+
text-align: center;
|
|
22
|
+
margin: 5px 8px;
|
|
23
|
+
line-height: 31px;
|
|
24
|
+
border-radius: 4px;
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
&:hover,
|
|
27
|
+
&.on {
|
|
28
|
+
color: $baseColor;
|
|
29
|
+
border-color: $baseColor;
|
|
30
|
+
background: transparentize($baseColor, 0.8);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.icons-box_select {
|
|
36
|
+
border: 1px solid #e7e7e7;
|
|
37
|
+
background: #fff;
|
|
38
|
+
height: 24px;
|
|
39
|
+
line-height: 22px;
|
|
40
|
+
padding: 0 5px;
|
|
41
|
+
vertical-align: middle;
|
|
42
|
+
display: inline-block;
|
|
43
|
+
margin-bottom: 0;
|
|
44
|
+
border-radius: 2px;
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
width: 100%;
|
|
47
|
+
font-weight: 400;
|
|
48
|
+
position: relative;
|
|
49
|
+
i {
|
|
50
|
+
vertical-align: middle;
|
|
51
|
+
&.el-icon-arrow-down {
|
|
52
|
+
position: absolute;
|
|
53
|
+
right: 4px;
|
|
54
|
+
top: 50%;
|
|
55
|
+
margin-top: -12px;
|
|
56
|
+
line-height: 24px;
|
|
57
|
+
color: #c0c4cc;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.icon-box_del {
|
|
63
|
+
font-size: 16px;
|
|
64
|
+
vertical-align: middle;
|
|
65
|
+
color: #c0c4cc;
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
position: absolute;
|
|
68
|
+
right: 4px;
|
|
69
|
+
top: 50%;
|
|
70
|
+
margin-top: -12px;
|
|
71
|
+
line-height: 24px;
|
|
72
|
+
&:hover {
|
|
73
|
+
color: $baseColor;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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 ellipsis {
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
text-overflow: ellipsis;
|
|
33
|
+
white-space: nowrap;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@mixin pct($pct) {
|
|
37
|
+
width: #{$pct};
|
|
38
|
+
position: relative;
|
|
39
|
+
margin: 0 auto;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@mixin triangle($width, $height, $color, $direction) {
|
|
43
|
+
$width: $width/2;
|
|
44
|
+
$color-border-style: $height solid $color;
|
|
45
|
+
$transparent-border-style: $width solid transparent;
|
|
46
|
+
height: 0;
|
|
47
|
+
width: 0;
|
|
48
|
+
|
|
49
|
+
@if $direction==up {
|
|
50
|
+
border-bottom: $color-border-style;
|
|
51
|
+
border-left: $transparent-border-style;
|
|
52
|
+
border-right: $transparent-border-style;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@else if $direction==right {
|
|
56
|
+
border-left: $color-border-style;
|
|
57
|
+
border-top: $transparent-border-style;
|
|
58
|
+
border-bottom: $transparent-border-style;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@else if $direction==down {
|
|
62
|
+
border-top: $color-border-style;
|
|
63
|
+
border-left: $transparent-border-style;
|
|
64
|
+
border-right: $transparent-border-style;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@else if $direction==left {
|
|
68
|
+
border-right: $color-border-style;
|
|
69
|
+
border-top: $transparent-border-style;
|
|
70
|
+
border-bottom: $transparent-border-style;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Core NProgress overlay extracted from the app stylesheet.
|
|
2
|
+
#nprogress {
|
|
3
|
+
position: fixed;
|
|
4
|
+
top: 0;
|
|
5
|
+
left: 0;
|
|
6
|
+
right: 0;
|
|
7
|
+
bottom: 0;
|
|
8
|
+
z-index: 9999;
|
|
9
|
+
pointer-events: initial !important;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
#nprogress .bar {
|
|
13
|
+
height: 8px !important;
|
|
14
|
+
}
|