调整样式、添加颜色

This commit is contained in:
2021-05-04 00:30:12 +08:00
parent 8c6f6510bc
commit c04dcb6ec9
2 changed files with 31 additions and 2 deletions

View File

@@ -27,8 +27,9 @@ html {
}
body {
user-select: none;
color: #555;
overflow: hidden;
user-select: none;
-webkit-tap-highlight-color: transparent;
}
@@ -96,7 +97,34 @@ body {
}
}
// Element
// Element UI
.el-drawer.drawer-full {
.el-drawer__header {
z-index: 500;
margin: 0 !important;
padding: 1rem 1.5rem !important;
background-color: @colorPrimary;
color: #FFF;
.shadow-3();
}
.el-drawer__body {
padding: 2rem;
overflow-y: auto;
}
}
.el-input {
input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
-webkit-appearance: none;
}
input[type="number"] {
-moz-appearance: textfield;
}
}
.el-select-dropdown {
border: none !important;

View File

@@ -5,6 +5,7 @@
@colorPrimary: #2196F3;
@colorSecondary: #67C23A;
@colorGrey: #9E9E9E;
@colorRed: #F44336;
@colorWhite: #F9F9F9;
@transitionTime: .25s;