blob: ed938b49b84da4b7f94e961490c07191837b0f09 [file] [log] [blame]
kumaran.m3b4814a2020-05-01 19:48:54 +05301/*
2 Copyright 2020 TATA ELXSI
3
4 Licensed under the Apache License, Version 2.0 (the 'License');
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15
16 Author: KUMARAN M (kumaran.m@tataelxsi.co.in), RAJESH S (rajesh.s@tataelxsi.co.in), BARATH KUMAR R (barath.r@tataelxsi.co.in)
17*/
18@import "../../assets/scss/mixins/mixin";
19@import "../../assets/scss/variable";
20
21.login-container {
22 @include wh-value(100%, 100vh);
23 @include flexbox(flex, center, null, null, center, null);
Barath Kumar R5abb2742020-11-22 20:15:10 +053024 @include background(url("../../images/login_background.jpg"), null, cover, no-repeat, center);
kumaran.m3b4814a2020-05-01 19:48:54 +053025 background-attachment: fixed;
26 flex-wrap: wrap;
27 .wrap-login {
28 @include background(
29 linear-gradient(
30 to left bottom,
31 #00c0ef,
32 #00b3f9,
33 #3ea3fd,
34 #7190f8,
35 #9c78e8,
36 #a86cdd,
37 #b25fd1,
38 #bb51c3,
39 #b151c4,
40 #a652c6,
41 #9b53c6,
42 #9053c7
43 ),
44 null,
45 null,
46 null,
47 null
48 );
49 @include roundedCorners(15);
50 @include flexbox(flex, space-between, null, null, null, null);
51 @include position_value(relative, null, null, null, null);
52 @include box-shadow(0px, 3px, 10px, 0px, rgba($black, 0.5));
53 @include padding-value(20, 30, 20, 30);
54 flex-wrap: wrap;
55 color: $white;
56 overflow: visible;
57 .login-logo {
58 @include flexbox(flex, center, null, null, center, null);
59 @include position_value(absolute, -80px, null, null, 95px);
60 @include box-shadow(1px, 2px, 0px, 0px, $cerise-pink);
61 @include margin-value(0, 0, 10, 0);
62 @include wh-value(160px, 150px);
63 @include background(null, $white, null, null, null);
64 @include roundedCornersPercentage(50%);
65 img {
66 @include wh-value(130px, auto);
67 @include position_value(null, 50px, null, null, null);
68 }
69 }
70 .login-form {
71 @include wh-value(290px, null);
72 @include padding-value(70, 0, 0, 0);
73 text-align: center;
74 .wrap-input {
75 @include position_value(relative, null, null, null, null);
76 @include wh-value(100%, null);
77 @include margin-value(0, 0, 10, 0);
78 z-index: 1;
79 .input-control {
80 @include font(null, 15px, null);
81 @include line-height(1.5);
82 @include wh-value(100%, 42px);
83 @include padding-value(0, 30, 0, 65);
84 @include flexbox(block, null, null, null, null, null);
85 @include roundedCorners(25);
86 @include border(all, 0, solid, $gray-80);
87 @include background(null, $white, null, null, null);
88 &:focus + .input-icon {
89 color: $cerise-pink;
90 @include padding-value(0, 0, 0, 25);
91 }
92 }
93 .input-icon {
94 @include font(null, 13px, null);
95 @include flexbox(flex, null, null, null, center, null);
96 @include position_value(absolute, null, null, 0, 0);
97 @include wh-value(100%, 100%);
98 @include padding-value(0, 0, 0, 35);
99 @include roundedCorners(25);
100 @include transition(all, 0.5s, null, null);
101 pointer-events: none;
102 color: $gray-600;
103 }
SANDHYA.JS11322582023-10-12 16:23:38 +0530104 .input-icon-eye {
105 @include font(null, 13px, null);
106 @include flexbox(flex, null, null, null, center, null);
107 @include roundedCorners(25);
108 @include position_value(absolute, null, null, 0, 0);
109 left: 245px;
110 top: 4px;
111 @include transition(all, 0.5s, null, null);
112 color: $gray-600;
113 cursor: pointer;
114 }
115 input::-ms-reveal, input::-ms-clear {
116 display: none;
117 }
kumaran.m3b4814a2020-05-01 19:48:54 +0530118 }
119 .submit-btn {
120 @include background(null, $white, null, null, null);
121 @include roundedCornersPercentage(50%);
122 @include border(all, 0, solid, $gray-80);
123 @include transition(all, 0.3s, null, null);
124 @include box-shadow(1px, 5px, 5px, 0px, rgba($black, 0.3), inset);
125 cursor: pointer;
126 @include font(null, 25px, null);
127 @include wh-value(60px, 60px);
128 @include margin-value(0, 0, 10, 0);
129 @include padding-value(0, 0, 0, 0);
130 color: $cerise-pink;
131 &:hover {
132 @include box-shadow(1px, 5px, 10px, 0px, rgba($black, 0.3));
133 }
134 .fa {
135 @include transition(all, 0.4s, null, null);
136 @include flexbox(block, null, null, null, null, null);
137 @include padding-value(18, 18, 18, 18);
138 &:hover {
139 transform: scale(1.2);
140 }
141 }
142 }
143 .input-validation-msg {
144 @include roundedCorners(25);
145 @include background(null, $cerise-pink, null, null, null);
146 @include margin-value(0, 0, 10, 0);
147 @include padding-value(1, 0, 1, 15);
148 @include font(null, 11px, null);
149 color: $white;
150 text-align: left;
151 }
152 }
153 }
154}
155.login-footer {
156 @include flexbox(flex, space-between, null, null, center, null);
157 @include position_value(fixed, null, null, 0px, null);
158 @include background(null, $purple, null, null, null);
159 @include wh-value(100%, 40px);
160 @include padding-value(0, 10, 0, 10);
161 color: $white;
162 opacity: 0.9;
163 a {
164 @include font(null, null, bold);
165 color: $white;
166 &:hover {
167 text-decoration: underline;
168 }
169 }
SANDHYA.JS1b17c432023-04-26 17:54:57 +0530170}
171::ng-deep #toast-container > div {
172 width: 400px;
173 @include background(null, $primary, null, null, null);
174 color: $white;
SANDHYA.JS6c686082024-06-10 21:39:41 +0530175}
176.forget{
177 cursor: pointer;
kumaran.m3b4814a2020-05-01 19:48:54 +0530178}