some icon fixes

pull/7537/head^2
Leopoldthecoder 2017-10-19 12:11:47 +08:00 committed by 杨奕
parent bd0114454e
commit f73dbe104e
7 changed files with 9 additions and 6 deletions

View File

@ -135,7 +135,7 @@
} }
i { i {
font-size: 12px; font-size: 16px;
line-height: 44px; line-height: 44px;
transition: .3s; transition: .3s;
&.hovering { &.hovering {

View File

@ -79,7 +79,7 @@ Just assign the class name to `el-icon-iconName`.
<i class="el-icon-edit"></i> <i class="el-icon-edit"></i>
<i class="el-icon-share"></i> <i class="el-icon-share"></i>
<i class="el-icon-delete"></i> <i class="el-icon-delete"></i>
<el-button type="primary" icon="search">Search</el-button> <el-button type="primary" icon="el-icon-search">Search</el-button>
``` ```
::: :::

View File

@ -92,7 +92,7 @@
<i class="el-icon-edit"></i> <i class="el-icon-edit"></i>
<i class="el-icon-share"></i> <i class="el-icon-share"></i>
<i class="el-icon-delete"></i> <i class="el-icon-delete"></i>
<el-button type="primary" icon="search">搜索</el-button> <el-button type="primary" icon="el-icon-search">搜索</el-button>
``` ```
::: :::

View File

@ -119,7 +119,6 @@
line-height: 40px; line-height: 40px;
text-align: center; text-align: center;
font-size: 18px; font-size: 18px;
transform: translateY(-2px);
} }
&.hover { &.hover {

View File

@ -162,7 +162,7 @@
.el-icon-zoom-out:before { content: "\e645"; } .el-icon-zoom-out:before { content: "\e645"; }
.el-icon-loading { .el-icon-loading {
animation: rotating 1s linear infinite; animation: rotating 2s linear infinite;
} }
.el-icon--right { .el-icon--right {

View File

@ -138,6 +138,10 @@
color: inherit; color: inherit;
} }
.el-menu .el-submenu {
min-width: 200px;
}
.el-submenu { .el-submenu {
position: relative; position: relative;
& .el-menu { & .el-menu {

View File

@ -95,7 +95,7 @@
color: $--color-text-primary; color: $--color-text-primary;
position: relative; position: relative;
&:focus:not(.is-focus), &:focus:active { &:focus, &:focus:active {
outline: none; outline: none;
} }