init
This commit is contained in:
@@ -0,0 +1,169 @@
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html,
|
||||
body,
|
||||
#root {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
color: #1f2937;
|
||||
background: #eef2f7;
|
||||
}
|
||||
|
||||
.app-shell {
|
||||
display: grid;
|
||||
grid-template-columns: 380px minmax(0, 1fr);
|
||||
gap: 12px;
|
||||
height: 100vh;
|
||||
padding: 12px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.side-panel,
|
||||
.main-panel {
|
||||
min-height: 0;
|
||||
border: 1px solid #d9e1ea;
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.side-panel {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 14px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.main-panel {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 14px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.brand-row {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 10px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.brand-row h4 {
|
||||
margin: 0 0 2px;
|
||||
}
|
||||
|
||||
.config-form .ant-form-item {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.full {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.cookie-box textarea,
|
||||
.cookie-box {
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
||||
}
|
||||
|
||||
.action-bar {
|
||||
display: flex;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.run-row {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.run-row .ant-btn-primary {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.account-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
min-height: 30px;
|
||||
padding-top: 12px;
|
||||
}
|
||||
|
||||
.stats-row {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.stats-row .ant-statistic {
|
||||
padding: 10px 12px;
|
||||
border: 1px solid #e5ebf2;
|
||||
border-radius: 6px;
|
||||
background: #f8fafc;
|
||||
}
|
||||
|
||||
.main-panel .ant-tabs {
|
||||
min-height: 0;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.main-panel .ant-tabs-content,
|
||||
.main-panel .ant-tabs-tabpane {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.log-view {
|
||||
height: calc(100vh - 170px);
|
||||
min-height: 360px;
|
||||
overflow: auto;
|
||||
border: 1px solid #e5ebf2;
|
||||
border-radius: 6px;
|
||||
background: #0f172a;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.log-line {
|
||||
display: grid;
|
||||
grid-template-columns: 92px 64px minmax(0, 1fr);
|
||||
align-items: start;
|
||||
gap: 8px;
|
||||
min-height: 24px;
|
||||
color: #cbd5e1;
|
||||
font-size: 12px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.log-line code {
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.log-line.level-error {
|
||||
color: #fecaca;
|
||||
}
|
||||
|
||||
.log-line.level-debug {
|
||||
color: #93c5fd;
|
||||
}
|
||||
|
||||
.ant-table-wrapper {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.app-shell {
|
||||
grid-template-columns: 1fr;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.side-panel,
|
||||
.main-panel {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.log-view {
|
||||
height: 420px;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user