| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365 |
- @import './color';
- /*************************右侧内容窗口样式*************************/
- .app-container{
- flex:1;
- display: flex;
- flex-direction: column;
- background: $acquiesceThemeColorE;
- border-radius:10px;
- overflow: hidden;
- padding:0;
- margin:5px 20px 20px 10px;
- box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.1);
- .page-container{
- flex:1;
- display:flex;
- flex-direction: column;
- overflow: hidden;
- }
- }
- //===========================右侧内容窗口页面公共样式===========================
- //普通查询条件
- .page-form-title-box{
- height:80px;
- border-bottom:1px solid #dedede;
- padding:20px 20px 0 20px;
- }
- //高级查询条件
- .page-advanced-form-title-box{
- height:140px;
- padding:20px 10px 0 20px;
- }
- .page-content-box{
- flex: 1;
- display: flex;
- flex-direction: column;
- padding:20px;
- overflow: hidden;
- }
- /*************************表单表格样式*************************/
- .el-form-item{
- margin-bottom:20px;
- }
- .el-form-item--medium .el-form-item__label{
- color:#333;
- font-weight:500;
- }
- .pt5 {
- padding-top: 5px;
- }
- .pr5 {
- padding-right: 5px;
- }
- .pb5 {
- padding-bottom: 5px;
- }
- .mt5 {
- margin-top: 5px;
- }
- .mr5 {
- margin-right: 5px;
- }
- .mb5 {
- margin-bottom: 5px;
- }
- .mb8 {
- margin-bottom: 8px;
- }
- .ml5 {
- margin-left: 5px;
- }
- .mt10 {
- margin-top: 10px;
- }
- .mr10 {
- margin-right: 10px;
- }
- .mb10 {
- margin-bottom: 10px;
- }
- .ml0 {
- margin-left: 10px;
- }
- .mt20 {
- margin-top: 20px;
- }
- .mr20 {
- margin-right: 20px;
- }
- .mb20 {
- margin-bottom: 20px;
- }
- .m20 {
- margin-left: 20px;
- }
- .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
- font-family: inherit;
- font-weight: 500;
- line-height: 1.1;
- color: inherit;
- }
- .el-dialog:not(.is-fullscreen){
- margin-top: 6vh !important;
- }
- //table 过长文本浮层样式
- .el-tooltip__popper.is-dark{
- max-width:60%!important;
- }
- //*****************************表格*****************************
- //el-table 表头/内容文字对齐方向
- .table-box{
- border-right:1px solid $acquiesceThemeTableB;
- background-color: $acquiesceThemeColorF;
- //表头
- th{
- background-color: #f5f5f5;
- .cell{
- color:#333;
- font-size:14px;
- font-weight:700;
- text-align: center;
- }
- }
- td{
- .cell{
- padding:0 10px 0 12px;
- }
- div{
- font-size:14px;
- font-weight:500;
- }
- //勾选框
- .el-checkbox{
- display: block;
- height:22px;
- width:14px;
- margin: 6px auto;
- overflow: hidden;
- span{
- display: block;
- height: 24px;
- width: 14px;
- overflow: hidden;
- span{
- height: 14px;
- width: 14px;
- margin: 0 auto;
- }
- }
- }
- }
- //默认对齐方向
- .cell{
- text-align: left;
- height:27px;
- line-height:27px;
- }
- //向左对齐方向
- .is-table-left{
- .cell{
- text-align: left;
- }
- }
- //居中对齐方向
- .is-table-center{
- .cell{
- text-align: center;
- }
- }
- //向右对齐方向
- .is-table-right{
- .cell{
- text-align: right;
- }
- }
- .caret-wrapper{
- height:20px;
- }
- .sort-caret.ascending{
- top:-3px;
- }
- .sort-caret.descending{
- bottom:-1px;
- }
- .el-table__header-wrapper{
- width: calc(100% - 9px);
- border-right:1px solid $acquiesceThemeTableA;
- height:40px;
- th, td{
- padding:6px 0;
- }
- }
- .el-table__header-wrapper, .el-table__fixed-header-wrapper {
- th {
- word-break: break-word;
- background-color: $acquiesceThemeTableD;
- color: $acquiesceThemeTableE;
- height: 40px;
- }
- }
- .el-table__header-wrapper th, .el-table__fixed-header-wrapper th{
- color:$acquiesceThemeTableF;
- background-color:$acquiesceThemeTableA;
- line-height:20px;
- }
- .el-table__body-wrapper {
- background-color: $acquiesceThemeTableC;
- flex: 1;
- overflow-y: scroll!important;
- th, td{
- padding:6px 0;
- }
- .el-button [class*="el-icon-"] + span {
- margin-left: 1px;
- }
- }
- //表格内switch按钮样式
- .el-switch{
- height:26px;
- line-height: 26px;
- }
- .switch .el-switch__label {
- position: absolute;
- display: none;
- color: #fff !important;
- }
- .switch .el-switch__label--right {
- z-index: 1;
- }
- .switch .el-switch__label--right span{
- margin-left: 10px;
- }
- .switch .el-switch__label--left {
- z-index: 1;
- }
- .switch .el-switch__label--left span{
- margin-left: 24px;
- }
- .switch .el-switch__label.is-active {
- display: block;
- }
- .switch.el-switch .el-switch__core,
- .el-switch .el-switch__label {
- width: 64px !important;
- margin: 0;
- height:26px;
- line-height: 26px;
- border-radius:14px;
- }
- .el-switch__core:after{
- top: 4px;
- left: 4px;
- }
- .el-switch.is-checked .el-switch__core::after{
- margin-left:-20px;
- }
- }
- //*****************************无高度限制表格*****************************
- .table-box-no-height{
- border-right:1px solid $acquiesceThemeTableB;
- background-color: $acquiesceThemeColorF;
- //表头
- th{
- background-color: #f5f5f5;
- .cell{
- color:#333;
- font-size:14px;
- font-weight:700;
- text-align: center;
- }
- }
- td{
- .cell{
- padding:0 10px 0 12px;
- }
- div{
- font-size:14px;
- font-weight:500;
- }
- //勾选框
- .el-checkbox{
- display: block;
- height:22px;
- width:14px;
- margin: 6px auto;
- overflow: hidden;
- span{
- display: block;
- height: 24px;
- width: 14px;
- overflow: hidden;
- span{
- height: 14px;
- width: 14px;
- margin: 0 auto;
- }
- }
- }
- }
- //默认对齐方向
- .cell{
- text-align: left;
- }
- //向左对齐方向
- .is-table-left{
- .cell{
- text-align: left;
- }
- }
- //居中对齐方向
- .is-table-center{
- .cell{
- text-align: center;
- }
- }
- //向右对齐方向
- .is-table-right{
- .cell{
- text-align: right;
- }
- }
- .caret-wrapper{
- height:20px;
- }
- .sort-caret.ascending{
- top:-3px;
- }
- .sort-caret.descending{
- bottom:-1px;
- }
- .el-table__header-wrapper{
- width: calc(100% - 9px);
- border-right:1px solid $acquiesceThemeTableA;
- height:40px;
- th, td{
- padding:6px 0;
- }
- }
- .el-table__header-wrapper, .el-table__fixed-header-wrapper {
- th {
- word-break: break-word;
- background-color: $acquiesceThemeTableD;
- color: $acquiesceThemeTableE;
- height: 40px;
- }
- }
- .el-table__header-wrapper th, .el-table__fixed-header-wrapper th{
- color:$acquiesceThemeTableF;
- background-color:$acquiesceThemeTableA;
- line-height:20px;
- }
- .el-table__body-wrapper {
- background-color: $acquiesceThemeTableC;
- flex: 1;
- overflow-y: scroll!important;
- th, td{
- padding:6px 0;
- }
- .el-button [class*="el-icon-"] + span {
- margin-left: 1px;
- }
- }
- //表格内switch按钮样式
- .el-switch{
- height:26px;
- line-height: 26px;
- }
- .switch .el-switch__label {
- position: absolute;
- display: none;
- color: #fff !important;
- }
- .switch .el-switch__label--right {
- z-index: 1;
- }
- .switch .el-switch__label--right span{
- margin-left: 10px;
- }
- .switch .el-switch__label--left {
- z-index: 1;
- }
- .switch .el-switch__label--left span{
- margin-left: 24px;
- }
- .switch .el-switch__label.is-active {
- display: block;
- }
- .switch.el-switch .el-switch__core,
- .el-switch .el-switch__label {
- width: 64px !important;
- margin: 0;
- height:26px;
- line-height: 26px;
- border-radius:14px;
- }
- .el-switch__core:after{
- top: 4px;
- left: 4px;
- }
- .el-switch.is-checked .el-switch__core::after{
- margin-left:-20px;
- }
- }
- .table-null-img-10{
- .el-table__empty-text{
- background-size: 10%!important;
- }
- }
- .table-null-img-15{
- .el-table__empty-text{
- background-size: 15%!important;
- }
- }
- .table-null-img-20{
- .el-table__empty-text{
- background-size: 20%!important;
- }
- }
- .table-null-img-30{
- .el-table__empty-text{
- background-size: 30%!important;;
- }
- }
- .table-null-img-40{
- .el-table__empty-text{
- background-size: 40%!important;;
- }
- }
- .table-null-img-50{
- .el-table__empty-text{
- background-size: 50%!important;;
- }
- }
- .table-null-img-60{
- .el-table__empty-text{
- background-size: 60%!important;;
- }
- }
- //表格滚动条样式
- .el-table__body-wrapper::-webkit-scrollbar{
- width: 6px; /*高宽分别对应横竖滚动条的尺寸*/
- height: 6px;
- }
- .el-table__body-wrapper::-webkit-scrollbar-thumb{
- border-radius: 5px;
- background: $acquiesceThemeScrollbarB;
- }
- .el-table__body-wrapper::-webkit-scrollbar-track{
- -webkit-box-shadow: inset 0 0 5px $acquiesceThemeScrollbarA;
- border-radius: 0;
- background: $acquiesceThemeScrollbarA;
- }
- //表格缺省样式
- .el-table__empty-text{
- font-size:0;
- color:rgba(0,0,0,0);
- width:100%;
- height:100%;
- background: url("../ZDimages/basicsModules/null-data-1.png") no-repeat 50% 50%;
- background-color: $acquiesceThemeTableC;
- background-size: 10%;
- }
- .el-table--group::after, .el-table--border::after{
- width:0;
- }
- .el-table--fit{
- flex: 1;
- display: flex;
- flex-direction: column;
- }
- .el-table__row{
- color:$acquiesceThemeTableF;
- }
- .el-table__fixed {
- height: calc(100% - 8px)!important;
- }
- .el-table__fixed, .el-table__fixed-right{
- top:0;
- left:0;
- }
- .el-table__fixed::before, .el-table__fixed-right::before{
- background-color: rgba(255,255,255,0);
- }
- .el-table__fixed-body-wrapper{
- height: calc(100% - 48px);
- overflow-y: auto;
- }
- .el-table--medium th, .el-table--medium td {
- padding: 6px 0;
- border-right: 0 solid #dfe6ec;
- border-left: 1px solid #dfe6ec;
- }
- .el-table--medium{
- th:nth-child(1){
- border-left: 0px solid #dfe6ec !important;
- }
- td:nth-child(1){
- border-left: 0px solid #dfe6ec !important;
- }
- }
- //表头
- .el-table__fixed-header-wrapper{
- th, td{
- padding:6px 0;
- }
- .el-table--medium th, .el-table--medium td{
- padding:12px 0!important;
- border-top: 1px solid $acquiesceThemeTableB !important;
- }
- }
- // 表格更多操作下拉样式
- .el-table .el-dropdown-link {
- cursor: pointer;
- color: $acquiesceThemeTableH;
- margin-left: 5px;
- }
- .el-table .el-dropdown, .el-icon-arrow-down {
- font-size: 12px;
- }
- /****************************表单布局****************************/
- .form-header {
- font-size:15px;
- color:#6379bb;
- border-bottom:1px solid #dddddd;
- margin:8px 10px 25px 10px;
- padding-bottom:5px
- }
- /* tree border */
- .tree-border {
- margin-top: 5px;
- border: 1px solid #e5e6e7;
- background: #fff none;
- border-radius:4px;
- }
- .el-table .fixed-width .el-button--mini {
- padding-left: 0;
- padding-right: 0;
- width: inherit;
- }
- .el-tree-node__content > .el-checkbox {
- margin-right: 8px;
- }
- .list-group-striped > .list-group-item {
- border-left: 0;
- border-right: 0;
- border-radius: 0;
- padding-left: 0;
- padding-right: 0;
- }
- .list-group {
- padding-left: 0;
- list-style: none;
- }
- .list-group-item {
- border-bottom: 1px solid #e7eaec;
- border-top: 1px solid #e7eaec;
- margin-bottom: -1px;
- padding: 11px 0;
- font-size: 13px;
- }
- .pull-right {
- float: right !important;
- }
- .el-card__header {
- padding: 14px 15px 7px;
- min-height: 40px;
- }
- .el-card__body {
- padding: 15px 20px 20px 20px;
- }
- .card-box {
- padding-right: 15px;
- padding-left: 15px;
- margin-bottom: 10px;
- }
- /* button color */
- .el-button--cyan.is-active,
- .el-button--cyan:active {
- background: #20B2AA;
- border-color: #20B2AA;
- color: #FFFFFF;
- }
- .el-button--cyan:focus,
- .el-button--cyan:hover {
- background: #48D1CC;
- border-color: #48D1CC;
- color: #FFFFFF;
- }
- .el-button--cyan {
- background-color: #20B2AA;
- border-color: #20B2AA;
- color: #FFFFFF;
- }
- /* text color */
- .text-navy {
- color: #1ab394;
- }
- .text-primary {
- color: inherit;
- }
- .text-success {
- color: #1c84c6;
- }
- .text-info {
- color: #23c6c8;
- }
- .text-warning {
- color: #f8ac59;
- }
- .text-danger {
- color: #ed5565;
- }
- .text-muted {
- color: #888888;
- }
- /* image */
- .img-circle {
- border-radius: 50%;
- }
- .img-lg {
- width: 120px;
- height: 120px;
- }
- .avatar-upload-preview {
- position: absolute;
- top: 50%;
- transform: translate(50%, -50%);
- width: 200px;
- height: 200px;
- border-radius: 50%;
- box-shadow: 0 0 4px #ccc;
- overflow: hidden;
- }
- /* 拖拽列样式 */
- .sortable-ghost{
- opacity: .8;
- color: #fff!important;
- background: #42b983!important;
- }
- .top-right-btn {
- position: relative;
- float: right;
- }
- /*************************表格翻页样式*************************/
- .el-pagination.is-background .btn-next, .el-pagination.is-background .btn-prev, .el-pagination.is-background .el-pager li{
- background-color: $acquiesceThemeColorE;
- color: $acquiesceThemeColorG;
- font-weight:700;
- }
- .el-pagination.is-background .el-pager li:not(.disabled).active{
- background-color: $acquiesceThemeColorE;
- color: $acquiesceThemeColorC;
- }
- .pagination-container{
- padding:20px 0 0 0!important;
- .el-pagination__sizes{
- width: 120px !important;
- overflow: hidden!important;
- .teacher .el-select{
- width: 120px !important;
- }
- input{
- border:none;
- }
- }
- .el-pagination{
- display: flex;
- width:100%;
- }
- }
- .el-pagination__total{
- flex:1;
- text-align: right;
- }
- @media ( max-width : 768px) {
- .pagination-container .el-pagination > .el-pagination__jump {
- display: none !important;
- }
- .pagination-container .el-pagination > .el-pagination__sizes {
- display: none !important;
- }
- }
- /*************************顶部导航样式*************************/
- /*顶部按钮滚动条*/
- .tags-view-container{
- padding:0!important;
- margin:0!important;
- overflow: hidden;
- .scroll-container{
- padding:0!important;
- margin:0!important;
- overflow: hidden;
- .el-scrollbar__wrap{
- padding:0!important;
- margin:0!important;
- overflow: hidden;
- .el-scrollbar__view{
- margin-top:16px;
- height:50px;
- overflow-x: scroll;
- overflow-y: hidden;
- }
- //滚动条样式
- .el-scrollbar__view::-webkit-scrollbar{
- width: 6px; /*高宽分别对应横竖滚动条的尺寸*/
- height: 6px;
- }
- .el-scrollbar__view::-webkit-scrollbar-thumb{
- border-radius: 5px;
- -webkit-box-shadow: inset 0 0 5px $acquiesceThemeScrollbarB;
- background: $acquiesceThemeScrollbarA
- }
- .el-scrollbar__view::-webkit-scrollbar-track{
- -webkit-box-shadow: inset 0 0 5px rgba(255,255,255,0);
- border-radius: 0;
- background: rgba(255,255,255,0);
- }
- }
- }
- }
- .el-dropdown-menu{
- .el-dropdown-menu__item{
- min-width:80px;
- text-align: center;
- min-height:30px;
- line-height:30px;
- }
- }
- .el-dropdown-menu .popper__arrow{
- left:65px!important;
- }
- //*************************顶部导航-更多下啦列表*************************
- .el-menu--horizontal{
- .el-menu{
- padding:10px 0;
- margin:0;
- border-bottom-left-radius: 6px;
- border-bottom-right-radius: 6px;
- overflow: hidden;
- background: $acquiesceThemeColorF!important;
- box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.2);
- }
- }
- .all-menu{
- font-size:16px;
- font-weight:500;
- margin:5px 10px;
- background: $acquiesceThemeColorF!important;
- color:$acquiesceThemeColorD!important;
- border-radius:10px;
- }
- .all-menu:hover{
- background: $acquiesceThemeColorA!important;
- color:$acquiesceThemeColorE!important;
- border-radius:10px;
- }
- .el-menu--horizontal > .el-menu-item:not(.is-disabled):hover, .el-menu--horizontal > .el-menu-item:not(.is-disabled):focus{
- background: $acquiesceThemeColorB !important;
- }
- //框架样式
- #app {
- .main-container {
- flex:1;
- margin-left:300px;
- background: $acquiesceThemeColorE;
- display: flex;
- flex-direction: column;
- transition: margin-left .28s;
- position: relative;
- overflow: hidden;
- }
- /*************************顶部导航样式*************************/
- .top-submenu{
- background: $acquiesceThemeColorA;
- border:0!important;
- //顶部导航选中
- .is-active{
- background: $acquiesceThemeColorB;
- --theme: $acquiesceThemeColorB;
- }
- //顶部导航按钮
- .el-menu-item{
- padding:0 20px!important;
- margin:0!important;
- font-size:16px;
- font-weight:500;
- }
- //顶部导航悬浮
- .el-menu-item:hover{
- background: $acquiesceThemeColorB;
- }
- //顶部导航-更多按钮
- .el-submenu__title{
- color:$acquiesceThemeColorE!important;
- height:80px!important;
- line-height:80px!important;
- margin:0!important;
- padding:0 20px!important;
- font-size:16px;
- font-weight:500;
- .el-submenu__icon-arrow{
- margin-top:-2px!important;
- }
- }
- //顶部导航-更多悬浮
- .el-submenu__title:hover{
- background: $acquiesceThemeColorB;
- }
- }
- /*************************左侧导航样式*************************/
- .sidebar-container {
- width:300px;
- -webkit-transition: width .28s;
- transition: width 0.28s;
- background-color: $acquiesceThemeColorE;
- height: 100%;
- font-size: 0;
- top: 0;
- bottom: 0;
- left: 0;
- z-index: 11;
- -webkit-box-shadow: 2px 0 6px rgba(0,21,41,.35);
- overflow: hidden;
- padding:0 20px;
- box-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.1);
- //logo栏
- .sidebar-logo-container{
- background:$acquiesceThemeColorE;
- }
- .theme-dark{
- .nest-menu{
- svg{
- display: none;
- }
- span{
- margin-left:30px;
- font-size:14px;
- }
- }
- }
- .horizontal-collapse-transition {
- transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
- }
- .scrollbar-wrapper {
- overflow-x: hidden !important;
- //padding-right:17px;
- }
- .scrollbar-wrapper::-webkit-scrollbar{
- display: none;
- }
- .el-scrollbar__bar.is-vertical {
- right: 0;
- display: none;
- }
- .el-scrollbar {
- height: 100%;
- }
- &.has-logo {
- .el-scrollbar {
- height: calc(100% - 50px);
- }
- }
- .is-horizontal {
- display: none;
- }
- .svg-icon {
- margin-right: 16px;
- }
- .el-menu {
- background: $acquiesceThemeColorE;
- font-family: Microsoft YaHei;
- font-weight: bold;
- border: none;
- height: 100%;
- width:260px;
- span{
- font-weight: 700;
- }
- }
- //左侧菜单
- .el-menu-item,
- .submenu-title-noDropdown,
- .el-submenu__title {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- background:$acquiesceThemeColorE!important;
- color:$acquiesceThemeColorD!important;
- font-size:16px;
- font-weight:700;
- margin:10px 0 0 0;
- border-radius:10px;
- height:40px;
- line-height:40px;
- svg{
- color:$acquiesceThemeColorA!important;
- }
- span{
- display: inline-block;
- margin-top:-3px;
- }
- i{
- display: inline-block;
- }
- }
- //左侧菜单-悬浮/选中
- .el-menu-item:hover,
- .submenu-title-noDropdown:hover,
- .el-submenu__title:hover{
- background:$acquiesceThemeColorA!important;
- color:$acquiesceThemeColorE!important;
- span{
- color:$acquiesceThemeColorE!important;
- }
- i{
- color:$acquiesceThemeColorE!important;
- }
- svg{
- color:$acquiesceThemeColorE!important;
- }
- }
- .check-menu-box {
- display: inline-block;
- width:260px;
- overflow: hidden;
- //左侧选中样式
- .is-active{
- background:$acquiesceThemeColorA!important;
- color:$acquiesceThemeColorE!important;
- span{
- color:$acquiesceThemeColorE!important;
- }
- i{
- color:$acquiesceThemeColorE!important;
- }
- svg{
- color:$acquiesceThemeColorE!important;
- }
- }
- }
- a {
- display: inline-block;
- width: 100%;
- overflow: hidden;
- //左侧选中样式
- .is-active{
- background:$acquiesceThemeColorA!important;
- color:$acquiesceThemeColorE!important;
- span{
- color:$acquiesceThemeColorE!important;
- }
- i{
- color:$acquiesceThemeColorE!important;
- }
- svg{
- color:$acquiesceThemeColorE!important;
- }
- }
- }
- }
- .hideSidebar {
- .sidebar-container {
- width: 54px !important;//屏幕适配
- }
- .main-container {
- margin-left: 54px;
- }
- .submenu-title-noDropdown {
- padding: 0 !important;
- position: relative;
- .el-tooltip {
- padding: 0 !important;
- .svg-icon {
- margin-left: 20px;
- }
- }
- }
- .el-submenu {
- overflow: hidden;
- &>.el-submenu__title {
- padding: 0 !important;
- .svg-icon {
- margin-left: 20px;
- }
- }
- }
- .el-menu--collapse {
- .el-submenu {
- &>.el-submenu__title {
- &>span {
- height: 0;
- width: 0;
- overflow: hidden;
- visibility: hidden;
- display: inline-block;
- }
- }
- }
- }
- }
- // mobile responsive
- .mobile {
- .main-container {
- margin-left: 0;
- }
- .sidebar-container {
- transition: transform .28s;
- width: 200px !important;
- }
- &.hideSidebar {
- .sidebar-container {
- pointer-events: none;
- transition-duration: 0.3s;
- transform: translate3d(-200px, 0, 0);
- }
- }
- }
- .withoutAnimation {
- .main-container,
- .sidebar-container {
- transition: none;
- }
- }
- }
- // when menu collapsed
- .el-menu--vertical {
- &>.el-menu {
- .svg-icon {
- margin-right: 16px;
- }
- }
- .nest-menu .el-submenu>.el-submenu__title,
- .el-menu-item {
- &:hover {
- background-color: rgba(0, 0, 0, 0.06) !important;
- }
- }
- >.el-menu--popup {
- max-height: 100vh;
- overflow-y: auto;
- &::-webkit-scrollbar-track-piece {
- background: $acquiesceThemeScrollbarC;
- }
- &::-webkit-scrollbar {
- width: 6px;
- }
- &::-webkit-scrollbar-thumb {
- background: $acquiesceThemeScrollbarC;
- border-radius: 20px;
- }
- }
- }
- //右侧小图标-菜单关闭
- .el-submenu>.el-submenu__title .el-submenu__icon-arrow{
- -webkit-transform: rotateZ(-90deg);
- -ms-transform: rotate(-90deg);
- transform: rotateZ(-90deg);
- margin-top: -10px;
- }
- //右侧小图标-菜单展开
- .el-submenu.is-opened>.el-submenu__title .el-submenu__icon-arrow{
- -webkit-transform: rotateZ(0deg);
- -ms-transform: rotate(0deg);
- transform: rotateZ(0deg);
- margin-top: -10px;
- }
- //右侧小图标-样式
- .el-submenu>.el-submenu__title .el-submenu__icon-arrow::before{
- font-size:20px;
- }
- /*************************btn*************************/
- @mixin colorBtn($color) {
- background: $color;
- &:hover {
- color: $color;
- &:before,
- &:after {
- background: $color;
- }
- }
- }
- .blue-btn {
- @include colorBtn($blue)
- }
- .light-blue-btn {
- @include colorBtn($light-blue)
- }
- .red-btn {
- @include colorBtn($red)
- }
- .pink-btn {
- @include colorBtn($pink)
- }
- .green-btn {
- @include colorBtn($green)
- }
- .tiffany-btn {
- @include colorBtn($tiffany)
- }
- .yellow-btn {
- @include colorBtn($yellow)
- }
- .pan-btn {
- font-size: 14px;
- color: #fff;
- padding: 14px 36px;
- border-radius: 8px;
- border: none;
- outline: none;
- transition: 600ms ease all;
- position: relative;
- display: inline-block;
- &:hover {
- background: #fff;
- &:before,
- &:after {
- width: 100%;
- transition: 600ms ease all;
- }
- }
- &:before,
- &:after {
- content: '';
- position: absolute;
- top: 0;
- right: 0;
- height: 2px;
- width: 0;
- transition: 400ms ease all;
- }
- &::after {
- right: inherit;
- top: inherit;
- left: 0;
- bottom: 0;
- }
- }
- .custom-button {
- display: inline-block;
- line-height: 1;
- white-space: nowrap;
- cursor: pointer;
- background: #fff;
- color: #fff;
- -webkit-appearance: none;
- text-align: center;
- box-sizing: border-box;
- outline: 0;
- margin: 0;
- padding: 10px 15px;
- font-size: 14px;
- border-radius: 4px;
- }
- /*************************mixin*************************/
- @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%;
- }
- @mixin pct($pct) {
- width: #{$pct};
- position: relative;
- margin: 0 auto;
- }
- @mixin triangle($width, $height, $color, $direction) {
- $width: $width/2;
- $color-border-style: $height solid $color;
- $transparent-border-style: $width solid transparent;
- height: 0;
- width: 0;
- @if $direction==up {
- border-bottom: $color-border-style;
- border-left: $transparent-border-style;
- border-right: $transparent-border-style;
- }
- @else if $direction==right {
- border-left: $color-border-style;
- border-top: $transparent-border-style;
- border-bottom: $transparent-border-style;
- }
- @else if $direction==down {
- border-top: $color-border-style;
- border-left: $transparent-border-style;
- border-right: $transparent-border-style;
- }
- @else if $direction==left {
- border-right: $color-border-style;
- border-top: $transparent-border-style;
- border-bottom: $transparent-border-style;
- }
- }
- /*************************transition*************************/
- // global 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);
- }
- /* breadcrumb transition */
- .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;
- }
- /************* 页面switch样式 **************/
- .page-switch{
- .el-switch{
- margin-top:2px;
- }
- .el-switch__label {
- position: absolute;
- display: none;
- color: #fff !important;
- }
- .el-switch__label--right {
- z-index: 1;
- }
- .el-switch__label--right span{
- margin-left: 14px;
- }
- .el-switch__label--left {
- z-index: 1;
- }
- .el-switch__label--left span{
- margin-left: 29px;
- }
- .el-switch__label.is-active {
- display: block;
- }
- .el-switch .el-switch__core,
- .el-switch .el-switch__label {
- width: 70px !important;
- margin: 0;
- height: 30px;
- line-height: 30px;
- border-radius:15px;
- }
- .el-switch__core:after{
- top: 6px;
- left: 6px;
- }
- .el-switch.is-checked .el-switch__core::after{
- margin-left:-21px;
- }
- }
- /************* el-input-number 操作按钮样式修复 **************/
- .el-input-number--medium .el-input-number__increase, .el-input-number--medium .el-input-number__decrease{
- height:38px;
- line-height:38px;
- }
- /************* 新子组件头部标题与按钮样式 ****************/
- .page-container-top-max-big-box {
- height: 60px;
- display: flex;
- overflow: hidden;
- padding: 0 20px;
- border-bottom: 1px solid #dedede;
- align-items: center;
- .top-1-p {
- flex: 1;
- font-size: 16px;
- }
- .top-2-p {
- height: 35px;
- line-height: 33px;
- margin-left: 20px;
- padding: 0 20px;
- border-radius: 4px;
- background-color: #fff;
- border: 1px solid #999;
- color: #999;
- cursor: pointer;
- }
- .top-3-p {
- height: 35px;
- line-height: 33px;
- margin-left: 20px;
- padding: 0 20px;
- border-radius: 4px;
- background-color: #dedede;
- border: 1px solid #dedede;
- color: #333;
- cursor: pointer;
- }
- .top-4-p {
- height: 35px;
- line-height: 33px;
- margin-left: 20px;
- padding: 0 20px;
- border-radius: 4px;
- background-color: #0183fa;
- border: 1px solid #0183fa;
- color: #fff;
- cursor: pointer;
- }
- }
- /************* 单选按钮 位置修复 ****************/
- .el-radio{
- margin-top:5px;
- }
- .el-cascader-panel{
- .el-radio{
- margin-top:2px;
- }
- }
|