« Back to History
yarn_entry.css
|
20260721_154032.php
Initial Bulk Import
Copy Code
body.page-yarn-entry { background: #f6bfc3; font-family: 'Inter', 'Roboto', Arial, sans-serif; margin: 0; min-height: 100vh; } .wrap { max-width: 900px; margin: 32px auto; padding: 0 20px; } .hdr { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; } .seg { display: flex; gap: 10px; } .seg button { background: #e8f5e9; color: #18634b; border: none; border-radius: 18px; padding: 6px 18px; font-size: 1rem; letter-spacing: 0.1em; cursor: pointer; transition: background 0.2s; margin-bottom: 0; } .seg button.active, .seg button:hover { background: #72e3b8; color: #065f46; } .links .linkbtn { background: #eee; color: #0e3749; border-radius: 14px; padding: 6px 18px; text-decoration: none; font-size: 1rem; border: none; margin-left: 8px; box-shadow: 0 2px 6px rgba(22,99,75,0.04); transition: background 0.2s; } .links .linkbtn:hover { background: #f2fff7; } .grid { display: flex; gap: 24px; justify-content: center; } .card { background: #374151; color: white; border-radius: 18px; padding: 20px 22px; min-width: 260px; box-shadow: 0 6px 16px rgba(60,10,40,0.10), 0 2px 8px rgba(0,0,0,0.07); margin-bottom: 0; transition: box-shadow 0.3s; } .card .title { font-size: 1.07rem; font-weight: 600; margin-bottom: 5px; letter-spacing: 0.03em; } .muted { color: #cbd5e1; font-size: 0.97rem; margin-bottom: 4px; } #diffPill .pill { display: inline-block; border-radius: 12px; padding: 3px 14px; font-size: 0.93rem; font-weight: 500; } .pill.ok { background: #cdfccb; color: #063b1b; } .pill.warn { background: #ffd9b9; color: #774600; } .pill.bad { background: #ffb7b9; color: #7c112b; } .pill.na { background: #eee; color: #444; } form#entryForm { margin: 0; } .row { display: flex; gap: 20px; margin-bottom: 16px; } .row > div { flex: 1; min-width: 0; } label { display: block; font-size: 0.98rem; color: #d1fae5; margin-bottom: 4px; letter-spacing: 0.02em; } select, input[type="date"], input[type="number"], input[type="text"] { width: 100%; padding: 8px 13px; font-size: 1rem; border: 1px solid #e5e7eb; background: #fff; border-radius: 10px; box-sizing: border-box; margin-bottom: 0; outline: none; transition: border 0.2s, box-shadow 0.2s; } select:focus, input:focus { border-color: #109954; box-shadow: 0 0 0 2px #b8ffe7; } .btns { display: flex; gap: 12px; margin-top: 14px; } .btn { font-size: 1rem; border-radius: 12px; padding: 8px 22px; border: none; cursor: pointer; font-weight: 600; transition: background 0.18s, color 0.18s; margin-bottom: 0; } .btn.primary { background: #12ca7a; color: white; } .btn.ghost { background: #eef2f7; color: #374151; border: 1px solid #e5e7eb; } .btn.primary:hover, .btn.ghost:hover { background: #75f3c0; color: #063b1b; } .flash { margin: 18px 0 0 0; border-radius: 10px; padding: 10px 18px; font-weight: 500; background: #fff1f6; color: #af2464; box-shadow: 0 2px 8px rgba(200,40,100,0.08); } .flash.success { background: #ddf8ec; color: #059669; } .flash.error { background: #ffe5eb; color: #db2777; } @media (max-width: 900px) { .grid { flex-direction: column; gap: 18px; } .wrap { max-width: 100vw; padding: 0 8px; } } @media (max-width: 550px) { .row { flex-direction: column; gap: 7px; } .card { min-width: 0; padding: 10px 7px; } } /* Miscellaneous for subtle UI polish */ hr { border: none; border-top: 1px solid #efe6e6; margin: 14px 0; } body.page-yarn-entry { background: #f6bfc3; font-family: 'Inter', 'Roboto', Arial, sans-serif; margin: 0; min-height: 100vh; } .wrap { max-width: 1100px; margin: 34px auto; padding: 0 20px; } .hdr { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; } .seg { display: flex; gap: 10px; } .seg button { background: #e8f5e9; color: #18634b; border: none; border-radius: 18px; padding: 8px 20px; font-size: 1rem; letter-spacing: 0.1em; cursor: pointer; margin-bottom: 6px; transition: background 0.2s; } .seg button.active, .seg button:hover { background: #72e3b8; color: #065f46; } .links .linkbtn { background: #eee; color: #0e3749; border-radius: 14px; padding: 8px 20px; text-decoration: none; font-size: 1rem; border: none; margin-left: 8px; box-shadow: 0 2px 6px rgba(22,99,75,0.04); transition: background 0.2s; } .links .linkbtn:hover { background: #f2fff7; } .grid { display: flex; gap: 32px; justify-content: center; } .card { /* padding: 26px 32px; border-radius: 18px; background: #374151; color: #fff; box-shadow: 0 6px 16px rgba(60,10,40,0.12), 0 2px 8px rgba(0,0,0,0.08); margin-bottom: 0; transition: box-shadow 0.3s; } .card .title { font-size: 1.07rem; font-weight: 600; margin-bottom: 7px; letter-spacing: 0.03em; } .muted { color: #cbd5e1; font-size: 0.97rem; margin-bottom: 4px; } #diffPill .pill { display: inline-block; border-radius: 12px; padding: 3px 14px; font-size: 0.93rem; font-weight: 500; } .pill.ok { background: #cdfccb; color: #063b1b; } .pill.warn { background: #ffd9b9; color: #774600; } .pill.bad { background: #ffb7b9; color: #7c112b; } .pill.na { background: #eee; color: #444; } form#entryForm { margin: 0; } .row { display: flex; gap: 24px; margin-bottom: 18px; } .row > div { flex: 1; min-width: 0; } label { display: block; font-size: 1rem; color: #d1fae5; margin-bottom: 8px; letter-spacing: 0.02em; } select, input[type="date"], input[type="number"], input[type="text"] { width: 100%; padding: 10px 14px; font-size: 1rem; border: 1px solid #e5e7eb; background: #fff; border-radius: 10px; box-sizing: border-box; margin-bottom: 6px; outline: none; transition: border 0.2s, box-shadow 0.2s; } select:focus, input:focus { border-color: #109954; box-shadow: 0 0 0 2px #b8ffe7; } .btns { display: flex; gap: 14px; margin-top: 16px; } .btn, .btns button { font-size: 1rem; border-radius: 12px; padding: 10px 24px; border: none; cursor: pointer; font-weight: 600; margin-right: 12px; transition: background 0.18s, color 0.18s; margin-bottom: 6px; } .btn.primary { background: #12ca7a; color: white; } .btn.ghost { background: #eef2f7; color: #374151; border: 1px solid #e5e7eb; } .btn.primary:hover, .btn.ghost:hover { background: #75f3c0; color: #063b1b; } .flash { margin: 18px 0 0 0; border-radius: 10px; padding: 12px 22px; font-weight: 500; background: #fff1f6; color: #af2464; box-shadow: 0 2px 8px rgba(200,40,100,0.08); } .flash.success { background: #ddf8ec; color: #059669; } .flash.error { background: #ffe5eb; color: #db2777; } /* Table Style for Records */ table { width: 100%; border-collapse: separate; border-spacing: 0; background: #374151; color: #fff; border-radius: 12px; overflow: hidden; margin-top: 8px; } th, td { padding: 10px 16px; text-align: left; border-bottom: 1px solid #2e3342; } th { background: #2E3140; font-weight: 600; } tr:last-child td { border-bottom: none; } /* Responsive */ @media (max-width: 900px) { .grid { flex-direction: column; gap: 20px; } .wrap { max-width: 100vw; padding: 0 8px; } .card { padding: 16px 8px; } table th, table td { padding: 8px; } } @media (max-width: 550px) { .row { flex-direction: column; gap: 7px; } .card { min-width: 0; padding: 10px 7px; } } /* Miscellaneous for subtle UI polish */ hr { border: none; border-top: 1px solid #efe6e6; margin: 16px 0; } .card { padding: 26px 32px; /* 26px top/bottom, 32px left/right */ /* ... */ } table, th, td { color: #fff !important; /* Table header and data hamesha white */ background: #374151 !important; /* Dark background, white text visible */ opacity: 1 !important; /* No faded/transparent text */ } th { background: #2E3140 !important; /* Header row dark, readable */ } table tr:nth-child(even) td { background: #36415e !important; /* Alternate row dark shade, white text */ } table tr td, table tr th { color: #fff !important; }