reset.less 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459
  1. /* reset */
  2. html,
  3. body,
  4. h1,
  5. h2,
  6. h3,
  7. h4,
  8. h5,
  9. h6,
  10. div,
  11. dl,
  12. dt,
  13. dd,
  14. ul,
  15. ol,
  16. li,
  17. p,
  18. blockquote,
  19. pre,
  20. hr,
  21. figure,
  22. table,
  23. caption,
  24. th,
  25. td,
  26. form,
  27. fieldset,
  28. legend,
  29. input,
  30. button,
  31. textarea,
  32. menu {
  33. margin: 0;
  34. padding: 0;
  35. }
  36. header,
  37. footer,
  38. section,
  39. article,
  40. aside,
  41. nav,
  42. hgroup,
  43. address,
  44. figure,
  45. figcaption,
  46. menu,
  47. details {
  48. display: block;
  49. }
  50. table {
  51. border-collapse: collapse;
  52. border-spacing: 0;
  53. }
  54. caption,
  55. th {
  56. text-align: left;
  57. font-weight: normal;
  58. }
  59. html,
  60. body,
  61. fieldset,
  62. img,
  63. iframe,
  64. abbr {
  65. border: 0;
  66. }
  67. i,
  68. cite,
  69. em,
  70. var,
  71. address,
  72. dfn {
  73. font-style: normal;
  74. }
  75. [hidefocus],
  76. summary {
  77. outline: 0;
  78. }
  79. li {
  80. list-style: none;
  81. }
  82. h1,
  83. h2,
  84. h3,
  85. h4,
  86. h5,
  87. h6,
  88. small {
  89. font-size: 100%;
  90. }
  91. sup,
  92. sub {
  93. font-size: 83%;
  94. }
  95. pre,
  96. code,
  97. kbd,
  98. samp {
  99. font-family: inherit;
  100. }
  101. q:before,
  102. q:after {
  103. content: none;
  104. }
  105. textarea {
  106. overflow: auto;
  107. resize: none;
  108. }
  109. label,
  110. summary {
  111. cursor: default;
  112. }
  113. a,
  114. button {
  115. cursor: pointer;
  116. }
  117. h1,
  118. h2,
  119. h3,
  120. h4,
  121. h5,
  122. h6,
  123. em,
  124. strong,
  125. b {
  126. font-weight: bold;
  127. }
  128. del,
  129. ins,
  130. u,
  131. s,
  132. a,
  133. a:hover {
  134. text-decoration: none;
  135. }
  136. body,
  137. textarea,
  138. input,
  139. button,
  140. select,
  141. keygen,
  142. legend {
  143. font: 14px/1.14;
  144. outline: 0;
  145. }
  146. body {
  147. background: #fff;
  148. }
  149. * {
  150. box-sizing: border-box
  151. }
  152. a {
  153. text-decoration: none;
  154. }
  155. ::-webkit-scrollbar {
  156. width: 2px;
  157. height: 8px;
  158. }
  159. ::-webkit-scrollbar-thumb {
  160. height: 50px;
  161. background-color: #ddd;
  162. -webkit-border-radius: 4px;
  163. outline: 2px solid #fff;
  164. outline-offset: -2px;
  165. }
  166. ::-webkit-scrollbar-thumb:hover {
  167. height: 50px;
  168. background-color: #9f9f9f;
  169. -webkit-border-radius: 4px;
  170. }
  171. .el-pagination button:disabled {
  172. background-color: transparent;
  173. }
  174. .el-pagination .btn-next,
  175. .el-pagination .btn-prev {
  176. background-color: transparent;
  177. }
  178. .el-dialog,
  179. .el-pager li {
  180. background-color: transparent;
  181. }
  182. .el-pagination {
  183. color: #f0af7c;
  184. }
  185. .el-pager li.active {
  186. color: black;
  187. }
  188. .el-pager li:hover {
  189. color: black;
  190. }
  191. .el-pagination .btn-next,
  192. .el-pagination .btn-prev {
  193. color: #f0af7c;
  194. }
  195. .el-pagination button:hover {
  196. color: black;
  197. }
  198. .el-textarea__inner {
  199. background-color: rgba(237, 211, 176, .3);
  200. color: #f0af7c;
  201. border: none;
  202. }
  203. .el-textarea__inner::-webkit-input-placeholder {
  204. color: #EDD3B0;
  205. }
  206. .el-radio {
  207. color: #f0af7c;
  208. }
  209. .el-radio__input.is-checked+.el-radio__label {
  210. color: #f0af7c;
  211. }
  212. .el-radio__inner {
  213. width: 24px;
  214. height: 24px;
  215. }
  216. .el-radio__input.is-checked .el-radio__inner {
  217. border-color: red;
  218. background: #f0af7c;
  219. }
  220. .el-radio__inner:hover {
  221. border-color: red;
  222. }
  223. .el-radio__input.is-checked .el-radio__inner::after {
  224. transform: translate(-50%, -50%) scale(0);
  225. }
  226. .search .el-input__inner {
  227. width: 340px;
  228. height: 36px;
  229. background-color: transparent;
  230. color: #774926;
  231. border: 1px solid #774926;
  232. border-radius: 18px;
  233. }
  234. .el-input__inner {
  235. background-color: transparent;
  236. color: #774926;
  237. border: 1px solid #774926;
  238. border-radius: 13px;
  239. }
  240. .el-input.is-active .el-input__inner,
  241. .el-input__inner:focus {
  242. border: 1px solid #cc946d;
  243. }
  244. .el-pagination__editor.el-input {
  245. width: 28px;
  246. height: 28px;
  247. margin-right: 4px;
  248. }
  249. .el-pagination__editor.el-input .el-input__inner {
  250. width: 26px;
  251. height: 26px;
  252. }
  253. input::-webkit-input-placeholder {
  254. color: #cc946d !important;
  255. }
  256. .el-select-dropdown__item.hover,
  257. .el-select-dropdown__item:hover {
  258. background-color: rgba(237, 211, 176, .3);
  259. ;
  260. }
  261. .el-select-dropdown__item.selected {
  262. color: #f0af7c;
  263. }
  264. /* 分页 */
  265. .el-pagination {
  266. display: flex;
  267. align-items: center;
  268. }
  269. .el-pager li {
  270. font-weight: 400;
  271. min-width: 24px;
  272. width: 24px;
  273. height: 24px;
  274. padding: 0;
  275. margin: 0 8px;
  276. border: none;
  277. background-color: transparent;
  278. border-radius: 50%;
  279. }
  280. .el-pager li:hover {
  281. color: #CC946D;
  282. }
  283. .el-pager li.active {
  284. width: 26px;
  285. height: 26px;
  286. background-color: #CC946D;
  287. border-radius: 50%;
  288. color: #fff;
  289. }
  290. .el-pager li.active+li {
  291. border: none;
  292. background-color: transparent;
  293. }
  294. .el-pagination button:hover {
  295. color: #CC946D;
  296. }
  297. // 底部导航的样式
  298. .frame-container {
  299. background: url('../../assets/myData/tab.png');
  300. background-size: 100% 100%;
  301. }
  302. .frame {
  303. background: url('../../assets/myData/tab.png');
  304. background-size: 100% 100%;
  305. }
  306. #playHead {
  307. // 底部进度条
  308. #status {
  309. background-color: #d5cfbe;
  310. color: #978163;
  311. }
  312. #progressBar {
  313. background-color: #d5cfbe;
  314. }
  315. #progressBar .step::before {
  316. background-color: #cebca3;
  317. }
  318. #progressBar .step.active::before {
  319. background-color: #978163;
  320. }
  321. }
  322. // 底部滚动条
  323. .scrollbar {
  324. margin-top: 6px;
  325. height: 4px;
  326. .handle {
  327. background-color: #978163;
  328. }
  329. }
  330. // 按钮
  331. .pinBottom-container.drawerOpen {
  332. bottom: 0;
  333. }
  334. // 导览列表
  335. .frame .slidee li .overlay {
  336. color: rgba(0, 0, 0, .5);
  337. line-height: 26px;
  338. }
  339. .frame .slidee li.thumbImg.active>.overlay,
  340. .frame .slidee li.thumbImg.hasHover.active>.overlay:hover {
  341. color: #978163;
  342. }
  343. .frame .slidee li.thumbImg.active>img,
  344. .frame .slidee li.thumbImg.hasHover.active>img:hover {
  345. border: 4px solid #978163;
  346. }
  347. #drawer.open {
  348. height: 166px !important;
  349. }
  350. .frame {
  351. height: 146px;
  352. padding-top: 16px;
  353. width: calc(100% - 40px);
  354. margin-left: 20px;
  355. .slidee li {
  356. width: 146px;
  357. }
  358. }
  359. #thumb-container .thumbImg img {
  360. width: 100%;
  361. height: auto;
  362. object-fit: cover;
  363. border-radius: 10px;
  364. }
  365. // 楼层
  366. .pinBottom .rightViewContainer {
  367. // display: none !important;
  368. float: left;
  369. position: relative;
  370. top: -4px;
  371. width: 44px;
  372. height: 44px;
  373. margin-right: 12px;
  374. .gui-floor{
  375. background-color: transparent;
  376. }
  377. .gui-floor-icon{
  378. width: 44px;
  379. height: 44px;
  380. }
  381. // 字体颜色
  382. .gui-floor-number{
  383. color: #e1cfac;
  384. }
  385. }