refactor: 样式优化
Former-commit-id: e9e3e1779f71fc354323c0a2037cf701da893fbf
This commit is contained in:
@@ -3,16 +3,16 @@
|
|||||||
@import './dark.scss';
|
@import './dark.scss';
|
||||||
|
|
||||||
|
|
||||||
// main-container global css
|
|
||||||
.app-container {
|
.app-container {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
|
.search {
|
||||||
|
padding: 18px 0 0 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
border-radius: 4px;
|
||||||
|
border: 1px solid var(--el-border-color-light);
|
||||||
|
box-shadow: var(--el-box-shadow-light);
|
||||||
|
background-color: var(--el-bg-color-overlay);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.search {
|
|
||||||
padding: 18px 0 0 10px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
border-radius: 4px;
|
|
||||||
border: 1px solid var(--el-border-color-light);
|
|
||||||
box-shadow: var(--el-box-shadow-light);
|
|
||||||
background-color: var(--el-bg-color-overlay);
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -51,7 +51,10 @@ svg {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
ul,li{
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
*,
|
*,
|
||||||
@@ -61,7 +64,9 @@ svg {
|
|||||||
}
|
}
|
||||||
|
|
||||||
a:focus,
|
a:focus,
|
||||||
a:active {
|
a:active ,
|
||||||
|
div:focus
|
||||||
|
{
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -73,18 +78,3 @@ a:hover {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
div:focus {
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.clearfix {
|
|
||||||
&::after {
|
|
||||||
visibility: hidden;
|
|
||||||
display: block;
|
|
||||||
font-size: 0;
|
|
||||||
content: " ";
|
|
||||||
clear: both;
|
|
||||||
height: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user