3
0

public.less 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. #app {
  2. width: 100%;
  3. height: 100%;
  4. }
  5. // =================================
  6. // ==============scrollbar==========
  7. // =================================
  8. ::-webkit-scrollbar {
  9. width: 7px;
  10. height: 8px;
  11. }
  12. // ::-webkit-scrollbar-track {
  13. // background: transparent;
  14. // }
  15. ::-webkit-scrollbar-track {
  16. background-color: rgba(0, 0, 0, 0.05);
  17. }
  18. ::-webkit-scrollbar-thumb {
  19. // background: rgba(0, 0, 0, 0.6);
  20. background-color: rgba(144, 147, 153, 0.3);
  21. // background-color: rgba(144, 147, 153, 0.3);
  22. border-radius: 2px;
  23. box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
  24. }
  25. ::-webkit-scrollbar-thumb:hover {
  26. background-color: @border-color-dark;
  27. }
  28. [data-theme='dark'] {
  29. ::-webkit-scrollbar-thumb:hover {
  30. background-color: #5e6063;
  31. }
  32. }
  33. // =================================
  34. // ==============nprogress==========
  35. // =================================
  36. #nprogress {
  37. pointer-events: none;
  38. .bar {
  39. position: fixed;
  40. top: 0;
  41. left: 0;
  42. z-index: 99999;
  43. width: 100%;
  44. height: 2px;
  45. background-color: @primary-color;
  46. opacity: 0.75;
  47. }
  48. }
  49. // =======================================
  50. // ============ [sjl] 按钮组样式 ==========
  51. // =======================================
  52. .j-table-operator {
  53. // Button按钮间距
  54. .ant-btn {
  55. margin: 0 8px 8px 0;
  56. transition: margin 0s;
  57. }
  58. & > .ant-btn:last-of-type {
  59. margin: 0 0 8px 0;
  60. }
  61. .ant-btn-group,
  62. &.ant-btn-group {
  63. .ant-btn {
  64. margin: 0;
  65. transition: margin 0s;
  66. }
  67. & > .ant-btn:last-of-type {
  68. margin: 0 8px 8px 0;
  69. }
  70. }
  71. }
  72. // ========================================
  73. // ============ [sjl] 底部按钮样式 ==========
  74. // ========================================
  75. .j-box-bottom-button {
  76. height: 28px;
  77. &-float {
  78. position: absolute;
  79. left: 0;
  80. right: 0;
  81. bottom: 0;
  82. border-top: 1px solid #e8e8e8;
  83. padding: 10px 16px;
  84. text-align: right;
  85. background: #fff;
  86. border-radius: 0 0 2px 2px;
  87. & .ant-btn {
  88. margin-left: 8px;
  89. }
  90. }
  91. &.offset-20 &-float {
  92. left: -20px;
  93. right: -20px;
  94. bottom: -20px;
  95. }
  96. }
  97. .common-page-tabs {
  98. padding: 0 12px 6px 12px;
  99. margin: 16px;
  100. border: 1px solid @border-color-base;
  101. border-radius: 4px;
  102. }
  103. .action-btn {
  104. cursor: pointer;
  105. border: none;
  106. // background: transparent;
  107. padding: 4px;
  108. margin-right: 10px;
  109. &:hover {
  110. color: @primary-color;
  111. }
  112. &:last-child {
  113. margin-right: 0;
  114. }
  115. .action-text {
  116. color: lighten(@primary-color, 10%);
  117. &:hover {
  118. color: @primary-color;
  119. }
  120. }
  121. .action-icon {
  122. width: 16px;
  123. height: 16px;
  124. }
  125. }