继续提交
This commit is contained in:
191
mengyadriftbottle-frontend/static/simple_admin.css
Normal file
191
mengyadriftbottle-frontend/static/simple_admin.css
Normal file
@@ -0,0 +1,191 @@
|
||||
:root {
|
||||
font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
|
||||
color: #1f1b2c;
|
||||
background-color: #f4f3ff;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
background: linear-gradient(135deg, #f4f3ff, #fbe7ff);
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.simple-admin-body {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
padding: 30px 12px 60px;
|
||||
}
|
||||
|
||||
.simple-admin-shell {
|
||||
width: min(1100px, 100%);
|
||||
background: rgba(255, 255, 255, 0.92);
|
||||
border-radius: 18px;
|
||||
box-shadow: 0 20px 50px rgba(97, 85, 150, 0.15);
|
||||
padding: 30px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.7);
|
||||
}
|
||||
|
||||
.simple-admin-header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 20px;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.simple-admin-header h1 {
|
||||
margin: 0 0 8px;
|
||||
font-size: 2rem;
|
||||
}
|
||||
|
||||
.simple-admin-header p {
|
||||
margin: 0;
|
||||
color: #6a5c8d;
|
||||
}
|
||||
|
||||
.simple-admin-link {
|
||||
text-decoration: none;
|
||||
background: #7c6ee4;
|
||||
color: #fff;
|
||||
padding: 10px 18px;
|
||||
border-radius: 999px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.simple-admin-panel {
|
||||
background: #fff;
|
||||
border-radius: 16px;
|
||||
padding: 20px;
|
||||
box-shadow: inset 0 0 0 1px #f1ecff;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.simple-admin-panel h2 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.simple-admin-alert {
|
||||
background: #e2f7ef;
|
||||
color: #1c6b43;
|
||||
border-left: 4px solid #34c38f;
|
||||
padding: 12px 16px;
|
||||
border-radius: 8px;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.simple-admin-stats {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
||||
gap: 16px;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.simple-admin-stats div {
|
||||
background: #fff;
|
||||
border-radius: 14px;
|
||||
padding: 18px;
|
||||
box-shadow: 0 10px 25px rgba(122, 113, 190, 0.12);
|
||||
}
|
||||
|
||||
.simple-admin-stats .label {
|
||||
display: block;
|
||||
color: #7c6fa6;
|
||||
margin-bottom: 6px;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.simple-admin-stats strong {
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
|
||||
.panel-heading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.panel-heading button {
|
||||
border: none;
|
||||
background: #6f7dff;
|
||||
color: #fff;
|
||||
padding: 8px 16px;
|
||||
border-radius: 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.simple-admin-table-wrapper {
|
||||
overflow-x: auto;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
th, td {
|
||||
padding: 12px;
|
||||
text-align: left;
|
||||
border-bottom: 1px solid #f0ebff;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
th {
|
||||
background: #faf8ff;
|
||||
font-weight: 600;
|
||||
color: #6a5c8d;
|
||||
}
|
||||
|
||||
.cell-title {
|
||||
font-weight: 600;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.cell-message {
|
||||
max-width: 280px;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
button.danger {
|
||||
background: #ff7a8a;
|
||||
border: none;
|
||||
color: #fff;
|
||||
padding: 6px 12px;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.empty {
|
||||
margin: 12px 0 0;
|
||||
color: #7a709c;
|
||||
}
|
||||
|
||||
code {
|
||||
background: #f3f0ff;
|
||||
padding: 2px 6px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.simple-admin-shell {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
th, td {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.cell-message {
|
||||
max-width: unset;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user