295 lines
4.0 KiB
CSS
295 lines
4.0 KiB
CSS
:root {
|
|
color: #1f2937;
|
|
font-family:
|
|
Inter,
|
|
ui-sans-serif,
|
|
system-ui,
|
|
-apple-system,
|
|
BlinkMacSystemFont,
|
|
"Segoe UI",
|
|
sans-serif;
|
|
background: #f3f5f8;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-width: 320px;
|
|
}
|
|
|
|
.app-shell {
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.sidebar {
|
|
background: #fff !important;
|
|
border-right: 1px solid #e5e7eb;
|
|
}
|
|
|
|
.brand {
|
|
align-items: center;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
display: flex;
|
|
gap: 12px;
|
|
height: 44px;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.brand-mark {
|
|
align-items: center;
|
|
background: #1677ff;
|
|
border-radius: 6px;
|
|
color: #fff;
|
|
display: flex;
|
|
font-weight: 700;
|
|
height: 32px;
|
|
justify-content: center;
|
|
width: 32px;
|
|
}
|
|
|
|
.brand-name {
|
|
color: #111827;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.brand-subtitle {
|
|
color: #6b7280;
|
|
font-size: 12px;
|
|
line-height: 18px;
|
|
}
|
|
|
|
.side-menu {
|
|
background: transparent;
|
|
border-inline-end: 0 !important;
|
|
}
|
|
|
|
.topbar {
|
|
align-items: center;
|
|
background: #fff !important;
|
|
border-bottom: 1px solid #e5e7eb;
|
|
color: #1f2937;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0 14px;
|
|
height: 44px !important;
|
|
}
|
|
|
|
.content {
|
|
padding: 14px;
|
|
}
|
|
|
|
.breadcrumb {
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.temple-selector {
|
|
width: 160px;
|
|
}
|
|
|
|
.workspace {
|
|
background: #fff;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.page-heading {
|
|
align-items: center;
|
|
display: flex;
|
|
gap: 16px;
|
|
justify-content: space-between;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.page-heading h1 {
|
|
font-size: 20px;
|
|
line-height: 28px;
|
|
margin: 0;
|
|
}
|
|
|
|
.page-heading p {
|
|
color: #6b7280;
|
|
font-size: 13px;
|
|
line-height: 20px;
|
|
margin: 4px 0 0;
|
|
}
|
|
|
|
.query-bar {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.table-toolbar {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.square-preview,
|
|
.square-preview img {
|
|
border-radius: 6px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.ad-preview,
|
|
.ad-preview img {
|
|
border-radius: 6px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.login-page {
|
|
align-items: center;
|
|
background: linear-gradient(135deg, rgba(22, 119, 255, 0.12), transparent 36%), #f3f5f8;
|
|
display: flex;
|
|
min-height: 100vh;
|
|
padding: 24px;
|
|
}
|
|
|
|
.login-panel {
|
|
background: #fff;
|
|
border: 1px solid #e5e7eb;
|
|
border-radius: 8px;
|
|
box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
|
|
margin: 0 auto;
|
|
max-width: 420px;
|
|
padding: 28px;
|
|
width: 100%;
|
|
}
|
|
|
|
.login-brand {
|
|
align-items: center;
|
|
display: flex;
|
|
gap: 14px;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.login-brand h1 {
|
|
font-size: 22px;
|
|
line-height: 30px;
|
|
margin: 0;
|
|
}
|
|
|
|
.login-brand p {
|
|
color: #6b7280;
|
|
font-size: 13px;
|
|
line-height: 20px;
|
|
margin: 2px 0 0;
|
|
}
|
|
|
|
.login-form {
|
|
width: 100%;
|
|
}
|
|
|
|
.login-options {
|
|
align-items: center;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin: -4px 0 18px;
|
|
}
|
|
|
|
.captcha-row {
|
|
display: grid;
|
|
gap: 10px;
|
|
grid-template-columns: minmax(0, 1fr) 132px;
|
|
}
|
|
|
|
.empty-icon {
|
|
color: #1677ff;
|
|
font-size: 56px;
|
|
}
|
|
|
|
.full-width-control {
|
|
width: 100%;
|
|
}
|
|
|
|
.upload-text {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.product-detail-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: calc(100vh - 142px);
|
|
height: calc(100dvh - 142px);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.product-detail-body,
|
|
.product-detail-body .ant-spin-nested-loading,
|
|
.product-detail-body .ant-spin-container,
|
|
.product-detail-form,
|
|
.product-detail-tabs {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
}
|
|
|
|
.product-detail-tabs .ant-tabs-content-holder {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.product-detail-tabs .ant-tabs-content {
|
|
height: 100%;
|
|
}
|
|
|
|
.product-detail-tabs .ant-tabs-tabpane {
|
|
height: 100%;
|
|
overflow: auto;
|
|
}
|
|
|
|
.product-rich-editor {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
min-height: 0;
|
|
}
|
|
|
|
.product-rich-editor .ql-container {
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
|
|
.product-rich-editor .ql-editor {
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.app-shell {
|
|
display: block;
|
|
}
|
|
|
|
.sidebar {
|
|
display: none;
|
|
}
|
|
|
|
.topbar,
|
|
.page-heading {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.content {
|
|
padding: 2px;
|
|
}
|
|
|
|
.workspace {
|
|
padding: 14px;
|
|
}
|
|
|
|
.product-rich-editor {
|
|
min-height: 360px;
|
|
}
|
|
|
|
.login-page {
|
|
padding: 16px;
|
|
}
|
|
}
|