Skip to content

Commit f598d9b

Browse files
authored
Merge pull request ElemeFE#14295 from tuxinghuan/dev
docs(icon):make the style change when hover on it
2 parents f5822c0 + 431475b commit f598d9b

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

examples/docs/en-US/icon.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737
line-height: 120px;
3838
color: #666;
3939
font-size: 13px;
40-
transition: color .15s linear;
41-
4240
border-right: 1px solid #eee;
4341
border-bottom: 1px solid #eee;
4442
margin-right: -1px;
@@ -58,15 +56,16 @@
5856
font-size: 32px;
5957
margin-bottom: 15px;
6058
color: #606266;
59+
transition: color .15s linear;
6160
}
6261
.icon-name {
6362
display: inline-block;
6463
padding: 0 3px;
6564
height: 1em;
66-
color: #606266;
65+
transition: color .15s linear;
6766
}
6867
&:hover {
69-
color: rgb(92, 182, 255);
68+
i,span{color: rgb(92, 182, 255);}
7069
}
7170
}
7271
</style>

examples/docs/es/icon.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737
line-height: 120px;
3838
color: #666;
3939
font-size: 13px;
40-
transition: color .15s linear;
41-
4240
border-right: 1px solid #eee;
4341
border-bottom: 1px solid #eee;
4442
margin-right: -1px;
@@ -58,15 +56,16 @@
5856
font-size: 32px;
5957
margin-bottom: 15px;
6058
color: #606266;
59+
transition: color .15s linear;
6160
}
6261
.icon-name {
6362
display: inline-block;
6463
padding: 0 3px;
6564
height: 1em;
66-
color: #606266;
65+
transition: color .15s linear;
6766
}
6867
&:hover {
69-
color: rgb(92, 182, 255);
68+
i,span{color: rgb(92, 182, 255);}
7069
}
7170
}
7271
</style>

examples/docs/zh-CN/icon.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636
line-height: 120px;
3737
color: #666;
3838
font-size: 13px;
39-
transition: color .15s linear;
40-
4139
border-right: 1px solid #eee;
4240
border-bottom: 1px solid #eee;
4341
margin-right: -1px;
@@ -51,24 +49,25 @@
5149
vertical-align: middle;
5250
font-family: 'Helvetica Neue',Helvetica,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',SimSun,sans-serif;
5351
color: #99a9bf;
52+
transition: color .15s linear;
5453
}
5554

5655
i {
5756
display: block;
5857
font-size: 32px;
5958
margin-bottom: 15px;
6059
color: #606266;
60+
transition: color .15s linear;
6161
}
6262

6363
.icon-name {
6464
display: inline-block;
6565
padding: 0 3px;
6666
height: 1em;
67-
color: #606266;
6867
}
6968

7069
&:hover {
71-
color: rgb(92, 182, 255);
70+
span,i{color: rgb(92, 182, 255);}
7271
}
7372
}
7473
</style>

0 commit comments

Comments
 (0)