app.css 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  1. @import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300);
  2. *{
  3. box-sizing: border-box;
  4. margin: 0;
  5. padding: 0;
  6. font-weight: 300;
  7. }
  8. body {
  9. font-family: 'Source Sans Pro', sans-serif;
  10. font-weight: 300;
  11. }
  12. body ::-webkit-input-placeholder {
  13. /* WebKit browsers */
  14. font-family: 'Source Sans Pro', sans-serif;
  15. font-weight: 300;
  16. }
  17. body :-moz-placeholder {
  18. /* Mozilla Firefox 4 to 18 */
  19. font-family: 'Source Sans Pro', sans-serif;
  20. opacity: 1;
  21. font-weight: 300;
  22. }
  23. body ::-moz-placeholder {
  24. /* Mozilla Firefox 19+ */
  25. font-family: 'Source Sans Pro', sans-serif;
  26. opacity: 1;
  27. font-weight: 300;
  28. }
  29. body :-ms-input-placeholder {
  30. /* Internet Explorer 10+ */
  31. font-family: 'Source Sans Pro', sans-serif;
  32. font-weight: 300;
  33. }
  34. .landing {
  35. background: #50a3a2;
  36. background: -webkit-linear-gradient(top left, #50a3a2 0%, #53e3a6 100%);
  37. background: linear-gradient(to bottom right, #50a3a2 0%, #53e3a6 100%);
  38. position: absolute;
  39. /*top: 20%;*/
  40. left: 0;
  41. width: 100%;
  42. height: 100%; /*400px*/
  43. /*margin-top: -200px;*/
  44. overflow: hidden;
  45. }
  46. .container {
  47. max-width: 600px;
  48. margin: 0 auto;
  49. padding: 80px 0;
  50. height: 400px;
  51. text-align: center;
  52. }
  53. .container h1 {
  54. font-size: 40px;
  55. color: white;
  56. -webkit-transition-duration: 1s;
  57. transition-duration: 1s;
  58. -webkit-transition-timing-function: ease-in-put;
  59. transition-timing-function: ease-in-put;
  60. font-weight: 200;
  61. }
  62. form {
  63. padding: 20px 0;
  64. position: relative;
  65. z-index: 2;
  66. }
  67. form input {
  68. -webkit-appearance: none;
  69. -moz-appearance: none;
  70. appearance: none;
  71. outline: 0;
  72. border: 1px solid rgba(255, 255, 255, 0.4);
  73. background-color: rgba(255, 255, 255, 0.2);
  74. width: 250px;
  75. border-radius: 3px;
  76. padding: 10px 15px;
  77. margin: 0 auto 10px auto;
  78. display: block;
  79. text-align: center;
  80. font-size: 18px;
  81. color: white;
  82. -webkit-transition-duration: 0.25s;
  83. transition-duration: 0.25s;
  84. font-weight: 300;
  85. }
  86. form input:hover {
  87. background-color: rgba(255, 255, 255, 0.4);
  88. }
  89. form input:focus {
  90. /*opacity: 0.4;*/
  91. width: 300px !important;
  92. color: white;
  93. }
  94. form button {
  95. -webkit-appearance: none;
  96. -moz-appearance: none;
  97. appearance: none;
  98. outline: 0;
  99. background-color: white;
  100. border: 0;
  101. padding: 10px 15px;
  102. color: #53e3a6;
  103. border-radius: 3px;
  104. width: 250px;
  105. cursor: pointer;
  106. font-size: 18px;
  107. -webkit-transition-duration: 0.25s;
  108. transition-duration: 0.25s;
  109. }
  110. ::-webkit-input-placeholder {
  111. color: white;
  112. }
  113. ::-moz-placeholder { /* Firefox 19+ */
  114. color: white;
  115. }
  116. :-ms-input-placeholder {
  117. color: white;
  118. }
  119. form button:hover {
  120. background-color: #f5f7f9;
  121. }
  122. .bg-bubbles {
  123. top: 0;
  124. left: 0;
  125. width: 100%;
  126. height: 100%;
  127. z-index: 1;
  128. }
  129. .bg-bubbles li {
  130. position: absolute;
  131. list-style: none;
  132. display: block;
  133. width: 40px;
  134. height: 40px;
  135. border-radius: 100px;
  136. background-color: rgba(255, 255, 255, 0.15);
  137. bottom: -160px;
  138. -webkit-animation: square 25s infinite;
  139. animation: square 25s infinite;
  140. -webkit-transition-timing-function: linear;
  141. transition-timing-function: linear;
  142. }
  143. .bg-bubbles li:nth-child(1) {
  144. left: 10%;
  145. }
  146. .bg-bubbles li:nth-child(2) {
  147. left: 20%;
  148. width: 80px;
  149. height: 80px;
  150. -webkit-animation-delay: 2s;
  151. animation-delay: 2s;
  152. -webkit-animation-duration: 17s;
  153. animation-duration: 17s;
  154. }
  155. .bg-bubbles li:nth-child(3) {
  156. left: 25%;
  157. -webkit-animation-delay: 4s;
  158. animation-delay: 4s;
  159. }
  160. .bg-bubbles li:nth-child(4) {
  161. left: 40%;
  162. width: 60px;
  163. height: 60px;
  164. -webkit-animation-duration: 22s;
  165. animation-duration: 22s;
  166. background-color: rgba(255, 255, 255, 0.25);
  167. }
  168. .bg-bubbles li:nth-child(5) {
  169. left: 70%;
  170. }
  171. .bg-bubbles li:nth-child(6) {
  172. left: 80%;
  173. width: 120px;
  174. height: 120px;
  175. -webkit-animation-delay: 3s;
  176. animation-delay: 3s;
  177. background-color: rgba(255, 255, 255, 0.2);
  178. }
  179. .bg-bubbles li:nth-child(7) {
  180. left: 32%;
  181. width: 160px;
  182. height: 160px;
  183. -webkit-animation-delay: 7s;
  184. animation-delay: 7s;
  185. }
  186. .bg-bubbles li:nth-child(8) {
  187. left: 55%;
  188. width: 20px;
  189. height: 20px;
  190. -webkit-animation-delay: 15s;
  191. animation-delay: 15s;
  192. -webkit-animation-duration: 40s;
  193. animation-duration: 40s;
  194. }
  195. .bg-bubbles li:nth-child(9) {
  196. left: 25%;
  197. width: 10px;
  198. height: 10px;
  199. -webkit-animation-delay: 2s;
  200. animation-delay: 2s;
  201. -webkit-animation-duration: 40s;
  202. animation-duration: 40s;
  203. background-color: rgba(255, 255, 255, 0.3);
  204. }
  205. .bg-bubbles li:nth-child(10) {
  206. left: 90%;
  207. width: 160px;
  208. height: 160px;
  209. -webkit-animation-delay: 11s;
  210. animation-delay: 11s;
  211. }
  212. @-webkit-keyframes square {
  213. 0% {
  214. -webkit-transform: translateY(0);
  215. transform: translateY(0);
  216. }
  217. 100% {
  218. -webkit-transform: translateY(-700px) rotate(600deg);
  219. transform: translateY(-700px) rotate(600deg);
  220. }
  221. }
  222. @keyframes square {
  223. 0% {
  224. -webkit-transform: translateY(0);
  225. transform: translateY(0);
  226. }
  227. 100% {
  228. -webkit-transform: translateY(-700px) rotate(600deg);
  229. transform: translateY(-700px) rotate(600deg);
  230. }
  231. }
  232. .fa-facebook{
  233. margin-top: 3px;
  234. }
  235. #facebook-login{
  236. background-color: #3b5998;
  237. }
  238. .fa-github{
  239. margin-top: 3px;
  240. }
  241. #github-login{
  242. background-color: #999;
  243. }
  244. .btn-social{
  245. -webkit-appearance: none;
  246. -moz-appearance: none;
  247. appearance: none;
  248. outline: 0;
  249. border: 0;
  250. padding: 10px 15px;
  251. border-radius: 3px;
  252. width: 250px;
  253. cursor: pointer;
  254. font-size: 18px;
  255. color: #fff;
  256. }
  257. footer {
  258. text-align: center;
  259. position:absolute;
  260. bottom:0;
  261. width:100%;
  262. height:60px; /* Height of the footer */
  263. padding: 0;
  264. color: white;
  265. }
  266. footer a{
  267. color: white;
  268. }
  269. footer a:hover{
  270. color: white;
  271. }
  272. .button {
  273. -webkit-appearance: none;
  274. -moz-appearance: none;
  275. appearance: none;
  276. outline: 0;
  277. background-color: white;
  278. border: 0;
  279. padding: 10px 15px;
  280. color: #53e3a6;
  281. border-radius: 3px;
  282. width: 250px;
  283. cursor: pointer;
  284. font-size: 18px;
  285. -webkit-transition-duration: 0.25s;
  286. transition-duration: 0.25s;
  287. }
  288. .button:hover {
  289. background-color: #f5f7f9;
  290. }
  291. #dashboard #name-container{
  292. background-color: rgba(255,255,255,0.5);
  293. width: 300px;
  294. height: 60px;
  295. }
  296. #dashboard h1{
  297. margin-left: 20px;
  298. line-height: 60px;
  299. color: white;
  300. font-weight: 600;
  301. }
  302. #dashboard .logout{
  303. margin-left: 20px;
  304. cursor: pointer;
  305. }
  306. #dashboard .station{
  307. background-color: rgba(255,255,255,0.3);
  308. height: 250px;
  309. color: white;
  310. margin-top: 1em;
  311. cursor: pointer;
  312. transition: 0.3s;
  313. }
  314. #dashboard .station:hover{
  315. background-color: rgba(102,205,170,0.7);
  316. }
  317. #dashboard .station .station-name{
  318. text-align: center;
  319. font-size: 3em;
  320. font-weight: 600;
  321. }
  322. #dashboard .station .song-info{
  323. text-align: center;
  324. }
  325. #dashboard .station .song-title{
  326. font-size: 2.5em;
  327. }
  328. #dashboard .station .song-artist{
  329. font-size: 2em;
  330. }
  331. #dashboard .station .button-tunein{
  332. outline: 0;
  333. border: 0;
  334. border: 2px solid white;
  335. padding: 10px 15px;
  336. border-radius: 3px;
  337. width: 250px;
  338. cursor: pointer;
  339. font-size: 18px;
  340. color: #fff;
  341. background-color: transparent;
  342. display: block;
  343. margin: 0 auto;
  344. }
  345. #dashboard .station .controls{
  346. font-size: 2em;
  347. display: block;
  348. text-align: center;
  349. }