project_normal.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. body {
  2. font-family: $le-family;
  3. font-size: 14px;
  4. overflow-x: hidden;
  5. }
  6. // 页面公用样式 flex column 外壳
  7. .flex-column-page-wrap {
  8. flex: 1;
  9. display: flex;
  10. height: 100%;
  11. flex-direction: column;
  12. }
  13. // 单行超出隐藏
  14. .text-overflow-hidden {
  15. white-space: normal;
  16. overflow: hidden;
  17. text-overflow: ellipsis;
  18. display: -webkit-box;
  19. -webkit-line-clamp: 1;
  20. -webkit-box-orient: vertical;
  21. }
  22. .common_title {
  23. position: relative;
  24. display: flex;
  25. align-items: center;
  26. //line-height: 22px;
  27. padding: 12px 0;
  28. font-size: 14px;
  29. //color: rgba(0, 0, 0, 0.85);
  30. color: var(--el-text-color-primary);
  31. //background-color: var(--el-fill-color);
  32. &:before {
  33. content: '';
  34. width: 3px;
  35. height: 16px;
  36. margin-right: 6px;
  37. background: $le-color-primary;
  38. }
  39. }
  40. // icon-图标变小手
  41. .ibt0 {
  42. cursor: pointer;
  43. }
  44. // 全局滚动条样式
  45. ::-webkit-scrollbar{width:6px;height:6px}
  46. ::-webkit-scrollbar-track{border-radius:6px;background: $le-bg-color_1;}
  47. ::-webkit-scrollbar-track:hover{background-color:rgba(0,0,0,0.06);box-shadow:0 0 0 #fff inset,0 0 0 rgba(255,255,255,0.9) inset,0 0 0 rgba(255,255,255,0.9) inset,0 0 0 rgba(255,255,255,0.9) inset}
  48. ::-webkit-scrollbar-track:active{background-color:rgba(0,0,0,0.1)}
  49. ::-webkit-scrollbar-thumb{border-radius:6px;background-color:rgba(0,0,0,0.1);box-shadow:0 0 0 #fff inset,0 0 0 #fff inset,0 0 0 rgba(255,255,255,0.9) inset,0 0 0 rgba(255,255,255,0.9) inset}
  50. ::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,0.4)}
  51. ::-webkit-scrollbar-thumb:active{background:rgba(0,0,0,0.6)}
  52. // 审批公用样式
  53. .flex-column-page-wrap.flex-wrap {
  54. flex-direction: row;
  55. background-color: #f2f3f5;
  56. padding: 10px 10px 0 10px;
  57. }
  58. .warp-left {
  59. width: 330px; /*固定宽度*/
  60. overflow: auto; /*超出部分滚动*/
  61. background-color: var(--el-bg-color);
  62. margin-right: 10px;
  63. }
  64. .warp-right {
  65. flex: 1; /*这里设置为占比1,填充满剩余空间*/
  66. }