You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

278 lines
3.9 KiB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  1. @import './layout/_base';
  2. @import './layout/_mixins';
  3. @import './libs/animate.min.css';
  4. body {
  5. padding: 0;
  6. margin: 0;
  7. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  8. font-size: 14px;
  9. }
  10. a {
  11. color: #FFF;
  12. transition: color 0.4s ease;
  13. text-decoration: none;
  14. &:hover {
  15. color: #FB8C00;
  16. text-decoration: underline;
  17. }
  18. }
  19. #bg {
  20. position: fixed;
  21. top: 0;
  22. left: 0;
  23. width: 100%;
  24. height: 100%;
  25. z-index: 1;
  26. background-color: #000;
  27. > div {
  28. background-size: cover;
  29. background-position: center center;
  30. width: 100%;
  31. height: 100%;
  32. position: absolute;
  33. top: 0;
  34. left: 0;
  35. opacity: 0;
  36. visibility: hidden;
  37. transition: opacity 3s ease, visibility 3s;
  38. animation: bg 30s linear infinite;
  39. &:nth-child(1) {
  40. animation-delay: 10s;
  41. }
  42. &:nth-child(2) {
  43. animation-delay: 20s;
  44. }
  45. }
  46. }
  47. #root {
  48. position: fixed;
  49. top: 15vh;
  50. left: 10vw;
  51. z-index: 2;
  52. color: #FFF;
  53. display: flex;
  54. flex-direction: column;
  55. h1 {
  56. font-size: 4rem;
  57. color: #FFF;
  58. padding: 0;
  59. margin: 0;
  60. animation: headerIntro 3s ease;
  61. }
  62. h2 {
  63. font-size: 1.5rem;
  64. font-weight: normal;
  65. color: rgba(255,255,255,0.7);
  66. padding: 0;
  67. margin: 0 0 25px 0;
  68. animation: headerIntro 3s ease;
  69. }
  70. h3 {
  71. font-size: 1.25rem;
  72. font-weight: normal;
  73. color: #FB8C00;
  74. padding: 0;
  75. margin: 0;
  76. animation: shake 1s ease;
  77. > .fa {
  78. margin-right: 7px;
  79. }
  80. }
  81. h4 {
  82. font-size: 0.8rem;
  83. font-weight: normal;
  84. color: rgba(255,255,255,0.7);
  85. padding: 0;
  86. margin: 0 0 15px 0;
  87. animation: fadeIn 3s ease;
  88. }
  89. form {
  90. display: flex;
  91. flex-direction: column;
  92. }
  93. input[type=text], input[type=password] {
  94. width: 350px;
  95. max-width: 80vw;
  96. border: 1px solid rgba(255,255,255,0.3);
  97. border-radius: 3px;
  98. background-color: rgba(0,0,0,0.2);
  99. padding: 0 15px;
  100. height: 40px;
  101. margin: 0 0 10px 0;
  102. color: #FFF;
  103. font-weight: bold;
  104. font-size: 14px;
  105. transition: all 0.4s ease;
  106. &:focus {
  107. outline: none;
  108. border-color: #FB8C00;
  109. }
  110. }
  111. button {
  112. background-color: #FB8C00;
  113. color: #FFF;
  114. border: 1px solid lighten(#FB8C00, 10%);
  115. border-radius: 3px;
  116. height: 40px;
  117. width: 125px;
  118. padding: 0;
  119. font-weight: bold;
  120. margin: 15px 0 0 0;
  121. transition: all 0.4s ease;
  122. cursor: pointer;
  123. &:focus {
  124. outline: none;
  125. border-color: #FFF;
  126. }
  127. &:hover {
  128. background-color: darken(#FB8C00, 10%);
  129. }
  130. }
  131. #social {
  132. margin-top: 25px;
  133. > span {
  134. display: block;
  135. font-weight: bold;
  136. color: rgba(255,255,255,0.7);
  137. }
  138. button {
  139. margin-right: 5px;
  140. width: auto;
  141. padding: 0 15px;
  142. > i {
  143. margin-right: 10px;
  144. font-size: 16px;
  145. }
  146. &.ms {
  147. background-color: #009688;
  148. border-color: lighten(#009688, 10%);
  149. &:focus {
  150. border-color: #FFF;
  151. }
  152. &:hover {
  153. background-color: darken(#009688, 10%);
  154. }
  155. }
  156. &.google {
  157. background-color: #2196F3;
  158. border-color: lighten(#2196F3, 10%);
  159. &:focus {
  160. border-color: #FFF;
  161. }
  162. &:hover {
  163. background-color: darken(#2196F3, 10%);
  164. }
  165. }
  166. &.facebook {
  167. background-color: #673AB7;
  168. border-color: lighten(#673AB7, 10%);
  169. &:focus {
  170. border-color: #FFF;
  171. }
  172. &:hover {
  173. background-color: darken(#673AB7, 10%);
  174. }
  175. }
  176. }
  177. }
  178. }
  179. #copyright {
  180. display: flex;
  181. align-items: center;
  182. justify-content: flex-start;
  183. position: absolute;
  184. left: 10vw;
  185. bottom: 10vh;
  186. z-index: 2;
  187. color: rgba(255,255,255,0.5);
  188. font-weight: bold;
  189. .icon {
  190. font-size: 1.2rem;
  191. margin: 0 8px;
  192. }
  193. a {
  194. opacity: 0.75;
  195. }
  196. }
  197. @include keyframes(bg) {
  198. 0% {
  199. @include prefix(transform, scale(1,1));
  200. visibility: visible;
  201. opacity: 0;
  202. },
  203. 5% {
  204. opacity: 0.5;
  205. },
  206. 33% {
  207. opacity: 0.5;
  208. },
  209. 38% {
  210. @include prefix(transform, scale(1.2, 1.2));
  211. opacity: 0;
  212. },
  213. 39% {
  214. visibility: hidden;
  215. }
  216. 100% {
  217. visibility: hidden;
  218. opacity: 0;
  219. }
  220. }
  221. @include keyframes(headerIntro) {
  222. 0% {
  223. opacity: 0;
  224. }
  225. 100% {
  226. opacity: 1;
  227. }
  228. }