41 righe
2,4 KiB
CSS
/* Estilo simple: Arial, colores neutros. */
| |||
* { box-sizing: border-box; }
| |||
body { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: #222; background: #f4f5f7; }
| |||
header, main { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
| |||
header { padding-top: 20px; }
| |||
h1 { font-size: 22px; margin: 0 0 6px; }
| |||
h2 { font-size: 18px; margin: 0 0 4px; }
| |||
p { margin: 6px 0; }
| |||
code { background: #e8eaee; padding: 1px 4px; border-radius: 3px; }
| |||
a { color: #1a5fb4; }
| |||
| |||
.drop { display: block; margin-top: 14px; padding: 22px; text-align: center; background: #fff; border: 2px dashed #aab; border-radius: 6px; cursor: pointer; }
| |||
.drop.over { border-color: #1a5fb4; background: #eef4fc; }
| |||
.drop input { display: none; }
| |||
#msg { color: #555; min-height: 18px; }
| |||
#msg.err { color: #b00020; font-weight: bold; }
| |||
| |||
section { margin-top: 14px; }
| |||
#info { background: #fff; border: 1px solid #dde; border-radius: 6px; padding: 14px; }
| |||
.sub { color: #555; word-break: break-all; }
| |||
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
| |||
.chip { background: #eef0f4; border-radius: 12px; padding: 3px 10px; }
| |||
.stats { color: #333; }
| |||
.warn { background: #fff4e5; border: 1px solid #f0b060; padding: 6px 10px; border-radius: 4px; }
| |||
| |||
.bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
| |||
button { font-family: inherit; font-size: 13px; padding: 5px 12px; border: 1px solid #aab; background: #fff; border-radius: 4px; cursor: pointer; }
| |||
button:hover { background: #eef4fc; }
| |||
| |||
/* Tabla: filas de alto fijo (28px, igual que ROW_H en app.js) */
| |||
.scroller { height: 60vh; min-height: 260px; overflow: auto; background: #fff; border: 1px solid #dde; border-radius: 6px; position: relative; }
| |||
.row { display: grid; grid-template-columns: 60px 140px 90px 90px 90px 100px 80px 120px 150px; align-items: center; min-width: 940px; padding: 0 8px; }
| |||
.row span { padding: 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
| |||
.row.head { position: sticky; top: 0; z-index: 2; height: 32px; background: #e8eaee; font-weight: bold; border-bottom: 1px solid #ccd; }
| |||
.row.alt { background: #f8f9fb; }
| |||
.body { position: relative; min-width: 940px; }
| |||
.rows { position: absolute; left: 0; right: 0; }
| |||
.c-v, .c-n { text-align: right; }
| |||
.c-i.pos { color: #1b7f3b; }
| |||
.c-i.neg { color: #b00020; }
| |||
.row:not(.head) .c-id, .row:not(.head) .c-m { color: #667; font-size: 12px; }
|