149 lines
2.1 KiB
CSS
149 lines
2.1 KiB
CSS
body {
|
|
margin: 0;
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
|
|
/* Top bar */
|
|
.top-bar {
|
|
height: 40px;
|
|
background-color: orange;
|
|
color: #fff;
|
|
font-weight: bold;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
padding: 0 20px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Bottom bar */
|
|
.bottom-bar {
|
|
height: 40px;
|
|
background-color: orange;
|
|
color: white;
|
|
display: flex;
|
|
justify-content: flex;
|
|
align-items: center;
|
|
padding: 0 20px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* Container */
|
|
.login-container {
|
|
display: flex;
|
|
/* flex-wrap: wrap; */
|
|
height: calc(100vh - 80px);
|
|
}
|
|
|
|
/* Left panel */
|
|
.login-left {
|
|
flex: 2;
|
|
min-width: 300px;
|
|
}
|
|
|
|
.bg-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
/* Right panel */
|
|
.login-right {
|
|
flex: 1;
|
|
min-width: 300px;
|
|
padding: 40px;
|
|
background-color: #f4f4f4;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
margin-bottom: 30px;
|
|
color: #004aad;
|
|
text-align: center;
|
|
}
|
|
|
|
.logo span {
|
|
display: block;
|
|
font-size: 18px;
|
|
color: orange;
|
|
}
|
|
|
|
.input-box {
|
|
width: 75%;
|
|
/* height: 30px; */
|
|
padding: 15px;
|
|
margin-bottom: 15px;
|
|
font-size: 16px;
|
|
border: 1px solid #ccc;
|
|
text-align: center;
|
|
}
|
|
|
|
.input-box.ng-invalid.ng-touched {
|
|
border-color: red;
|
|
}
|
|
|
|
/* Error */
|
|
.error-message {
|
|
color: red;
|
|
font-size: 20px;
|
|
margin-bottom: 3px;
|
|
width: 80%;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Button */
|
|
.login-btn {
|
|
width: 80%;
|
|
padding: 12px;
|
|
background-color: orange;
|
|
border: none;
|
|
color: white;
|
|
font-size: 16px;
|
|
margin-bottom: 20px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Keypad */
|
|
.numpad {
|
|
width: 80%;
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.row button {
|
|
flex: 1 1 30%;
|
|
margin: 0 5px;
|
|
padding: 10px;
|
|
font-size: 16px;
|
|
background-color: white;
|
|
border: 1px solid orange;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.back-btn {
|
|
background-color: #f9d3b4;
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.login-left{
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.form-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|