first jiwoos commit
This commit is contained in:
419
webapp/static/style.css
Normal file
419
webapp/static/style.css
Normal file
@@ -0,0 +1,419 @@
|
||||
:root {
|
||||
--bg: #f4f7f3;
|
||||
--panel: #ffffff;
|
||||
--ink: #1d2421;
|
||||
--muted: #66736d;
|
||||
--line: #dbe4dc;
|
||||
--primary: #1f6b53;
|
||||
--primary-soft: rgba(31, 107, 83, 0.12);
|
||||
--danger: #b34131;
|
||||
--warn: #9d6a12;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
|
||||
color: var(--ink);
|
||||
background:
|
||||
radial-gradient(circle at top right, rgba(31, 107, 83, 0.06), transparent 20%),
|
||||
linear-gradient(180deg, #f9fbf8 0%, var(--bg) 100%);
|
||||
}
|
||||
|
||||
.page {
|
||||
width: min(980px, calc(100% - 24px));
|
||||
margin: 24px auto 40px;
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.panel {
|
||||
background: var(--panel);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 20px;
|
||||
padding: 20px;
|
||||
box-shadow: 0 10px 28px rgba(27, 33, 29, 0.06);
|
||||
}
|
||||
|
||||
.hero {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
background: linear-gradient(135deg, rgba(31, 107, 83, 0.08), rgba(235, 242, 237, 0.9));
|
||||
}
|
||||
|
||||
.hero h1,
|
||||
.section-head h2,
|
||||
.section-head h1 {
|
||||
margin: 0 0 8px;
|
||||
}
|
||||
|
||||
.hero p,
|
||||
.helper,
|
||||
.empty {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.preview-box {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
padding: 14px 16px;
|
||||
border-radius: 16px;
|
||||
background: #fff;
|
||||
border: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.preview-label {
|
||||
font-size: 13px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
#game-id-preview {
|
||||
font-family: Consolas, "SFMono-Regular", monospace;
|
||||
font-size: 20px;
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.notice {
|
||||
padding: 14px 16px;
|
||||
border-radius: 16px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.notice.error {
|
||||
background: #fff3f1;
|
||||
color: var(--danger);
|
||||
border: 1px solid #efc6c0;
|
||||
}
|
||||
|
||||
.notice.success {
|
||||
background: #f0faf4;
|
||||
color: var(--primary);
|
||||
border: 1px solid #c6e1d1;
|
||||
}
|
||||
|
||||
.notice.warn {
|
||||
background: #fff8e7;
|
||||
color: var(--warn);
|
||||
border: 1px solid #ecd6a7;
|
||||
}
|
||||
|
||||
.job-form {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.grid-two,
|
||||
.grid-parse {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.grid-two {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.grid-parse {
|
||||
grid-template-columns: minmax(0, 1fr) 180px;
|
||||
}
|
||||
|
||||
label {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
label.wide {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
label span {
|
||||
font-size: 14px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
input,
|
||||
select {
|
||||
width: 100%;
|
||||
border: 1px solid #c9d4cb;
|
||||
border-radius: 12px;
|
||||
padding: 12px 14px;
|
||||
font-size: 15px;
|
||||
background: #fff;
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
input:focus,
|
||||
select:focus {
|
||||
outline: none;
|
||||
border-color: var(--primary);
|
||||
box-shadow: 0 0 0 4px var(--primary-soft);
|
||||
}
|
||||
|
||||
.flatpickr-input[readonly] {
|
||||
background: #fff;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.flatpickr-calendar {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 18px;
|
||||
box-shadow: 0 18px 40px rgba(32, 37, 35, 0.14);
|
||||
font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
|
||||
}
|
||||
|
||||
.flatpickr-months {
|
||||
background: linear-gradient(135deg, rgba(31, 107, 83, 0.10), rgba(255,255,255,0.95));
|
||||
border-radius: 18px 18px 0 0;
|
||||
}
|
||||
|
||||
.flatpickr-weekdays {
|
||||
background: #f7faf5;
|
||||
}
|
||||
|
||||
.flatpickr-day.selected,
|
||||
.flatpickr-day.startRange,
|
||||
.flatpickr-day.endRange {
|
||||
background: var(--primary);
|
||||
border-color: var(--primary);
|
||||
}
|
||||
|
||||
.flatpickr-day.today {
|
||||
border-color: #cb7f1a;
|
||||
}
|
||||
|
||||
.section-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.section-head.compact {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.action-strip {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.inline-field {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
max-width: 220px;
|
||||
}
|
||||
|
||||
.inline-field label {
|
||||
font-size: 14px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.button-row {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.btn,
|
||||
button.btn {
|
||||
border: 1px solid #d7e0d8;
|
||||
border-radius: 999px;
|
||||
padding: 12px 16px;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
background: #eff4ef;
|
||||
color: var(--ink);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.btn.primary {
|
||||
background: var(--primary);
|
||||
border-color: var(--primary);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.btn.danger {
|
||||
background: #f8e8e5;
|
||||
border-color: #efc6c0;
|
||||
color: var(--danger);
|
||||
}
|
||||
|
||||
.btn.warning {
|
||||
background: #fff3e0;
|
||||
border-color: #ffcc80;
|
||||
color: #e65100;
|
||||
}
|
||||
|
||||
.job-list {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.job-card {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 14px;
|
||||
padding: 14px;
|
||||
background: #fff;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.job-top {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.status {
|
||||
text-transform: uppercase;
|
||||
font-size: 12px;
|
||||
letter-spacing: 0.04em;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.status-success {
|
||||
border-left: 6px solid var(--primary);
|
||||
}
|
||||
|
||||
.status-running {
|
||||
border-left: 6px solid #c9831e;
|
||||
}
|
||||
|
||||
.status-failed {
|
||||
border-left: 6px solid var(--danger);
|
||||
}
|
||||
|
||||
.status-queued {
|
||||
border-left: 6px solid #7e8b83;
|
||||
}
|
||||
|
||||
.job-body {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
color: var(--muted);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.job-actions {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
margin-top: 10px;
|
||||
flex-wrap: wrap;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.text-link {
|
||||
color: var(--primary);
|
||||
text-decoration: none;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.log-preview-link {
|
||||
display: block;
|
||||
width: 100%;
|
||||
color: var(--ink);
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
overflow-wrap: anywhere;
|
||||
word-break: break-word;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.log-preview-link:hover,
|
||||
.text-link:hover {
|
||||
color: var(--primary);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.page {
|
||||
width: min(100% - 16px, 100%);
|
||||
margin: 16px auto 28px;
|
||||
}
|
||||
|
||||
.panel {
|
||||
padding: 16px;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
.grid-two,
|
||||
.grid-parse {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.button-row {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.section-head {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
}
|
||||
}
|
||||
|
||||
/* Inning Range Selection Styles */
|
||||
.inning-range-group {
|
||||
display: flex !important;
|
||||
flex-direction: row;
|
||||
align-items: flex-end;
|
||||
gap: 16px;
|
||||
max-width: none !important;
|
||||
width: 100%;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.inning-select-item {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
flex: 0 0 160px;
|
||||
}
|
||||
|
||||
.inning-split {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.inning-split select {
|
||||
padding: 10px 8px;
|
||||
}
|
||||
|
||||
.inning-split select:first-child {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.inning-split select:last-child {
|
||||
flex: 0 0 62px;
|
||||
}
|
||||
|
||||
.inning-select-item.checkbox-item {
|
||||
/* ... */
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 46px;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.inning-select-item.checkbox-item label {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
cursor: pointer;
|
||||
font-size: 15px;
|
||||
color: var(--ink);
|
||||
margin: 0;
|
||||
padding-bottom: 4px;
|
||||
}
|
||||
|
||||
.inning-select-item.checkbox-item input[type="checkbox"] {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
Reference in New Issue
Block a user