@import 'element-variables.scss'; /* 改变 icon 字体路径变量,必需 */ $--font-path: '~element-ui/lib/theme-chalk/fonts'; @import '~element-ui/packages/theme-chalk/src/index'; @import '../icon/iconfont.css'; // 电子数字字体 @font-face { font-family: 'electronicFont'; src: url('../fonts/CursedTimerUlil-Aznm.ttf'); } // PingFang @font-face { font-family: 'PingFang SC'; src: url('../fonts/PingFang Medium.woff2'); } /* 设置滚动条的样式 background-color: #0f3a5c;*/ ::-webkit-scrollbar { width: 10px !important; height: 13px !important; background-color: #ccc; border-radius: 2px; } /* 滚动槽 */ ::-webkit-scrollbar-track { border-radius: 6px; background-color: #ccc !important; } /* 滚动条滑块 */ ::-webkit-scrollbar-thumb { border-radius: 6px; background-color: #9fa1a5; } .bg { background-color: $--background-color-base; } .flex { display: flex; } .flex-center { display: flex; justify-content: center; align-items: center; } .flex-between { display: flex; justify-content: space-between; align-items: center; } .flex-wrap { display: flex; flex-wrap: wrap; } .common-full-page { width: 100%; height: 100%; box-sizing: border-box; } .common-page-shadow { // box-shadow: 0 2px 10px 2px rgba(77, 77, 77, 0.1); } // 通用table 页面样式 start --------- // 搜索区域 .common-search-container { width: 100%; // height: 80px; // line-height: 80px; padding: 20px 20px; background-color: #ffffff; // border-bottom: 1px solid #e6e6e6; box-shadow: 0 0.10417vw 0.625vw 0 rgba(0, 0, 0, 0.1); border-radius: 8px 8px 8px 8px; display: flex; // justify-content: space-between; box-sizing: border-box; overflow: hidden; transition: height 0.3s linear; // -webkit-transition: height 0.3s linear; // -moz-transition: height 0.3s linear; // -ms-transition: height 0.3s linear; // -o-transition: height 0.3s linear; // .el-form-item { // margin: 0; // display: inline-block; // width: 100% !important; // } // .el-form-item__content { // line-height: 80px; // } // .el-input, // .el-input--suffix { // line-height: normal; // } // .el-button--primary{ // background-color: $--theme-color !important; // border-color: $--theme-color !important; // } // .el-form{ // width:90% !important; // } .container-btn { display: flex; align-items: center; } } .searchPanel{ height: calc(100% - var(--searchPanel) - 10px); } // 表格区域 .common-table-container { // height: calc(100% - 80px - 10px); padding: 0; margin: 10px 0 0 0; border-radius: 8px 8px 8px 8px; background-color: #fff; box-sizing: border-box; transition: height 0.3s linear; // -webkit-transition: height 0.3s linear; // -moz-transition: height 0.3s linear; // -ms-transition: height 0.3s linear; // -o-transition: height 0.3s linear; } // 表格左侧树 .common-aside-container { width: 300px; height: 100%; border-radius: 20px; box-sizing: border-box; background-color: #ffffff; padding: 20px !important; } // 表格 .common-table-wrapper { // width: 100%; height: 100%; padding: 10px !important; position: relative; transition: height 0.3s linear; } .common-table-content{ width: 100%; height: 100%; .el-table thead tr th{ background-color: #F1F5F8 !important; } .el-table{ border-collapse: collapse !important; } .el-table__header tr th{ padding: 0; height: 48px !important; line-height: 48px !important; font-size: 16px !important; font-weight: 700 !important; color: #545454 !important; border-right:1px solid #DFE2E8 !important; } .el-table__body tr td{ padding: 0; height: 50px !important; line-height: 50px !important; font-size: 14px !important; color: #24262b !important; border-right:none !important; } .el-button--text{ color: $--theme-color !important; } .el-table .cell{ font-size: 14px !important; } .el-table th.el-table__cell > .cell { font-size: 16px !important; font-weight: 700 !important; } } .common-table-content.btngroup{ width: 100%; margin-top: 16px; height: calc(100% - 32px - 16px); // 32是按钮区域 16是margin } .common-table-content.pagenation{ margin-bottom: 16px; height: calc(100% - 32px - 16px); // 32是分页区域 16是margin } .common-table-content.btn-pagenation{ margin: 16px 0; height: calc(100% - 32px - 32px - 32px); // 32是按钮区域 32是分页区域 32是margin } // 按钮区域 .common-btn-group{ width: 100%; // .el-button--primary{ // background-color: $--theme-color!important; // border-color: $--theme-color !important; // } .el-button--danger.is-disabled{ background-color: #fff !important; color: #FF7B80 !important; border-color: #FF7B80 !important; } } // 分页 .common-pagenation{ width: 100%; text-align: right; .btn-next,.btn-prev{ background-color: #C0C4CB !important; color: #fff !important; } .el-pagination.is-background .el-pager li:not(.disabled).active { font-size: 16px !important; background-color: $--theme-color !important; } .el-pagination__total{ font-size: 16px !important; } .el-pagination__sizes .el-input .el-input__inner{ font-size: 16px !important; } .el-pagination__jump{ font-size: 13px !important; } } // 表单区域 .el-dialog{ .el-dialog__header{ height: 18px !important; line-height: 18px !important; padding: 16px 20px !important; background-color: $--theme-color !important; } .el-dialog__title{ line-height: 18px !important; color: $--color-white !important; } .el-dialog__headerbtn,.el-dialog__close,.el-icon,.el-icon-close{ line-height: 9px !important; font-size: 22px !important; color: $--color-white !important; } .el-dialog__footer { text-align: center; } .el-button--default{ width: 90px !important; color: $--theme-color !important; border-color: $--theme-color !important; } .el-button--primary{ width: 90px !important; } .el-form-item{ text-align: center !important; margin-top: 20px !important; } .flex-wrap { flex-wrap: wrap; } .el-input-number{ width: 90% !important; } .el-input__inner{ text-align: left !important; } .el-textarea{ height: 150px !important; } .el-textarea__inner{ height: 100% !important; } } // 通用table 页面样式 end --------- .el-tabs__header { background-color: #fff; padding:15px 20px; border-radius: 10px; margin-bottom: 10px; } .el-tabs__nav-wrap::after { height: 0; } .el-tabs__item:nth-of-type(n + 3):after { content: ''; width: 0.5px; height: 0.67708vw; position: absolute; left: 0; top: 50%; transform: translateY(-50%); background: #777; } .common-page-shadow { width: 100%; height: calc(100% - 155px); box-sizing: border-box; .common-search-container { height: 80px; } } .common-page-content { width: 100%; height: calc(100% - 74px); box-sizing: border-box; .common-search-container { height: 80px; } } .crumbs { background-color: white; padding: 20px; border-radius: 10px; } .edit-add-detail { display: flex; flex-direction: column; .form-content { flex: 1; background-color: white; padding: 10px 20px; margin-top: 10px; border-radius: 10px; overflow-y: scroll; } .footer { height: 70px; background-color: white; margin-top: 10px; display: flex; justify-content: center; align-items: center; } .company-information { border-radius: 10px; padding: 10px 20px; background-color: white; margin-bottom: 20px; } } .common-total { display: flex; justify-content: flex-end; align-items: center; .text { font-size: 18px; margin-right: 20px; span { color: red; font-size: 18px; font-weight: bold; } } } .rows { display: flex; align-items: center; border-bottom: 1px solid #ebebeb; margin-bottom: 16px; padding: 10px 0; .rows-left { margin-right: 10px; .rows-hr { width: 3px; height: 18px; background-color: #0e6eff; border-radius: 2px; } } .rows-title { .text-overflow { width: 100%; font-size: 16px; } } } .el-button span,.el-button i{ font-size: 14px; }