subscribe-better.css 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525
  1. /*=================================================
  2. Class Definitions
  3. =================================================*/
  4. .sb {
  5. display: none;
  6. position: fixed;
  7. top: 50%;
  8. left: 50%;
  9. margin-left: -250px;
  10. margin-top: -150px;
  11. width: 500px;
  12. height: 200px;
  13. background: white;
  14. padding: 25px;
  15. box-shadow: 0 2px 3px rgba(0,0,0,0.5);
  16. -moz-box-shadow: 0 2px 3px rgba(0,0,0,0.5);
  17. -webkit-box-shadow: 0 2px 3px rgba(0,0,0,0.5);
  18. z-index: 1999;
  19. opacity: 0;
  20. }
  21. .sb h2 {
  22. margin-top: 0;
  23. }
  24. .sb p {
  25. font-size: 20px;
  26. }
  27. .sb form input[type='text'], .sb form input[type='password'], .sb form input[type='email'], .sb form textarea{
  28. margin: 0;
  29. border: none;
  30. background: #f7f7f7;
  31. padding: 18px 10px;
  32. font-size: 16px;
  33. width: 79%;
  34. box-sizing: border-box;
  35. -moz-box-sizing: border-box;
  36. -webkit-box-sizing: border-box;
  37. }
  38. .sb form input[type='submit']{
  39. padding: 18px 10px;
  40. background: none;
  41. font-size: 16px;
  42. text-transform: uppercase;
  43. border: none;
  44. background: black;
  45. color: white;
  46. width: 20%;
  47. margin: 0;
  48. }
  49. .sb .sb-close-btn {
  50. position: absolute;
  51. right: 10px;
  52. top: 10px;
  53. color: #ccc;
  54. }
  55. .sb.sb-withoverlay {
  56. position: absolute;
  57. top: 200px;
  58. left: 50%;
  59. margin-left: -250px;
  60. }
  61. .sb-open.sb-open-with-overlay {
  62. overflow: hidden;
  63. }
  64. .sb-open .sb-overlay {
  65. opacity: 1;
  66. }
  67. .sb-open .sb {
  68. opacity: 1;
  69. }
  70. .sb-overlay {
  71. height: 100%;
  72. width: 100%;
  73. background: rgba(0, 0, 0, 0.58);
  74. opacity: 0;
  75. position: fixed;
  76. left: 0;
  77. right: 0;
  78. top: 0;
  79. z-index: 100;
  80. -webkit-transition: all 0.5s ease-in-out;
  81. -moz-transition: all 0.5s ease-in-out;
  82. -o-transition: all 0.5s ease-in-out;
  83. transition: all 0.5s ease-in-out;
  84. overflow: auto;
  85. }
  86. .sb-close-backdrop {
  87. position: absolute;
  88. top: 0;
  89. left: 0;
  90. width: 100%;
  91. height: 100%;
  92. cursor: pointer;
  93. }
  94. [class^="sb-animation-"], [class*=" sb-animation-"] {
  95. -webkit-animation-duration: 500ms;
  96. -moz-animation-duration: 500ms;
  97. -o-animation-duration: 500ms;
  98. animation-duration: 500ms;
  99. }
  100. .sb-animation-flyInRight {
  101. -webkit-animation-name: flyInRight;
  102. -moz-animation-name: flyInRight;
  103. -o-animation-name: flyInRight;
  104. animation-name: flyInRight;
  105. }
  106. .sb-animation-flyOutRight {
  107. -webkit-animation-name: flyOutRight;
  108. -moz-animation-name: flyOutRight;
  109. -o-animation-name: flyOutRight;
  110. animation-name: flyOutRight;
  111. }
  112. .sb-animation-flyInLeft {
  113. -webkit-animation-name: flyInLeft;
  114. -moz-animation-name: flyInLeft;
  115. -o-animation-name: flyInLeft;
  116. animation-name: flyInLeft;
  117. }
  118. .sb-animation-flyOutLeft {
  119. -webkit-animation-name: flyOutLeft;
  120. -moz-animation-name: flyOutLeft;
  121. -o-animation-name: flyOutLeft;
  122. animation-name: flyOutLeft;
  123. }
  124. .sb-animation-flyInUp {
  125. -webkit-animation-name: flyInUp;
  126. -moz-animation-name: flyInUp;
  127. -o-animation-name: flyInUp;
  128. animation-name: flyInUp;
  129. }
  130. .sb-animation-flyOutUp {
  131. -webkit-animation-name: flyOutUp;
  132. -moz-animation-name: flyOutUp;
  133. -o-animation-name: flyOutUp;
  134. animation-name: flyOutUp;
  135. }
  136. .sb-animation-flyInDown {
  137. -webkit-animation-name: flyInDown;
  138. -moz-animation-name: flyInDown;
  139. -o-animation-name: flyInDown;
  140. animation-name: flyInDown;
  141. }
  142. .sb-animation-flyOutDown {
  143. -webkit-animation-name: flyOutDown;
  144. -moz-animation-name: flyOutDown;
  145. -o-animation-name: flyOutDown;
  146. animation-name: flyOutDown;
  147. }
  148. /*=================================================
  149. Animation Library
  150. =================================================*/
  151. @-webkit-keyframes flyInRight {
  152. 0% {
  153. opacity: 0;
  154. -webkit-transform: translateX(3000px);
  155. }
  156. 100% {
  157. -webkit-transform: translateX(0);
  158. }
  159. }
  160. @-moz-keyframes flyInRight {
  161. 0% {
  162. opacity: 0;
  163. -moz-transform: translateX(3000px);
  164. }
  165. 100% {
  166. -moz-transform: translateX(0);
  167. }
  168. }
  169. @-o-keyframes flyInRight {
  170. 0% {
  171. opacity: 0;
  172. -o-transform: translateX(3000px);
  173. }
  174. 100% {
  175. -o-transform: translateX(0);
  176. }
  177. }
  178. @keyframes flyInRight {
  179. 0% {
  180. opacity: 0;
  181. transform: translateX(3000px);
  182. }
  183. 100% {
  184. transform: translateX(0);
  185. }
  186. }
  187. @-webkit-keyframes flyOutRight {
  188. 0% {
  189. -webkit-transform: translateX(0);
  190. }
  191. 100% {
  192. opacity: 0;
  193. -webkit-transform: translateX(3000px);
  194. }
  195. }
  196. @-moz-keyframes flyOutRight {
  197. 0% {
  198. -moz-transform: translateX(0);
  199. }
  200. 100% {
  201. opacity: 0;
  202. -moz-transform: translateX(3000px);
  203. }
  204. }
  205. @-o-keyframes flyOutRight {
  206. 0% {
  207. -o-transform: translateX(0);
  208. }
  209. 100% {
  210. opacity: 0;
  211. -o-transform: translateX(3000px);
  212. }
  213. }
  214. @keyframes flyOutRight {
  215. 0% {
  216. transform: translateX(0);
  217. }
  218. 100% {
  219. opacity: 0;
  220. transform: translateX(3000px);
  221. }
  222. }
  223. @-webkit-keyframes flyInLeft {
  224. 0% {
  225. opacity: 0;
  226. -webkit-transform: translateX(-3000px);
  227. }
  228. 100% {
  229. -webkit-transform: translateX(0);
  230. }
  231. }
  232. @-moz-keyframes flyInLeft {
  233. 0% {
  234. opacity: 0;
  235. -moz-transform: translateX(-3000px);
  236. }
  237. 100% {
  238. -moz-transform: translateX(0);
  239. }
  240. }
  241. @-o-keyframes flyInLeft {
  242. 0% {
  243. opacity: 0;
  244. -o-transform: translateX(-3000px);
  245. }
  246. 100% {
  247. -o-transform: translateX(0);
  248. }
  249. }
  250. @keyframes flyInLeft {
  251. 0% {
  252. opacity: 0;
  253. transform: translateX(-3000px);
  254. }
  255. 100% {
  256. transform: translateX(0);
  257. }
  258. }
  259. @-webkit-keyframes flyOutLeft {
  260. 0% {
  261. -webkit-transform: translateX(0);
  262. }
  263. 100% {
  264. opacity: 0;
  265. -webkit-transform: translateX(-3000px);
  266. }
  267. }
  268. @-moz-keyframes flyOutLeft {
  269. 0% {
  270. -moz-transform: translateX(0);
  271. }
  272. 100% {
  273. opacity: 0;
  274. -moz-transform: translateX(-3000px);
  275. }
  276. }
  277. @-o-keyframes flyOutLeft {
  278. 0% {
  279. -o-transform: translateX(0);
  280. }
  281. 100% {
  282. opacity: 0;
  283. -o-transform: translateX(-3000px);
  284. }
  285. }
  286. @keyframes flyOutLeft {
  287. 0% {
  288. transform: translateX(0);
  289. }
  290. 100% {
  291. opacity: 0;
  292. transform: translateX(-3000px);
  293. }
  294. }
  295. @-webkit-keyframes flyInUp {
  296. 0% {
  297. opacity: 0;
  298. -webkit-transform: translateY(-2000px);
  299. }
  300. 100% {
  301. -webkit-transform: translateY(0);
  302. }
  303. }
  304. @-moz-keyframes flyInUp {
  305. 0% {
  306. opacity: 0;
  307. -moz-transform: translateY(-2000px);
  308. }
  309. 100% {
  310. -moz-transform: translateY(0);
  311. }
  312. }
  313. @-o-keyframes flyInUp {
  314. 0% {
  315. opacity: 0;
  316. -o-transform: translateY(-2000px);
  317. }
  318. 100% {
  319. -o-transform: translateY(0);
  320. }
  321. }
  322. @keyframes flyInUp {
  323. 0% {
  324. opacity: 0;
  325. transform: translateY(-2000px);
  326. }
  327. 100% {
  328. transform: translateY(0);
  329. }
  330. }
  331. @-webkit-keyframes flyOutUp {
  332. 0% {
  333. -webkit-transform: translateY(0);
  334. }
  335. 100% {
  336. opacity: 0;
  337. -webkit-transform: translateY(-2000px);
  338. }
  339. }
  340. @-moz-keyframes flyOutUp {
  341. 0% {
  342. -moz-transform: translateY(0);
  343. }
  344. 100% {
  345. opacity: 0;
  346. -moz-transform: translateY(-2000px);
  347. }
  348. }
  349. @-o-keyframes flyOutUp {
  350. 0% {
  351. -o-transform: translateY(0);
  352. }
  353. 100% {
  354. opacity: 0;
  355. -o-transform: translateY(-2000px);
  356. }
  357. }
  358. @keyframes flyOutUp {
  359. 0% {
  360. transform: translateY(0);
  361. }
  362. 100% {
  363. opacity: 0;
  364. transform: translateY(-2000px);
  365. }
  366. }
  367. @-webkit-keyframes flyInDown {
  368. 0% {
  369. opacity: 0;
  370. -webkit-transform: translateY(2000px);
  371. }
  372. 100% {
  373. -webkit-transform: translateY(0);
  374. }
  375. }
  376. @-moz-keyframes flyInDown {
  377. 0% {
  378. opacity: 0;
  379. -moz-transform: translateY(2000px);
  380. }
  381. 100% {
  382. -moz-transform: translateY(0);
  383. }
  384. }
  385. @-o-keyframes flyInDown {
  386. 0% {
  387. opacity: 0;
  388. -o-transform: translateY(2000px);
  389. }
  390. 100% {
  391. -o-transform: translateY(0);
  392. }
  393. }
  394. @keyframes flyInDown {
  395. 0% {
  396. opacity: 0;
  397. transform: translateY(2000px);
  398. }
  399. 100% {
  400. transform: translateY(0);
  401. }
  402. }
  403. @-webkit-keyframes flyOutDown {
  404. 0% {
  405. -webkit-transform: translateY(0);
  406. }
  407. 100% {
  408. opacity: 0;
  409. -webkit-transform: translateY(2000px);
  410. }
  411. }
  412. @-moz-keyframes flyOutDown {
  413. 0% {
  414. -moz-transform: translateY(0);
  415. }
  416. 100% {
  417. opacity: 0;
  418. -moz-transform: translateY(2000px);
  419. }
  420. }
  421. @-o-keyframes flyOutDown {
  422. 0% {
  423. -o-transform: translateY(0);
  424. }
  425. 100% {
  426. opacity: 0;
  427. -o-transform: translateY(2000px);
  428. }
  429. }
  430. @keyframes flyOutDown {
  431. 0% {
  432. transform: translateY(0);
  433. }
  434. 100% {
  435. opacity: 0;
  436. transform: translateY(2000px);
  437. }
  438. }