public.less 2.2 KB

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