index.less 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. .custom-scroll,
  2. .custom-scrollbar {
  3. overflow: hidden;
  4. overflow-y: scroll;
  5. -webkit-overflow-scrolling: touch;
  6. }
  7. .custom-scroll::-webkit-scrollbar-track-piece,
  8. .custom-scrollbar::-webkit-scrollbar-track-piece {
  9. background-color: transparent;
  10. }
  11. .custom-scroll::-webkit-scrollbar-thumb:vertical,
  12. .custom-scrollbar::-webkit-scrollbar-thumb:vertical {
  13. background-color: #666666;
  14. }
  15. .custom-scroll::-webkit-scrollbar,
  16. .custom-scrollbar::-webkit-scrollbar {
  17. width: 4px;
  18. height: 4px;
  19. }
  20. .custom-scroll::-webkit-scrollbar-corner,
  21. .custom-scrollbar::-webkit-scrollbar-corner {
  22. width: 40px;
  23. }
  24. .status {
  25. position: relative;
  26. &::before {
  27. position: absolute;
  28. top: -2px;
  29. right: -2px;
  30. display: block;
  31. width: 15px;
  32. height: 15px;
  33. background: #505050;
  34. border: 2px solid white;
  35. border-radius: 50%;
  36. content: ' ';
  37. }
  38. &.status-sm::before {
  39. top: 0;
  40. right: 0;
  41. width: 10px;
  42. height: 10px;
  43. border-width: 1px;
  44. }
  45. &.status-success::before {
  46. background: #1dc9b7;
  47. }
  48. &.status-danger::before {
  49. background: #fd3995;
  50. }
  51. &.status-warning::before {
  52. background: #ffc241;
  53. }
  54. }
  55. .book-list {
  56. // position: absolute;
  57. // right: -14.5rem;
  58. top: 50px;
  59. z-index: 101;
  60. width: 0;
  61. height: calc(100vh - 50px);
  62. transition: all 0.47s cubic-bezier(0.34, 1.25, 0.3, 1);
  63. transition-delay: 0.1s;
  64. .postion {
  65. transform: translateY(-50%);
  66. }
  67. &.show-short {
  68. width: 3rem;
  69. &:hover {
  70. width: 14.563rem;
  71. border-left-color: rgba(0, 0, 0, 0.1);
  72. }
  73. }
  74. }
  75. /* Rectangle Out */
  76. .hvr-rectangle-out {
  77. position: relative;
  78. display: inline-block;
  79. vertical-align: middle;
  80. // background: #e1e1e1;
  81. // background-color: unset;
  82. box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  83. -webkit-transform: perspective(1px) translateZ(0);
  84. transform: perspective(1px) translateZ(0);
  85. -webkit-transition-duration: 0.3s;
  86. transition-duration: 0.3s;
  87. -webkit-transition-property: color;
  88. transition-property: color;
  89. &::before {
  90. position: absolute;
  91. top: 0;
  92. right: 0;
  93. bottom: 0;
  94. left: 0;
  95. z-index: -1;
  96. background: linear-gradient(rgba(29, 33, 41, 0.03), rgba(29, 33, 41, 0.04));
  97. -webkit-transform: scale(0);
  98. transform: scale(0);
  99. -webkit-transition-timing-function: ease-out;
  100. transition-timing-function: ease-out;
  101. -webkit-transition-duration: 0.3s;
  102. transition-duration: 0.3s;
  103. -webkit-transition-property: transform;
  104. transition-property: transform;
  105. content: '';
  106. }
  107. &:hover {
  108. // background: linear-gradient(rgba(29, 33, 41, 0.03), rgba(29, 33, 41, 0.04));
  109. cursor: pointer;
  110. }
  111. &:hover::before {
  112. -webkit-transform: scale(1);
  113. transform: scale(1);
  114. }
  115. }
  116. .circle-one {
  117. position: absolute;
  118. z-index: -1;
  119. width: 30px;
  120. height: 46px;
  121. color: #b0b0b0;
  122. background: #eee6f5;
  123. border: 1px solid #d9d9d9;
  124. border-right: none;
  125. border-top-left-radius: 80%;
  126. border-top-right-radius: 70%;
  127. border-bottom-right-radius: 70%;
  128. border-bottom-left-radius: 80%;
  129. cursor: pointer;
  130. }
  131. .circle-one:hover {
  132. color: #ffffff;
  133. background: #decced;
  134. border: 1px solid #a590c1;
  135. border-right: none;
  136. }