From 5c7cab33ad97e98a7e7d9e3d3657d551ddd7bc69 Mon Sep 17 00:00:00 2001 From: ldj_willow Date: Mon, 31 Oct 2022 11:10:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mes/qd/src/assets/styles/eladmin.scss | 51 +++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/mes/qd/src/assets/styles/eladmin.scss b/mes/qd/src/assets/styles/eladmin.scss index c6c0a10f..a08cc847 100644 --- a/mes/qd/src/assets/styles/eladmin.scss +++ b/mes/qd/src/assets/styles/eladmin.scss @@ -181,3 +181,54 @@ input[type="number"]::-webkit-outer-spin-button { padding-top: 0px !important; } +//表格标题样式 +.el-table { + .el-table__header-wrapper, + .el-table__fixed-header-wrapper { + th { + word-break: break-word; + background-color: #f8f8f9; + color: #515a6e; + height: 35px; + font-size: 13px; + } + td{ + color: #f8f8f9; + } + } + .el-table__body-wrapper { + .el-button [class*="el-icon-"] + span { + margin-left: 1px; + } + } +} + +//去除编辑文本框为数字时的上下箭头start +.el-form--inline .el-form-item__content { + width: auto !important; +} + +input[type="number"] { + -moz-appearance: textfield; +} + +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + -webkit-appearance: none; +} + +//去除编辑文本框为数字时的上下箭头end +//设置计数器文字居左 +.el-input-number--mini .el-input__inner { + text-align: left; +} + +.el-table:not(.el-table–scrollable-x) .el-table__fixed-right { + height: 100% !important; +} + +// 修改弹出框距离 +.el-dialog__body { + padding-top: 0px !important; +} +