style.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. .vip-wrap{
  2. width: px2rem(600);
  3. margin: 0 px2rem(10);
  4. .vip-hd{
  5. @include webkitbox(1);
  6. .level-current, .level-next{
  7. width: px2rem(57);
  8. height: px2rem(47);
  9. padding-top: px2rem(20);
  10. i{
  11. width: px2rem(57);
  12. height: px2rem(47);
  13. display: block;
  14. }
  15. }
  16. .level-progress{
  17. @include flex(1);
  18. margin: 0 px2rem(15);
  19. }
  20. .level-comming{
  21. overflow: hidden;
  22. p{
  23. float: left;
  24. text-align: left;
  25. color: #ffffff;
  26. font-size: px2rem(14);
  27. line-height: px2rem(33);
  28. margin-right: px2rem(15);
  29. }
  30. i{
  31. float: left;
  32. width: px2rem(40);
  33. height: px2rem(33);
  34. }
  35. }
  36. .progress-wrap{
  37. background: rgba(255, 255, 255, 0.2);
  38. padding: px2rem(3);
  39. margin-top: px2rem(3);
  40. }
  41. .progress-bar{
  42. height: px2rem(14);
  43. background: #ecbc5e;
  44. transition: all 700ms ease;
  45. }
  46. }
  47. .vip-introtips{
  48. text-align: left;
  49. color: rgba(255, 255, 255, 0.6);
  50. font-size: px2rem(14);
  51. line-height: px2rem(24);
  52. padding: px2rem(10) 0;
  53. }
  54. .vip-level{
  55. width: 100%;
  56. color: #ffffff;
  57. thead{
  58. border: 1px solid rgba($color: #ffffff, $alpha: 0.2)
  59. }
  60. th{
  61. line-height: px2rem(40);
  62. text-align: center;
  63. font-size: px2rem(14);
  64. }
  65. td{
  66. text-align: center;
  67. line-height: px2rem(46);
  68. border: 1px solid rgba($color: #ffffff, $alpha: 0.2);
  69. font-size: 0;
  70. span{
  71. display: inline-block;
  72. font-size: px2rem(14);
  73. vertical-align: middle;
  74. }
  75. i{
  76. display: inline-block;
  77. width: px2rem(46);
  78. height: px2rem(38);
  79. vertical-align: middle;
  80. }
  81. }
  82. .t2{
  83. text-align: left;
  84. padding-left: px2rem(20);
  85. width: px2rem(100);
  86. }
  87. .t4{
  88. text-align: left;
  89. padding-left: px2rem(30);
  90. width: px2rem(80);
  91. }
  92. .t3{
  93. width: px2rem(150);
  94. }
  95. .t1{
  96. font-size: 0;
  97. width: px2rem(100);
  98. }
  99. }
  100. @for $i from 0 through 10 {
  101. .icon-level#{$i} {
  102. background: url('./img/icon-level#{$i}.png') no-repeat;
  103. background-size: 100%;
  104. }
  105. }
  106. }