video.scss 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714
  1. @import "../base/mixins";
  2. $maincolor : #ff6b1a;
  3. $orange : #ff6b1a;
  4. $borderColor : #dcdcdc;
  5. .pb-150{
  6. padding-bottom: px2rem(150);
  7. }
  8. .mt-16{
  9. margin-top: px2rem(16);
  10. }
  11. .v-mod-video{
  12. background: #FFF;
  13. font-size: px2rem(28);
  14. padding-bottom: px2rem(20);
  15. .info-row1{
  16. display: flex;
  17. justify-content: space-between;
  18. align-items: center;
  19. padding: px2rem(24);
  20. .img-wrap{
  21. display: inline-block;
  22. width: px2rem(70);
  23. height: px2rem(70);
  24. border-radius: 50%;
  25. overflow: hidden;
  26. background: url(./../img/pic-head.png) no-repeat;
  27. background-size: 100%;
  28. img{
  29. display: block;
  30. overflow: hidden;
  31. width: 100%;
  32. height: 100%;
  33. }
  34. }
  35. h2{
  36. font-size: px2rem(34);
  37. color: #000;
  38. margin-left: px2rem(12);
  39. }
  40. .col-fl{
  41. display: flex;
  42. align-items: center;
  43. }
  44. .col-fr{
  45. background: url(./../img/icon-watch.png) left center no-repeat;
  46. background-size: auto px2rem(24);
  47. padding-left: px2rem(40);
  48. color: #666666;
  49. }
  50. }
  51. .info-row2{
  52. h1{
  53. font-size: px2rem(26);
  54. color: #333333;
  55. padding: 0 px2rem(24);
  56. line-height: px2rem(40);
  57. }
  58. .btn-more{
  59. display: block;
  60. font-size: px2rem(20);
  61. line-height: px2rem(40);
  62. text-align: center;
  63. color: #999;
  64. margin-top: px2rem(24);
  65. }
  66. }
  67. }
  68. .v-mod-detail{
  69. background: #FFFFFF;
  70. font-size: px2rem(28);
  71. position: relative;
  72. a.detail-wrap{
  73. &:hover{
  74. background: #f5f5f5;
  75. }
  76. }
  77. .detail-wrap{
  78. display: flex;
  79. padding: px2rem(24);
  80. position: relative;
  81. z-index: 1;
  82. }
  83. .detail-fl{
  84. width: px2rem(136);
  85. height: px2rem(190);
  86. overflow: hidden;
  87. position: relative;
  88. background-image: url(./../img/bg-pic.png);
  89. background-size: 100%;
  90. img{
  91. width: 100%;
  92. height: 100%;
  93. display: block;
  94. overflow: hidden;
  95. }
  96. p{
  97. position: absolute;
  98. bottom: 0;
  99. width: 100%;
  100. height: px2rem(36);
  101. line-height: px2rem(36);
  102. background: rgba(0, 0, 0,0.8);
  103. color: #dcdcdc;
  104. text-align: center;
  105. font-size: px2rem(20);
  106. }
  107. }
  108. .detail-fm{
  109. flex: 1;
  110. margin: 0 px2rem(20);
  111. h2{
  112. font-size: px2rem(32);
  113. color: #181818;
  114. line-height: px2rem(50);
  115. }
  116. p{
  117. font-size: px2rem(24);
  118. color: #919090;
  119. line-height: px2rem(36);
  120. height: px2rem(36);
  121. overflow: hidden;
  122. }
  123. span{
  124. margin-right: px2rem(6);
  125. }
  126. }
  127. .detail-fr{
  128. .rate-wrap{
  129. width: px2rem(134);
  130. border: 1px solid #535353;
  131. border-radius: px2rem(8);
  132. text-align: center;
  133. font-size: px2rem(24);
  134. }
  135. p{
  136. color: #181818;
  137. margin-bottom: px2rem(15);
  138. }
  139. span{
  140. color: $maincolor;
  141. font-size: px2rem(40);
  142. line-height: px2rem(76);
  143. }
  144. .imdb-wrap{
  145. color: #ffffff;
  146. background: #535353;
  147. line-height: px2rem(46);
  148. }
  149. }
  150. .btn-wrap{
  151. border-top: 1px solid #ebebeb;
  152. padding: px2rem(30) 0;
  153. }
  154. .btn-app{
  155. display: block;
  156. margin: 0 auto;
  157. color: #ffffff;
  158. line-height: px2rem(70);
  159. text-align: center;
  160. width: px2rem(410);
  161. height: px2rem(70);
  162. padding: 0 px2rem(40);
  163. font-size: px2rem(28);
  164. border-radius: px2rem(45);
  165. background-image: -webkit-radial-gradient(ellipse at right bottom,$maincolor,#ff8e2a);
  166. background: radial-gradient(ellipse at right bottom,$maincolor,#ff8e2a);
  167. box-shadow: 1px 2px 8px 1px #fbb06d;
  168. }
  169. .detail-filmmakers{
  170. border-top: 1px solid #dcdcdc;
  171. padding: 0 px2rem(24) px2rem(24) px2rem(24);
  172. color: #888888;
  173. h2{
  174. line-height: px2rem(80);
  175. color: #181818;
  176. }
  177. .intro{
  178. position: relative;
  179. font-size: px2rem(28);
  180. line-height: px2rem(40);
  181. height: px2rem(80);
  182. color: #666666;
  183. overflow: hidden;
  184. p{
  185. display: inline;
  186. }
  187. .btn-open{
  188. position: absolute;
  189. right: 0;
  190. bottom: 0;
  191. height: px2rem(40);
  192. line-height: px2rem(40);
  193. color: $maincolor;
  194. background: #FFFFFF;
  195. }
  196. &.is-open{
  197. height: auto;
  198. .btn-open{
  199. position: relative;
  200. }
  201. }
  202. }
  203. .ticket{
  204. text-align: center;
  205. margin-top: px2rem(30);
  206. }
  207. .list-filmmakers{
  208. margin: px2rem(30) 0;
  209. white-space: nowrap;
  210. overflow-x: auto;
  211. overflow-y: hidden;
  212. -webkit-overflow-scrolling: touch;
  213. li{
  214. display: inline-block;
  215. vertical-align: top;
  216. width: px2rem(120);
  217. text-align: center;
  218. margin: 0 px2rem(10);
  219. &.item-more{
  220. .cover{
  221. background-image: url(./../img/icon-filmmake-more.png);
  222. }
  223. }
  224. }
  225. .cover{
  226. display: block;
  227. margin: 0 auto;
  228. width: px2rem(100);
  229. height: px2rem(100);
  230. overflow: hidden;
  231. border-radius: 50%;
  232. background-size: cover;
  233. background-color: #cccccc;
  234. }
  235. h3{
  236. color: #000000;
  237. font-size: px2rem(24);
  238. line-height: px2rem(62);
  239. @include ellipsis();
  240. }
  241. p{
  242. font-size: px2rem(20);
  243. }
  244. }
  245. }
  246. .detail-intro{
  247. border-top: 1px solid #ebebeb;
  248. display: flex;
  249. justify-content: space-between;
  250. align-items: center;
  251. height: px2rem(80);
  252. padding: 0 px2rem(24);
  253. h3{
  254. color: #181818;
  255. }
  256. .btn-open{
  257. width: px2rem(20);
  258. height: px2rem(20);
  259. border-top: 1px solid #b4b4b4;
  260. border-right: 1px solid #b4b4b4;
  261. transform: rotate(45deg);
  262. }
  263. }
  264. }
  265. .v-mod-jieshuo{
  266. background: #FFFFFF;
  267. margin-top: px2rem(16);
  268. font-size: px2rem(32);
  269. padding: px2rem(30) 0 px2rem(10) 0;
  270. color: #181818;
  271. h2{
  272. line-height: px2rem(70);
  273. padding: 0 px2rem(24);
  274. a{
  275. float: right;
  276. font-size: px2rem(24);
  277. color: #888888;
  278. }
  279. }
  280. .list-ups{
  281. margin-right: px2rem(-24);
  282. padding-left: px2rem(24);
  283. white-space: nowrap;
  284. overflow-x: auto;
  285. overflow-y: hidden;
  286. li{
  287. border: 1px solid #d4d4d4;
  288. display: inline-block;
  289. vertical-align: middle;
  290. font-size: px2rem(28);
  291. color: #888888;
  292. line-height: px2rem(70);
  293. padding: 0 px2rem(36);
  294. border-radius: px2rem(35);
  295. padding: 0 px2rem(24);
  296. margin: px2rem(12) px2rem(24) px2rem(12) 0;
  297. &.active{
  298. color: $maincolor;
  299. border: 1px solid $maincolor;
  300. }
  301. }
  302. }
  303. .list-jieshuo{
  304. overflow: hidden;
  305. max-height: px2rem(540);
  306. &.is-scroll{
  307. height: px2rem(540);
  308. }
  309. li{
  310. }
  311. a{
  312. padding: px2rem(20) px2rem(24);
  313. border-top: 1px solid #dcdcdc;
  314. display: flex;
  315. color: #181818;
  316. &:first-child{
  317. border: 0;
  318. }
  319. }
  320. .item-fl{
  321. position: relative;
  322. width: px2rem(240);
  323. height: px2rem(140);
  324. overflow: hidden;
  325. img{
  326. width: 100%;
  327. height: 100%;
  328. display: block;
  329. overflow: hidden;
  330. }
  331. em{
  332. position: absolute;
  333. top: 0;
  334. right: 0;
  335. line-height: px2rem(30);
  336. padding: 0 px2rem(10);
  337. color: #FFFFFF;
  338. font-size: px2rem(20);
  339. background: $maincolor;
  340. }
  341. }
  342. .item-fr{
  343. flex: 1;
  344. padding-left: px2rem(20);
  345. }
  346. h3{
  347. line-height: px2rem(44);
  348. height: px2rem(88);
  349. @include ellipsis-clamp(2);
  350. }
  351. p{
  352. display: flex;
  353. margin-top: px2rem(16);
  354. font-size: px2rem(24);
  355. color: #919090;
  356. line-height: px2rem(36);
  357. height: px2rem(36);
  358. overflow: hidden;
  359. img{
  360. width: px2rem(36);
  361. height: px2rem(36);
  362. border-radius: 50%;
  363. vertical-align: middle;
  364. margin-right: px2rem(12);
  365. }
  366. }
  367. }
  368. .list-jieshuo2{
  369. display: flex;
  370. padding: 0 px2rem(24) px2rem(20) px2rem(24);
  371. li{
  372. width: px2rem(230);
  373. margin-right: px2rem(8);
  374. }
  375. .cover{
  376. height: px2rem(146);
  377. overflow: hidden;
  378. }
  379. img{
  380. display: block;
  381. width: 100%;
  382. height: 100%;
  383. }
  384. h3{
  385. margin-top: px2rem(14);
  386. color: #333333;
  387. line-height: px2rem(36);
  388. height: px2rem(72);
  389. font-size: px2rem(28);
  390. @include ellipsis-clamp(2);
  391. }
  392. }
  393. .btn-more{
  394. color: #999;
  395. display: block;
  396. text-align: center;
  397. font-size: px2rem(24);
  398. line-height: px2rem(70);
  399. }
  400. }
  401. .v-mod-preview{
  402. background: #FFFFFF;
  403. margin-top: px2rem(16);
  404. font-size: px2rem(32);
  405. padding: px2rem(30) 0 px2rem(10) 0;
  406. color: #181818;
  407. h2{
  408. line-height: px2rem(70);
  409. text-align: center;
  410. }
  411. .list-preview{
  412. li{
  413. padding: px2rem(20) px2rem(20);
  414. border-top: 1px solid #dcdcdc;
  415. display: flex;
  416. &:first-child{
  417. border: 0;
  418. }
  419. &.active{
  420. .item-fl{
  421. &:after{
  422. display: block;
  423. }
  424. }
  425. h3{
  426. color: $maincolor;
  427. }
  428. }
  429. }
  430. .item-fl{
  431. position: relative;
  432. width: px2rem(240);
  433. height: px2rem(140);
  434. overflow: hidden;
  435. &:after{
  436. content: '';
  437. display: none;
  438. position: absolute;
  439. right: px2rem(10);
  440. bottom: px2rem(10);
  441. width: px2rem(30);
  442. height: px2rem(30);
  443. background: url(./../img/icon-play2.png) no-repeat;
  444. background-size: 100%;
  445. }
  446. }
  447. .item-fr{
  448. flex: 1;
  449. padding-left: px2rem(20);
  450. }
  451. img{
  452. width: 100%;
  453. height: 100%;
  454. display: block;
  455. overflow: hidden;
  456. }
  457. h3{
  458. line-height: px2rem(44);
  459. height: px2rem(88);
  460. @include ellipsis-clamp(2);
  461. }
  462. p{
  463. margin-top: px2rem(16);
  464. font-size: px2rem(24);
  465. color: #919090;
  466. }
  467. }
  468. .btn-more{
  469. color: #999;
  470. display: block;
  471. text-align: center;
  472. font-size: px2rem(26);
  473. line-height: px2rem(70);
  474. }
  475. }
  476. .zt-list-film{
  477. &.has-commentary{
  478. .item-fr{
  479. height: px2rem(164);
  480. }
  481. }
  482. &.ext-list{
  483. .item-fr{
  484. h2{
  485. line-height: px2rem(40);
  486. margin-bottom: 2px;
  487. }
  488. p{
  489. margin-top: px2rem(16);
  490. line-height: 1;
  491. em{
  492. color: $orange;
  493. }
  494. }
  495. }
  496. }
  497. .item-film{
  498. position: relative;
  499. border-top: 1px solid #f2f2f2;
  500. padding: px2rem(40) px2rem(24) px2rem(40) px2rem(30);
  501. @include clearfix;
  502. &:active{
  503. background: #f5f5f5;
  504. }
  505. &.active{
  506. .item-fr{
  507. height: auto;
  508. .btn-open{
  509. top: px2rem(128);
  510. &:before{
  511. // transform: rotate(225deg);
  512. @include rotate(225deg);
  513. }
  514. }
  515. }
  516. }
  517. }
  518. .item-fl{
  519. position: relative;
  520. z-index: 2;
  521. width: px2rem(116);
  522. height: px2rem(164);
  523. float: left;
  524. border-radius: px2rem(6);
  525. overflow: hidden;
  526. background: #f2f2f2;
  527. img{
  528. width: 100%;
  529. height: 100%;
  530. display: block;
  531. }
  532. }
  533. .item-fr{
  534. position: relative;
  535. z-index: 2;
  536. padding: 0 px2rem(30) 0 px2rem(20);
  537. overflow: hidden;
  538. h2{
  539. font-size: px2rem(32);
  540. font-weight: bold;
  541. color: #181818;
  542. display: flex;
  543. vertical-align: middle;
  544. line-height: px2rem(50);
  545. em{
  546. font-size: px2rem(24);
  547. font-weight: normal;
  548. color: #919090;
  549. margin-left: px2rem(20);
  550. }
  551. .tag-new{
  552. display: inline-block;
  553. width: px2rem(76);
  554. height: px2rem(32);
  555. line-height: px2rem(36);
  556. vertical-align: middle;
  557. margin-left: px2rem(12);
  558. background: url(../img/icon-new.png) 0 0 /100% no-repeat;
  559. }
  560. }
  561. p{
  562. line-height: px2rem(50);
  563. font-size: px2rem(24);
  564. color: #919090;
  565. @include ellipsis();
  566. }
  567. .list-icons{
  568. margin-top: px2rem(10);
  569. display: flex;
  570. li{
  571. margin-right: px2rem(8);
  572. }
  573. i{
  574. display: block;
  575. width: px2rem(102);
  576. height: px2rem(44);
  577. }
  578. @for $i from 1 through 3{
  579. .icon-blueray#{$i}{
  580. background: url(../img/icon-blueray#{$i}.png) no-repeat;
  581. background-size: 100%;
  582. }
  583. }
  584. }
  585. .list-ups{
  586. @include clearfix();
  587. li{
  588. float: left;
  589. margin: px2rem(10) px2rem(26) px2rem(10) 0;
  590. color: #181818;
  591. font-size: px2rem(24);
  592. line-height: px2rem(44);
  593. @include webkitbox();
  594. img{
  595. width: px2rem(44);
  596. height: px2rem(44);
  597. border-radius: 50%;
  598. margin-right: px2rem(8);
  599. display: table-row;
  600. background: #f2f2f2;
  601. }
  602. }
  603. }
  604. .btn-open{
  605. position: absolute;
  606. top: px2rem(118);
  607. right: 0;
  608. width: px2rem(30);
  609. height: px2rem(30);
  610. padding: px2rem(4) 0 0 px2rem(4);
  611. &:before{
  612. content: '';
  613. display: block;
  614. width: px2rem(16);
  615. height: px2rem(16);
  616. border: 1px solid $orange;
  617. transform: rotate(45deg);
  618. border-top: none;
  619. border-left: none;
  620. }
  621. }
  622. }
  623. .item-link{
  624. position: absolute;
  625. top: 0;
  626. left: 0;
  627. z-index: 1;
  628. width: 100%;
  629. height: 100%;
  630. &:active{
  631. background: #f5f5f5;
  632. }
  633. }
  634. .item-rank{
  635. position: absolute;
  636. top: 0;
  637. left: 0;
  638. display: block;
  639. font-size: px2rem(22);
  640. color: #919090;
  641. line-height: px2rem(38);
  642. &.item-rank1{
  643. color: #ffffff;
  644. &:before{
  645. @include triangle-topleft(px2rem(30),#f94c4c);
  646. }
  647. }
  648. &.item-rank2{
  649. color: #ffffff;
  650. &:before{
  651. @include triangle-topleft(px2rem(30),#ff7e30);
  652. }
  653. }
  654. &.item-rank3{
  655. color: #ffffff;
  656. &:before{
  657. @include triangle-topleft(px2rem(30),#ffb027);
  658. }
  659. }
  660. &:before{
  661. content: '';
  662. position: absolute;
  663. display: block;
  664. @include triangle-topleft(px2rem(30),#efefef);
  665. }
  666. em{
  667. position: relative;
  668. margin-left: px2rem(10);
  669. }
  670. }
  671. .item-btns{
  672. .btn{
  673. display: inline-block;
  674. color: $orange;
  675. border: 1px solid $orange;
  676. line-height: px2rem(50);
  677. font-size: px2rem(24);
  678. text-align: center;
  679. padding: 0 px2rem(35);
  680. border-radius: px2rem(25);
  681. vertical-align: middle;
  682. }
  683. }
  684. .item-btns2{
  685. margin-top: px2rem(16);
  686. .btn{
  687. display: inline-block;
  688. color: $orange;
  689. font-size: px2rem(24);
  690. line-height: px2rem(28);
  691. height: px2rem(28);
  692. vertical-align: middle;
  693. padding-left: px2rem(40);
  694. margin-right: px2rem(40);
  695. }
  696. .btn-preview{
  697. background: url(../img/icon-preview.png) 0 0 / auto 100% no-repeat;
  698. }
  699. .btn-post{
  700. background: url(../img/icon-post.png) 0 0 / auto 100% no-repeat;
  701. }
  702. }
  703. }