Commit 945a2ec8 by ym

theme.scss

1 parent 0af48f56
...@@ -4,7 +4,7 @@ import GLButton from './Button' ...@@ -4,7 +4,7 @@ import GLButton from './Button'
import GLDialog from './Dialog' import GLDialog from './Dialog'
import GLTable from './Table' import GLTable from './Table'
import '@/theme/index.css' import '@/theme/index.css'
import '@/theme/common.css' import '@/theme/theme.scss'
import '@/plugins/element.js' import '@/plugins/element.js'
// 存储组件列表 // 存储组件列表
const components = [GLExternal, GLButton, GLDialog, GLTable] const components = [GLExternal, GLButton, GLDialog, GLTable]
......
...@@ -6,10 +6,43 @@ ...@@ -6,10 +6,43 @@
border-radius: 4px border-radius: 4px
} }
.el-button:hover,
.el-button:focus {
color: #5850FF;
border-color: #cdcbff;
background-color: #eef;
}
.el-button:active {
color: #4f48e6;
border-color: #4f48e6;
outline: none;
}
.el-button.is-round { .el-button.is-round {
padding: 12px 20px padding: 12px 20px
} }
.el-button--primary {
color: #fff;
background-color: #5850ff;
border-color: #5850ff;
}
.el-button--primary:focus,
.el-button--primary:hover {
background: #7973ff;
border-color: #7973ff;
color: #fff;
}
.el-button--primary.is-active,
.el-button--primary:active {
background: #4f48e6;
border-color: #4f48e6;
color: #fff;
}
.el-button--small { .el-button--small {
padding: 9px 20px; padding: 9px 20px;
font-size: 14px; font-size: 14px;
...@@ -37,6 +70,42 @@ ...@@ -37,6 +70,42 @@
line-height: 28px; line-height: 28px;
} }
.el-input__inner:focus {
outline: none;
border-color: #5850FF;
}
.el-date-table td.today span {
color: #5850FF;
font-weight: bold;
}
.el-date-table td.current:not(.disabled) span {
color: #fff;
background-color: #5850FF;
}
.el-date-table td.available:hover {
color: #5850FF;
}
.el-select .el-input.is-focus .el-input__inner {
border-color: #5850FF;
}
.el-pager li.active {
color: #5850FF;
cursor: default;
}
.el-pager li:hover {
color: #5850FF;
}
.el-pagination button:hover {
color: #5850FF;
}
.el-form-item__label { .el-form-item__label {
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!