storj/web/satellite/static/resetPassword/resetPassword.css

383 lines
7.1 KiB
CSS
Raw Normal View History

/* Copyright (C) 2019 Storj Labs, Inc. */
/* See LICENSE for copying information. */
body {
padding: 0 !important;
margin: 0 !important;
}
a {
text-decoration: none !important;
}
@font-face {
font-family: 'font_regular';
font-display: swap;
src: url('../fonts/font_regular.ttf');
}
@font-face {
font-family: 'font_bold';
font-display: swap;
src: url('../fonts/font_bold.ttf');
}
p {
font-family: 'font_medium', sans-serif;
font-size: 16px;
line-height: 21px;
color: #354049;
margin: 0 0 5px 0;
}
.reset-password-container {
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 10;
background-size: contain;
display: flex;
justify-content: flex-start;
flex-direction: column;
align-items: flex-start;
padding: 60px 0 0 104px;
background-color: #f5f6fa;
}
.reset-password-container__wrapper {
min-width: 45%;
height: 86vh;
}
.reset-password-container__header {
display: flex;
align-items: center;
justify-content: space-between;
flex-direction: row;
width: 100%;
}
.reset-password-container__logo {
cursor: pointer;
width: 140px;
height: 62px;
}
.reset-password-container__login-button {
display: flex;
align-items: center;
justify-content: center;
background-color: transparent;
border-radius: 6px;
border: 1px solid #afb7c1;
cursor: pointer;
width: 160px;
height: 48px;
}
.reset-password-container__login-button p {
font-family: 'font_bold', sans-serif;
font-size: 14px;
line-height: 19px;
margin-block-start: 0;
margin-block-end: 0;
2019-04-03 17:25:18 +01:00
color: #354049;
}
.reset-password-container__login-button:hover {
background-color: #2683ff;
border: 1px solid #2683ff;
}
.reset-password-container__login-button:hover p {
2019-04-03 17:25:18 +01:00
color: white;
}
.reset-password-area-wrapper {
width: 100%;
height: 100%;
display: flex;
align-items: flex-start;
justify-content: flex-end;
margin-top: 50px;
}
.reset-password-area {
background-color: transparent;
width: 477px;
border-radius: 6px;
display: flex;
justify-content: center;
flex-direction: column;
align-items: flex-start;
margin-top: 150px;
}
.reset-password-area__title-container {
height: 48px;
display: flex;
justify-content: space-between;
align-items: flex-end;
flex-direction: row;
margin-bottom: 20px;
width: 100%;
}
.reset-password-area__title-container h1 {
font-family: 'font_bold', sans-serif;
font-size: 22px;
color: #384b65;
line-height: 27px;
margin-block-start: 0;
margin-block-end: 0;
}
.reset-password-area__submit-container {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
border: none;
padding: 0;
}
.reset-password-area__submit-container__send-button {
display: flex;
align-items: center;
justify-content: center;
background-color: #2683ff;
border-radius: 6px;
cursor: pointer;
width: 100%;
height: 48px;
2019-04-03 17:25:18 +01:00
box-shadow: none;
}
.reset-password-area__submit-container__send-button p {
font-family: 'font_bold', sans-serif;
font-size: 14px;
line-height: 19px;
margin-block-start: 0;
margin-block-end: 0;
color: white;
}
.reset-password-area__submit-container__send-button:hover {
box-shadow: 0 4px 20px rgba(35, 121, 236, 0.4);
}
.input-wrap {
position: relative;
width: 100%;
height: 46px;
margin-bottom: 20px;
}
input {
font-family: 'font_regular', sans-serif;
font-size: 16px;
line-height: 21px;
resize: none;
padding: 0;
height: 100%;
width: 100%;
text-indent: 20px;
border: 1px solid rgba( 56, 75, 101, .4);
border-radius: 6px;
}
.eye-icon {
position: absolute;
right: 25px;
top: 50%;
transform: translate(0, -50%);
}
.reset-password-area input::placeholder {
color: #384b65;
opacity: 0.4;
}
.reset-password-area input:first-of-type {
margin-bottom: 15px;
}
.planet {
position: absolute;
bottom: -61px;
right: -257px;
z-index: -100;
}
.loading-overlay {
display: flex;
justify-content: center;
align-items: center;
position: absolute;
top: 0;
left: 0;
right: 0;
height: 100vh;
z-index: 100;
background-color: rgba(134, 134, 148, 0.7);
visibility: hidden;
opacity: 0;
-webkit-transition: all 0.5s linear;
-moz-transition: all 0.5s linear;
-o-transition: all 0.5s linear;
transition: all 0.5s linear;
}
.loading-overlay img {
z-index: 200;
}
.loading-overlay.active {
visibility: visible;
opacity: 1;
}
2019-04-03 17:25:18 +01:00
.image {
position: fixed;
right: 0;
top: 0;
bottom: 0;
height: 100vh;
}
.st1 { fill: #2683ff; }
.st2 { fill: #007aff; }
.st3 { fill: #0062ff; }
.st4 { fill: #fff; }
.st5 { fill: #6cb9ff; }
.st6 { fill: #499ffc; }
.st7 { fill: #f7f9f9; }
.st8 { fill: #0f002d; }
.st9 { fill: #dedefc; }
2019-04-03 17:25:18 +01:00
@media screen and (max-width: 1500px) {
2019-04-03 17:25:18 +01:00
.reset-password-container__wrapper {
min-width: 45%;
}
}
2019-04-03 17:25:18 +01:00
@media screen and (max-width: 1300px) {
2019-04-03 17:25:18 +01:00
.reset-password-container__wrapper {
min-width: 75%;
}
2019-04-03 17:25:18 +01:00
.image {
display: none;
}
}
@media screen and (max-height: 840px) {
.reset-password-container {
overflow: hidden;
}
.reset-password-container__wrapper {
height: 770px;
overflow-y: scroll;
overflow-x: hidden;
-ms-overflow-style: none;
overflow: -moz-scrollbars-none;
}
.reset-password-container__wrapper::-webkit-scrollbar {
width: 0 !important;
display: none;
}
}
@media screen and (max-height: 810px) {
.reset-password-container__wrapper {
height: 700px;
}
.reset-password-area__submit-container {
margin-bottom: 25px;
}
}
@media screen and (max-width: 840px) {
.planet {
display: none;
}
}
@media screen and (max-width: 800px) {
.reset-password-container {
padding: 0;
align-items: center;
justify-content: center;
}
.planet {
display: none;
}
}
@media screen and (max-width: 650px) {
.reset-password-container__wrapper {
width: 500px;
}
}
@media screen and (max-width: 520px) {
.reset-password-container__wrapper {
width: 400px;
}
}
@media screen and (max-width: 420px) {
.reset-password-container__wrapper {
width: 350px;
}
}
@media screen and (max-width: 320px) {
.reset-password-container__wrapper {
width: 300px;
}
.reset-password-container__header {
margin-top: 20px;
}
.reset-password-container__login-button {
width: 120px;
height: 42px;
}
.reset-password-area__title-container h1 {
font-size: 20px;
line-height: 22px;
}
.reset-password-area__submit-container__terms-area h2 {
font-size: 12px;
}
.reset-password-area__submit-container__send-button {
height: 40px;
}
.reset-password-area__submit-container__send-button p {
font-size: 12px;
}
}