bonus.less 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. .navbar .nav > li > a.lion-bonus {
  2. opacity: 1;
  3. padding: 0;
  4. position: relative;
  5. overflow: hidden;
  6. height: 40px;
  7. .lion-voice {
  8. display: inline-block;
  9. border: 1px solid darken(@blue, 30%);
  10. background-color: @blue;
  11. position:relative;
  12. padding: 4px 8px;
  13. margin-top: 5px;
  14. margin-right: 54px;
  15. color: white;
  16. &:hover {
  17. text-decoration: underline;
  18. }
  19. &:before {
  20. border-left: 7px solid darken(@blue, 30%);
  21. border-top: 7px solid transparent;
  22. border-bottom: 7px solid transparent;
  23. content: '';
  24. position: absolute;
  25. right: -7px;
  26. top: 10px;
  27. }
  28. &:after {
  29. border-left: 6px solid @blue;
  30. border-top: 6px solid transparent;
  31. border-bottom: 6px solid transparent;
  32. content: '';
  33. position: absolute;
  34. right: -6px;
  35. top: 11px;
  36. }
  37. }
  38. img {
  39. position:absolute;
  40. top:3px;
  41. right:10px;
  42. vertical-align: middle;
  43. }
  44. }
  45. .navbar .nav > li > a.lion-warning {
  46. .lion-voice {
  47. border: 1px solid darken(@orange, 30%);
  48. background-color: @orange;
  49. color: black;
  50. text-shadow: none;
  51. &:before {
  52. border-left: 7px solid darken(@orange, 30%);
  53. }
  54. &:after {
  55. border-left: 6px solid @orange;
  56. }
  57. }
  58. }
  59. @media (max-width: 1070px) {
  60. .nav > li > a.lion-bonus {
  61. display: none;
  62. }
  63. }
  64. .bonus {
  65. margin-top: 15px;
  66. .page-header h1 {
  67. text-align: center;
  68. }
  69. h2 {
  70. text-align: center;
  71. font-size: 20px;
  72. line-height: 28px;
  73. margin-bottom: 10px;
  74. margin-top: 16px;
  75. }
  76. .bonus-banner {
  77. .bonus-top {
  78. border-bottom: 1px solid lighten(@blue, 40%);
  79. }
  80. .title {
  81. a {
  82. display: block;
  83. font-size: 18px;
  84. padding: 20px 62px;
  85. background-color: white;
  86. border-bottom: 1px solid lighten(@blue, 40%);
  87. &:hover {
  88. background-color: lighten(@blue, 50%);
  89. }
  90. }
  91. }
  92. a.twitter {
  93. background-image: url(/img/social/twitter-32.png);
  94. background-repeat: no-repeat;
  95. background-position: 16px center;
  96. }
  97. a.facebook {
  98. background-image: url(/img/social/facebook-32.png);
  99. background-repeat: no-repeat;
  100. background-position: 16px center;
  101. }
  102. a.email {
  103. background-image: url(/img/social/mail-32.png);
  104. background-repeat: no-repeat;
  105. background-position: 16px center;
  106. }
  107. a.google-plus {
  108. background-image: url(//www.gstatic.com/images/icons/gplus-32.png);
  109. background-repeat: no-repeat;
  110. background-position: 16px center;
  111. }
  112. a.link {
  113. background-image: url(/img/social/link-32.png);
  114. background-repeat: no-repeat;
  115. background-position: 16px center;
  116. }
  117. h2.direct-link {
  118. }
  119. }
  120. p.thanks {
  121. font-size: 18px;
  122. line-height: 28px;
  123. margin-top: 10px;
  124. text-align: center;
  125. }
  126. .number {
  127. position: absolute;
  128. margin-left: -13px;
  129. width: 26px;
  130. padding: 3px 0;
  131. text-align: center;
  132. background-color: #ddd;
  133. &.active {
  134. background-color: #0e90d2;
  135. color: white;
  136. }
  137. .border-radius(3px);
  138. }
  139. .perk {
  140. position: absolute;
  141. background-color: #ddd;
  142. .border-radius(5px);
  143. text-align: center;
  144. padding: 5px 5px;
  145. width: 90px;
  146. margin-left: -50px;
  147. &:before {
  148. border-bottom: 8px solid #ddd;
  149. border-left: 8px solid transparent;
  150. border-right: 8px solid transparent;
  151. content: '';
  152. position: absolute;
  153. left: 42px;
  154. top: -8px;
  155. }
  156. &.active {
  157. color: white;
  158. background-color: #5bb75b;
  159. &:before {
  160. border-bottom: 8px solid #5bb75b;
  161. }
  162. }
  163. }
  164. }
  165. #link-modal {
  166. .modal-body{
  167. text-align: center;
  168. }
  169. textarea {
  170. width: 95%;
  171. margin-bottom: 0;
  172. }
  173. }
  174. .sidebar-navigation {
  175. .bonus-advert {
  176. position: absolute;
  177. bottom: 0;
  178. left: 0;
  179. right: 0;
  180. padding: 7px;
  181. .speech-bubble {
  182. a.plain-link {
  183. color: #333333;
  184. }
  185. position: relative;
  186. padding: 10px;
  187. background-color: white;
  188. .border-radius(5px);
  189. &:before {
  190. border-top: 6px solid white;
  191. border-left: 6px solid white;
  192. border-right: 6px solid transparent;
  193. border-bottom: 6px solid transparent;
  194. content: '';
  195. position: absolute;
  196. left: 70px;
  197. bottom: -12px;
  198. }
  199. margin-bottom: 12px;
  200. p {
  201. font-size: 12px;
  202. }
  203. }
  204. }
  205. }