third.scss 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572
  1. @import "base.scss";
  2. @import "drop_down.scss";
  3. .main {
  4. width: 100%;
  5. height: 84%;
  6. h3 {
  7. font-size: px2em(36, 64);
  8. color: #fff;
  9. }
  10. .aside-left {
  11. position: relative;
  12. width: 22%;
  13. height: 100%;
  14. .left-top {
  15. overflow: auto;
  16. &:before {
  17. position: absolute;
  18. left: 94%;
  19. top: 89%;
  20. width: 5%;
  21. min-width: 20px;
  22. height: 13%;
  23. min-height: 50px;
  24. background: url(../img/bor1_1_xie.png) no-repeat;
  25. background-size: 100% 100%;
  26. content: "";
  27. }
  28. &:after {
  29. position: absolute;
  30. top: 0;
  31. left: 0;
  32. width: 100%;
  33. height: 97%;
  34. background: url("../img/bor1_1.png") no-repeat;
  35. background-size: 100% 100%;
  36. content: "";
  37. }
  38. .top-in {
  39. width: 100%;
  40. height: 95%;
  41. overflow: hidden;
  42. }
  43. }
  44. .book-rank {
  45. border-bottom: 1px solid rgba(#1397ff, .1);
  46. font-size: 14px;
  47. span {
  48. display: inline-block;
  49. height: 100%;
  50. }
  51. .ranking {
  52. color: #2edbff;
  53. }
  54. .hot {
  55. font-size: px2em(32, 64);
  56. color: #1397ff;
  57. }
  58. } // 公共样式
  59. .ranking {
  60. width: 13%;
  61. padding-left: 5%;
  62. }
  63. .name {
  64. width: 32%;
  65. }
  66. .company {
  67. width: 34%;
  68. }
  69. .hot {
  70. width: 20%;
  71. padding-left: 2%;
  72. }
  73. .ranking,
  74. .name,
  75. .company,
  76. .hot {
  77. overflow: hidden;
  78. white-space: nowrap;
  79. text-overflow: ellipsis;
  80. }
  81. h3 {
  82. height: 15%;
  83. }
  84. .tit {
  85. height: 6%;
  86. margin: 00;
  87. font-size: px2em(28, 64);
  88. color: #2edbff;
  89. span {
  90. display: inline-block;
  91. height: 100%;
  92. }
  93. }
  94. .top {
  95. position: relative;
  96. height: 52%;
  97. overflow: hidden;
  98. .con-wrap {
  99. width: 100%;
  100. height: 75%;
  101. .over-wrap {
  102. height: 100%;
  103. }
  104. }
  105. .con {
  106. height: 100%;
  107. li {
  108. height: 7.5%;
  109. line-height: 2;
  110. .book-rank {
  111. height: 100%;
  112. }
  113. .book-show {
  114. display: none;
  115. position: relative;
  116. margin-top: 2%;
  117. overflow: hidden;
  118. .img-box {
  119. position: relative;
  120. width: 25%;
  121. height: 100%;
  122. margin: 0 4% 0 16%;
  123. img {
  124. position: absolute;
  125. top: 0;
  126. right: 0;
  127. width: 100%;
  128. max-height: 100%;
  129. overflow: hidden;
  130. }
  131. }
  132. .content {
  133. width: 55%;
  134. height: 100%;
  135. margin-top: 2%;
  136. font-size: px2em(12, 32);
  137. overflow: hidden;
  138. p {
  139. height: 20%;
  140. margin: 0;
  141. overflow: hidden;
  142. white-space: nowrap;
  143. text-overflow: ellipsis;
  144. }
  145. }
  146. }
  147. }
  148. li.active {
  149. height: auto;
  150. background: rgba(#1397ff, .1);
  151. .book-rank {
  152. border-bottom: none;
  153. }
  154. }
  155. }
  156. }
  157. .bottom,
  158. .top {
  159. position: absolute;
  160. width: 100%;
  161. height: 51.5%;
  162. .short {
  163. width: 67%;
  164. }
  165. .hot {
  166. width: 20%;
  167. }
  168. .con {
  169. height: 74%;
  170. li {
  171. height: 7.5%;
  172. line-height: 2;
  173. border-bottom: 1px solid rgba(19, 151, 255, .1);
  174. .book-rank {
  175. height: 100%;
  176. border-bottom: none;
  177. }
  178. .short {
  179. overflow: hidden;
  180. white-space: nowrap;
  181. text-overflow: ellipsis;
  182. }
  183. }
  184. }
  185. }
  186. .top .con {
  187. height: 97%;
  188. }
  189. }
  190. .aside-right {
  191. position: relative;
  192. width: 22%;
  193. height: 100%; // 公共样式
  194. .pie,
  195. .trend {
  196. position: relative;
  197. &:before {
  198. display: block;
  199. position: absolute;
  200. width: 100%;
  201. height: 3px;
  202. background: #0078ff;
  203. content: "";
  204. }
  205. &:before {
  206. top: 0;
  207. opacity: .3;
  208. }
  209. }
  210. .keys {
  211. position: relative;
  212. height: 21%;
  213. margin-bottom: 2.5%;
  214. h3 {
  215. height: 40%;
  216. padding-top: 6%;
  217. margin-left: 5%;
  218. }
  219. .con {
  220. height: 42%;
  221. margin: 0 20px;
  222. background: #081d5d;
  223. dl {
  224. width: 33.3%;
  225. height: 100%;
  226. padding: 10px 0 0 10px;
  227. dt {
  228. height: 40%;
  229. font-size: px2em(28, 64);
  230. color: #128df0;
  231. }
  232. ;
  233. dd {
  234. height: 60%;
  235. font-family: Rubik;
  236. font-size: px2em(48, 64);
  237. font-weight: 300;
  238. color: #fff;
  239. }
  240. }
  241. .middle {
  242. position: relative;
  243. &:before,
  244. &:after {
  245. position: absolute;
  246. top: 20%;
  247. width: 1px;
  248. height: 60%;
  249. background: rgba(#fff, .1);
  250. content: "";
  251. }
  252. &:before {
  253. left: 0;
  254. }
  255. &:after {
  256. right: 0;
  257. }
  258. }
  259. }
  260. }
  261. .pie {
  262. position: relative;
  263. height: 40%;
  264. margin-bottom: 2.5%;
  265. background: url("../img/bg1_1.png") no-repeat;
  266. background-size: cover;
  267. &:after {
  268. position: absolute;
  269. width: 100%;
  270. height: 100%;
  271. background: url("../img/bor1_4.png") no-repeat;
  272. background-size: 100% 100%;
  273. content: "";
  274. }
  275. h3 {
  276. height: 20%;
  277. text-align: center;
  278. }
  279. .pie1 {
  280. width: 47%;
  281. height: 100%;
  282. padding-top: 8%;
  283. // margin-left: 8%;
  284. position: relative;
  285. }
  286. .pie2 {
  287. width: 47%;
  288. height: 100%;
  289. position: relative;
  290. padding-top: 8%;
  291. margin-left: 3%;
  292. }
  293. .legend {
  294. position: absolute;
  295. bottom: 6%;
  296. left: 50%;
  297. width: 80%;
  298. min-width: 86px;
  299. text-align: left;
  300. margin-left: -13%;
  301. font-size: 0.3125em;
  302. transform: translate(-50%, 0);
  303. span {
  304. position: relative;
  305. margin: 0% 3%;
  306. &:before {
  307. display: inline-block;
  308. position: relative;
  309. top: 1px;
  310. width: 1em;
  311. height: 1em;
  312. margin-right: 1%;
  313. content: "";
  314. }
  315. &:nth-of-type(1) {
  316. &:before {
  317. background: #0239a7;
  318. }
  319. }
  320. &:nth-of-type(2) {
  321. &:before {
  322. background: #fff;
  323. }
  324. }
  325. &:nth-of-type(3) {
  326. &:before {
  327. background: #24feb4;
  328. }
  329. }
  330. &:nth-of-type(4) {
  331. &:before {
  332. background: #23539b;
  333. }
  334. }
  335. &:nth-of-type(5) {
  336. &:before {
  337. background: #3c9de4;
  338. }
  339. }
  340. }
  341. }
  342. .legend2 {
  343. position: absolute;
  344. bottom: 11%;
  345. left: 50%;
  346. width: 100%;
  347. text-align: left;
  348. min-width: 225px;
  349. font-size: px2em(20, 64);
  350. transform: translate(-50%, 0);
  351. span {
  352. position: relative;
  353. min-width: 100px;
  354. margin-right: 4%;
  355. float: left;
  356. display: block;
  357. text-align: left;
  358. }
  359. }
  360. }
  361. .area-rank {
  362. position: relative;
  363. height: 20%;
  364. margin-bottom: 2.5%;
  365. background: url("../img/bg1_4.png") no-repeat;
  366. background-size: cover;
  367. overflow: hidden;
  368. &:after {
  369. position: absolute;
  370. top: 0;
  371. width: 100%;
  372. height: 100%;
  373. background: url("../img/bor1_5.png") no-repeat;
  374. background-size: 100% 100%;
  375. content: "";
  376. }
  377. h3 {
  378. height: 40%;
  379. padding-top: 6%;
  380. margin-left: 5%;
  381. }
  382. .recommend {
  383. position: relative;
  384. height: 560%;
  385. margin: 0% 0 5% 5%;
  386. font-size: px2em(20, 64); // color: #07bffb;
  387. overflow: hidden;
  388. ul {
  389. li {
  390. padding: 1% 2%;
  391. margin: 1%;
  392. display: inline-block;
  393. font-size: px2em(20, 64);
  394. background: rgba(7, 191, 251, 0.22)
  395. }
  396. } // ul {
  397. // position: absolute;
  398. // top: 0;
  399. // width: 100%;
  400. // }
  401. // li {
  402. // padding: 1% 1%;
  403. // background: #00bbec;
  404. // }
  405. // span {
  406. // display: inline-block;
  407. // height: 100%;
  408. // }
  409. // .num {
  410. // width: 4%;
  411. // min-width: 15px;
  412. // }
  413. // .city-name {
  414. // width: 8%;
  415. // min-width: 40px;
  416. // }
  417. // .bar {
  418. // width: 68%;
  419. // height: 50%;
  420. // font-size: 0;
  421. // background: #03163b;
  422. // -webkit-text-size-adjust: none;
  423. // .bar-in {
  424. // display: inline-block;
  425. // height: 100%;
  426. // background: linear-gradient(to right, #2690cf, #00fecc);
  427. // }
  428. // }
  429. // .rank-value {
  430. // margin-left: 1.5%;
  431. // font-size: px2em(24, 64);
  432. // }
  433. }
  434. }
  435. .trend {
  436. // position: absolute;
  437. bottom: 0;
  438. width: 100%;
  439. height: 100%; // background: url("../img/bg1_3.png") no-repeat;
  440. background-size: cover;
  441. &:after {
  442. position: absolute;
  443. top: 0;
  444. width: 100%;
  445. height: 100%; // background: url("../img/bor1_6.png") no-repeat;
  446. background-size: 100% 100%;
  447. content: "";
  448. }
  449. h3 {
  450. height: 20%;
  451. padding-top: 4%;
  452. margin-left: 5%;
  453. }
  454. ;
  455. }
  456. .publish {
  457. position: absolute;
  458. bottom: 0;
  459. width: 100%;
  460. height: 38%;
  461. background: url("../img/invalid-name.png");
  462. background-size: 100% 100%;
  463. h3 {
  464. margin-top: 9%;
  465. padding-left: 9%;
  466. span {
  467. float: right;
  468. font-size: px2em(32, 64);
  469. font-weight: normal;
  470. font-style: normal;
  471. font-stretch: normal;
  472. line-height: normal;
  473. letter-spacing: normal;
  474. text-align: left;
  475. color: #00bbec;
  476. padding-right: 17%;
  477. }
  478. }
  479. img {
  480. display: block;
  481. margin: 1% auto;
  482. width: 91%;
  483. }
  484. }
  485. }
  486. }
  487. .title-map,
  488. .month-tip {
  489. position: absolute;
  490. left: 50%;
  491. top: 25%;
  492. transform: translate(-50%, 0);
  493. font-size: px2em(36, 64);
  494. }
  495. .month-tip {
  496. color: #00bbec;
  497. }
  498. header .gifImg .month-tip {
  499. margin-top: 0%;
  500. }
  501. p .main-bottom {
  502. width: 100%;
  503. height: 5px;
  504. span {
  505. display: inline-block;
  506. height: 100%;
  507. background: #02336b;
  508. }
  509. .line1 {
  510. width: 15%;
  511. margin-right: 6px;
  512. }
  513. .line2 {
  514. width: 55%;
  515. margin-right: 6px;
  516. }
  517. .line3 {
  518. width: 26%;
  519. }
  520. }
  521. .title_img {
  522. text-align: left;
  523. }
  524. // 出版社排行 旋转效果
  525. .pressRotate {
  526. -webkit-animation: mymove .5s ease-in;
  527. -moz-animation: mymove .5s ease-in;
  528. -o-animation: mymove .5s ease-in;
  529. animation: mymove .5s ease-in;
  530. }
  531. @keyframes mymove {
  532. 0% {
  533. transform: rotateX(0deg);
  534. }
  535. 100% {
  536. transform: rotateX(360deg);
  537. }
  538. }
  539. @-moz-keyframes mymove {
  540. 0% {
  541. transform: rotateX(0deg);
  542. }
  543. 100% {
  544. transform: rotateX(360deg);
  545. }
  546. }
  547. @-webkit-keyframes mymove {
  548. 0% {
  549. transform: rotateX(0deg);
  550. }
  551. 100% {
  552. transform: rotateX(360deg);
  553. }
  554. }
  555. @-o-keyframes mymove {
  556. 0% {
  557. transform: rotateX(0deg);
  558. }
  559. 100% {
  560. transform: rotateX(360deg);
  561. }
  562. }