123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- /*
- 更新于2020-3-20 新增底部按钮式风格
- */
- /** 公共css */
- *{margin: 0px;padding: 0px;}
- html{font-size: 10px; height: 100%;}
- body{font-size: 1.4rem; height: 100%; background-color: #eeeeee; color: #333;}
- body{font-family: "Helvetica Neue", Helvetica, "PingFang SC", Tahoma, Arial, sans-serif;}
- a{text-decoration: none;}
- a:hover{}
- /* h1,h2,h3,h4,h5,h6{font-weight: 400;} */
- hr{background-color : #ddd; height: 1px; border: none;}
- input,select{outline: 0;}
- /* input type=number时不显示按钮 */
- input::-webkit-outer-spin-button,
- input::-webkit-inner-spin-button {
- -webkit-appearance: none !important;
- margin: 0;
- }
- /* 居中形式的img */
- .cover-img{object-fit: cover; object-position: 50% 30%;}
- /* ajax2加载时的转圈圈样式 */
- .ajax-layer-load.layui-layer-dialog{min-width: 0px !important; background-color: rgba(0,0,0,0.85);}
- .ajax-layer-load.layui-layer-dialog .layui-layer-content{padding: 10px 20px 10px 40px; color: #FFF;}
- .ajax-layer-load.layui-layer-dialog .layui-layer-content .layui-layer-ico{width: 20px; height: 20px; background-size: 20px 20px; top: 12px; }
- /* layer图片预览时, 左右键永远显示 */
- .layui-layer-imgbar, .layui-layer-imguide{display: block !important;}
- .layui-layer-iconext.layui-layer-imgprev{position: fixed; left: 50;}
- .layui-layer-iconext.layui-layer-imgnext{position: fixed; right: 50;}
- /* ===================== 整体面板 ===================== */
- /* vue盒子 */
- .vue-box{padding-bottom: 20px; font-size: 14px;}
- /* 内容-面板 */
- .c-panel{margin: 0.7em 1em; padding: 1em 1.5em; background-color: #fff; color: #333; /* box-shadow: 0 0 5px #eee; */}
- .c-title{font-size: 14px; font-weight: bold; line-height: 2em; margin-bottom: 3px;}
- /* .c-title span{font-weight: 400; font-size: 0.85em; padding-left: 1em; color: #888;} */
- /* ===================== 表单相关 ===================== */
- .c-panel .el-form{/* padding-top: 10px; */ padding-bottom: 15px;}
- .c-panel .el-form-item{min-width: 278px;}
- .c-panel .el-form-item__label{width: 100px;}
- .c-panel .el-form .el-input{width: 178px;}
- .c-remark{color: #888; margin-left: 0.5em; font-size: 0.9em;}
- /* 标签 */
- .c-panel .c-tag{padding: 0px 15px; height: 22px; line-height: 22px; border-radius: 0px; border: 0px;}
- /* 复选框 */
- .c-panel .el-checkbox,.c-panel .el-radio{margin-right: 20px;}
- /* 禁用input的样式 */
- .c-panel .el-input.is-disabled .el-input__inner{color: #999;}
- /* 表格的表头颜色深一点 */
- .c-panel .el-table__header tr th{background-color: #F5F5F5;}
- /* 调整圆角大小: 输入框、文本域、按钮、 */
- .c-panel .el-input__inner,
- .c-panel .el-textarea__inner,
- .c-panel .el-button{border-radius: 2px !important;}
- /* 单选button,圆角限制2px */
- .el-radio-button:first-child .el-radio-button__inner{border-radius: 2px 0 0 2px !important;}
- .el-radio-button:last-child .el-radio-button__inner{border-radius: 0 2px 2px 0 !important;}
- /* 单选按钮, 文字版 */
- .s-radio-text{}
- .s-radio-text .el-radio__input{display: none;}
- .s-radio-text .el-radio__input.is-checked+.el-radio__label{font-weight: 700;}
- .s-radio-text .el-radio__label{padding-left: 0px; }
- .s-radio-text .el-radio__label:hover{text-decoration:underline;}
- .s-radio-text .hover-line:hover{text-decoration: underline; cursor: pointer;}
- .s-radio-text .el-form-item__content{position: relative; top: -2px;}
- /* 表格里操作按钮的样式调整 */
- .c-btn{padding: 4px 6px; font-size: 12px !important; border-radius: 1px;}
- .c-btn.el-button--primary{background-color: #3296FA;}
- .c-btn.el-button--primary:hover{background-color: #067CF3; border-color: #067CF3;}
- .c-btn.el-button--danger{background-color: #CA4242;}
- .c-btn.el-button--danger:hover{background-color: #A00C0C; border-color: #A00C0C;}
- .c-btn.el-button--success:hover{background-color: #2B9939; border-color: #2B9939;}
- /* 分页盒子调整一下间距 */
- .page-box{padding: 2em 0 1em 0; }
- /* 流体表单 */
- .cj-form.vue-box{padding-bottom: 0px; height: 100vh; background-color: #FFF;}
- .cj-form .c-panel{box-shadow: 0 0 0; margin-top: 0px; margin-bottom: 0px; padding-top: 2.5em; padding-bottom: 0px;}
- .cj-form .c-panel .el-form .el-input{width: 100%;}
- /* 底部按钮式风格 */
- .s-bot-btn{padding-bottom: 0px; background-color: #FFF;}
- .s-body{height: calc(100vh - 60px); overflow: auto;}
- .s-foot{height: 60px; line-height: 60px; text-align: right;}
- .s-foot .el-button{margin-left: -10px; margin-right: 15px; padding: 7px 18px;}
- .s-bot-btn .s-body .c-panel{margin-top: 0px; margin-bottom: 0px; padding-top: 2.5em; padding-bottom: 0px;}
- /* ===================== 表单相关 - 旧方案 ===================== */
- /* 内容-item */
- .c-item {min-width: 260px; min-height: 32px; line-height: 32px; padding-right: 15px; display: inline-block; margin: 0.5em 0;}
- .c-item.br{display: block; margin: 14px 0;}
- /* label样式 */
- .c-item .c-label{width: 6em; color: #333; padding-right: 4px; display: inline-block; text-align: right;}
- /* input宽度等样式调整 */
- .c-item .el-input{width: 178px;}
- /* 禁用input的样式 */
- .c-item .el-input.is-disabled .el-input__inner{color: #999;}
- /* 链接 行高设置 */
- .c-item .el-link{line-height: 1.6em;}
- /* ===================== sa-plus新增 ===================== */
- /* ==== 图集照片样式 ==== */
- .c-item .image-box{max-width: 700px; padding-left: 4px;}
- .c-item .image-box-2{width: 90px; height: 125px; cursor: pointer; float: left;}
- .c-item .image-box-2 img{width: 90px; height: 90px; border-radius: 2px;}
- .c-item .image-box-2{display: inline-block; margin-right: 5px; margin-bottom: 5px;}
- .c-item .image-box-2 p{text-align: center; color: #999; margin-top: -10px;}
- .c-item .up_img{text-align: center; background-color: #f8f8f8; height: 90px;}
- .c-item .up_img img{width: 40px; height: 40px; margin-top: 25px;}
- /* ==== wang富文本编辑器 ==== */
- .editor-item{width: 100%; height: auto;}
- .editor-item .c-label{float: left;}
- .editor-item .editor-box{float: left; width: 80%; margin-top: 0px; margin-left: 5px; transition: all 0.2s;}
- .editor-item #editor{min-height: 300px; background-color: #FFF;}
- .editor-item .w-e-toolbar{padding-top: 5px !important;}
- /* 尽量小点 */
- .editor-item .editor-box{float: left; width: 700px;}
- .editor-item .editor-box img{max-width: 200px !important;}
- /* .editor-box img{margin-left: -1em;}
- .editor-box img{margin-top: -5px;} */
- /* 仿移动端样式兼容 */
- /* .editor-item .editor-box{float: left; width: 400px;}
- .editor-item .w-e-toolbar{width: 400px; flex-wrap: wrap; } */
- .c-item .fold{height: 100px !important; overflow: hidden;}
- .c-item .el-select-dropdown{z-index: 9999999 !important;}
- /* ===================== 自定义一下滚动条 ===================== */
- /*滚动条的宽度*/
- body::-webkit-scrollbar {width:9px;height:9px;}
- /*外层轨道。可以用display:none让其不显示,也可以添加背景图片,颜色改变显示效果*/
- body::-webkit-scrollbar-track {
- width: 6px;
- background-color:#F1F1F1;
- -webkit-border-radius: 2em;
- -moz-border-radius: 2em;
- border-radius:2em;
- }
- /*滚动条的设置*/
- body::-webkit-scrollbar-thumb {
- background-color:#C1C1C1;
- background-clip:padding-box;
- min-height:28px;
- -webkit-border-radius: 2em;
- -moz-border-radius: 2em;
- border-radius:2em;
- }
|