ocpview-plus 0.0.1
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/LICENSE +0 -0
- package/README.md +0 -0
- package/dist/efviewplus.min.esm.js +99954 -0
- package/dist/efviewplus.min.js +142 -0
- package/dist/locale/lang.js +1 -0
- package/dist/locale/zh-CN.js +1 -0
- package/dist/locale/zh-TW.js +1 -0
- package/dist/locale/zh-UG.js +1 -0
- package/dist/style.css +9 -0
- package/dist/styles/efviewplus.css +1 -0
- package/package.json +144 -0
- package/src/components/base/controlbase.vue +191 -0
- package/src/components/base/controlbox.vue +102 -0
- package/src/components/base/index.js +3 -0
- package/src/components/base/load.js +20 -0
- package/src/components/base/probase.js +220 -0
- package/src/components/base/size.js +78 -0
- package/src/components/billbox/billbox.vue +68 -0
- package/src/components/billbox/index.js +2 -0
- package/src/components/cascaderbox/cascaderbox.vue +184 -0
- package/src/components/cascaderbox/index.js +2 -0
- package/src/components/checkbox/checkbox.vue +76 -0
- package/src/components/checkbox/checkgroupbox.vue +104 -0
- package/src/components/checkbox/index.js +3 -0
- package/src/components/colorbox/colorbox.vue +44 -0
- package/src/components/colorbox/index.js +2 -0
- package/src/components/combobox/combobox.vue +220 -0
- package/src/components/combobox/index.js +2 -0
- package/src/components/conditionbox/conditionbase.vue +195 -0
- package/src/components/conditionbox/conditionbox.vue +63 -0
- package/src/components/conditionbox/conditionfilterbox.vue +477 -0
- package/src/components/conditionbox/conditionselectorbox.vue +237 -0
- package/src/components/conditionbox/index.js +5 -0
- package/src/components/conditionbox/queryconditionbox.vue +26 -0
- package/src/components/conditionbox/queryconditionboxbase.vue +124 -0
- package/src/components/conditionbox/searchconditionbox.vue +114 -0
- package/src/components/conditionbox/searchgrid.vue +391 -0
- package/src/components/datebox/datebox.vue +129 -0
- package/src/components/datebox/daterangebox.vue +155 -0
- package/src/components/datebox/index.js +3 -0
- package/src/components/form/baseform.vue +677 -0
- package/src/components/form/detailsbox.vue +487 -0
- package/src/components/form/formbox.vue +29 -0
- package/src/components/form/formcardbox.vue +268 -0
- package/src/components/form/formcardgroupbox.vue +252 -0
- package/src/components/form/formcompro.js +19 -0
- package/src/components/form/formdetail.vue +129 -0
- package/src/components/form/formdetailtwo.vue +302 -0
- package/src/components/form/index.js +8 -0
- package/src/components/form/toolanchor.js +46 -0
- package/src/components/form/workform.vue +168 -0
- package/src/components/grid/basegrid.vue +1061 -0
- package/src/components/grid/editgrid.vue +51 -0
- package/src/components/grid/editgridbase.vue +947 -0
- package/src/components/grid/editgridcard.vue +193 -0
- package/src/components/grid/expandrow.vue +137 -0
- package/src/components/grid/index.js +6 -0
- package/src/components/grid/viewgrid.vue +122 -0
- package/src/components/grid/viewgridbase.vue +1284 -0
- package/src/components/icon/common-icon.vue +53 -0
- package/src/components/icon/eicon.vue +29 -0
- package/src/components/icon/icons.vue +42 -0
- package/src/components/icon/index.js +2 -0
- package/src/components/label/index.js +3 -0
- package/src/components/label/showtext.vue +95 -0
- package/src/components/load/loadcartoon.vue +228 -0
- package/src/components/map/index.js +2 -0
- package/src/components/map/mapbox.vue +348 -0
- package/src/components/masterplate/appendix.vue +586 -0
- package/src/components/masterplate/approval.vue +803 -0
- package/src/components/masterplate/base.vue +985 -0
- package/src/components/masterplate/billasyncimport.vue +614 -0
- package/src/components/masterplate/billconditionbox.vue +224 -0
- package/src/components/masterplate/billconditionsbox.vue +427 -0
- package/src/components/masterplate/billdetailform.vue +990 -0
- package/src/components/masterplate/billimport.vue +263 -0
- package/src/components/masterplate/billquerygrid.vue +316 -0
- package/src/components/masterplate/billsinglegrid.vue +234 -0
- package/src/components/masterplate/birtreport.vue +185 -0
- package/src/components/masterplate/detailbtntoolbar.vue +311 -0
- package/src/components/masterplate/detailsbox.vue +386 -0
- package/src/components/masterplate/editgridcard.vue +222 -0
- package/src/components/masterplate/editgridcard2.vue +109 -0
- package/src/components/masterplate/formcard.vue +106 -0
- package/src/components/masterplate/formcardgroupbox.vue +168 -0
- package/src/components/masterplate/formdetailtwo.vue +356 -0
- package/src/components/masterplate/gridcolset.vue +227 -0
- package/src/components/masterplate/index.js +23 -0
- package/src/components/masterplate/layouttemplate.vue +33 -0
- package/src/components/masterplate/leftlistrightdetails.vue +474 -0
- package/src/components/masterplate/leftlistrightlist.vue +465 -0
- package/src/components/masterplate/lefttreerightdetails.vue +619 -0
- package/src/components/masterplate/levelreport.vue +510 -0
- package/src/components/masterplate/listbtntoolbar.vue +257 -0
- package/src/components/masterplate/listdetails.vue +769 -0
- package/src/components/masterplate/operlog.vue +272 -0
- package/src/components/masterplate/options.vue +110 -0
- package/src/components/masterplate/page.vue +102 -0
- package/src/components/masterplate/promptmessage.vue +74 -0
- package/src/components/masterplate/querybar.vue +490 -0
- package/src/components/masterplate/report.vue +357 -0
- package/src/components/masterplate/rowbtntoolbar.vue +126 -0
- package/src/components/masterplate/simpletree.vue +129 -0
- package/src/components/masterplate/simpleviewgrid.vue +144 -0
- package/src/components/mychart/bar/bar.vue +202 -0
- package/src/components/mychart/basechart.vue +190 -0
- package/src/components/mychart/complexmychart/barline.vue +154 -0
- package/src/components/mychart/gauge/gauge.vue +83 -0
- package/src/components/mychart/index.js +9 -0
- package/src/components/mychart/line/line.vue +202 -0
- package/src/components/mychart/liquidfill/liquidfill.vue +109 -0
- package/src/components/mychart/pie/pie.vue +96 -0
- package/src/components/mychart/radar/radar.vue +122 -0
- package/src/components/mychart/scatter/scatter.vue +76 -0
- package/src/components/numberbox/append.js +11 -0
- package/src/components/numberbox/index.js +3 -0
- package/src/components/numberbox/numberbox.vue +303 -0
- package/src/components/numberbox/numberrangebox.vue +423 -0
- package/src/components/picturebox/filebox.vue +365 -0
- package/src/components/picturebox/index.js +3 -0
- package/src/components/picturebox/picturebox.vue +541 -0
- package/src/components/picturebox/uploadbox.vue +164 -0
- package/src/components/poptagbox/index.js +2 -0
- package/src/components/poptagbox/poptagbox.vue +389 -0
- package/src/components/poptextbox/index.js +2 -0
- package/src/components/poptextbox/poptextbox.vue +601 -0
- package/src/components/radiobox/index.js +2 -0
- package/src/components/radiobox/radiogroupbox.vue +76 -0
- package/src/components/richtextbox/editor.vue +150 -0
- package/src/components/richtextbox/index.js +2 -0
- package/src/components/richtextbox/richtextbox.vue +448 -0
- package/src/components/textbox/index.js +2 -0
- package/src/components/textbox/textbox.vue +98 -0
- package/src/components/timebox/index.js +2 -0
- package/src/components/timebox/timebox.vue +76 -0
- package/src/components/toolbar/ebutton.vue +169 -0
- package/src/components/toolbar/index.js +3 -0
- package/src/components/toolbar/toolbar.vue +446 -0
- package/src/components/tree/basetree.vue +725 -0
- package/src/components/tree/index.js +3 -0
- package/src/components/tree/treedata.vue +51 -0
- package/src/components/tree/treedatabase.vue +189 -0
- package/src/components/upload/billimport.vue +233 -0
- package/src/components/upload/index.js +2 -0
- package/src/components/videobox/index.js +2 -0
- package/src/components/videobox/uploadbox.vue +148 -0
- package/src/components/videobox/videobox.vue +503 -0
- package/src/components/wrichtextbox/editor.vue +219 -0
- package/src/components/wrichtextbox/index.js +2 -0
- package/src/components/wrichtextbox/wrichtextbox.vue +63 -0
- package/src/index.js +215 -0
- package/src/locale/format.js +51 -0
- package/src/locale/index.js +63 -0
- package/src/locale/lang/zh-CN.js +123 -0
- package/src/locale/lang/zh-TW.js +114 -0
- package/src/locale/lang/zh-UG.js +115 -0
- package/src/locale/lang.js +15 -0
- package/src/method/case/case.js +1180 -0
- package/src/method/config/queryconfig.js +24 -0
- package/src/method/const/const.js +815 -0
- package/src/method/index.js +8 -0
- package/src/static/excel/exportexcel.js +627 -0
- package/src/static/iview/coustom.js +463 -0
- package/src/store/index.js +19 -0
- package/src/store/modules/app.js +53 -0
- package/src/styles/README.md +3 -0
- package/src/styles/common.less +75 -0
- package/src/styles/components/anchor.less +74 -0
- package/src/styles/components/approval.less +136 -0
- package/src/styles/components/button.less +208 -0
- package/src/styles/components/card.less +51 -0
- package/src/styles/components/content.less +38 -0
- package/src/styles/components/font.less +314 -0
- package/src/styles/components/form.less +72 -0
- package/src/styles/components/iconfont/fonts/iconfont.less +1376 -0
- package/src/styles/components/iconfont/fonts/iconfont.svg +699 -0
- package/src/styles/components/iconfont/fonts/iconfont.ttf +0 -0
- package/src/styles/components/iconfont/fonts/iconfont.woff +0 -0
- package/src/styles/components/iconfont/fonts/iconfont.woff2 +0 -0
- package/src/styles/components/index.less +16 -0
- package/src/styles/components/input.less +290 -0
- package/src/styles/components/modal.less +203 -0
- package/src/styles/components/page.less +340 -0
- package/src/styles/components/select.less +361 -0
- package/src/styles/components/steps.less +367 -0
- package/src/styles/components/table.less +544 -0
- package/src/styles/components/tabs.less +249 -0
- package/src/styles/components/upload.less +83 -0
- package/src/styles/custom.less +67 -0
- package/src/styles/index.less +6 -0
- package/src/styles/pack.less +6 -0
- package/src/utils/EfuMessenger.js +155 -0
- package/src/utils/assist.js +353 -0
- package/src/utils/index.js +1 -0
- package/src/utils/random_str.js +10 -0
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
.efutureapproval {
|
|
2
|
+
.ivu-drawer-header{
|
|
3
|
+
padding-left: 34px;
|
|
4
|
+
background-color:@input-disabled-bg !important;
|
|
5
|
+
.ivu-drawer-header-inner{
|
|
6
|
+
font-size: 18px;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
.ivu-drawer-body{
|
|
10
|
+
padding: 0 34px;
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
}
|
|
14
|
+
.drawer-box{
|
|
15
|
+
flex:1;
|
|
16
|
+
overflow-y: auto;
|
|
17
|
+
}
|
|
18
|
+
.work-head{
|
|
19
|
+
display: flex;
|
|
20
|
+
justify-content: space-between;
|
|
21
|
+
align-items: center;
|
|
22
|
+
padding: 20px 0;
|
|
23
|
+
}
|
|
24
|
+
.title{
|
|
25
|
+
border-bottom: 1px solid @boder-color;
|
|
26
|
+
padding-bottom:16px;
|
|
27
|
+
.text{
|
|
28
|
+
font-size:16px;
|
|
29
|
+
padding-left: 10px;
|
|
30
|
+
border-left: 4px solid @primary-color;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
.content{
|
|
34
|
+
padding:15px 0 60px;
|
|
35
|
+
// flex:1;
|
|
36
|
+
// overflow-y: auto;
|
|
37
|
+
.log-list{
|
|
38
|
+
display: flex;
|
|
39
|
+
position: relative;
|
|
40
|
+
.line-wrap{
|
|
41
|
+
position: absolute;
|
|
42
|
+
left: 21px;
|
|
43
|
+
width: 1px;
|
|
44
|
+
height: 100%;
|
|
45
|
+
padding-top: 42px;
|
|
46
|
+
}
|
|
47
|
+
.left, .user{
|
|
48
|
+
width:42px;
|
|
49
|
+
height:42px;
|
|
50
|
+
color:#fff;
|
|
51
|
+
line-height: 42px;
|
|
52
|
+
text-align: center;
|
|
53
|
+
margin-right:18px;
|
|
54
|
+
border-radius: 50%;
|
|
55
|
+
background-color: @primary-color;
|
|
56
|
+
position: relative;
|
|
57
|
+
.icon-wrap{
|
|
58
|
+
position: absolute;
|
|
59
|
+
right:-2px;
|
|
60
|
+
bottom:-2px;
|
|
61
|
+
width:16px;
|
|
62
|
+
height: 16px;
|
|
63
|
+
display: flex;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
align-items: center;
|
|
66
|
+
background-color: #fff;
|
|
67
|
+
border-radius: 50%;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
.right{
|
|
71
|
+
flex:1;
|
|
72
|
+
.top{
|
|
73
|
+
display: flex;
|
|
74
|
+
justify-content: space-between;
|
|
75
|
+
margin: 10px 0 14px;
|
|
76
|
+
.status{
|
|
77
|
+
position: relative;
|
|
78
|
+
color:@text-grey;
|
|
79
|
+
padding-left: 14px;
|
|
80
|
+
&::before{
|
|
81
|
+
position: absolute;
|
|
82
|
+
left: 0;
|
|
83
|
+
top:50%;
|
|
84
|
+
width:4px;
|
|
85
|
+
height:4px;
|
|
86
|
+
content: '';
|
|
87
|
+
border-radius: 50%;
|
|
88
|
+
background-color: @text-grey;
|
|
89
|
+
transform: translateY(-50%);
|
|
90
|
+
&.sucess{
|
|
91
|
+
color:@success-color;
|
|
92
|
+
}
|
|
93
|
+
&.wranging{
|
|
94
|
+
color:@warning-color;
|
|
95
|
+
}
|
|
96
|
+
&.err{
|
|
97
|
+
color:@primary-color;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
.desc{
|
|
103
|
+
margin-top:12px;
|
|
104
|
+
padding-bottom: 40px;
|
|
105
|
+
}
|
|
106
|
+
.card{
|
|
107
|
+
border-radius: 4px;
|
|
108
|
+
background-color: @input-disabled-bg;
|
|
109
|
+
padding: 0 20px;
|
|
110
|
+
.title{
|
|
111
|
+
height: 38px;
|
|
112
|
+
line-height: 38px;
|
|
113
|
+
border-bottom: 1px solid @boder-color;;
|
|
114
|
+
}
|
|
115
|
+
.main{
|
|
116
|
+
padding: 14px 0;
|
|
117
|
+
display: flex;
|
|
118
|
+
.user-list{
|
|
119
|
+
text-align: center;
|
|
120
|
+
.user{
|
|
121
|
+
margin-bottom: 12px;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
.footer{
|
|
130
|
+
padding-top: 10px;
|
|
131
|
+
border-top: 1px solid @boder-color;
|
|
132
|
+
}
|
|
133
|
+
.btnbar{
|
|
134
|
+
padding:30px 0;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
@btn-prefix-cls: ~"@{css-prefix}btn";
|
|
2
|
+
|
|
3
|
+
.@{btn-prefix-cls} {
|
|
4
|
+
.btn;
|
|
5
|
+
.btn-default;
|
|
6
|
+
&-long{
|
|
7
|
+
width: 100%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
& > .ivu-icon + span, & > span + .ivu-icon{
|
|
11
|
+
margin-left: 4px;
|
|
12
|
+
vertical-align:middle;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.ivu-icon{
|
|
16
|
+
font-size: @btn-icon-size;
|
|
17
|
+
vertical-align:middle;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
&-primary {
|
|
22
|
+
.btn-primary;
|
|
23
|
+
|
|
24
|
+
.@{btn-prefix-cls}-group:not(.@{btn-prefix-cls}-group-vertical) &:not(:first-child):not(:last-child) {
|
|
25
|
+
border-right-color: @btn-group-border;
|
|
26
|
+
border-left-color: @btn-group-border;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.@{btn-prefix-cls}-group:not(.@{btn-prefix-cls}-group-vertical) &:first-child {
|
|
30
|
+
&:not(:last-child) {
|
|
31
|
+
border-right-color: @btn-group-border;
|
|
32
|
+
&[disabled] {
|
|
33
|
+
border-right-color: @btn-default-border;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.@{btn-prefix-cls}-group:not(.@{btn-prefix-cls}-group-vertical) &:last-child:not(:first-child),
|
|
39
|
+
.@{btn-prefix-cls}-group:not(.@{btn-prefix-cls}-group-vertical) & + .@{btn-prefix-cls} {
|
|
40
|
+
border-left-color: @btn-group-border;
|
|
41
|
+
&[disabled] {
|
|
42
|
+
border-left-color: @btn-default-border;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.@{btn-prefix-cls}-group-vertical &:not(:first-child):not(:last-child) {
|
|
47
|
+
border-top-color: @btn-group-border;
|
|
48
|
+
border-bottom-color: @btn-group-border;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.@{btn-prefix-cls}-group-vertical &:first-child {
|
|
52
|
+
&:not(:last-child) {
|
|
53
|
+
border-bottom-color: @btn-group-border;
|
|
54
|
+
&[disabled] {
|
|
55
|
+
border-top-color: @btn-default-border;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.@{btn-prefix-cls}-group-vertical &:last-child:not(:first-child),
|
|
61
|
+
.@{btn-prefix-cls}-group-vertical & + .@{btn-prefix-cls} {
|
|
62
|
+
border-top-color: @btn-group-border;
|
|
63
|
+
&[disabled] {
|
|
64
|
+
border-bottom-color: @btn-default-border;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
//&-ghost {
|
|
70
|
+
// .btn-ghost;
|
|
71
|
+
//}
|
|
72
|
+
|
|
73
|
+
&-dashed{
|
|
74
|
+
.btn-dashed;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&-text{
|
|
78
|
+
.btn-text;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&-success {
|
|
82
|
+
.btn-color(@success-color);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&-warning {
|
|
86
|
+
.btn-color(@warning-color);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&-error {
|
|
90
|
+
.btn-color(@error-color);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&-info {
|
|
94
|
+
.btn-color(@info-color);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&-circle,
|
|
98
|
+
&-circle-outline {
|
|
99
|
+
.btn-circle(@btn-prefix-cls);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&:before {
|
|
103
|
+
position: absolute;
|
|
104
|
+
top: -1px;
|
|
105
|
+
left: -1px;
|
|
106
|
+
bottom: -1px;
|
|
107
|
+
right: -1px;
|
|
108
|
+
background: #fff;
|
|
109
|
+
opacity: 0.35;
|
|
110
|
+
content: '';
|
|
111
|
+
border-radius: inherit;
|
|
112
|
+
z-index: 1;
|
|
113
|
+
transition: opacity @transition-time;
|
|
114
|
+
pointer-events: none;
|
|
115
|
+
display: none;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&&-loading {
|
|
119
|
+
pointer-events: none;
|
|
120
|
+
position: relative;
|
|
121
|
+
|
|
122
|
+
&:before {
|
|
123
|
+
display: block;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&-group {
|
|
128
|
+
.btn-group(@btn-prefix-cls);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&-group-vertical {
|
|
132
|
+
.btn-group-vertical(@btn-prefix-cls);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
// The new ghost in 3.0
|
|
136
|
+
&-ghost{
|
|
137
|
+
color: #fff;
|
|
138
|
+
background: transparent;
|
|
139
|
+
&:hover{
|
|
140
|
+
background: transparent;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
&-ghost&-dashed, &-ghost&-default{
|
|
144
|
+
color: #fff;
|
|
145
|
+
border-color: #fff;
|
|
146
|
+
&:hover{
|
|
147
|
+
color: tint(@primary-color, 20%);
|
|
148
|
+
border-color: tint(@primary-color, 20%);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
&-ghost&-primary{
|
|
152
|
+
color: @primary-color;
|
|
153
|
+
&:hover{
|
|
154
|
+
color: tint(@primary-color, 20%);
|
|
155
|
+
background: fade(tint(@primary-color, 95%), 50%);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
&-ghost&-info{
|
|
159
|
+
color: @info-color;
|
|
160
|
+
&:hover{
|
|
161
|
+
color: tint(@info-color, 20%);
|
|
162
|
+
background: fade(tint(@info-color, 95%), 50%);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
&-ghost&-success{
|
|
166
|
+
color: @success-color;
|
|
167
|
+
&:hover{
|
|
168
|
+
color: tint(@success-color, 20%);
|
|
169
|
+
background: fade(tint(@success-color, 95%), 50%);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
&-ghost&-warning{
|
|
173
|
+
color: @warning-color;
|
|
174
|
+
&:hover{
|
|
175
|
+
color: tint(@warning-color, 20%);
|
|
176
|
+
background: fade(tint(@warning-color, 95%), 50%);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
&-ghost&-error{
|
|
180
|
+
color: @error-color;
|
|
181
|
+
&:hover{
|
|
182
|
+
color: tint(@error-color, 20%);
|
|
183
|
+
background: fade(tint(@error-color, 95%), 50%);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
&-ghost&-default[disabled], &-ghost&-dashed[disabled], &-ghost&-primary[disabled], &-ghost&-info[disabled], &-ghost&-success[disabled], &-ghost&-warning[disabled], &-ghost&-error[disabled]{
|
|
188
|
+
background: transparent;
|
|
189
|
+
color: fade(#000, 25%);
|
|
190
|
+
border-color: @btn-disable-border;
|
|
191
|
+
}
|
|
192
|
+
&-ghost&-text[disabled]{
|
|
193
|
+
background: transparent;
|
|
194
|
+
color: fade(#000, 25%);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
a.@{btn-prefix-cls} {
|
|
199
|
+
padding-top: 0.1px;
|
|
200
|
+
line-height: @btn-height-base - 2px;
|
|
201
|
+
|
|
202
|
+
&-large {
|
|
203
|
+
line-height: @btn-height-large - 2px;
|
|
204
|
+
}
|
|
205
|
+
&-small {
|
|
206
|
+
line-height: @btn-height-small - 2px;
|
|
207
|
+
}
|
|
208
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
@card-prefix-cls: ~"@{css-prefix}card";
|
|
2
|
+
|
|
3
|
+
.@{card-prefix-cls}{
|
|
4
|
+
display: block;
|
|
5
|
+
background: #fff;
|
|
6
|
+
border-radius: @border-radius-small;
|
|
7
|
+
font-size: @font-size-base;
|
|
8
|
+
position: relative;
|
|
9
|
+
//overflow: hidden;
|
|
10
|
+
transition: all @transition-time @ease-in-out;
|
|
11
|
+
|
|
12
|
+
&-bordered {
|
|
13
|
+
border: 1px solid @border-color-base;
|
|
14
|
+
border-color: @border-color-split;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&-shadow{
|
|
18
|
+
box-shadow: @shadow-card;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:hover {
|
|
22
|
+
box-shadow: @shadow-base;
|
|
23
|
+
border-color: #eee;
|
|
24
|
+
}
|
|
25
|
+
&&-dis-hover:hover{
|
|
26
|
+
box-shadow: none;
|
|
27
|
+
border-color: transparent;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&&-dis-hover&-bordered:hover{
|
|
31
|
+
border-color: @border-color-split;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&&-shadow:hover{
|
|
35
|
+
box-shadow: @shadow-card;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&-head {
|
|
39
|
+
.content-header(@card-header-border,@card-header-padding);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&-extra {
|
|
43
|
+
position: absolute;
|
|
44
|
+
right: 16px;
|
|
45
|
+
top: 14px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&-body {
|
|
49
|
+
padding: 16px 30px;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
@icon-prefix-cls: ~"@{css-prefix}icon";
|
|
2
|
+
|
|
3
|
+
.content-header(@content-header-border:1px, @content-header-padding:14px 16px) {
|
|
4
|
+
border-bottom: @content-header-border solid @border-color-split;
|
|
5
|
+
padding: @content-header-padding;
|
|
6
|
+
line-height: 1;
|
|
7
|
+
|
|
8
|
+
p,
|
|
9
|
+
&-inner
|
|
10
|
+
{
|
|
11
|
+
display: inline-block;
|
|
12
|
+
width: 100%;
|
|
13
|
+
height: 20px;
|
|
14
|
+
line-height: 20px;
|
|
15
|
+
font-size: @font-size-large;
|
|
16
|
+
color: @title-color;
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
text-overflow: ellipsis;
|
|
20
|
+
white-space: nowrap;
|
|
21
|
+
}
|
|
22
|
+
p i, p span{
|
|
23
|
+
//vertical-align: middle;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.content-close(@top: 0, @icon-font-size: 22px, @right:8px,@iconTop:8px) {
|
|
28
|
+
font-size: @font-size-small;
|
|
29
|
+
position: absolute;
|
|
30
|
+
right: @right;
|
|
31
|
+
top: @iconTop;
|
|
32
|
+
overflow: hidden;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
|
|
35
|
+
.@{icon-prefix-cls}-ios-close {
|
|
36
|
+
.close-base(@top, @icon-font-size);
|
|
37
|
+
}
|
|
38
|
+
}
|