Add all dashboard projects

This commit is contained in:
meswork764
2026-05-23 14:07:11 +08:00
commit ba82fbfc14
3550 changed files with 467904 additions and 0 deletions

View File

@@ -0,0 +1,641 @@
//to reset element-ui default css
.el-upload {
input[type="file"] {
display: none !important;
}
}
.el-upload__input {
display: none;
}
// 时间框
.el-range-editor.el-input__inner {
//padding: 0 0 0 5px;/
//margin-top: 10px;
height: 32px;
//padding: 0px 0px;
//margin-top: 2px;
position: relative;
top: 2px;
.el-input__icon {
margin-top: -6px;
padding: 0 0 0 5px;
font-size: 16px;
}
.el-range-separator {
height: 120% !important;
}
}
//element ui upload
.upload-container {
.el-upload {
width: 100%;
.el-upload-dragger {
width: 100%;
height: 200px;
}
}
}
.el-input__inner {
border-radius: 4px;
font-size: 14px !important;
font-family: "MiSans Regular", serif;
height: 32px;
line-height: 30px;
}
// 激活输入框 或者下拉框的边框
.el-input.is-active .el-input__inner, .el-input__inner:focus {
border-color: #4d77d6;
font-size: 13px;
}
.el-select .el-input.is-focus .el-input__inner {
border-color: #4d77d6;
font-size: 13px;
}
.el-select .el-input__icon {
height: 120% !important;
}
.el-input--suffix .el-input__inner {
font-size: 13px;
}
.el-select .el-input__inner:focus {
border-color: #4d77d6;
}
.el-select .el-tag {
font-size: 16px;
color: #a6a6a6;
margin: 2px 0 2px 8px;
}
.el-card__body {
padding: 20px 10px 0px 10px !important;
}
.el-tabs__content {
background-color: #fff !important;
}
.el-button {
line-height: 0;
font-size: 13px;
height: 32px;
//padding-top: 9px;
padding: 8px 15px;
width: 76px;
margin-left: 10px;
}
.el-button:focus, .el-button:hover {
color: #4d77d6 !important;
background: #e2eaf8;
border-color: #e2eaf8;
}
.el-tabs--border-card > .el-tabs__header {
background-color: #F5F7FA;
}
.el-button--primary {
color: #fff;
background: #4d77d6;
border-color: #4d77d6;
font-size: 13px;
//height: 38px;
//width: 100px;
//margin-top: 5px;
}
.el-button--primary.is-disabled, .el-button--primary.is-disabled:active, .el-button--primary.is-disabled:focus, .el-button--primary.is-disabled:hover {
color: #FFF !important;
background-color: #4d77d6b3 !important;
border-color: #4d77d6b3 !important;
}
.el-button--primary:hover {
color: #FAFAFA !important;
background: rgba(77, 119, 214, 0.84) !important;
border-color: rgba(77, 119, 214, 0.84) !important;
}
.el-button--primary:focus {
color: #FAFAFA !important;
background: #4d77d6 !important;
border-color: #4d77d6 !important;
}
.el-button--primary:active {
color: #FAFAFA !important;
background: #4975d9 !important;
border-color: #4975d9 !important;
}
.el-button--success {
color: #fff;
background: #16a188;
border-color: #16a188;
font-size: 13px;
//height: 38px;
//width: 100px;
}
.el-button--success.is-disabled, .el-button--success.is-disabled:active, .el-button--success.is-disabled:focus, .el-button--success.is-disabled:hover {
color: #FFF !important;
background-color: #16a188b3 !important;
border-color: #16a188b3 !important;
}
.el-button--success:hover {
color: #FAFAFA !important;
background: #1aba9d !important;
border-color: #1aba9d !important;
}
.el-button--success:focus {
color: #FAFAFA !important;
background: #16a188 !important;
border-color: #16a188 !important;
}
.el-button--success:active {
color: #FAFAFA !important;
background: #138d77 !important;
border-color: #138d77 !important;
}
.el-button--info {
color: #fff;
background: #f2a201;
border-color: #f2a201;
font-size: 13px;
height: 38px;
width: 100px;
}
.el-button--info.is-disabled, .el-button--info.is-disabled:active, .el-button--info.is-disabled:focus, .el-button--info.is-disabled:hover {
color: #FFF !important;
background-color: #f2a201b3 !important;
border-color: #f2a201b3 !important;
}
.el-button--info:hover {
color: #FAFAFA !important;
background: #f5b737 !important;
border-color: #f5b737 !important;
}
.el-button--info:focus {
color: #FAFAFA !important;
background: #f2a201 !important;
border-color: #f2a201 !important;
}
.el-button--info:active {
color: #FAFAFA !important;
background: #f6ad1a !important;
border-color: #f6ad1a !important;
}
.el-button [class*=el-icon-] + span {
margin-left: 5px;
}
input::-webkit-input-placeholder {
font-size: 13px;
color: #d9d9d9;
}
input::-ms-input-placeholder {
font-size: 13px;
color: #d9d9d9;
}
.el-pagination {
button {
height: 28px;
line-height: 28px;
width: 38px;
border-radius: 4px !important;
}
span {
height: 28px;
line-height: 28px;
}
.el-input__suffix {
right: 12px;
}
.el-pagination__total {
font-size: 13px !important;
font-family: "MiSans Regular", serif;
margin-right: 12px;
height: 28px;
line-height: 28px;
}
.el-pagination__sizes {
height: 28px;
line-height: 28px;
margin-right: 32px;
}
.el-select {
.el-input {
width: 136px;
margin: 0;
.el-input__inner {
border-radius: 4px;
font-size: 13px !important;
font-family: "MiSans Regular", serif;
height: 28px;
line-height: 28px;
}
}
.el-input__icon {
height: 100% !important;
}
}
.el-pager li {
height: 28px;
width: 38px;
line-height: 28px;
border-radius: 4px !important;
//background-color: #4d77d6 !important;
}
//.el-pagination.is-background .el-pager li:not(.disabled){
// background-color: #3E3E45 !important;
// color: #fff !important;
//}
//.el-pagination.is-background .el-pager li:not(.disabled).active {
// background-color: #FFBB46 !important;
// color: #fff !important;
//}
//.el-pager li.active+li {
// background-color: #f5f5f5 !important;
//}
//.el-pagination.is-background .el-pager li:not(.disabled).active {
// background-color: #4d77d6 !important;
//}
//.el-pagination.is-background .el-pager li:not(.disabled):hover {
// color: #4d77d6;
//}
//.el-pagination.is-background .el-pager li:not(.disabled).active {
//background-color: #FD7A3A; // 进行修改背景和字体
// color: #fff;
//}
//::v-deep {
// .el-pagination.is-background .el-pager li:not(.disabled) {
// background-color: #f5f5f5; // 进行修改未选中背景和字体
// }
// .el-pagination.is-background .el-pager li:not(.disabled).active {
// background-color: #4d77d6; // 进行修改选中项背景和字体
// }
//}
.el-pagination__jump {
font-size: 13px !important;
font-family: "MiSans Regular", serif;
margin-left: 22px;
}
.el-pagination__editor {
border-radius: 4px !important;
font-size: 13px !important;
font-family: "MiSans Regular", serif;
padding: 0 8px;
margin: 0;
height: 28px;
width: 76px;
line-height: 28px;
}
}
.el-pagination button, .el-pagination span:not([class*=suffix]) {
height: 28px;
line-height: 28px;
}
.el-pagination__editor.el-input .el-input__inner {
//width: 60px;
height: 28px;
}
.el-select-dropdown__item {
height: 34px;
line-height: 34px;
font-size: 13px;
font-family: "MiSans Regular", serif;
}
.el-select-dropdown__item.selected {
color: #4d77d6 !important;
}
//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
transform: none;
left: 0;
position: relative;
margin: 0 auto;
box-shadow: 0 0 8px 0 rgba(255, 255, 255, 0.15);
border-radius: 4px;
}
.el-dialog__wrapper {
background-color: rgba(255, 255, 255, 0.15);
}
.el-dialog__header {
//padding: 38px 20px 0 20px !important;
padding: 20px 20px 0 20px !important;
}
.el-dialog__title {
font-family: "MiSans Demibold", serif;
font-size: 20px;
}
.el-dialog--center .el-dialog__body {
padding: 8px 25px 25px 30px
}
.el-dialog__wrapper .el-dialog__body {
padding: 20px 30px 0px 30px;
}
.el-divider--horizontal {
margin: 0 0 29px 0;
background-color: #d9d9d9;
}
.el-form-item__label {
font-size: 16px;
font-family: "MiSans Demibold", serif;
}
.el-form-item.is-success .el-input__inner, .el-form-item.is-success .el-input__inner:focus, .el-form-item.is-success .el-textarea__inner, .el-form-item.is-success .el-textarea__inner:focus {
border-color: #4975d9 !important;
}
.el-menu-item {
font-size: 16px;
}
.el-menu-item.is-active {
color: #5a80d8 !important;
:before {
content: '';
width: 4px;
height: 32px;
background-color: #354387;
border-radius: 2px;
top: 6px;
position: absolute;
left: 0;
}
}
.el-menu-item:hover {
background-color: #e3edfe !important;
color: #5a80d8 !important;
}
.el-menu-item, .el-submenu__title {
line-height: 42px;
height: 42px;
color: #8c8c8c !important;
}
.el-scrollbar {
height: 100%;
}
.el-submenu {
font-size: 16px;
.el-menu-item {
height: 38px;
padding-left: 52px !important;
line-height: 38px;
}
}
.el-submenu__title {
padding-left: 32px !important;
height: 38px;
font-size: 16px;
color: #262626 !important;
background-color: #F5F5F5 !important;
}
.el-submenu__icon-arrow {
right: 34px;
}
.el-icon-arrow-down:before {
content: '\25BC';
color: #737797;
}
.el-tabs__item {
width: 140px;
text-align: center;
font-size: 16px;
font-family: "MiSans Demibold", serif;
height: 40px;
}
.el-tabs--border-card > .el-tabs__header .el-tabs__item.is-active {
color: #5a80d8;
border-right-color: #ebebeb;
border-left-color: #ebebeb;
border-top-color: #f0f3fa;
background-color: #f0f3fa;
//margin-bottom: 0;
//margin-top: 1px;
}
.el-tabs--border-card > .el-tabs__header .el-tabs__item:not(.is-disabled):hover {
color: #5a80d8;
}
.el-tabs--border-card > .el-tabs__header .el-tabs__item {
color: #595959;
border-bottom: 0;
margin-top: 0;
}
.el-tabs__content {
background-color: #f0f3fa;
}
.el-tabs__header {
height: 40px;
}
.el-tabs--border-card {
border: 0;
}
.el-range-editor.is-active, .el-range-editor.is-active:hover {
border-color: #5a80d8;
}
.el-date-table td.end-date span, .el-date-table td.start-date span {
background-color: #5a80d8;
}
.el-picker-panel__footer {
span {
//color: #5a80d8;
}
button {
border: none !important;
}
}
.el-date-table td.today span {
color: #5a80d8;
}
.el-date-table td.available:hover {
color: #5a80d8;
}
.el-time-panel__btn.confirm {
color: #5a80d8;
}
.el-time-panel {
width: 140px;
margin: 5px 0 5px 5px;
}
.el-table--enable-row-hover .el-table__body tr:hover > td {
background-color: #e3edfe;
}
.el-table__empty-text {
font-family: "MiSans Regular", serif;
font-size: 13px;
}
.el-slider__runway {
margin: 5px 0;
}
//to reset element-ui default css
.el-upload {
input[type="file"] {
display: none !important;
}
}
.el-upload__input {
display: none;
}
//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
transform: none;
left: 0;
position: relative;
margin: 0 auto;
}
//element ui upload
.upload-container {
.el-upload {
width: 100%;
.el-upload-dragger {
width: 100%;
height: 200px;
}
}
}
//表头全局样式
.el-table th {
color: black; /*修改表格头部背景*/
//line-height: 40px !important;
//font-family: YouYuan!important;
font-Size: 13px !important;
font-weight: 400 !important;
}
.el-table__row {
height: 36px !important;
}
.el-table__row td {
padding: 3px 0 !important;
}
.el-tree-node__content > .el-tree-node__expand-icon {
display: none;
}
//单击表格行变色
.el-table__body tr.current-row > td {
background-color: #d8e5f6 !important;
/* color: #f19944; */
/* 设置文字颜色,可以选择不设置 */
}
//聚焦表格行变色
.hover-row td {
//background: RGB(236 245 255)!important;
background: #d8e5f6 !important;
}
.el-table--enable-row-hover .el-table__body tr:hover > td {
background-color: #d8e5f6 !important;
}
//.el-table tbody tr:hover>td { background-color: RED }
//表格行颜色9745
//.el-table td, .is-leaf{
// background-color: rgb(255, 255, 255);
// color: black;
// font-weight:400
//}
.el-table--striped .el-table__body tr.el-table__row--striped td {
background-color: #ebebeb !important; /*修改斑马线表格背景*/
}
.el-table thead.is-group th {
background-color: rgb(98, 157, 209);
}
/* .el-textarea__inner,
.el-radio__inner,
.el-input__inner{
border: 1px solid gray!important;
}*/

View File

@@ -0,0 +1,70 @@
@font-face {
font-family: MiSans Demibold;
src: url("font/MiSans-Demibold.ttf");
font-weight: normal;
font-style: normal;
font-display: block;
}
@font-face {
font-family: MiSans Bold;
src: url("font/MiSans-Bold.ttf");
font-weight: normal;
font-style: normal;
font-display: block;
}
@font-face {
font-family: MiSans ExtraLight;
src: url("font/MiSans-ExtraLight.ttf");
font-weight: normal;
font-style: normal;
font-display: block;
}
@font-face {
font-family: MiSans Heavy;
src: url("font/MiSans-Heavy.ttf");
font-weight: normal;
font-style: normal;
font-display: block;
}
@font-face {
font-family: MiSans Light;
src: url("font/MiSans-Light.ttf");
font-weight: normal;
font-style: normal;
font-display: block;
}
@font-face {
font-family: MiSans Medium;
src: url("font/MiSans-Medium.ttf");
font-weight: normal;
font-style: normal;
font-display: block;
}
@font-face {
font-family: MiSans Normal;
src: url("font/MiSans-Normal.ttf");
font-weight: normal;
font-style: normal;
font-display: block;
}
@font-face {
font-family: MiSans Regular;
src: url("font/MiSans-Regular.ttf");
font-weight: normal;
font-style: normal;
font-display: block;
}
@font-face {
font-family: MiSans Semibold;
src: url("font/MiSans-Semibold.ttf");
font-weight: normal;
font-style: normal;
font-display: block;
}
@font-face {
font-family: MiSans Thin;
src: url("font/MiSans-Thin.ttf");
font-weight: normal;
font-style: normal;
font-display: block;
}

View File

@@ -0,0 +1,109 @@
@use './variables.scss';
@use './mixin.scss';
@use './transition.scss';
@use './element-ui.scss';
@use './sidebar.scss';
@use "./font/Misans.css";
body {
height: 100%;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-family: "MiSans Regular", serif;
}
label {
font-weight: 700;
}
html {
height: 100%;
box-sizing: border-box;
}
#app {
height: 100%;
.sidebar-container {
z-index: 9999;
background-color: #2e296a;
}
}
*,
*:before,
*:after {
box-sizing: inherit;
}
a,
a:focus,
a:hover {
cursor: pointer;
color: inherit;
outline: none;
text-decoration: none;
}
div:focus {
outline: none;
}
a:focus,
a:active {
outline: none;
}
a,
a:focus,
a:hover {
cursor: pointer;
color: inherit;
text-decoration: none;
}
.clearfix {
&:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
}
.show-text {
font-family: "MiSans Regular", serif;
//margin-right: 5px;
font-size: 13px;
color: #595959;
}
.confirm-confirm-button {
width: 80px;
height: 40px
}
.confirm-cancel-button {
width: 80px;
height: 40px
}
//main-container全局样式
.app-main {
min-height: 100%;
//min-width: 1220px;
min-width: 100%;
}
.app-container {
//padding: 20px;
//background-color: #ebf1ee;
}
.navbar {
//min-width: 1220px;
//max-width: 1808px;
}

View File

@@ -0,0 +1,27 @@
@mixin clearfix {
&:after {
content: "";
display: table;
clear: both;
}
}
@mixin scrollBar {
&::-webkit-scrollbar-track-piece {
background: #d3dce6;
}
&::-webkit-scrollbar {
width: 6px;
}
&::-webkit-scrollbar-thumb {
background: #99a9bf;
border-radius: 20px;
}
}
@mixin relative {
position: relative;
width: 100%;
height: 100%;
}

View File

@@ -0,0 +1,127 @@
@use './variables.scss';
#app {
// 主体区域
.main-container {
min-height: 100%;
transition: margin-left .28s;
margin-left: 228px;
position: relative;
background-color: #f0f3fa;
}
// 侧边栏
.sidebar-container {
transition: width 0.28s;
width: 228px !important;
height: 100%;
position: fixed;
font-size: 0px;
top: 0;
bottom: 0;
left: 0;
z-index: 1001;
overflow: hidden;
//reset element-ui css
.horizontal-collapse-transition {
transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
}
.el-scrollbar__bar.is-vertical{
right: 0px;
}
.scrollbar-wrapper {
overflow-x: hidden!important;
.el-scrollbar__view {
height: 100%;
}
}
.is-horizontal {
display: none;
}
a {
display: inline-block;
width: 100%;
overflow: hidden;
}
.svg-icon {
margin-right: 8px;
//color: #bcc2ce;
}
.el-menu {
border: none;
height: 100%;
background: #fafcff!important;
width: 100% !important;
font-size: 16px;
}
}
.hideSidebar {
.sidebar-container {
width: 80px !important;
}
.main-container {
margin-left: 80px;
}
.submenu-title-noDropdown {
padding-left: 10px !important;
position: relative;
.el-tooltip {
padding: 0 10px !important;
}
}
.el-submenu {
overflow: hidden;
&>.el-submenu__title {
padding-left: 30px !important;
.el-submenu__icon-arrow {
display: none;
}
}
}
.el-menu--collapse {
.el-submenu {
&>.el-submenu__title {
&>span {
height: 0;
width: 0;
overflow: hidden;
visibility: hidden;
display: inline-block;
}
}
}
}
}
.sidebar-container .nest-menu .el-submenu>.el-submenu__title,
.sidebar-container .el-submenu .el-menu-item {
min-width: 228px !important;
background-color: variables.$subMenuBg !important;
&:hover {
background-color: variables.$menuHover !important;
}
}
.el-menu--collapse .el-menu .el-submenu {
min-width: 180px !important;
}
//适配移动端
.mobile {
.main-container {
margin-left: 0px;
}
.sidebar-container {
transition: transform .28s;
width: 180px !important;
}
&.hideSidebar {
.sidebar-container {
transition-duration: 0.3s;
transform: translate3d(-180px, 0, 0);
}
}
}
.withoutAnimation {
.main-container,
.sidebar-container {
transition: none;
}
}
}

View File

@@ -0,0 +1,46 @@
//globl transition css
/*fade*/
.fade-enter-active,
.fade-leave-active {
transition: opacity 0.28s;
}
.fade-enter,
.fade-leave-active {
opacity: 0;
}
/*fade-transform*/
.fade-transform-leave-active,
.fade-transform-enter-active {
transition: all .5s;
}
.fade-transform-enter {
opacity: 0;
transform: translateX(-30px);
}
.fade-transform-leave-to {
opacity: 0;
transform: translateX(30px);
}
/*fade*/
.breadcrumb-enter-active,
.breadcrumb-leave-active {
transition: all .5s;
}
.breadcrumb-enter,
.breadcrumb-leave-active {
opacity: 0;
transform: translateX(20px);
}
.breadcrumb-move {
transition: all .5s;
}
.breadcrumb-leave-active {
position: absolute;
}

View File

@@ -0,0 +1,4 @@
//sidebar
$menuBg:#00893D;
$subMenuBg:#fafcff;
$menuHover:#e3edfe;