scene1.scss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. @import '../base/mixin.scss';
  2. .comment-page{
  3. display: none;
  4. position: fixed;
  5. z-index: 1000;
  6. top: 0;
  7. left: 0;
  8. right: 0;
  9. bottom: 0;
  10. background: url('../../img/comment-bg.jpg') center center no-repeat;
  11. background-size: cover;
  12. .move-bg{
  13. position: fixed;
  14. z-index: -1;
  15. top: -10px;
  16. left: -10px;
  17. right: -10px;
  18. bottom: -10px;
  19. background: url('../../img/comment-bg.jpg') center center no-repeat;
  20. background-size: cover;
  21. }
  22. .book-header{
  23. height: px2rem(96);
  24. line-height: px2rem(96);
  25. background: url('../../img/hunter-logo.png') 10px center no-repeat;
  26. background-size: px2rem(786) px2rem(63);
  27. background-color: rgba($color: #000000, $alpha: .4);
  28. border-bottom: 1px solid #ff6600;
  29. padding-left: px2rem(900);
  30. }
  31. .mod-btn{
  32. display: inline-block;
  33. width: px2rem(160);
  34. line-height: px2rem(50);
  35. height: px2rem(50);
  36. word-spacing: 4px;
  37. text-align: center;
  38. color: #fffefe;
  39. font-size: px2rem(20);
  40. background-color: #080807;
  41. margin-right: px2rem(46);
  42. cursor: pointer;
  43. &.active{
  44. background-color: #ff6600;
  45. color: #ffffff;
  46. }
  47. }
  48. .go-back-btn{
  49. float: right;
  50. width: px2rem(158);
  51. line-height: px2rem(48);
  52. font-size: px2rem(20);
  53. color: #ff6600;
  54. border: 1px solid #ff6600;
  55. text-align: center;
  56. margin-top: px2rem(26);
  57. margin-right: px2rem(20);
  58. cursor: pointer;
  59. }
  60. .page-comment{
  61. display: none;
  62. }
  63. .fl{
  64. float: left;
  65. }
  66. .fr{
  67. float: right;
  68. }
  69. .book-modal{
  70. position: absolute;
  71. z-index: 1;
  72. padding: px2rem(20);
  73. border-top: 2px solid #ff6600;
  74. background-color: rgba($color: #000000, $alpha: .5);
  75. img{
  76. width: px2rem(294);
  77. height: auto;
  78. &.fr{
  79. margin-left: px2rem(20);
  80. }
  81. &.fl{
  82. margin-right: px2rem(20);
  83. }
  84. }
  85. .info{
  86. width: px2rem(680);
  87. }
  88. h3{
  89. color: #ffffff;
  90. font-size: px2rem(30);
  91. margin-bottom: px2rem(10);
  92. }
  93. p{
  94. color: #ffffff;
  95. font-size: px2rem(14);
  96. line-height: 1.6;
  97. }
  98. }
  99. .book-modal-1{
  100. top: px2rem(158);
  101. left: px2rem(36);
  102. }
  103. .book-modal-2{
  104. top: px2rem(380);
  105. right: px2rem(122);
  106. }
  107. .bear{
  108. position: absolute;
  109. top: px2rem(366);
  110. left: px2rem(20);
  111. width: px2rem(648);
  112. height: px2rem(571);
  113. background: url('../../img/book-bear.png');
  114. background-size: 100%;
  115. }
  116. .deer{
  117. position: absolute;
  118. top: px2rem(60);
  119. right: px2rem(130);
  120. width: px2rem(635);
  121. height: px2rem(777);
  122. background: url('../../img/book-deer.png');
  123. background-size: 100%;
  124. }
  125. .book-btn-bottom{
  126. position: absolute;
  127. z-index: 10;
  128. bottom: px2rem(280);
  129. left: 50%;
  130. width: px2rem(208);
  131. margin-left: -px2rem(104);
  132. height: px2rem(71);
  133. background: url('../../img/book-btn.png') no-repeat;
  134. background-size: 100%;
  135. cursor: pointer;
  136. }
  137. .poster-wrapper{
  138. position: absolute;
  139. cursor: pointer;
  140. bottom: 0;
  141. left: 0;
  142. right: 0;
  143. img{
  144. display: inline-block;
  145. width: px2rem(582);
  146. margin-right: px2rem(15);
  147. }
  148. }
  149. video{
  150. width: px2rem(1000);
  151. }
  152. .page-comment{
  153. width: 1100px;
  154. margin: 0 auto;
  155. iframe{
  156. height: px2rem(840);
  157. overflow: auto;
  158. }
  159. }
  160. }