Skip to content

Commit 7aaf343

Browse files
author
danil-nizamov
committed
updated styles
1 parent ad3e918 commit 7aaf343

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

style.css

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/* ===========================
2-
YOUR STYLES (colors+font+button shape updated ONLY)
3-
=========================== */
4-
51
/* Variables mapped to the other app’s palette (light) */
62
:root {
73
--bg: #ffffff; /* base background */
@@ -33,7 +29,6 @@
3329
*{box-sizing:border-box}
3430
html,body{height:100%;margin:0}
3531

36-
/* FONT: switched to Work Sans; no other body props changed */
3732
body{
3833
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";
3934
color:var(--fg);
@@ -51,7 +46,6 @@
5146
main.layout{display:grid;grid-template-columns:300px 1fr;height:calc(100% - 50px)}
5247
#diagram-wrap{width:100%;height:100%}
5348

54-
/* was #fafbfc → subtle/elevated feel using a light tint from palette */
5549
#diagram{background:#f8fafc}
5650

5751
aside#sidebar{
@@ -60,20 +54,16 @@
6054
}
6155
.card{
6256
background:var(--box);
63-
border:1px solid #e2e8f0; /* slightly lighter than --stroke like your original #eee */
57+
border:1px solid #e2e8f0;
6458
border-radius:8px;padding:10px;margin-bottom:10px
6559
}
6660
.row{display:flex;align-items:center;gap:.5rem}
6761
.row-between{display:flex;align-items:center;justify-content:space-between}
6862
label{display:flex;flex-direction:column;gap:.25rem;margin:.4rem 0}
69-
/* Keep checkbox + text on one line for labels that use .row */
7063
label.row{flex-direction:row;align-items:center;gap:.5rem}
7164

72-
/* Inputs keep their original 6px radius; border color updated to palette */
7365
input,select,button{padding:.5rem;border:1px solid #e2e8f0;border-radius:6px;font:inherit}
7466
input[type="checkbox"]{padding:0}
75-
76-
/* BUTTON SHAPE ONLY: round buttons more without touching inputs */
7767
button{cursor:pointer;border-radius:.5rem}
7868

7969
/* Danger button colors mapped to semantic tokens (no layout change) */
@@ -88,7 +78,6 @@
8878
text{font-size:12px;fill:var(--fg);dominant-baseline:middle}
8979
.table-title{font-weight:600}
9080

91-
/* Keep selection accent; tables’ own data colors are not changed */
9281
.table.selected rect{stroke:var(--accent);stroke-width:2}
9382

9483
.table .drag-handle,
@@ -98,7 +87,6 @@
9887
.edge{stroke:var(--fk);stroke-width:1.5;fill:none}
9988
.edge-marker{fill:var(--fk)}
10089

101-
/* Drag button visuals mapped to palette neutrals */
10290
.drag-btn-bg { fill: #f1f5f9; stroke: #cbd5e1; }
10391
.drag-btn-dot { fill: rgb(73, 85, 115); }
10492

@@ -119,13 +107,12 @@
119107
font-weight: 600;
120108
}
121109

122-
/* Optional: let header bg take full width neatly (no extra styles required) */
123110
.table-header-bg { /* fill set in SVG */ }
124111

125112
/* --- help button alignment --- */
126113
.spacer { flex: 1; }
127114
#btn-help { margin-left: auto; }
128-
/* --- anchor that looks like a button (no libraries) --- */
115+
129116
.as-button {
130117
display: inline-block;
131118
padding: .5rem .75rem;

0 commit comments

Comments
 (0)