123 lines
1.7 KiB
CSS
123 lines
1.7 KiB
CSS
/* index.css */
|
|
html, body {
|
|
height: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont,
|
|
'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
color: #1f2937;
|
|
background-color: #f9fafb;
|
|
}
|
|
|
|
.layout {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
h1, h2, h3, h4 {
|
|
font-weight: 600;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
button {
|
|
font-family: inherit;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.topbar {
|
|
height: 56px;
|
|
background: #4CAF50;
|
|
color: white;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 16px;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.body {
|
|
flex: 1;
|
|
display: flex;
|
|
}
|
|
|
|
.sidebar {
|
|
width: 220px;
|
|
background: #f4f6f8;
|
|
}
|
|
|
|
.content {
|
|
flex: 1;
|
|
padding: 16px;
|
|
}
|
|
|
|
.user-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.user-name {
|
|
font-weight: 500;
|
|
}
|
|
|
|
.logout-btn {
|
|
background: transparent;
|
|
border: 1px solid white;
|
|
color: white;
|
|
padding: 4px 10px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* login */
|
|
.login-box {
|
|
width: 320px;
|
|
padding: 32px;
|
|
background: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 14px;
|
|
}
|
|
|
|
.login-title {
|
|
text-align: center;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.login-input {
|
|
height: 40px;
|
|
padding: 0 12px;
|
|
font-size: 14px;
|
|
border: 1px solid #dcdfe3;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.login-input:focus {
|
|
outline: none;
|
|
border-color: #4CAF50;
|
|
}
|
|
|
|
.login-button {
|
|
height: 40px;
|
|
font-size: 14px;
|
|
border-radius: 4px;
|
|
border: none;
|
|
background: #4CAF50;
|
|
color: white;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.login-button:disabled {
|
|
background: #b5d6b8;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.login-error {
|
|
font-size: 13px;
|
|
color: #d32f2f;
|
|
text-align: center;
|
|
}
|
|
|