From c92282ff76f3ff986b4798d0f95e9c3e61020ca7 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期一, 12 四月 2021 17:03:41 +0800 Subject: [PATCH] 日期选择组件,elelct 组件样式修改。 --- src/assets/css/map/map-panel-style.less | 103 +++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 95 insertions(+), 8 deletions(-) diff --git a/src/assets/css/map/map-panel-style.less b/src/assets/css/map/map-panel-style.less index 494c67d..2f70562 100644 --- a/src/assets/css/map/map-panel-style.less +++ b/src/assets/css/map/map-panel-style.less @@ -11,6 +11,7 @@ list-style: none; } +i{font-style: normal} .el-button--primary { color: @color; @@ -239,6 +240,7 @@ .el-button{ } +.hover-bottom:hover, .active-button{ border: 0.00521rem solid #fff700 !important; box-shadow: 0 0 0.03rem #fff700 !important; @@ -321,24 +323,44 @@ list-style: none; margin: 0; padding: 0; - width: 260px; - display: flex; + //width: 260px; + //display: flex; flex-wrap: wrap; } .company-bindTooltip-hover ul li { margin: 0; padding: 3px 0; - width: 50%; + //width: 50%; } /*************** PublicTable 琛ㄦ牸鏍峰紡銆�*********************************/ -.cell { - padding: 0; + +.el-table{ + border-bottom: 1px solid #fff; + .el-table__body-wrapper::-webkit-scrollbar { + width: 0; + height: 0; + background: none; + } + .cell{ + padding: 0 3px !important; + i{ + display: block; + font-style: normal; + font-size: 10px; + line-height: 12px; + } + } } +.el-table--border th{ + border-right: none; + border-left: 1px solid #ddd; +} +.el-table--border th.gutter{border-left: none} .el-table .cell, .el-table--border td:first-child .cell, .el-table--border th:first-child .cell { - /* padding-left: 10px; */ + text-align: center; } .el-table th>.cell { @@ -351,9 +373,9 @@ height: 0; } .el-table td, .el-table th.is-leaf { - border: none; font-size: 0.08rem; } + .el-table .warning-row { background: #28304d; } @@ -364,6 +386,12 @@ .el-table tbody tr:hover>td { background-color:#28304d !important; } +//淇敼琛ㄦ牸楂樺害 +.el-table td { + padding: 0!important; + font-size: 0.01rem !important; +} + /***********************************************鍔ㄧ敾鏁堟灉************/ .transition{ transition: all .5s; @@ -411,5 +439,64 @@ } .el-tabs__header .is-top { - + } + +.el-picker-panel{ + background: @background-color; + border-color:@color; + color:@color; + .el-picker-panel__body-wrapper{ + background: @background-color; + } + .el-input__inner{ + background:@background-color; + border-color:@color; + } + .el-date-table td.today span{ + color:@color-highlight; + } + .el-picker-panel__footer{ + background: @background-color; + border-top-color:@color; + } + .el-date-table th{ + border-bottom-color:@color; + } + .el-button{ + background: @background-color; + color:@color; + border-color:@color; + } + .el-button--text{ + padding: 7px 15px; + } + .el-button:hover{ + background: @background-color; + color:@color-highlight; + border-color:@color-highlight; + } + .el-input__inner{ + color:#fff; + text-align: center; + } + .el-date-picker__time-header{ + border-bottom-color:@background-color-split; + } + .el-date-picker__header-label{color:#fff} +} +.el-select-dropdown{ + background: @background-color; + border-color:@color; + color:@color; + .el-select-dropdown__item{ + color:#fff; + } + .el-select-dropdown__item.hover{ + background: @background-color; + box-shadow: 0 0 5px @color-highlight inset; + } + .el-select-dropdown__item.selected{ + color:@color-highlight; + } + } \ No newline at end of file -- Gitblit v1.8.0