File tree Expand file tree Collapse file tree 4 files changed +63
-63
lines changed
layout/components/TagsView Expand file tree Collapse file tree 4 files changed +63
-63
lines changed Original file line number Diff line number Diff line change 1
1
/* el-button禁用相关样式 */
2
2
.el-button {
3
3
& .is-disabled {
4
- cursor : default ;
4
+ cursor : default !important ;
5
5
}
6
6
& .is-disabled {
7
7
& :focus ,
8
8
& :hover {
9
- cursor : default ;
9
+ cursor : default !important ;
10
10
}
11
11
}
12
12
}
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export default {
64
64
.icon {
65
65
font-weight : bold ;
66
66
font-size : 14px ;
67
- color : #333 ;
67
+ color : #333 !important ;
68
68
}
69
69
& :hover {
70
70
color : #409eff ;
Original file line number Diff line number Diff line change @@ -24,31 +24,31 @@ export default {
24
24
</script >
25
25
26
26
<style lang="less">
27
- .tag-item-wrapper {
27
+ .tag-item-wrapper {
28
+ display : inline-block ;
29
+ vertical-align : middle ;
30
+ height : 32px !important ;
31
+ margin : 4px 2px !important ;
32
+ padding : 0 10px !important ;
33
+ border-radius : 3px !important ;
34
+ line-height : 32px !important ;
35
+ border : 1px solid #e8eaec !important ;
36
+ color : #555 !important ;
37
+ background : #fff !important ;
38
+ overflow : hidden ;
39
+ cursor : pointer ;
40
+ .tag-item-dot {
28
41
display : inline-block ;
29
- vertical-align : middle ;
30
- height : 32px ;
31
- margin : 4px 2px ;
32
- padding : 0 10px ;
33
- border-radius : 3px ;
34
- line-height : 32px ;
35
- border : 1px solid #e8eaec ;
36
- color : #555 ;
37
- background : #fff ;
38
- overflow : hidden ;
39
- cursor : pointer ;
42
+ width : 10px ;
43
+ height : 10px ;
44
+ margin-right : 6px ;
45
+ border-radius : 50% ;
46
+ background : #e8eaec ;
47
+ }
48
+ & .active {
40
49
.tag-item-dot {
41
- display : inline-block ;
42
- width : 10px ;
43
- height : 10px ;
44
- margin-right : 6px ;
45
- border-radius : 50% ;
46
- background : #e8eaec ;
47
- }
48
- & .active {
49
- .tag-item-dot {
50
- background : #409eff ;
51
- }
50
+ background : #409eff ;
52
51
}
53
52
}
53
+ }
54
54
</style >
Original file line number Diff line number Diff line change 1
1
<template >
2
- <div class =" tags-nav clear-fix" >
2
+ <div class =" tags-nav-wrapper clear-fix" >
3
3
<el-button type =" text" class =" btn-con" @click =" handleMove(240)" >
4
4
<i class =" icon el-icon-arrow-left" ></i >
5
5
</el-button >
@@ -185,43 +185,43 @@ export default {
185
185
</script >
186
186
187
187
<style lang="less">
188
- .tags-nav {
189
- width : 100% ;
188
+ .tags-nav-wrapper {
189
+ width : 100% ;
190
+ height : 40px ;
191
+ .icon {
192
+ font-size : 18px ;
193
+ }
194
+ .btn-con {
195
+ float : left ;
196
+ width : 28px ;
190
197
height : 40px ;
191
- .icon {
192
- font-size : 18px ;
193
- }
194
- .btn-con {
195
- float : left ;
196
- width : 28px ;
197
- height : 40px ;
198
- padding : 8px 7px 8px 3px ;
199
- border-top : solid 1px #f0f0f0 ;
200
- border-bottom : solid 1px #f0f0f0 ;
201
- box-sizing : border-box ;
202
- }
203
- .btn-close {
204
- width : 40px ;
205
- padding-top : 10px ;
206
- padding-left : 11px ;
207
- border-left : solid 1px #f0f0f0 ;
208
- cursor : pointer ;
209
- }
210
- .tags-views {
211
- position : relative ;
212
- float : left ;
213
- width : calc (100% - 96px );
214
- height : 40px ;
215
- background : #f0f0f0 ;
216
- box-shadow : inset 0 0 3px 2px #6464641a ;
217
- overflow : hidden ;
218
- .tags-cont {
219
- position : absolute ;
220
- padding : 0 4px ;
221
- overflow : visible ;
222
- white-space : nowrap ;
223
- transition : left .5s ease ;
224
- }
198
+ padding : 8px 7px 8px 3px ;
199
+ border-top : solid 1px #f0f0f0 ;
200
+ border-bottom : solid 1px #f0f0f0 ;
201
+ box-sizing : border-box ;
202
+ }
203
+ .btn-close {
204
+ width : 40px ;
205
+ padding-top : 10px ;
206
+ padding-left : 11px ;
207
+ border-left : solid 1px #f0f0f0 ;
208
+ cursor : pointer ;
209
+ }
210
+ .tags-views {
211
+ position : relative ;
212
+ float : left ;
213
+ width : calc (100% - 96px );
214
+ height : 40px ;
215
+ background : #f0f0f0 ;
216
+ box-shadow : inset 0 0 3px 2px #6464641a ;
217
+ overflow : hidden ;
218
+ .tags-cont {
219
+ position : absolute ;
220
+ padding : 0 4px ;
221
+ overflow : visible ;
222
+ white-space : nowrap ;
223
+ transition : left .5s ease ;
225
224
}
226
225
}
226
+ }
227
227
</style >
You can’t perform that action at this time.
0 commit comments