0.5ba82fe89f0e77677f25.css 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317
  1. .smartbanner-show.smartbanner-margin-top {
  2. margin-top: 80px
  3. }
  4. .smartbanner-show.smartbanner-margin-bottom {
  5. margin-bottom: 80px
  6. }
  7. .smartbanner-show .smartbanner {
  8. display: block
  9. }
  10. .smartbanner {
  11. left: 0;
  12. display: none;
  13. width: 100%;
  14. height: 80px;
  15. line-height: 80px;
  16. font-family: Helvetica Neue, sans-serif;
  17. background: #f4f4f4;
  18. z-index: 9998;
  19. -webkit-font-smoothing: antialiased;
  20. overflow: hidden;
  21. -webkit-text-size-adjust: none
  22. }
  23. .smartbanner-top {
  24. position: absolute;
  25. top: 0
  26. }
  27. .smartbanner-bottom {
  28. position: fixed;
  29. bottom: 0
  30. }
  31. .smartbanner-container {
  32. margin: 0 auto;
  33. padding: 0 5px
  34. }
  35. .smartbanner-close {
  36. display: inline-block;
  37. vertical-align: middle;
  38. margin: 0 5px 0 0;
  39. font-family: ArialRoundedMTBold, Arial;
  40. font-size: 20px;
  41. text-align: center;
  42. color: #888;
  43. text-decoration: none;
  44. border: 0;
  45. border-radius: 14px;
  46. padding: 0 0 1px;
  47. background-color: transparent;
  48. -webkit-font-smoothing: subpixel-antialiased
  49. }
  50. .smartbanner-close:active,
  51. .smartbanner-close:hover {
  52. color: #aaa
  53. }
  54. .smartbanner-icon {
  55. width: 57px;
  56. height: 57px;
  57. margin-right: 12px;
  58. background-size: cover;
  59. border-radius: 10px
  60. }
  61. .smartbanner-icon,
  62. .smartbanner-info {
  63. display: inline-block;
  64. vertical-align: middle
  65. }
  66. .smartbanner-info {
  67. white-space: normal;
  68. width: calc(99% - 201px);
  69. font-size: 11px;
  70. line-height: 1.2em;
  71. font-weight: 700
  72. }
  73. .smartbanner-wrapper {
  74. max-width: 110px;
  75. display: inline-block;
  76. text-align: right;
  77. width: 100%
  78. }
  79. .smartbanner-title {
  80. font-size: 13px;
  81. line-height: 18px;
  82. text-overflow: ellipsis;
  83. white-space: nowrap;
  84. overflow: hidden
  85. }
  86. .smartbanner-description {
  87. max-height: 40px;
  88. overflow: hidden
  89. }
  90. .smartbanner-author {
  91. text-overflow: ellipsis;
  92. white-space: nowrap;
  93. overflow: hidden
  94. }
  95. .smartbanner-author:empty+.smartbanner-description {
  96. max-height: 50px
  97. }
  98. .smartbanner-button {
  99. margin: auto 0;
  100. height: 24px;
  101. font-size: 14px;
  102. line-height: 24px;
  103. text-align: center;
  104. font-weight: 700;
  105. color: #6a6a6a;
  106. text-transform: uppercase;
  107. text-decoration: none;
  108. display: inline-block;
  109. text-shadow: 0 1px 0 hsla(0, 0%, 100%, .8)
  110. }
  111. .smartbanner-button:active,
  112. .smartbanner-button:hover {
  113. color: #aaa
  114. }
  115. .smartbanner-ios {
  116. background: #f2f2f2;
  117. box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
  118. line-height: 80px
  119. }
  120. .smartbanner-ios .smartbanner-close {
  121. border: 0;
  122. width: 18px;
  123. height: 18px;
  124. line-height: 18px;
  125. font-family: Arial;
  126. color: #888;
  127. text-shadow: 0 1px 0 #fff;
  128. -webkit-font-smoothing: none
  129. }
  130. .smartbanner-ios .smartbanner-close:active,
  131. .smartbanner-ios .smartbanner-close:hover {
  132. color: #888
  133. }
  134. .smartbanner-ios .smartbanner-icon {
  135. background-size: cover
  136. }
  137. .smartbanner-ios .smartbanner-info {
  138. color: #6a6a6a;
  139. text-shadow: 0 1px 0 hsla(0, 0%, 100%, .8);
  140. font-weight: 300
  141. }
  142. .smartbanner-ios .smartbanner-title {
  143. color: #4d4d4d;
  144. font-weight: 500
  145. }
  146. .smartbanner-ios .smartbanner-button {
  147. padding: 0 10px;
  148. font-size: 15px;
  149. min-width: 10%;
  150. font-weight: 400;
  151. color: #0c71fd
  152. }
  153. .smartbanner-ios .smartbanner-button:active,
  154. .smartbanner-ios .smartbanner-button:hover {
  155. background: #f2f2f2
  156. }
  157. .smartbanner-android {
  158. background: #3d3d3d url("data:image/gif;base64,R0lGODlhCAAIAIABAFVVVf///yH5BAEHAAEALAAAAAAIAAgAAAINRG4XudroGJBRsYcxKAA7");
  159. box-shadow: inset 0 4px 0 #88b131;
  160. line-height: 82px
  161. }
  162. .smartbanner-android .smartbanner-close {
  163. border: 0;
  164. max-width: 17px;
  165. width: 100%;
  166. height: 17px;
  167. line-height: 17px;
  168. margin-right: 7px;
  169. color: #b1b1b3;
  170. background: #1c1e21;
  171. text-shadow: 0 1px 1px #000;
  172. text-decoration: none;
  173. box-shadow: inset 0 1px 2px rgba(0, 0, 0, .8), 0 1px 1px hsla(0, 0%, 100%, .3);
  174. cursor: pointer
  175. }
  176. .smartbanner-android .smartbanner-close:active,
  177. .smartbanner-android .smartbanner-close:hover {
  178. color: #eee
  179. }
  180. .smartbanner-android .smartbanner-icon {
  181. background-color: transparent;
  182. box-shadow: none
  183. }
  184. .smartbanner-android .smartbanner-info {
  185. color: #ccc;
  186. text-shadow: 0 1px 2px #000
  187. }
  188. .smartbanner-android .smartbanner-title {
  189. color: #fff;
  190. font-weight: 700
  191. }
  192. .smartbanner-android .smartbanner-button {
  193. min-width: 12%;
  194. color: #d1d1d1;
  195. font-weight: 700;
  196. padding: 0;
  197. background: none;
  198. border-radius: 0;
  199. box-shadow: 0 0 0 1px #333, 0 0 0 2px #dddcdc
  200. }
  201. .smartbanner-android .smartbanner-button:active,
  202. .smartbanner-android .smartbanner-button:hover {
  203. background: none
  204. }
  205. .smartbanner-android .smartbanner-button-text {
  206. text-align: center;
  207. display: block;
  208. padding: 0 10px;
  209. background: #42b6c9;
  210. background: linear-gradient(180deg, #42b6c9, #39a9bb);
  211. text-transform: none;
  212. text-shadow: none;
  213. box-shadow: none
  214. }
  215. .smartbanner-android .smartbanner-button-text:active,
  216. .smartbanner-android .smartbanner-button-text:hover {
  217. background: #2ac7e1
  218. }
  219. .smartbanner-kindle,
  220. .smartbanner-windows {
  221. background: #f4f4f4;
  222. background: linear-gradient(180deg, #f4f4f4, #cdcdcd);
  223. box-shadow: 0 1px 2px rgba(0, 0, 0, .5);
  224. line-height: 80px
  225. }
  226. .smartbanner-kindle .smartbanner-close,
  227. .smartbanner-windows .smartbanner-close {
  228. border: 0;
  229. width: 18px;
  230. height: 18px;
  231. line-height: 18px;
  232. color: #888;
  233. text-shadow: 0 1px 0 #fff
  234. }
  235. .smartbanner-kindle .smartbanner-close:active,
  236. .smartbanner-kindle .smartbanner-close:hover,
  237. .smartbanner-windows .smartbanner-close:active,
  238. .smartbanner-windows .smartbanner-close:hover {
  239. color: #aaa
  240. }
  241. .smartbanner-kindle .smartbanner-icon,
  242. .smartbanner-windows .smartbanner-icon {
  243. background: rgba(0, 0, 0, .6);
  244. background-size: cover;
  245. box-shadow: 0 1px 3px rgba(0, 0, 0, .3)
  246. }
  247. .smartbanner-kindle .smartbanner-info,
  248. .smartbanner-windows .smartbanner-info {
  249. color: #6a6a6a;
  250. text-shadow: 0 1px 0 hsla(0, 0%, 100%, .8)
  251. }
  252. .smartbanner-kindle .smartbanner-title,
  253. .smartbanner-windows .smartbanner-title {
  254. color: #4d4d4d;
  255. font-weight: 700
  256. }
  257. .smartbanner-kindle .smartbanner-button,
  258. .smartbanner-windows .smartbanner-button {
  259. padding: 0 10px;
  260. min-width: 10%;
  261. color: #6a6a6a;
  262. background: #efefef;
  263. background: linear-gradient(180deg, #efefef, #dcdcdc);
  264. border-radius: 3px;
  265. box-shadow: inset 0 0 0 1px #bfbfbf, 0 1px 0 hsla(0, 0%, 100%, .6), inset 0 2px 0 hsla(0, 0%, 100%, .7)
  266. }
  267. .smartbanner-kindle .smartbanner-button:active,
  268. .smartbanner-kindle .smartbanner-button:hover,
  269. .smartbanner-windows .smartbanner-button:active,
  270. .smartbanner-windows .smartbanner-button:hover {
  271. background: #dcdcdc;
  272. background: linear-gradient(180deg, #dcdcdc, #efefef)
  273. }