sa.css 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. /*
  2. 更新于2020-3-20 新增底部按钮式风格
  3. */
  4. /** 公共css */
  5. *{margin: 0px;padding: 0px;}
  6. html{font-size: 10px; height: 100%;}
  7. body{font-size: 1.4rem; height: 100%; background-color: #eeeeee; color: #333;}
  8. body{font-family: "Helvetica Neue", Helvetica, "PingFang SC", Tahoma, Arial, sans-serif;}
  9. a{text-decoration: none;}
  10. a:hover{}
  11. /* h1,h2,h3,h4,h5,h6{font-weight: 400;} */
  12. hr{background-color : #ddd; height: 1px; border: none;}
  13. input,select{outline: 0;}
  14. /* input type=number时不显示按钮 */
  15. input::-webkit-outer-spin-button,
  16. input::-webkit-inner-spin-button {
  17. -webkit-appearance: none !important;
  18. margin: 0;
  19. }
  20. /* 居中形式的img */
  21. .cover-img{object-fit: cover; object-position: 50% 30%;}
  22. /* ajax2加载时的转圈圈样式 */
  23. .ajax-layer-load.layui-layer-dialog{min-width: 0px !important; background-color: rgba(0,0,0,0.85);}
  24. .ajax-layer-load.layui-layer-dialog .layui-layer-content{padding: 10px 20px 10px 40px; color: #FFF;}
  25. .ajax-layer-load.layui-layer-dialog .layui-layer-content .layui-layer-ico{width: 20px; height: 20px; background-size: 20px 20px; top: 12px; }
  26. /* layer图片预览时, 左右键永远显示 */
  27. .layui-layer-imgbar, .layui-layer-imguide{display: block !important;}
  28. .layui-layer-iconext.layui-layer-imgprev{position: fixed; left: 50;}
  29. .layui-layer-iconext.layui-layer-imgnext{position: fixed; right: 50;}
  30. /* ===================== 整体面板 ===================== */
  31. /* vue盒子 */
  32. .vue-box{padding-bottom: 20px; font-size: 14px;}
  33. /* 内容-面板 */
  34. .c-panel{margin: 0.7em 1em; padding: 1em 1.5em; background-color: #fff; color: #333; /* box-shadow: 0 0 5px #eee; */}
  35. .c-title{font-size: 14px; font-weight: bold; line-height: 2em; margin-bottom: 3px;}
  36. /* .c-title span{font-weight: 400; font-size: 0.85em; padding-left: 1em; color: #888;} */
  37. /* ===================== 表单相关 ===================== */
  38. .c-panel .el-form{/* padding-top: 10px; */ padding-bottom: 15px;}
  39. .c-panel .el-form-item{min-width: 278px;}
  40. .c-panel .el-form-item__label{width: 100px;}
  41. .c-panel .el-form .el-input{width: 178px;}
  42. .c-remark{color: #888; margin-left: 0.5em; font-size: 0.9em;}
  43. /* 标签 */
  44. .c-panel .c-tag{padding: 0px 15px; height: 22px; line-height: 22px; border-radius: 0px; border: 0px;}
  45. /* 复选框 */
  46. .c-panel .el-checkbox,.c-panel .el-radio{margin-right: 20px;}
  47. /* 禁用input的样式 */
  48. .c-panel .el-input.is-disabled .el-input__inner{color: #999;}
  49. /* 表格的表头颜色深一点 */
  50. .c-panel .el-table__header tr th{background-color: #F5F5F5;}
  51. /* 调整圆角大小: 输入框、文本域、按钮、 */
  52. .c-panel .el-input__inner,
  53. .c-panel .el-textarea__inner,
  54. .c-panel .el-button{border-radius: 2px !important;}
  55. /* 单选button,圆角限制2px */
  56. .el-radio-button:first-child .el-radio-button__inner{border-radius: 2px 0 0 2px !important;}
  57. .el-radio-button:last-child .el-radio-button__inner{border-radius: 0 2px 2px 0 !important;}
  58. /* 单选按钮, 文字版 */
  59. .s-radio-text{}
  60. .s-radio-text .el-radio__input{display: none;}
  61. .s-radio-text .el-radio__input.is-checked+.el-radio__label{font-weight: 700;}
  62. .s-radio-text .el-radio__label{padding-left: 0px; }
  63. .s-radio-text .el-radio__label:hover{text-decoration:underline;}
  64. .s-radio-text .hover-line:hover{text-decoration: underline; cursor: pointer;}
  65. .s-radio-text .el-form-item__content{position: relative; top: -2px;}
  66. /* 表格里操作按钮的样式调整 */
  67. .c-btn{padding: 4px 6px; font-size: 12px !important; border-radius: 1px;}
  68. .c-btn.el-button--primary{background-color: #3296FA;}
  69. .c-btn.el-button--primary:hover{background-color: #067CF3; border-color: #067CF3;}
  70. .c-btn.el-button--danger{background-color: #CA4242;}
  71. .c-btn.el-button--danger:hover{background-color: #A00C0C; border-color: #A00C0C;}
  72. .c-btn.el-button--success:hover{background-color: #2B9939; border-color: #2B9939;}
  73. /* 分页盒子调整一下间距 */
  74. .page-box{padding: 2em 0 1em 0; }
  75. /* 流体表单 */
  76. .cj-form.vue-box{padding-bottom: 0px; height: 100vh; background-color: #FFF;}
  77. .cj-form .c-panel{box-shadow: 0 0 0; margin-top: 0px; margin-bottom: 0px; padding-top: 2.5em; padding-bottom: 0px;}
  78. .cj-form .c-panel .el-form .el-input{width: 100%;}
  79. /* 底部按钮式风格 */
  80. .s-bot-btn{padding-bottom: 0px; background-color: #FFF;}
  81. .s-body{height: calc(100vh - 60px); overflow: auto;}
  82. .s-foot{height: 60px; line-height: 60px; text-align: right;}
  83. .s-foot .el-button{margin-left: -10px; margin-right: 15px; padding: 7px 18px;}
  84. .s-bot-btn .s-body .c-panel{margin-top: 0px; margin-bottom: 0px; padding-top: 2.5em; padding-bottom: 0px;}
  85. /* ===================== 表单相关 - 旧方案 ===================== */
  86. /* 内容-item */
  87. .c-item {min-width: 260px; min-height: 32px; line-height: 32px; padding-right: 15px; display: inline-block; margin: 0.5em 0;}
  88. .c-item.br{display: block; margin: 14px 0;}
  89. /* label样式 */
  90. .c-item .c-label{width: 6em; color: #333; padding-right: 4px; display: inline-block; text-align: right;}
  91. /* input宽度等样式调整 */
  92. .c-item .el-input{width: 178px;}
  93. /* 禁用input的样式 */
  94. .c-item .el-input.is-disabled .el-input__inner{color: #999;}
  95. /* 链接 行高设置 */
  96. .c-item .el-link{line-height: 1.6em;}
  97. /* ===================== sa-plus新增 ===================== */
  98. /* ==== 图集照片样式 ==== */
  99. .c-item .image-box{max-width: 700px; padding-left: 4px;}
  100. .c-item .image-box-2{width: 90px; height: 125px; cursor: pointer; float: left;}
  101. .c-item .image-box-2 img{width: 90px; height: 90px; border-radius: 2px;}
  102. .c-item .image-box-2{display: inline-block; margin-right: 5px; margin-bottom: 5px;}
  103. .c-item .image-box-2 p{text-align: center; color: #999; margin-top: -10px;}
  104. .c-item .up_img{text-align: center; background-color: #f8f8f8; height: 90px;}
  105. .c-item .up_img img{width: 40px; height: 40px; margin-top: 25px;}
  106. /* ==== wang富文本编辑器 ==== */
  107. .editor-item{width: 100%; height: auto;}
  108. .editor-item .c-label{float: left;}
  109. .editor-item .editor-box{float: left; width: 80%; margin-top: 0px; margin-left: 5px; transition: all 0.2s;}
  110. .editor-item #editor{min-height: 300px; background-color: #FFF;}
  111. .editor-item .w-e-toolbar{padding-top: 5px !important;}
  112. /* 尽量小点 */
  113. .editor-item .editor-box{float: left; width: 700px;}
  114. .editor-item .editor-box img{max-width: 200px !important;}
  115. /* .editor-box img{margin-left: -1em;}
  116. .editor-box img{margin-top: -5px;} */
  117. /* 仿移动端样式兼容 */
  118. /* .editor-item .editor-box{float: left; width: 400px;}
  119. .editor-item .w-e-toolbar{width: 400px; flex-wrap: wrap; } */
  120. .c-item .fold{height: 100px !important; overflow: hidden;}
  121. .c-item .el-select-dropdown{z-index: 9999999 !important;}
  122. /* ===================== 自定义一下滚动条 ===================== */
  123. /*滚动条的宽度*/
  124. body::-webkit-scrollbar {width:9px;height:9px;}
  125. /*外层轨道。可以用display:none让其不显示,也可以添加背景图片,颜色改变显示效果*/
  126. body::-webkit-scrollbar-track {
  127. width: 6px;
  128. background-color:#F1F1F1;
  129. -webkit-border-radius: 2em;
  130. -moz-border-radius: 2em;
  131. border-radius:2em;
  132. }
  133. /*滚动条的设置*/
  134. body::-webkit-scrollbar-thumb {
  135. background-color:#C1C1C1;
  136. background-clip:padding-box;
  137. min-height:28px;
  138. -webkit-border-radius: 2em;
  139. -moz-border-radius: 2em;
  140. border-radius:2em;
  141. }