uplottory.scss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. @import "../../../sass/base/mixins";
  2. .page-act-uplottory{
  3. background: url(../../img/act/uplottory/bg.jpg) no-repeat #c53838;
  4. background-size: 100%;
  5. color: #FFFFFF;
  6. font-size: px2rem(28);
  7. padding: px2rem(30) 0 px2rem(200) 0;
  8. .mod-title{
  9. height: px2rem(79);
  10. margin: px2rem(60) 0 px2rem(30) 0;
  11. }
  12. @for $i from 1 through 4{
  13. .mod-title#{$i}{
  14. background: url(../../img/act/uplottory/mod-title#{$i}.png) no-repeat;
  15. background-size: auto 100%;
  16. }
  17. }
  18. .list-cont{
  19. font-size: px2rem(28);
  20. line-height: px2rem(50);
  21. padding: 0 px2rem(50);
  22. margin-top: px2rem(20);
  23. li{
  24. display: flex;
  25. }
  26. a{
  27. color: #333;
  28. }
  29. }
  30. .menu-wrap{
  31. background: #b42a2a;
  32. border-radius: px2rem(20);
  33. margin: 0 px2rem(50);
  34. padding: px2rem(30);
  35. height: px2rem(445);
  36. overflow: hidden;
  37. }
  38. .menu-scroll{
  39. height: px2rem(380);
  40. overflow: hidden;
  41. }
  42. .list-menu{
  43. -webkit-transition: all .2s ease-out;
  44. -moz-transition: all .2s ease-out;
  45. -ms-transition: all .2s ease-out;
  46. transition: all .2s ease-out;
  47. li{
  48. @include webkitbox();
  49. display: flex;
  50. justify-content: space-between;
  51. align-items: center;
  52. line-height: px2rem(60);
  53. margin-bottom: px2rem(20);
  54. }
  55. .item-info{
  56. width: px2rem(420);
  57. height: px2rem(60);
  58. overflow: hidden;
  59. @include ellipsis();
  60. @include clearfix();
  61. }
  62. .item-time{
  63. font-size: px2rem(24);
  64. }
  65. img{
  66. float: left;
  67. display: block;
  68. width: px2rem(60);
  69. height: px2rem(60);
  70. border-radius: 50%;
  71. margin-right: px2rem(16);
  72. }
  73. }
  74. .mod-primary{
  75. text-align: center;
  76. .head-wrap{
  77. margin: 0 auto;
  78. width: px2rem(442);
  79. height: px2rem(442);
  80. background: url(../../img/act/uplottory/bg-head.png) no-repeat;
  81. background-size: 100%;
  82. padding: px2rem(131) 0 0 px2rem(131);
  83. }
  84. img{
  85. display: block;
  86. width: px2rem(180);
  87. height: px2rem(180);
  88. overflow: hidden;
  89. border-radius: 50%;
  90. }
  91. .code{
  92. margin-top:px2rem(-110);
  93. height: px2rem(208);
  94. line-height: px2rem(180);
  95. font-size: px2rem(36);
  96. &.status3,&.status4{
  97. height: px2rem(258);
  98. }
  99. &.status3{
  100. p{
  101. letter-spacing: px2rem(4);
  102. }
  103. }
  104. @for $i from 1 through 4{
  105. &.status#{$i}{
  106. background: url(../../img/act/uplottory/bg-code#{$i}.png) center 0 no-repeat;
  107. background-size: auto 100%;
  108. }
  109. }
  110. .code-scroll{
  111. transition: all .2s ease-in 2s;
  112. }
  113. em{
  114. display: inline-block;
  115. letter-spacing: px2rem(12);
  116. width: px2rem(260)
  117. }
  118. p{
  119. font-size: px2rem(28);
  120. line-height: 1;
  121. margin-top: px2rem(-50);
  122. }
  123. }
  124. .tip{
  125. margin-top: px2rem(-20);
  126. }
  127. }
  128. .mod-gif{
  129. text-align: center;
  130. img{
  131. max-width: 60%;
  132. }
  133. p{
  134. margin-top: px2rem(20);
  135. em{
  136. font-size: px2rem(40);
  137. }
  138. }
  139. }
  140. }