|  | 
| 1 |  | -/* =========================== | 
| 2 |  | -   YOUR STYLES (colors+font+button shape updated ONLY) | 
| 3 |  | -   =========================== */ | 
| 4 |  | - | 
| 5 | 1 | /* Variables mapped to the other app’s palette (light) */ | 
| 6 | 2 | :root { | 
| 7 | 3 |     --bg: #ffffff;                      /* base background */ | 
|  | 
| 33 | 29 |   *{box-sizing:border-box} | 
| 34 | 30 |   html,body{height:100%;margin:0} | 
| 35 | 31 | 
 | 
| 36 |  | -  /* FONT: switched to Work Sans; no other body props changed */ | 
| 37 | 32 |   body{ | 
| 38 | 33 |     font-family:"Work Sans","Work Sans Fallback",ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; | 
| 39 | 34 |     color:var(--fg); | 
|  | 
| 51 | 46 |   main.layout{display:grid;grid-template-columns:300px 1fr;height:calc(100% - 50px)} | 
| 52 | 47 |   #diagram-wrap{width:100%;height:100%} | 
| 53 | 48 | 
 | 
| 54 |  | -  /* was #fafbfc → subtle/elevated feel using a light tint from palette */ | 
| 55 | 49 |   #diagram{background:#f8fafc} | 
| 56 | 50 | 
 | 
| 57 | 51 |   aside#sidebar{ | 
|  | 
| 60 | 54 |   } | 
| 61 | 55 |   .card{ | 
| 62 | 56 |     background:var(--box); | 
| 63 |  | -    border:1px solid #e2e8f0; /* slightly lighter than --stroke like your original #eee */ | 
|  | 57 | +    border:1px solid #e2e8f0; | 
| 64 | 58 |     border-radius:8px;padding:10px;margin-bottom:10px | 
| 65 | 59 |   } | 
| 66 | 60 |   .row{display:flex;align-items:center;gap:.5rem} | 
| 67 | 61 |   .row-between{display:flex;align-items:center;justify-content:space-between} | 
| 68 | 62 |   label{display:flex;flex-direction:column;gap:.25rem;margin:.4rem 0} | 
| 69 |  | -  /* Keep checkbox + text on one line for labels that use .row */ | 
| 70 | 63 |   label.row{flex-direction:row;align-items:center;gap:.5rem} | 
| 71 | 64 | 
 | 
| 72 |  | -  /* Inputs keep their original 6px radius; border color updated to palette */ | 
| 73 | 65 |   input,select,button{padding:.5rem;border:1px solid #e2e8f0;border-radius:6px;font:inherit} | 
| 74 | 66 |   input[type="checkbox"]{padding:0} | 
| 75 |  | - | 
| 76 |  | -  /* BUTTON SHAPE ONLY: round buttons more without touching inputs */ | 
| 77 | 67 |   button{cursor:pointer;border-radius:.5rem} | 
| 78 | 68 | 
 | 
| 79 | 69 |   /* Danger button colors mapped to semantic tokens (no layout change) */ | 
|  | 
| 88 | 78 |   text{font-size:12px;fill:var(--fg);dominant-baseline:middle} | 
| 89 | 79 |   .table-title{font-weight:600} | 
| 90 | 80 | 
 | 
| 91 |  | -  /* Keep selection accent; tables’ own data colors are not changed */ | 
| 92 | 81 |   .table.selected rect{stroke:var(--accent);stroke-width:2} | 
| 93 | 82 | 
 | 
| 94 | 83 |   .table .drag-handle, | 
|  | 
| 98 | 87 |   .edge{stroke:var(--fk);stroke-width:1.5;fill:none} | 
| 99 | 88 |   .edge-marker{fill:var(--fk)} | 
| 100 | 89 | 
 | 
| 101 |  | -  /* Drag button visuals mapped to palette neutrals */ | 
| 102 | 90 |   .drag-btn-bg { fill: #f1f5f9; stroke: #cbd5e1; } | 
| 103 | 91 |   .drag-btn-dot { fill: rgb(73, 85, 115); } | 
| 104 | 92 | 
 | 
|  | 
| 119 | 107 |     font-weight: 600; | 
| 120 | 108 |   } | 
| 121 | 109 | 
 | 
| 122 |  | -  /* Optional: let header bg take full width neatly (no extra styles required) */ | 
| 123 | 110 |   .table-header-bg { /* fill set in SVG */ } | 
| 124 | 111 | 
 | 
| 125 | 112 |   /* --- help button alignment --- */ | 
| 126 | 113 | .spacer { flex: 1; } | 
| 127 | 114 | #btn-help { margin-left: auto; } | 
| 128 |  | -/* --- anchor that looks like a button (no libraries) --- */ | 
|  | 115 | + | 
| 129 | 116 | .as-button { | 
| 130 | 117 |   display: inline-block; | 
| 131 | 118 |   padding: .5rem .75rem; | 
|  | 
0 commit comments