| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229 |
- *{
- margin: 0;
- padding: 0;
- font-family: "ubuntu",sans-serif;
- box-sizing: border-box;
- }
- ::selection{
- background-color: #fdcf74;
- }
- body{
- background-image: url(images/bg.png);
- background-size: 256px;
- min-height: 100vh;
- display: grid;
- justify-items: center;
- align-items: center;
- grid-template-rows: auto 62px;
- }
- .login-form{
- width: 100%;
- max-width: 500px;
- }
- .logo{
- background-image: url(images/logo.svg);
- width: 290px;
- height: 82px;
- margin: 40px auto;
- }
- .container{
- margin: 20px 0;
- background-color: #fff;
- padding: 20px;
- border-radius: 2px;
- color: #4d4d4d;
- }
- .container h1{
- font-size: 24px;
- margin-bottom: 20px;
- }
- .txtb{
- height: 50px;
- margin-bottom: 20px;
- position: relative;
- overflow: hidden;
- }
- .txtb input{
- width: 100%;
- height: 50px;
- border: 1px solid #e6e6e6;
- padding: 0 20px;
- font-size: 18px;
- color: #666;
- border-radius: 3px;
- outline: 3px solid #fcaf1770;
- }
- .placeholder{
- position: absolute;
- left: 20px;
- top: 50%;
- transform: translateY(-50%);
- user-select: none;
- pointer-events: none;
- font-size: 17px;
- transform-origin: 0 0;
- transition: .2s linear;
- }
- .txtb input:not(:placeholder-shown) + .placeholder{
- transform: scale(.75) translateY(-26px);
- }
- .txtb input:not(:placeholder-shown){
- padding-top: 12px;
- }
- .show-password-btn{
- position: absolute;
- right: 20px;
- top: 50%;
- transform: translateY(-50%);
- cursor: pointer;
- fill: #999;
- }
- .checkbox{
- display: inline-block;
- margin-bottom: 20px;
- cursor: pointer;
- padding-left: 30px;
- position: relative;
- }
- .checkbox input{
- display: none;
- }
- .checkbox span::before{
- content: "";
- position: absolute;
- width: 20px;
- height: 20px;
- border: 1px solid #4d4d4d;
- left: 0;
- box-sizing: border-box;
- border-radius: 3px;
- }
- .checkbox span:after{
- content: "";
- position: absolute;
- width: 12px;
- height: 6px;
- border-bottom: 2px solid #333;
- border-left: 2px solid #333;
- transform: rotate(-50deg);
- box-sizing: border-box;
- left: 4px;
- top: 6px;
- display: none;
- }
- .checkbox input:checked + span::after{
- display: block;
- }
- .forgot-signin-container{
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .link{
- color: #fcaf17;
- text-decoration: none;
- transition: .2s linear;
- }
- .link:hover{
- text-decoration: underline;
- }
- .forgot-signin-container input{
- width: 100px;
- height: 38px;
- border: none;
- background-image: linear-gradient(90deg,#f7931e,#fcaf17);
- color: #fff;
- font-weight: 700;
- outline: none;
- cursor: pointer;
- border-radius: 3px;
- }
- .forgot-signin-container input:hover{
- background: #fcaf17;
- }
- .bottom-container{
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- align-items: center;
- }
- .bottom-container h3{
- font-size: 18px;
- font-weight: 500;
- }
- .sm-login{
- display: flex;
- justify-content: space-between;
- }
- .sm-login a{
- width: 38px;
- margin: 0 5px;
- overflow: hidden;
- }
- .sm-login a img{
- width: 100%;
- }
- .create-account{
- text-align: center;
- color: #fff;
- margin: 30px 0;
- }
- .copyright{
- color: #999;
- font-size: 12px;
- }
- @media screen and (max-width: 520px){
- body{
- align-items: unset;
- }
- .logo{
- width: 236px;
- height: 67px;
- margin: 16px auto;
- }
- .container{
- margin: 8px;
- }
- .row{
- width: 100%;
- }
- .sm-login{
- margin-top: 8px;
- }
- .sm-login a{
- flex: 1;
- max-width: 65px;
- }
- }
|