Skip to content

Commit a8d8062

Browse files
committed
chore: ci node 版本20
1 parent 0197b48 commit a8d8062

18 files changed

Lines changed: 278 additions & 110 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
strategy:
2727
matrix:
28-
node-version: [18.x]
28+
node-version: [20.x]
2929
steps:
3030
- uses: actions/checkout@v4
3131
- name: Install dependencies
@@ -49,7 +49,7 @@ jobs:
4949
runs-on: ubuntu-latest
5050
strategy:
5151
matrix:
52-
node-version: [18.x]
52+
node-version: [20.x]
5353
steps:
5454
- uses: actions/checkout@v4
5555
- name: Install dependencies
@@ -77,7 +77,7 @@ jobs:
7777
runs-on: ubuntu-latest
7878
strategy:
7979
matrix:
80-
node-version: [18.x]
80+
node-version: [20.x]
8181
steps:
8282
- uses: actions/checkout@v4
8383
- name: Install dependencies
@@ -104,7 +104,7 @@ jobs:
104104
runs-on: ubuntu-latest
105105
strategy:
106106
matrix:
107-
node-version: [18.x]
107+
node-version: [20.x]
108108
steps:
109109
- uses: actions/checkout@v4
110110
- name: Install dependencies

packages/component/src/css/button.less

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import 'variables.less';
1+
@import url('variables.less');
22

33
.l7-button-control {
44
min-width: @l7-btn-control-size;
@@ -34,9 +34,11 @@
3434
&.l7-button-control--column {
3535
height: @l7-btn-column-height;
3636
flex-direction: column;
37+
3738
.l7-iconfont {
3839
margin-top: 3px;
3940
}
41+
4042
.l7-button-control__text {
4143
margin-top: 3px;
4244
font-size: 10px;
@@ -48,21 +50,26 @@
4850
&:hover {
4951
background-color: @l7-btn-control-bg-hover-color;
5052
}
53+
5154
&:active {
5255
background-color: @l7-btn-control-bg-active-color;
5356
}
5457
}
58+
5559
&:disabled {
5660
background-color: @l7-btn-control-disabled-bg-color;
5761
color: @l7-btn-control-disabled-font-color;
5862
cursor: not-allowed;
63+
5964
.l7-iconfont {
6065
fill: @l7-btn-control-disabled-font-color;
6166
color: @l7-btn-control-disabled-font-color;
6267
}
68+
6369
&:hover {
6470
background-color: @l7-btn-control-disabled-bg-color;
6571
}
72+
6673
&:active {
6774
background-color: @l7-btn-control-disabled-bg-color;
6875
}

packages/component/src/css/control.less

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import 'variables.less';
1+
@import url('variables.less');
22

33
.l7-control-container {
44
font:
@@ -14,7 +14,7 @@
1414
clear: both;
1515
color: @l7-control-font-color;
1616
font-size: @l7-control-font-size;
17-
pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
17+
pointer-events: visiblepainted; /* IE 9-10 doesn't have auto */
1818
pointer-events: auto;
1919

2020
&.l7-control--hide {
@@ -39,14 +39,17 @@
3939
position: absolute;
4040
display: flex;
4141
justify-content: center;
42+
4243
&.l7-top,
4344
&.l7-bottom {
4445
width: 100%;
4546
}
47+
4648
&.l7-left,
4749
&.l7-right {
4850
height: 100%;
4951
}
52+
5053
.l7-control {
5154
margin-right: @l7-control-space;
5255
margin-bottom: @l7-control-space;
@@ -55,19 +58,23 @@
5558

5659
.l7-row {
5760
flex-direction: row;
61+
5862
&.l7-top {
5963
align-items: flex-start;
6064
}
65+
6166
&.l7-bottom {
6267
align-items: flex-end;
6368
}
6469
}
6570

6671
.l7-column {
6772
flex-direction: column;
73+
6874
&.l7-left {
6975
align-items: flex-start;
7076
}
77+
7178
&.l7-right {
7279
align-items: flex-end;
7380
}

0 commit comments

Comments
 (0)