public.less 2.1 KB

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