theme.less 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. .theme(@backcolor: #FF9700, @color: #FEA45F) {
  2. height: 100%;
  3. width: 100%;
  4. .primary {
  5. background-color: @backcolor;
  6. }
  7. .primarytxt {
  8. color: @backcolor;
  9. }
  10. .hoverTheme,
  11. .activeTheme {
  12. // border: 3px solid @backcolor!important;
  13. }
  14. .biankuang {
  15. position: relative;
  16. &.active,
  17. &:hover {
  18. &::before,
  19. &::after {
  20. background-image: linear-gradient(186deg, @backcolor 0%, rgba(0, 144, 255, 0) 100%);
  21. content: "";
  22. width: 100%;
  23. height: 4px;
  24. position: absolute;
  25. top: 0;
  26. right: 0;
  27. z-index: 99;
  28. }
  29. &::after {
  30. content: "";
  31. top: 4px;
  32. height: 100%;
  33. width: 4px;
  34. }
  35. }
  36. }
  37. .fandb {
  38. background-color: rgba(@backcolor, 0.39);
  39. }
  40. .slidee {
  41. .active {
  42. position: relative;
  43. transition: .3s ease all;
  44. border-right: 4px solid @backcolor !important;
  45. ;
  46. &::before,
  47. &::after {
  48. background-image: linear-gradient(186deg, @backcolor 0%, rgba(0, 144, 255, 0) 100%);
  49. content: "";
  50. width: 100%;
  51. height: 4px;
  52. position: absolute;
  53. top: 0;
  54. right: 0;
  55. z-index: 99;
  56. }
  57. &::after {
  58. content: "";
  59. top: unset;
  60. bottom: 0;
  61. }
  62. }
  63. }
  64. .strmactive {
  65. position: relative;
  66. >div {
  67. position: relative;
  68. &::before,
  69. &::after {
  70. position: absolute;
  71. bottom: 0;
  72. content: '';
  73. width: 56px;
  74. left: -10px;
  75. height: 1px;
  76. background-color: @backcolor;
  77. }
  78. &::after {
  79. width: 2px;
  80. height: 18px;
  81. transform: rotate(40deg);
  82. left: unset;
  83. right: 4px;
  84. bottom: -2px;
  85. }
  86. }
  87. }
  88. .dakacir {
  89. background: linear-gradient(-44deg, @backcolor, @color);
  90. border-radius: 50%;
  91. position: relative;
  92. &::before {
  93. background: linear-gradient(-44deg, @backcolor, @color);
  94. opacity: 0.6;
  95. content: '';
  96. display: inline-block;
  97. width: 130%;
  98. height: 130%;
  99. left: 50%;
  100. top: 50%;
  101. transform: translate(-50%, -50%);
  102. position: absolute;
  103. border-radius: 50%;
  104. z-index: -1;
  105. }
  106. }
  107. // @wh:90px;
  108. // .stoptour{
  109. // width: @wh;
  110. // height: @wh;
  111. // border-radius: 16px;
  112. // background: linear-gradient(47deg, @backcolor, @color);
  113. // box-shadow: 10px 5px 10px rgba(0,0,0,0.16);
  114. // }
  115. .btmdashline {
  116. border-bottom: 2px dashed @backcolor;
  117. }
  118. .textActive {
  119. cursor: pointer;
  120. &:hover,
  121. &.active {
  122. color: @backcolor !important;
  123. }
  124. }
  125. .rmactive {
  126. position: relative;
  127. &::before,
  128. &::after {
  129. position: absolute;
  130. bottom: 3px;
  131. content: '';
  132. width: 52px;
  133. right: 0;
  134. height: 1px;
  135. background-color: @backcolor;
  136. }
  137. &::after {
  138. width: 2px;
  139. height: 20px;
  140. transform: rotate(-45deg);
  141. right: unset;
  142. left: 4px;
  143. bottom: 0;
  144. }
  145. }
  146. #drawer-container {
  147. height: 290px;
  148. #drawer {
  149. height: 130px;
  150. .frame-container {
  151. background-image: linear-gradient(90deg, rgba(@backcolor, 0.3) 0%, rgba(@backcolor, 0.56) 100%);
  152. &::before {
  153. content: "";
  154. top: 0;
  155. left: 0;
  156. width: 100%;
  157. height: 4px;
  158. background-image: linear-gradient(211deg, @backcolor 0%, rgba(@backcolor, 0) 100%);
  159. position: absolute;
  160. }
  161. }
  162. }
  163. }
  164. .sign {
  165. >circle {
  166. fill: @backcolor !important;
  167. }
  168. #orange_red1 {
  169. stop {
  170. stop-color: @backcolor !important;
  171. }
  172. }
  173. }
  174. ::-webkit-scrollbar {
  175. width: 2px;
  176. height: 8px;
  177. }
  178. ::-webkit-scrollbar-thumb {
  179. height: 20px;
  180. background-color: @backcolor;
  181. -webkit-border-radius: 4px;
  182. outline: 2px solid @color;
  183. }
  184. ::-webkit-scrollbar-thumb:hover {
  185. height: 20px;
  186. background-color: @backcolor;
  187. -webkit-border-radius: 4px;
  188. }
  189. @media screen and (max-width: 600px) {
  190. .slidee {
  191. .active {
  192. position: relative;
  193. transition: .3s ease all;
  194. border-right: none !important;
  195. &::after {
  196. background-image: linear-gradient(90deg, rgba(0, 144, 255, 0) 0%, @backcolor 50%, rgba(0, 144, 255, 0) 100%);
  197. content: "";
  198. width: 100%;
  199. height: 4px;
  200. position: absolute;
  201. bottom: 0;
  202. top: unset;
  203. left: 50%;
  204. transform: translateX(-50%);
  205. z-index: 99;
  206. }
  207. &::before {
  208. display: none;
  209. }
  210. }
  211. }
  212. }
  213. }