123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237 |
- @import './layout/_base';
- @import './layout/_mixins';
- body {
- padding: 0;
- margin: 0;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
- font-size: 14px;
- }
- a {
- color: #FFF;
- transition: color 0.4s ease;
- text-decoration: none;
- &:hover {
- color: #FB8C00;
- text-decoration: underline;
- }
- }
- #bg {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- z-index: 1;
- background-color: #000;
- > div {
- background-size: cover;
- background-position: center center;
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- opacity: 0;
- visibility: hidden;
- transition: opacity 3s ease, visibility 3s;
- animation: bg 30s linear infinite;
- &:nth-child(1) {
- animation-delay: 10s;
- }
- &:nth-child(2) {
- animation-delay: 20s;
- }
- }
- }
- #root {
- position: fixed;
- top: 15vh;
- left: 10vw;
- z-index: 2;
- color: #FFF;
- display: flex;
- flex-direction: column;
- h1 {
- font-size: 4rem;
- color: #FFF;
- padding: 0;
- margin: 0;
- animation: headerIntro 3s ease;
- }
- h2 {
- font-size: 1.5rem;
- font-weight: normal;
- color: rgba(255,255,255,0.7);
- padding: 0;
- margin: 0 0 25px 0;
- animation: headerIntro 3s ease;
- }
- input[type=text], input[type=password] {
- width: 350px;
- max-width: 80vw;
- border: 1px solid rgba(255,255,255,0.3);
- border-radius: 3px;
- background-color: rgba(0,0,0,0.2);
- padding: 0 15px;
- height: 40px;
- margin: 0 0 10px 0;
- color: #FFF;
- font-weight: bold;
- font-size: 14px;
- transition: all 0.4s ease;
- &:focus {
- outline: none;
- border-color: rgba(255,255,255,0.8);
- }
- }
- button {
- background-color: #FB8C00;
- color: #FFF;
- border: 1px solid lighten(#FB8C00, 10%);
- border-radius: 3px;
- height: 40px;
- width: 125px;
- padding: 0;
- font-weight: bold;
- margin: 15px 0 0 0;
- transition: all 0.4s ease;
- cursor: pointer;
- &:focus {
- outline: none;
- border-color: #FFF;
- }
- &:hover {
- background-color: darken(#FB8C00, 10%);
- }
- }
- #social {
- margin-top: 25px;
- > span {
- display: block;
- font-weight: bold;
- color: rgba(255,255,255,0.7);
- }
- button {
- margin-right: 5px;
- width: auto;
- padding: 0 15px;
- > i {
- margin-right: 10px;
- font-size: 16px;
- }
- &.ms {
- background-color: #009688;
- border-color: lighten(#009688, 10%);
- &:hover {
- background-color: darken(#009688, 10%);
- }
- }
- &.google {
- background-color: #2196F3;
- border-color: lighten(#2196F3, 10%);
- &:hover {
- background-color: darken(#2196F3, 10%);
- }
- }
- &.facebook {
- background-color: #673AB7;
- border-color: lighten(#673AB7, 10%);
- &:hover {
- background-color: darken(#673AB7, 10%);
- }
- }
- }
- }
- }
- #copyright {
- display: flex;
- align-items: center;
- justify-content: flex-start;
- position: absolute;
- left: 10vw;
- bottom: 10vh;
- z-index: 2;
- color: rgba(255,255,255,0.5);
- font-weight: bold;
- .icon {
- font-size: 1.2rem;
- margin: 0 8px;
- }
- a {
- opacity: 0.75;
- }
- }
- @include keyframes(bg) {
- 0% {
- @include prefix(transform, scale(1,1));
- visibility: visible;
- opacity: 0;
- },
- 5% {
- opacity: 0.5;
- },
- 33% {
- opacity: 0.5;
- },
- 38% {
- @include prefix(transform, scale(1.2, 1.2));
- opacity: 0;
- },
- 39% {
- visibility: hidden;
- }
- 100% {
- visibility: hidden;
- opacity: 0;
- }
- }
- @include keyframes(headerIntro) {
- 0% {
- opacity: 0;
- }
- 100% {
- opacity: 1;
- }
- }
|