@import '~view-design/src/styles/index.less'; @side-menu-background: #191A23; @side-menu-drawer: #101117; //@background: #E5E5E5; //@background: #F2F4FB; @background:#EAEDF7; // c4d9ff @currentRowColor:#c4d9ff; @cell_height: 30px; @cell_input_height: 28px; @input_height: 28px; @select_tag_height: 24px; @logo_height: 40px; // @primary-color: #58B957; // @link-color: #58B957; .vxe-cell--valid-msg { padding: 4px 10px !important; display: inline !important; } .ivu-layout-header { height: @logo_height !important; line-height: @logo_height !important; } .header-bar .custom-content-con { line-height: @logo_height !important; } .ivu-radio-group { height: @input_height; line-height: @input_height; margin-left: 8px; } .col--seq > .vxe-cell { padding-left: 0 !important; padding-right: 0 !important; } .vxe-button.type--button { width: 100% !important; display: flex; align-items: center; justify-content: center; height: 29px !important; } .vxe-switch { align-items: center; display: flex; justify-content: center; height: 30px; line-height: 30px; } .vxe-switch.size--mini { font-size: 10px !important; } .button-column-class .vxe-cell { padding: 0 !important; } /** * @desc : main最顶端左侧样式 * @author : 周兴 * @date : 2022/5/18 20:23 */ .tag-nav-wrapper { display: flex; height: @logo_height; line-height: @logo_height; align-content: center; .main { z-index: 999; background: #fff; height: 100%; .sub-main { padding-left: 20px; //width: 180px; height: 38px; justify-content: left; display: flex; align-items: center; } } } .seq-column-class .vxe-cell { justify-content: center; border-right: 2px solid #dcdee2; width: 100% !important; } .col--checkbox .vxe-cell { justify-content: center; } .vxe-table--render-default .vxe-cell--checkbox .vxe-checkbox--label { padding-left: 0 !important; } .content-button { //padding-bottom: 15px; //border-bottom: 2px dashed #e8eaec; display: flex; align-items: center; justify-content: space-between; //margin-bottom: 10px; //border : 1px solid #dcdee2; //background-color: #F8F8F8; } .content-search { padding-top: 5px; padding-bottom: 0px; //border-bottom: 2px dashed #e8eaec; margin-bottom: 15px; } .content-content { padding-top: 15px; width: 100%; } /* 导航字体大小 */ .ivu-menu-submenu-title, .ivu-menu-item { //仅保留上下,不覆盖左右 padding-top: 8px !important; padding-bottom: 8px !important; } /* 项目名高度 */ .main .logo-con { //height: 38px; } //查询条件相关样式 .ivu-collapse-content > .ivu-collapse-content-box { padding-top: 10px !important; padding-bottom: 0px !important; } .ivu-collapse-content { //padding-top: 0px!important; //padding-right: 0px!important; //padding-bottom: 0px!important; //padding-left: 16px!important; padding: 0 16px !important; } .ivu-collapse-header { background-color: #fff !important; height: 34px !important; line-height: 34px !important; } .ivu-select-small.ivu-select-multiple .ivu-select-selection { height: @input_height !important; line-height: @input_height !important; overflow-y: hidden; } .ivu-select-placeholder { height: @input_height !important; line-height: @input_height !important; } .hidden-default-btn { .vxe-tools--operate { .vxe-custom--wrapper { .vxe-custom--option-wrapper { margin-top: 20px; } .vxe-button:nth-child(1) { display: none; } } } } .ivu-card-body > .ivu-row:last-child > .ivu-col:nth-child(n) > div { margin-bottom: 0 !important; } .ivu-form-item { margin-bottom: 24px !important; //height: 32px !important; } .no-class { text-decoration: underline; color: #2d8cf0; } .no-class:active { text-decoration: underline; color: blue; } /*table高亮颜色修改*/ .vxe-table--render-default .vxe-body--row.row--checked, .vxe-table--render-default .vxe-body--row.row--radio { background-color: #e6f7ff !important; } .vxe-table .vxe-button.block-class { display: block !important; } .table-filter-btn > i { font-size: 20px; } /* * @desc : 收缩类型的样式 * @author : 周兴 * @date : 2022/3/2 16:52 */ .ivu-collapse-header { height: 30px !important; padding: 6px 0 10px 16px !important; line-height: 20px !important; border-bottom: 0px solid #dcdee2 !important; } /** * @desc : 整个页面的样式 * @author : 周兴 * @date : 2022/3/5 15:37 */ .main-div { padding: 0 6px; //height: 100%; min-width: 1100px; overflow-y: auto; overflow-x: hidden; position: relative; background-color: @background; } .btn-div { background-color: @background !important; } .tab-fixed-class { width: 100%; height: 32px; position: fixed; z-index: 999; background: @background; } .vxe-table--render-default .vxe-body--row.row--current { background-color: @currentRowColor !important; } .vxe-table--render-default .vxe-body--row.row--current .vxe-body--column .vxe-cell .vxe-button { background-color: @currentRowColor !important; } .vxe-table--render-default .vxe-body--row.row--checked, .vxe-table--render-default .vxe-body--row.row--radio .vxe-body--column .vxe-cell .vxe-button { background-color: @currentRowColor !important; } .vxe-table--render-default .vxe-body--row.row--checked, .vxe-table--render-default .vxe-body--row.row--radio { background-color: @currentRowColor !important; } .search-cond-class { margin: 2px 1px 5px 1px; padding-top: 4px; border-radius: 2px; background-color: #FFF !important; //min-width: 1200px !important; } .table-foot-class { width: calc(~'100% - 1px'); text-align: right; display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 10px; height: 30px; background-color: #FFF !important; margin-left: 1px; } .close-div-class { display: flex; align-items: center; } .ivu-row { display: flex !important; } .ivu-switch { margin-top: 3px !important; } .popper-class { z-index: 500 !important; } .input-popper-class { z-index: 1500 !important; } .popper-class > .ivu-poptip-content > .ivu-poptip-inner > .ivu-poptip-body { padding: 0; } .popper-class > .ivu-poptip-content > .ivu-poptip-inner { border-radius: 0 !important; } .popper-class > .ivu-poptip-content > .ivu-poptip-arrow { border-bottom-color: #a5acb5 !important; } .popper-class > .ivu-poptip-content > .ivu-poptip-arrow:after { border-bottom-color: #e9edf1 !important; } .month-popper-class > .ivu-poptip-content > .ivu-poptip-inner > .ivu-poptip-body { padding: 0; } .tableColumnHeight { height: @cell_height !important; line-height: @cell_height !important; display: table-cell; align-items: center !important; justify-content: center !important; .vxe-cell { display: flex; align-items: center; } } .vxe-cell--checkbox { height: 16px; } .vxe-cell--radio { height: 16px; } .vxe-header--column { height: @cell_height !important; line-height: @cell_height !important; } .vxe-header--column { padding: 0 !important; overflow: hidden; } .vxe-body--column { height: @cell_height !important; line-height: @cell_height !important; } /** * @desc : 控制单元格列可输入控件的高度 * @author : 周兴 * @date : 2022/3/20 10:02 */ .vxe-input--inner { height: @cell_input_height !important; border: 1px solid #fff !important; } .vxe-checkbox-class{ width: 100%; display: flex; align-items: center; justify-content: center; } //.mytable-style .vxe-table .vxe-body--column.test-class{ // background: red !important; //} /** * @desc : 控制单元格的高度(因为有了可输入单元格 会造成高度增高) * @author : 周兴 * @date : 2022/3/20 10:03 */ .vxe-cell.c--ellipsis { height: @cell_height !important; } //修改tabs样式 .ivu-tabs.ivu-tabs-card > .ivu-tabs-bar .ivu-tabs-tab-active { color: #fff !important; background: #2d8cf0 !important; } .ivu-tabs-tab { //width:100px!important; height: @cell_height !important; text-align: center !important; } .ivu-tabs-nav-container { height: @cell_height !important; } // 修改layout样式 .ivu-layout { background: #d3dbe4 !important; } .ivu-input-small { height: @input_height !important; } //垃圾桶高度 .ivu-form-item-content{ line-height: @input_height !important; } .ivu-select-small.ivu-select-single .ivu-select-selection { height: @input_height !important; } .ivu-select-input { height: @input_height !important; line-height: @input_height !important; top: 0 !important } .search-class { cursor: pointer; width: @input_height; height: @input_height; display: flex; align-items: center; justify-content: center; //border-bottom: 1px solid #dcdee2; //border-right: 1px solid #dcdee2; //border-top: 1px solid #dcdee2; position: absolute; right: 15px; align-items: center; justify-content: center; color: #a0a5ac; z-index: 88; } //.vxe-table--render-default .vxe-cell{ // padding: 0 !important; //} .vxe-header--row .vxe-cell { height: @cell_height !important; line-height: @cell_height !important; display: flex !important; justify-content: center !important; align-items: center !important; } .vxe-body--row .vxe-cell { height: @cell_height !important; line-height: @cell_height !important; display: block !important; align-items: center !important; } .vxe-cell--title { height: @cell_height !important; line-height: @cell_height !important; } .vxe-input { height: @cell_height !important; line-height: @cell_input_height !important; border-color: #57a3f3 !important; } .vxe-body--row .ivu-input { height: @cell_input_height !important; line-height: @cell_input_height !important; margin-top: 0 !important; //border-color: #57a3f3 !important; } .vxe-body--row .col--tableSelect .ivu-input { height: @cell_height !important; line-height: @cell_height !important; margin-top: -5px !important; border-color: #57a3f3 !important; } .vxe-body--row .col--select .ivu-input { height: @cell_height !important; line-height: @cell_height !important; margin-top: -5px !important; border-color: #57a3f3 !important; } .vxe-body--row .ivu-poptip { width: 100%; height: @cell_height; line-height: @cell_height; } .vxe-body--column { padding: 0 !important; } //暗锚 .hide-anchor { position: relative; top: 0px; display: block; height: 0; overflow: hidden; } .button-group-class { width: 100%; height: 50px; background-color: #ff0000; z-index: 10 } .form-class { width: 100%; padding-top: 12px !important; } .vxe-footer--column.col--ellipsis > .vxe-cell { display: block !important; } //菜单栏.menu .menu { background-color: #F5F7F9; } .ivu-select-small.ivu-select-multiple .ivu-tag i { top: 4px !important; right: 2px !important; } .ivu-select-small.ivu-select-multiple .ivu-tag { height: @select_tag_height !important; line-height: @select_tag_height !important; margin: -4px 4px 0 0 !important; } .ivu-select-multiple .ivu-select-item-focus { background: #fff; } /** * @desc : svg引入icon的样式 * @author : 张潇木 * @date : 2022-5-14 10:37 */ .icon { width: 1em; height: 1em; vertical-align: -0.15em; fill: currentColor; overflow: hidden; } .print-preview-model-no-padding .ivu-modal .ivu-modal-content .ivu-modal-body { padding: 0px !important; } .multi-class .ivu-modal-body { background: #eaedf7 !important; } .print-preview-model-no-padding .ivu-modal { top: 20px; } .pop-content { width: 255px; min-width: 200px; /*background: #e9edf1;*/ padding: 10px; border: 1px #a5acb5; overflow-y: auto; overflow-x: hidden; white-space: initial; /*word-break: break-all;*/ } .ivu-modal-body .Col{ padding-right: 0 !important; } //TODO ///deep/.ivu-collapse-content-box { // padding-top: 0 !important; //} // ///deep/.ivu-collapse-content { // padding: 0 1px !important; //} //.main .content-wrapper { // height: 0; // overflow: auto; // margin: 50px 0px 60px 0px; //} //时间空间的input高度 .ivu-date-picker-editor > .ivu-input { height: 28px; } //恒洁article-show组件 .article-show { padding: 30px 20%; display: flex; flex-direction: column; align-items: center; .header { position: relative; display: flex; font-weight: bold; font-size: 24px; .title { padding: 0100px; } .category-name { position: absolute; font-weight: 500; font-size: 14px; color: #909399; bottom: 5px; right: 0; } } .html-box { width: 100%; } .footer { width: 100%; display: flex; justify-content: space-between; color: #909399; } } .split-class { height: 2px; background: #E6ECF4; margin-bottom: 3px; } /* datepicker 只读背景色 */ .ivu-date-picker-editor > input[readonly='readonly'] { background: #f3f3f3; } .ivu-input-group-prepend[type="radio"] { border: 1px solid #dcdee2 !important; //background: red !important; } .xm-select-size > xm-select > .xm-body { min-width: 200px !important; } .xm-select-size > xm-select { //border: 1px solid #dcdee2 !important; min-height: 28px !important; line-height: 28px !important; } .ivu-form-item-error .xm-select-size > xm-select { border: 1px solid red !important; } .ivu-form-item-error .ivu-switch { border: 1px solid red !important; } .main-div::-webkit-scrollbar { /*滚动条整体样式*/ width: 5px; /*高宽分别对应横竖滚动条的尺寸*/ height: 0; } .main-div::-webkit-scrollbar-thumb:hover { /*滚动条里面小方块*/ border-radius: 10px; box-shadow: inset 0 0 5px #2d8cf0; background: #2d8cf0; } .main-div::-webkit-scrollbar-track:hover { /*滚动条里面轨道*/ box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2); border-radius: 10px; background: #ededed; } .main-div::-webkit-scrollbar-thumb { /*滚动条里面小方块*/ border-radius: 10px; box-shadow: inset 0 0 5px #f5f7f9; background: #f5f7f9; } .main-div::-webkit-scrollbar-track { /*滚动条里面轨道*/ box-shadow: inset 0 0 5px #f5f7f9; border-radius: 10px; background: #f5f7f9; } .close-all-class { cursor: pointer; width: 24px; position: absolute; top: 5px; align-items: center; justify-content: center; height: 24px; color: #a0a5ac; z-index: 33; } .split-div-class { margin-top: 1px; padding: 0 0 0 1px; } .vxe-input--number-prev-icon { display: none; } .vxe-input--number-next-icon { display: none; } .vxe-table--context-menu-wrapper { z-index: 6000 !important; } .vxe-select--panel { z-index: 5000 !important; } /** side-menu**/ .ivu-layout-sider { background-color: @side-menu-background !important; } .ivu-menu-dark { background-color: @side-menu-background !important; } .ivu-menu-submenu-title i:nth-child(3) { display: none; } .ivu-menu-item { background-color: @side-menu-drawer !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ivu-menu-submenu-title { background-color: @side-menu-background !important; } .ivu-menu-submenu-title:hover { background-color: @side-menu-drawer !important; } .ivu-menu-submenu { background-color: @side-menu-drawer !important; } .monthPanpel .monthPanpel-left .monthPanpel-left-cell .ivu-tooltip .ivu-tooltip-rel{ cursor: pointer; } .vxe-header--row .vxe-cell{ padding-left: 0 !important; padding-right: 0 !important; } .table-title { padding: 4px 0 4px 4px; font-weight: bold; } .search-menu { width: 70% !important; margin-left: -10px; } .search-menu > input { height: 28px !important; //width: 100% !important; } .search-menu > i { line-height: 24px !important; font-size: 12px !important; } //抽屉 .drawer { display: flex; margin-bottom: 5px; margin-left: 5px; z-index: 5000; } .drawer .drawer-title { font-size: 14px; border-bottom: 1px solid #B3B9BF; padding-bottom: 10px; width: 125px; margin-right: 10px; color: #B3B9BF } .drawer .drawer-item { max-height: 407px; overflow-y: auto; margin-right: 20px; } .drawer .drawer-content { color: #B3B9BF; margin-top: 12px; margin-bottom: 10px; display: flex; justify-content: space-between; padding: 0 10px 0 0; height: 24px; } //鼠标悬停变色 .drawer-meta-title:hover { color: #207ab7; } //菜单弹窗 添加padding #menu-drawer .ivu-drawer-body { padding: 16px !important; } //抽屉的z-index是1000,如果小于1000,会被认为移出了鼠标,会一直打开、关闭无限循环 .ivu-menu-vertical .ivu-menu-submenu-title { z-index: 5000 !important; } .vxe-table--render-default .vxe-body--row.row--current .vxe-body--column { background-size: 1px 100%, 100% 0px !important; } .vxe-table--render-default .vxe-body--row.row--checked, .vxe-table--render-default .vxe-body--row.row--radio .vxe-body--column { background-size: 1px 100%, 100% 0px !important; } .look-more-class { width: 100%; text-align: right; } .base-button-class .ivu-poptip-content { width: 120px !important; } .base-button-class .ivu-poptip-body { padding: 1px 0 0 0; } .index-grid-item-class { background: transparent !important; } .index-grid-item-text-class { color: #1B365D !important; font-style: normal; font-weight: 400; font-size: 13px; //text-overflow: ellipsis; //white-space: nowrap; //overflow: hidden; } .refresh-class .ivu-poptip-inner{ width: 80px !important; } //大屏半检 ↓ //采集检查 下拉弹窗 .check-add-touch-select-left { transform-origin: top left; scale: 1.5; } .check-add-touch-select-right { transform-origin: top right; scale: 1.5; } //采集检查 modal弹窗 .check-add-touch-modal .header-class { font-size: 20px !important; } /*采集检查 选择modal body*/ .check-add-touch-modal .ivu-modal-body { //height: 600px !important; } /* 采集检查选择modal tab*/ .check-add-touch-modal .ivu-tabs-tab { font-size: 16px !important; height: 40px !important; line-height: 40px !important; } .check-add-touch-modal .ivu-tabs-bar { height: 40px !important; } .check-add-touch-modal .ivu-tabs-nav-container { height: 40px !important; } //大屏半检 ↑