Files
cartlog-admin/public/assets/scss/pages/_login.scss
2026-01-01 15:25:19 +05:30

274 lines
5.8 KiB
SCSS

/**=====================
Log In And Sign up CSS Start
==========================**/
.log-in-section {
overflow-x: hidden;
display: flex;
align-items: center;
position: relative;
z-index: 0;
min-height: 100vh;
overflow: auto;
padding: calc(25px + (60 - 25) * ((100vw - 320px) / (1920 - 320))) 0;
&::after {
@include pos;
@include pseudowh;
top: 0;
left: 0;
background-image: url(../../images/bg.png);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
z-index: -1;
}
&.otp-section {
display: flex;
align-items: center;
}
.image-contain {
@include flex_common;
height: 100%;
}
.inputs {
margin: calc(-2px + (-8 - 2) * ((100vw - 320px) / (1920 - 320)));
input {
margin: calc(2px + (8 - 2) * ((100vw - 320px) / (1920 - 320)));
border: none;
}
}
.log-in-box {
background-color: $white;
padding: calc(16px + (50 - 16) * ((100vw - 320px) / (1920 - 320)));
border-radius: calc(8px + (12 - 8) * ((100vw - 320px) / (1920 - 320)));
.form-floating {
> label{
z-index: 0;
}
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type="number"] {
-moz-appearance: textfield;
}
.logo-name {
margin-bottom: calc(20px + (30 - 20) * ((100vw - 320px) / (1920 - 320)));
margin-top: -10px;
a {
font-size: calc(28px + (35 - 28) * ((100vw - 320px) / (1920 - 320)));
font-weight: bold;
color: $title-color;
font-family: $public-sans;
display: block;
img {
width: calc(150px + (225 - 150) * ((100vw - 320px) / (1920 - 320)));
}
}
}
.log-in-title {
margin-bottom: calc(12px + (20 - 12) * ((100vw - 320px) / (1920 - 320)));
h3 {
margin-bottom: calc(1px + (6 - 1) * ((100vw - 320px) / (1920 - 320)));
font-size: calc(18px + (21 - 18) * ((100vw - 320px) / (1920 - 320)));
color: var(--theme-color);
font-weight: 600;
}
h4,
h5 {
color: $content-color;
margin-top: 8px;
}
}
.log-in-button {
margin-top: 20px;
padding: 1px 0;
ul {
@include flex_wrap($dis: flex, $wrap: wrap, $gap: 15px);
align-items: center;
[dir="rtl"] & {
padding-right: 0;
}
li {
display: block;
width: 100%;
background-color: $light-color;
a {
@include flex_common;
font-size: calc(14px + (16 - 14) * ((100vw - 320px) / (1920 - 320)));
color: $title-color;
border-radius: 5px;
padding: calc(10px + (16 - 10) * ((100vw - 320px) / (1920 - 320))) calc(18px + (30 - 18) * ((100vw - 320px) / (1920 - 320)));
flex-wrap: wrap;
gap: calc(8px + (10 - 8) * ((100vw - 320px) / (1920 - 320)));
background-color: $light-color;
img {
width: calc(18px + (24 - 18) * ((100vw - 320px) / (1920 - 320)));
}
}
}
}
}
.forgot-box {
@include flex_common($dis: flex, $align: center, $justify: space-between);
@include mq-max(2xs) {
display: block;
}
}
.remember-box {
display: flex;
align-items: center;
.check-box {
display: block;
margin-top: -6px;
}
label {
font-size: 16px;
margin-bottom: 0;
span {
font-weight: 500;
color: var(--theme-color);
}
}
}
.forgot-password {
font-size: 16px;
font-weight: 500;
display: block;
&:hover {
color: var(--theme-color);
}
}
.other-log-in {
margin-top: 15px;
text-align: center;
position: relative;
&::before {
@include pos;
@include center(vertical);
@include pseudowh($width: 100%, $height: 1px);
left: 0;
background-color: #ddd;
z-index: 0;
}
h6 {
color: $content-color;
position: relative;
background-color: $white;
padding: 0 14px;
display: inline-block;
text-transform: uppercase;
}
}
.sign-up-box {
margin-top: 20px;
text-align: center;
h4 {
color: $content-color;
font-size: calc(14px + (16 - 14) * ((100vw - 320px) / (1920 - 320)));
margin-bottom: calc(0px + (3 - 0) * ((100vw - 320px) / (1920 - 320)));
}
a {
font-weight: 500;
font-size: calc(15px + (17 - 15) * ((100vw - 320px) / (1920 - 320)));
margin-bottom: -4px;
display: block;
&:hover {
color: var(--theme-color);
}
}
}
.contact-title {
margin-bottom: 30px;
h2 {
margin-bottom: 15px;
}
h5 {
width: 53%;
font-size: 18px;
line-height: 1.3;
color: $content-color;
}
}
.input-box {
.form-floating {
>label {
[dir="rtl"] & {
left: unset;
right: 0;
}
}
>.form-control {
&:not(:placeholder-shown) {
~label {
[dir="rtl"] & {
transform: scale(0.85) translateY(-0.5rem) translateX(4.55rem);
}
}
}
}
}
}
.country-input{
.custom-select-box{
height: calc(100% - 2px);
left: 1px;
border-left: unset;
border-block: unset;
.form-select{
border-left: unset;
border-block: unset;
height: 56px;
background-color: $white !important;
}
}
.form-floating{
> .form-control:not(:placeholder-shown){
padding-block: 1rem;
}
}
}
}
}