足力健前端,vue版本

index.scss 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. @import './variables.scss';
  2. @import './mixin.scss';
  3. @import './transition.scss';
  4. @import './element-ui.scss';
  5. @import './sidebar.scss';
  6. body {
  7. height: calc(100% - 100px);
  8. // background-color: #eaedf1;
  9. background-color: #fff;
  10. -moz-osx-font-smoothing: grayscale;
  11. -webkit-font-smoothing: antialiased;
  12. text-rendering: optimizeLegibility;
  13. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  14. }
  15. label {
  16. font-weight: 700;
  17. }
  18. html {
  19. height: 100%;
  20. box-sizing: border-box;
  21. }
  22. #app {
  23. height: 100%;
  24. }
  25. *,
  26. *:before,
  27. *:after {
  28. box-sizing: inherit;
  29. }
  30. a,
  31. a:focus,
  32. a:hover {
  33. cursor: pointer;
  34. color: inherit;
  35. outline: none;
  36. text-decoration: none;
  37. }
  38. div:focus {
  39. outline: none;
  40. }
  41. a:focus,
  42. a:active {
  43. outline: none;
  44. }
  45. a,
  46. a:focus,
  47. a:hover {
  48. cursor: pointer;
  49. color: inherit;
  50. text-decoration: none;
  51. }
  52. .clearfix {
  53. &:after {
  54. visibility: hidden;
  55. display: block;
  56. font-size: 0;
  57. content: ' ';
  58. clear: both;
  59. height: 0;
  60. }
  61. }
  62. //main-container全局样式
  63. .app-main {
  64. height: calc(100% - 15px);
  65. background-color: #eaedf1;
  66. }
  67. .app-container {
  68. padding: 15px;
  69. margin: 99px 15px 15px 15px;
  70. -webkit-transition: 0.3s;
  71. transition: 0.3s;
  72. border: 1px solid #ebeef5;
  73. background-color: #fff;
  74. -webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  75. box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  76. }
  77. //搜索栏
  78. .filter-container {
  79. padding-bottom: 10px;
  80. .filter-item {
  81. display: inline-flex;
  82. vertical-align: middle;
  83. margin-bottom: 5px;
  84. }
  85. .filter-item.el-input {
  86. width: 200px;
  87. margin-right: 10px;
  88. }
  89. .el-button .svg-icon {
  90. width: 1.8em;
  91. }
  92. .el-date-editor .el-range-separator {
  93. display: inline-table;
  94. }
  95. }
  96. // 工单列表中操作按钮
  97. .orderList{
  98. .el-table{
  99. .el-button + .el-button {
  100. margin-left: 0;
  101. margin-bottom: 5px;
  102. }
  103. }
  104. }
  105. .el-table,
  106. .el-tree {
  107. margin-top: 10px;
  108. margin-bottom: 10px;
  109. width: 100%;
  110. }
  111. .el-table {
  112. .el-loading-mask {
  113. z-index: 8;
  114. }
  115. thead {
  116. th {
  117. color: #676a6c;
  118. background: #f5f7fa;
  119. }
  120. }
  121. }
  122. //vue-layer
  123. .vl-notify {
  124. // left: 55% !important;
  125. z-index: 2000 !important;
  126. .vlicon-max {
  127. display: none;
  128. }
  129. .vl-notify-content {
  130. height: 100% !important;
  131. width: 100% !important;
  132. padding: 20px !important;
  133. }
  134. .vl-notify-content > div {
  135. width: 100% !important;
  136. }
  137. }
  138. // .vl-notify-iframe {
  139. // margin-left: 90px !important;
  140. // margin-top: 26px !important;
  141. // }
  142. .vl-notify-mask {
  143. z-index: 1900;
  144. background-color: #000 !important;
  145. opacity: 0.4 !important;
  146. }
  147. .vl-notify-content {
  148. /*滚动条样式*/
  149. &::-webkit-scrollbar {
  150. /*滚动条整体样式*/
  151. width: 6px; /*高宽分别对应横竖滚动条的尺寸*/
  152. height: 6px;
  153. }
  154. &::-webkit-scrollbar-thumb {
  155. /*滚动条里面小方块*/
  156. border-radius: 5px;
  157. // box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
  158. background-color: #999;
  159. }
  160. &::-webkit-scrollbar-track {
  161. /*滚动条里面轨道*/
  162. // box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
  163. border-radius: 0;
  164. background-color: #f5f5f5;
  165. }
  166. }
  167. //分页
  168. .el-pagination {
  169. text-align: right;
  170. }
  171. .el-pager,
  172. .el-pagination.is-background .btn-next,
  173. .el-pagination.is-background .btn-prev {
  174. padding: 0 6px;
  175. }
  176. //录音图标
  177. .rec_file {
  178. color: #24c6c8;
  179. cursor: pointer;
  180. width: 1.6em !important;
  181. height: 1.6em !important;
  182. z-index: 1;
  183. }
  184. //图片预览
  185. div.pswp {
  186. z-index: 1600;
  187. }
  188. //头像剪切
  189. div.vue-image-crop-upload {
  190. z-index: 1600;
  191. }
  192. // 附件上传
  193. .uploadFiles .el-upload-list--picture{
  194. margin-right: -1%;
  195. li{
  196. width: 24%;
  197. margin-right: 1%;
  198. float: left;
  199. }
  200. }
  201. //附件上传的 上传的非图片
  202. .el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i {
  203. display: inline-block;
  204. }
  205. .red {
  206. color: red;
  207. }
  208. .text_left {
  209. text-align: left;
  210. }
  211. .text_right {
  212. text-align: right;
  213. }
  214. .text_center {
  215. text-align: center;
  216. }