reset.scss 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /* 重置样式 */
  2. //改动人:yhc
  3. // 改动原因:适配原生el-table
  4. // 页面包裹
  5. .app-main {
  6. background: #f5f7f9;
  7. padding: 10px;
  8. .app-container {
  9. padding: 14px;
  10. border-radius: 5px;
  11. background: #fff;
  12. }
  13. }
  14. //滚动条样式
  15. /*滚动条样式*/
  16. ::-webkit-scrollbar {
  17. width: 10px;
  18. height: 10px;
  19. /**/
  20. }
  21. ::-webkit-scrollbar-track {
  22. background: #fff;
  23. border-radius: 2px;
  24. }
  25. ::-webkit-scrollbar-thumb {
  26. background: rgba(35, 32, 50, 0.29);
  27. border-radius: 10px;
  28. }
  29. ::-webkit-scrollbar-thumb:hover {
  30. background: #999;
  31. }
  32. ::-webkit-scrollbar-corner {
  33. background: #204754;
  34. }
  35. .el-table td {
  36. height: 45px;
  37. padding: 0px 0px;
  38. font-size: 12px !important;
  39. //font-family: MicrosoftYaHei-Bold !important;
  40. font-weight: normal;
  41. }
  42. .el-table__body-wrapper {
  43. padding: 0px !important;
  44. }
  45. .el-table__fixed-body-wrapper {
  46. td {
  47. height: 45px;
  48. padding: 0px 0px;
  49. font-size: 12px !important;
  50. //font-family: MicrosoftYaHei-Bold !important;
  51. font-weight: normal;
  52. }
  53. .cell span {
  54. font-size: 12px;
  55. }
  56. }
  57. //AVUE表格元素
  58. .el-table th {
  59. background-color: hsl(222deg 33% 92%) !important;
  60. //box-sizing: border-box !important;
  61. //overflow-wrap: break-word !important;
  62. color: rgba(110, 121, 147, 1) !important;
  63. font-size: 12px !important;
  64. //font-family: MicrosoftYaHei-Bold !important;
  65. font-weight: normal;
  66. }
  67. .el-table {
  68. border: 1px solid hsl(222deg 33% 92%) !important;
  69. }
  70. .el-form-item__label {
  71. font-weight: normal !important;
  72. }
  73. .avue-crud__menu {
  74. line-height: 36px;
  75. }
  76. .avue-form__group {
  77. border-bottom: 1px solid hsl(222deg 33% 92%);
  78. }
  79. .avue-form__menu--right {
  80. width: 100%;
  81. .el-button--text {
  82. position: absolute;
  83. left: calc(50% - 50px);
  84. }
  85. }
  86. // 进度条颜色
  87. #nprogress .bar {
  88. background: orange !important;
  89. }