api-nexus
Version:
Generation of API documentation for the GraphQl and Rest API
78 lines (71 loc) • 1.38 kB
CSS
.login-container {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
background-color: #f8f9fa
}
.login-page {
padding: 40px;
background-color: #fff;
border: 1px solid #ddd;
border-radius: 8px;
box-shadow: 0 4px 62px rgba(0, 0, 0, 0.1);
width: 22%;
}
h2 {
font-size: 24px;
margin: 20px 0;
color: #333;
}
label {
display: block;
margin-bottom: 5px;
font-weight: bold;
color: #666;
}
input {
width: 100%;
padding: 10px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 4px;
background-color: #fff;
font-size: 16px;
}
button {
width: 100%;
padding: 10px;
background-color: #007bff;
color: #fff;
border: none;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #0056b3;
}
.error-message {
color: red;
text-align: center;
font-weight: bold;
margin-top: 10px;
}
/* Add this to your CSS file */
.password-input {
position: relative;
}
.password-input input {
padding-right: 2.5rem;
/* Adjust based on the eye icon size */
}
.password-input .password-toggle {
position: absolute;
top: 50%;
right: 1rem;
transform: translateY(-50%);
cursor: pointer;
}