custom.scss 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. // 自定义table-header
  2. .el-table .el-table__row td {
  3. color: #666666;
  4. border-bottom: 1px solid #f4f4f4;
  5. }
  6. .el-table .el-table__header tr th:first-child {
  7. border-radius: 10px 0px 0px 10px;
  8. }
  9. .el-table .el-table__header tr th:nth-last-child(2) {
  10. border-radius: 0px 10px 10px 0px;
  11. }
  12. .el-table .el-table__header tr th {
  13. background: #f1f6ff;
  14. color: #13171e;
  15. border-bottom: 0px;
  16. }
  17. // 搜索button
  18. .long-btn {
  19. width: 240px;
  20. }
  21. .export-btn {
  22. background: #185da6;
  23. &:hover {
  24. background: #185da6;
  25. opacity: 0.8;
  26. }
  27. &:active, &:focus {
  28. background: #185da6;
  29. }
  30. }
  31. // 不允许复制
  32. .nocopy {
  33. user-select: none !important;
  34. }
  35. // 修改默认滚动条
  36. ::-webkit-scrollbar {
  37. width: 6px;
  38. height: 6px;
  39. background: transparent;
  40. }
  41. ::-webkit-scrollbar-thumb {
  42. background: transparent;
  43. border-radius: 4px;
  44. }
  45. :hover::-webkit-scrollbar-thumb {
  46. background: hsla(0, 0%, 53%, 0.4);
  47. }
  48. :hover::-webkit-scrollbar-track {
  49. background: hsla(0, 0%, 53%, 0.1);
  50. }
  51. // 卡片背景
  52. .bg-box {
  53. padding: 0 13px 13px;
  54. width: 100%;
  55. .bg-card {
  56. padding: 20px;
  57. background: #fff;
  58. border-radius: 5px;
  59. overflow-x: hidden;
  60. }
  61. .mb20 {
  62. margin-bottom: 20px;
  63. }
  64. .bg185DA6 {
  65. background: #185DA6;
  66. }
  67. .text-right {
  68. text-align: right;
  69. }
  70. .text-center {
  71. text-align: center;
  72. }
  73. .link {
  74. text-decoration: underline;
  75. color: #FF786F;
  76. cursor: pointer;
  77. }
  78. .link2 {
  79. color: #004983;
  80. cursor: pointer;
  81. text-decoration: underline;
  82. }
  83. .c_FF786F {
  84. color: #FF786F;
  85. }
  86. }