SME-Web/src/components/styles/style.css

385 lines
7.4 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* .auth-ui-con * {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
text-decoration: none;
list-style: none;
} */
html {
overflow-x: hidden;
}
.auth-ui-con .main-container-l {
/* background-image: url("images/login-bg.webp") !important; */
background-image: url("images/login-bg2.png") !important;
background-position: left bottom !important;
background-repeat: no-repeat !important;
background-size: 100%;
/* display: flex !important;
justify-content: center !important;
align-items: center !important; */
width: 100%;
min-height: 100vh;
/* background: linear-gradient(90deg, #e2e2e2, #c9d6ff); */
}
.auth-ui-con .container-l {
position: relative;
width: 1280px;
height: 599px;
background: #fff;
/* margin-top: 20px; */
margin-left: 50%;
transform: translateX(-50%);
/* border-radius: 30px; */
box-shadow: 0 0 30px rgba(0, 0, 0, .2);
overflow-y: auto;
overflow-x: hidden;
}
.auth-ui-con .container-l h1 {
font-size: 36px;
margin: -10px 0;
}
.auth-ui-con .container-l p {
font-size: 14.5px;
margin: 15px 0;
}
.auth-ui-con form {
width: 100%;
}
.auth-ui-con .form-box {
position: absolute;
right: 0;
width: 50%;
height: 100%;
background: #fff;
display: flex;
align-items: center;
color: #333;
text-align: center;
padding: 40px;
z-index: 1;
display: flex;
justify-content: center;
/* transition: .6s ease-in-out 1.2s, visibility 0s 1s; */
}
.auth-ui-con .container-l.active .form-box {
right: 50%;
}
.auth-ui-con .form-box.register {
visibility: hidden;
}
.auth-ui-con .container-l.active .form-box.register {
visibility: visible;
}
.auth-ui-con .input-box {
position: relative;
margin: 15px 0;
}
.auth-ui-con .input-box input {
width: 100%;
padding: 13px 50px 13px 20px;
background: #eee;
border-radius: 8px;
border: none;
outline: none;
font-size: 16px;
color: #333;
font-weight: 500;
}
.auth-ui-con .input-box input::placeholder {
color: #888;
font-weight: 400;
}
.auth-ui-con .input-box i {
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
font-size: 20px;
}
.auth-ui-con .forgot-link {
margin: -15px 0 15px;
}
.auth-ui-con .forgot-link a {
font-size: 14.5px;
color: #333;
}
.auth-ui-con .btn {
width: 100%;
height: 48px;
background: var(--primary);
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, .1);
border: none;
cursor: pointer;
font-size: 16px;
color: #fff;
font-weight: 600;
}
.auth-ui-con .social-icons {
display: flex;
justify-content: center;
}
.auth-ui-con .social-icons a {
display: inline-flex;
padding: 10px;
border: 2px solid #ccc;
border-radius: 8px;
font-size: 24px;
color: #333;
margin: 0 8px;
}
.auth-ui-con .toggle-box {
position: absolute;
width: 100%;
height: 100%;
}
.auth-ui-con .toggle-box::before {
content: '';
position: absolute;
left: -250%;
width: 300%;
height: 100%;
background: var(--primary);
/* border: 2px solid red; */
border-radius: 100px;
z-index: 2;
/* transition: 1.8s ease-in-out; */
}
.auth-ui-con .container-l.active .toggle-box::before {
left: 50%;
}
.auth-ui-con .toggle-panel {
position: absolute;
width: 50%;
height: 100%;
/* background: seagreen; */
color: #fff;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 2;
/* transition: .6s ease-in-out; */
}
.auth-ui-con .toggle-panel.toggle-left {
left: 0;
/* transition-delay: 1.2s; */
}
.auth-ui-con .container-l.active .toggle-panel.toggle-left {
left: -50%;
/* transition-delay: .6s; */
}
.auth-ui-con .toggle-panel.toggle-right {
right: -50%;
/* transition-delay: .6s; */
}
.auth-ui-con .container-l.active .toggle-panel.toggle-right {
right: 0;
/* transition-delay: 1.2s; */
}
.auth-ui-con .toggle-panel p {
margin-bottom: 20px;
}
.auth-ui-con .toggle-panel .btn {
width: 160px;
height: 46px;
background: transparent;
border: 2px solid #fff;
box-shadow: none;
}
.fl-container {
margin-top: 25px !important;
}
.fl-container .input-box {
position: static !important;
margin: 0px !important;
}
.fl-container .input-box input {
margin: 0 !important;
}
@media only screen and (max-width: 950px) {
.form-box {
padding: 0px !important;
background-color: tomato;
}
.form-box>div {
padding: 0rem 3rem;
}
}
@media only screen and (max-width: 880px) {
.toggle-box {
display: none !important;
}
.container-l {
width: 480px !important;
scrollbar-width: none;
}
.form-box {
right: auto !important;
left: 50% !important;
transform: translateX(-50%);
width: 100% !important;
}
.form-box>div {
padding: 0rem 4rem;
}
}
@media only screen and (max-width: 550px) {
.container-l {
width: 400px !important;
}
.form-box>div {
padding: 0rem 2rem;
}
}
@media only screen and (max-width: 440px) {
.container-l {
width: 300px !important;
}
.form-box>div {
padding: 0rem 1rem;
}
}
/* @media screen and (max-width: 900px) {
.auth-ui-con .container-l {
height: calc(100vh - 40px);
width: calc(100% - 40px);
}
.auth-ui-con .form-box {
top: 0px;
width: 100%;
height: max-content;
}
.auth-ui-con .container-l.active .form-box {
right: 0;
bottom: 30%;
}
.auth-ui-con .toggle-box::before {
left: 0;
top: -270%;
width: 100%;
height: 300%;
border-radius: 20vw;
}
.auth-ui-con .container-l.active .toggle-box::before {
left: 0;
top: 70%;
}
.auth-ui-con .container-l.active .toggle-panel.toggle-left {
left: 0;
top: -30%;
}
.auth-ui-con .toggle-panel {
position: absolute;
bottom: 0;
width: 100%;
height: max-content;
}
.auth-ui-con .toggle-panel.toggle-left {
display: none !important;
top: 0;
}
.auth-ui-con .toggle-panel.toggle-right {
display: none !important;
right: 0;
bottom: -30%;
}
.auth-ui-con .container-l.active .toggle-panel.toggle-right {
bottom: 0;
}
.toggle-box::before {
display: none;
}
} */
@media screen and (max-width: 400px) {
.form-box {
padding: 20px;
}
.auth-ui-con .toggle-panel h1 {
font-size: 30px;
}
}
/* Adding SELECT SIGNATURE FONTS - STARTS */
@font-face {
font-family: 'Great Vibes';
src: url('/fonts/Great_Vibes/GreatVibes-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Dancing Script';
src: url('/fonts/Dancing_Script/DancingScript-VariableFont_wght.ttf') format('truetype');
}
@font-face {
font-family: 'Alex Brush';
src: url('/fonts/Alex_Brush/AlexBrush-Regular.ttf') format('truetype');
}
@font-face {
font-family: 'Allura';
src: url('/fonts/Allura/Allura-Regular.ttf') format('truetype');
}
/* Adding SELECT SIGNATURE FONTS - ENDS */