bonus.less 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. .bonus {
  2. margin-top: 15px;
  3. .page-header h1 {
  4. text-align: center;
  5. }
  6. h2 {
  7. text-align: center;
  8. font-size: 20px;
  9. line-height: 28px;
  10. margin-bottom: @line-height-computed;
  11. margin-top: 0;
  12. &.direct-link {
  13. margin-top: @line-height-computed;
  14. }
  15. }
  16. .bonus-banner {
  17. .bonus-top {
  18. border-bottom: 1px solid lighten(@blue, 40%);
  19. }
  20. .title {
  21. a {
  22. display: block;
  23. font-size: 18px;
  24. padding: 20px 62px;
  25. background-color: white;
  26. border-bottom: 1px solid lighten(@blue, 40%);
  27. color: @blue;
  28. &:hover {
  29. background-color: lighten(@blue, 45%);
  30. }
  31. }
  32. }
  33. a.twitter {
  34. background-image: url(/img/social/twitter-32.png);
  35. background-repeat: no-repeat;
  36. background-position: 16px center;
  37. }
  38. a.facebook {
  39. background-image: url(/img/social/facebook-32.png);
  40. background-repeat: no-repeat;
  41. background-position: 16px center;
  42. }
  43. a.email {
  44. background-image: url(/img/social/mail-32.png);
  45. background-repeat: no-repeat;
  46. background-position: 16px center;
  47. }
  48. a.google-plus {
  49. background-image: url(//www.gstatic.com/images/icons/gplus-32.png);
  50. background-repeat: no-repeat;
  51. background-position: 16px center;
  52. }
  53. a.link {
  54. background-image: url(/img/social/link-32.png);
  55. background-repeat: no-repeat;
  56. background-position: 16px center;
  57. }
  58. h2.direct-link {
  59. }
  60. }
  61. p.thanks {
  62. font-size: 18px;
  63. line-height: 28px;
  64. margin-top: 10px;
  65. text-align: center;
  66. }
  67. .number {
  68. position: absolute;
  69. margin-left: -13px;
  70. width: 26px;
  71. padding: 3px 0;
  72. text-align: center;
  73. background-color: #ddd;
  74. &.active {
  75. background-color: @blue;
  76. color: white;
  77. }
  78. border-radius: 3px;
  79. }
  80. .progress {
  81. margin-top: @line-height-computed / 2;
  82. margin-left: -15px;
  83. margin-right: -15px;
  84. height: 30px;
  85. }
  86. .perk {
  87. position: absolute;
  88. background-color: #ddd;
  89. border-radius: 5px;
  90. text-align: center;
  91. padding: 5px 5px;
  92. width: 110px;
  93. margin-left: -50px;
  94. font-size: 14px;
  95. &:before {
  96. border-bottom: 8px solid #ddd;
  97. border-left: 8px solid transparent;
  98. border-right: 8px solid transparent;
  99. content: '';
  100. position: absolute;
  101. left: 42px;
  102. top: -8px;
  103. }
  104. &.active {
  105. color: white;
  106. background-color: @blue;
  107. &:before {
  108. border-bottom: 8px solid @blue;
  109. }
  110. }
  111. }
  112. }
  113. .link-modal {
  114. text-align: center;
  115. textarea {
  116. width: 95%;
  117. margin-bottom: 0;
  118. }
  119. }