From 2804585b14a62cc1fdec876b65267a4db8bc8995 Mon Sep 17 00:00:00 2001 From: Junjie <xjj@123> Date: 星期二, 14 一月 2025 10:55:47 +0800 Subject: [PATCH] # --- src/main/webapp/static/css/common.css | 254 +++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 215 insertions(+), 39 deletions(-) diff --git a/src/main/webapp/static/css/common.css b/src/main/webapp/static/css/common.css index f388ea3..d1a71bc 100644 --- a/src/main/webapp/static/css/common.css +++ b/src/main/webapp/static/css/common.css @@ -1,49 +1,225 @@ -/* 缁熶竴澶勭悊 */ -*, *::before, *::after { - -webkit-box-sizing: border-box; - box-sizing: border-box; - margin: 0; - padding: 0; -} -html { - line-height: 1.5; - font-size: 15px; - font-family: sans-serif; - height: 100%; -} +/**, *::before, *::after {*/ +/* -webkit-box-sizing: border-box;*/ +/* box-sizing: border-box;*/ +/* margin: 0;*/ +/* padding: 0;*/ +/*}*/ + body { - height: 100%; + background-color: #fff; } -iframe { +input::placeholder { + color: #b4b4b4; +} +input::-webkit-input-placeholder { /* WebKit browsers 閫傞厤璋锋瓕 */ + color: #b4b4b4; +} +.layui-input input:-moz-placeholder { /* Mozilla Firefox 4 to 18 閫傞厤鐏嫄 */ + color: #b4b4b4; +} +.layui-input input::-moz-placeholder { /* Mozilla Firefox 19+ 閫傞厤鐏嫄 */ + color: #b4b4b4; +} +.layui-input input:-ms-input-placeholder { /* Internet Explorer 10+ 閫傞厤ie*/ + color: #b4b4b4; +} + +/* layui浼樺寲 */ +.layui-form-label { + /*color: #595959;*/ +} +.layui-input:focus { + border-color: #007bff !important; +} +/*鎼滅储鏍�*/ +.layui-form.layui-card-header { + padding: 20px 0 5px 0; + height: auto; +} +#search-box { + margin-left: 10px; + z-index: 999; + position: relative; + padding: 30px 30px 10px 30px; +} +#search-box .layui-inline{ + margin-bottom: 10px; + margin-right: 5px; +} +#search-box .layui-input-inline { + width: 150px; +} +.layui-form-label{ + font-size: 100%; + padding: 13px 0 9px 5px; + text-align: right; +} +#data-search-btn { + display: inline-block; + margin: 8px 0 0 10px; + justify-content: center; + align-items: center; +} +#data-search-btn.layui-btn-container .layui-btn{ + margin-right: 20px; +} + +/*澶村伐鍏锋爮*/ +.layui-table-tool-temp { + padding-right: 70px; +} +.layui-btn .layui-icon { + margin: 1px 5px; +} +#btn-add{ + background: #007DDB +} +#btn-delete{ + background: #ff5722 +} +#btn-export{ + float: right; +} + +/*琛ㄦ牸*/ +.layui-table thead th { + font-weight: bold; + text-align: center; +} +div .layui-table-tool .layui-table-tool-self .layui-inline[title='瀵煎嚭']{ + display: none; +} +.layui-form.layui-border-box.layui-table-view{ + margin: 15px 0 35px 0; + width: 100%; border-width: 0; } +.layui-table-box{ + padding-bottom: 10px; +} +/*.layui-table-body.layui-table-main{*/ +/* overflow: hidden;*/ +/*}*/ +.layui-table-page{ + border-width: 0; +} +.layui-table tbody tr:hover, .layui-table thead tr, .layui-table-click, .layui-table-header, .layui-table-hover, .layui-table-mend, .layui-table-patch, .layui-table-tool, .layui-table-total, .layui-table-total tr, .layui-table[lay-even] tr:nth-child(even) { + background-color: #f9f9f9; +} +.layui-table-tool { + /*background-color: #fff;*/ +} +/* table 锛堟崲琛�/璇︽儏锛夋樉绀烘帶鍒� */ +/*.layui-table-cell {*/ +/*font-size:14px;*/ +/*padding:0 5px;*/ +/*height:auto;*/ +/*overflow:visible;*/ +/*text-overflow:inherit;*/ +/*white-space:normal;*/ +/*word-break: break-all;*/ +/*}*/ +/*.layui-table-grid-down {*/ +/*display: none;*/ +/*}*/ -/* 甯冨眬 */ -.row::after, .row::before { - content: ""; - display: table; - clear: both; +/*璇︽儏*/ +#detail .layui-form-label{ + white-space: nowrap; + font-size: 100%; + padding: 9px 0 9px 5px; + text-align: right; } -.col-md3:empty { - background:rgba(0,0,0,0.04); - border: 1px solid rgba(0,0,0,.3); - min-height:32px; +#detail { + padding: 25px 0; + margin: 0 20px 0 30px; +} +#detail .layui-inline { + margin: 10px 15px 15px 0; +} +#detail .layui-input-inline { + margin-right: 40px; + margin-left: 95px; + display: block; +} +.layui-bg-gray { + margin-top: 40px; +} +#prompt { + margin-top: 20px; + width: 90%; + text-indent: 40px; + color: #505050; +} +#data-detail-btn { + padding-top: 25px; + display: flex; + justify-content: center; + align-items: center; +} +#data-detail-btn.layui-btn-container .layui-btn{ + margin-right: 30px; +} +.not-null { + color:red; +} + +#detail .layui-form-checkbox { + top: 10px; +} + +/*鍥剧墖*/ +.cool-img { + cursor:pointer; + width: 200px; + height: 200px; +} + +/* + 甯冨眬 + */ +.col:empty{min-height:32px;height: inherit;z-index:1;position:relative;box-sizing: border-box;} +.col:empty:after{ + z-index:0;display:flex;align-items: center;justify-content: center; + clear: both;content:attr(title);position:absolute; + background:rgba(0,0,0,0.04);top:2px;left:2px;right:2px;bottom:2px; + text-align:center;color:rgba(0,0,0,0.1); border-radius: inherit; +} +.col{ height: inherit; - z-index:1; } -.col-md1,.col-md10,.col-md11,.col-md12,.col-md2,.col-md3,.col-md4,.col-md5,.col-md6,.col-md7,.col-md8,.col-md9{ - float:left; + +/*鏉冮檺*/ +#btn-add { + display: none; } -.col-md1{width:8.33333333%} -.col-md2{width:16.66666667%} -.col-md3{width:25%} -.col-md4{width:33.33333333%} -.col-md5{width:41.66666667%} -.col-md6{width:50%} -.col-md7{width:58.33333333%} -.col-md8{width:66.66666667%} -.col-md9{width:75%} -.col-md10{width:83.33333333%} -.col-md11{width:91.66666667%} -.col-md12{width:100%} \ No newline at end of file +.btn-edit { + display: none; +} +#btn-delete { + display: none; +} +#btn-export { + display: none; +} +#btn-into { + display: none; +} + +/*淇敼澶嶉�夋棰滆壊*/ +/*.layui-form-checked[lay-skin=primary] i {*/ +/*border-color: #4c95b8!important;*/ +/*background-color: #4c95b8;*/ +/*color: #fff;*/ +/*}*/ +/*.layui-form-checkbox[lay-skin=primary]:hover i {*/ +/*border-color: #4c95b8;*/ +/*color: #fff;*/ +/*}*/ + +/* 濯掍綋鏌ヨ 鈥斺�� 鍝嶅簲甯冨眬 */ +/* 鍋氬搷搴斿紡甯冨眬鏃讹紝涓嶅缓璁敤鍥哄畾灏哄锛屽敖閲忕敤% */ +@media only screen and (max-width: 800px) { + +} -- Gitblit v1.9.1