login.scss 3.4 KB

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