@antv/l7-component 2.22.5 → 2.22.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/es/css/button.less +8 -1
- package/es/css/control.less +9 -2
- package/es/css/index.css +150 -41
- package/es/css/index.less +13 -13
- package/es/css/l7.less +7 -4
- package/es/css/layerPopup.less +2 -1
- package/es/css/logo.less +4 -1
- package/es/css/mouseLocation.less +1 -1
- package/es/css/popper.less +15 -5
- package/es/css/popup.less +6 -15
- package/es/css/scale.less +4 -1
- package/es/css/select.less +14 -3
- package/es/css/swipe.less +13 -13
- package/es/css/zoom.less +6 -1
- package/es/index.js +150 -28
- package/lib/css/button.less +8 -1
- package/lib/css/control.less +9 -2
- package/lib/css/index.css +150 -41
- package/lib/css/index.less +13 -13
- package/lib/css/l7.less +7 -4
- package/lib/css/layerPopup.less +2 -1
- package/lib/css/logo.less +4 -1
- package/lib/css/mouseLocation.less +1 -1
- package/lib/css/popper.less +15 -5
- package/lib/css/popup.less +6 -15
- package/lib/css/scale.less +4 -1
- package/lib/css/select.less +14 -3
- package/lib/css/swipe.less +13 -13
- package/lib/css/zoom.less +6 -1
- package/lib/index.js +150 -28
- package/package.json +5 -5
package/lib/css/button.less
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import 'variables.less';
|
|
1
|
+
@import url('variables.less');
|
|
2
2
|
|
|
3
3
|
.l7-button-control {
|
|
4
4
|
min-width: @l7-btn-control-size;
|
|
@@ -34,9 +34,11 @@
|
|
|
34
34
|
&.l7-button-control--column {
|
|
35
35
|
height: @l7-btn-column-height;
|
|
36
36
|
flex-direction: column;
|
|
37
|
+
|
|
37
38
|
.l7-iconfont {
|
|
38
39
|
margin-top: 3px;
|
|
39
40
|
}
|
|
41
|
+
|
|
40
42
|
.l7-button-control__text {
|
|
41
43
|
margin-top: 3px;
|
|
42
44
|
font-size: 10px;
|
|
@@ -48,21 +50,26 @@
|
|
|
48
50
|
&:hover {
|
|
49
51
|
background-color: @l7-btn-control-bg-hover-color;
|
|
50
52
|
}
|
|
53
|
+
|
|
51
54
|
&:active {
|
|
52
55
|
background-color: @l7-btn-control-bg-active-color;
|
|
53
56
|
}
|
|
54
57
|
}
|
|
58
|
+
|
|
55
59
|
&:disabled {
|
|
56
60
|
background-color: @l7-btn-control-disabled-bg-color;
|
|
57
61
|
color: @l7-btn-control-disabled-font-color;
|
|
58
62
|
cursor: not-allowed;
|
|
63
|
+
|
|
59
64
|
.l7-iconfont {
|
|
60
65
|
fill: @l7-btn-control-disabled-font-color;
|
|
61
66
|
color: @l7-btn-control-disabled-font-color;
|
|
62
67
|
}
|
|
68
|
+
|
|
63
69
|
&:hover {
|
|
64
70
|
background-color: @l7-btn-control-disabled-bg-color;
|
|
65
71
|
}
|
|
72
|
+
|
|
66
73
|
&:active {
|
|
67
74
|
background-color: @l7-btn-control-disabled-bg-color;
|
|
68
75
|
}
|
package/lib/css/control.less
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@import 'variables.less';
|
|
1
|
+
@import url('variables.less');
|
|
2
2
|
|
|
3
3
|
.l7-control-container {
|
|
4
4
|
font:
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
clear: both;
|
|
15
15
|
color: @l7-control-font-color;
|
|
16
16
|
font-size: @l7-control-font-size;
|
|
17
|
-
pointer-events:
|
|
17
|
+
pointer-events: visiblepainted; /* IE 9-10 doesn't have auto */
|
|
18
18
|
pointer-events: auto;
|
|
19
19
|
|
|
20
20
|
&.l7-control--hide {
|
|
@@ -39,14 +39,17 @@
|
|
|
39
39
|
position: absolute;
|
|
40
40
|
display: flex;
|
|
41
41
|
justify-content: center;
|
|
42
|
+
|
|
42
43
|
&.l7-top,
|
|
43
44
|
&.l7-bottom {
|
|
44
45
|
width: 100%;
|
|
45
46
|
}
|
|
47
|
+
|
|
46
48
|
&.l7-left,
|
|
47
49
|
&.l7-right {
|
|
48
50
|
height: 100%;
|
|
49
51
|
}
|
|
52
|
+
|
|
50
53
|
.l7-control {
|
|
51
54
|
margin-right: @l7-control-space;
|
|
52
55
|
margin-bottom: @l7-control-space;
|
|
@@ -55,9 +58,11 @@
|
|
|
55
58
|
|
|
56
59
|
.l7-row {
|
|
57
60
|
flex-direction: row;
|
|
61
|
+
|
|
58
62
|
&.l7-top {
|
|
59
63
|
align-items: flex-start;
|
|
60
64
|
}
|
|
65
|
+
|
|
61
66
|
&.l7-bottom {
|
|
62
67
|
align-items: flex-end;
|
|
63
68
|
}
|
|
@@ -65,9 +70,11 @@
|
|
|
65
70
|
|
|
66
71
|
.l7-column {
|
|
67
72
|
flex-direction: column;
|
|
73
|
+
|
|
68
74
|
&.l7-left {
|
|
69
75
|
align-items: flex-start;
|
|
70
76
|
}
|
|
77
|
+
|
|
71
78
|
&.l7-right {
|
|
72
79
|
align-items: flex-end;
|
|
73
80
|
}
|