-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
202 lines (191 loc) · 15.1 KB
/
Copy pathstyles.css
File metadata and controls
202 lines (191 loc) · 15.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
:root {
--ink: #16202a;
--paper: #f4f7fa;
--muted: #64748b;
--line: #d9e1e8;
--saffron: #f9b84b;
--coral: #d96856;
--teal: #168b7d;
--cream: #ffffff;
--navy: #102a43;
--blue: #1769aa;
--blue-dark: #0f5791;
--success: #0b7869;
--danger: #b42318;
--shadow: 0 8px 24px rgba(22, 32, 42, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
min-width: 320px;
background: var(--paper);
color: var(--ink);
font-family: Manrope, sans-serif;
}
a { color: inherit; text-decoration: none; }
.site-shell { max-width: 1280px; margin: auto; padding: 0 32px; }
.topbar {
min-height: 68px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid var(--line);
}
.brand, .eyebrow, .tool-number, footer, .tool-icon { font-family: "DM Mono", monospace; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); font-size: 12px; font-weight: 500; letter-spacing: .7px; }
.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 6px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 500; letter-spacing: 0; box-shadow: 0 2px 5px rgba(23, 105, 170, .24); }
.brand-name { white-space: nowrap; }
.topbar p { color: var(--muted); font-size: 12px; }
.hero { min-height: 330px; margin: 20px 0 0; padding: 42px 52px; display: grid; align-content: center; border: 1px solid #cbd9e6; border-radius: 8px; background: linear-gradient(112deg, #edf5fb 0%, #f8fbfd 58%, #e3f2ef 100%); }
.eyebrow { margin: 0 0 15px; color: var(--blue); font-size: 11px; font-weight: 500; letter-spacing: 1px; }
h1, h2 { font-family: Manrope, sans-serif; letter-spacing: 0; }
h1 { max-width: 760px; margin: 0; color: var(--navy); font-size: clamp(42px, 6vw, 70px); font-weight: 700; line-height: 1.12; }
h1 em { color: var(--blue); font-style: normal; font-weight: 700; }
.hero-copy { max-width: 535px; margin: 17px 0 21px; color: #435568; font-size: 15px; line-height: 1.6; }
.primary-link { width: fit-content; padding: 11px 16px; border: 1px solid var(--blue); border-radius: 5px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; }
.primary-link:hover { background: var(--blue-dark); }
.primary-link span { margin-left: 10px; }
.capability-banner { display: grid; grid-template-columns: minmax(280px, 1fr) auto auto auto; gap: 22px; align-items: center; margin-top: 16px; padding: 14px 18px; border: 1px solid #c4d7e6; border-radius: 7px; background: var(--navy); color: #edf7ff; box-shadow: 0 6px 16px rgba(16, 42, 67, .11); }
.banner-intro { display: flex; min-width: 0; gap: 9px; align-items: center; color: #c7d8e6; font-size: 12px; }
.banner-intro strong { color: #fff; font: 500 11px "DM Mono", monospace; letter-spacing: .55px; white-space: nowrap; }
.banner-signal { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #5dd1bc; box-shadow: 0 0 0 4px rgba(93, 209, 188, .16); }
.banner-stat { display: grid; grid-template-columns: auto auto; gap: 7px; align-items: baseline; white-space: nowrap; }
.banner-stat strong { color: #7cd9ef; font: 700 22px Manrope, sans-serif; }
.banner-stat span, .banner-topics { color: #b2c8d8; font: 10px "DM Mono", monospace; letter-spacing: .55px; }
.banner-topics { display: flex; gap: 10px; justify-content: flex-end; white-space: nowrap; }
.banner-topics span + span::before { margin-right: 10px; color: #5a7891; content: "/"; }
.tool-index { padding: 64px 0 80px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.section-heading .eyebrow { margin: 0; }
h2 { margin: 0; color: var(--navy); font-size: clamp(24px, 3vw, 34px); font-weight: 700; }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool-card { position: relative; min-height: 250px; padding: 24px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 7px; background: var(--cream); box-shadow: 0 2px 5px rgba(22, 32, 42, .025); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.tool-card:hover { transform: translateY(-2px); border-color: #a9c0d2; box-shadow: var(--shadow); }
.tool-grid > article.tool-card { padding: 0; }
.tool-card-link { display: flex; min-height: 250px; padding: 24px; flex-direction: column; color: inherit; }
.tool-card-link:hover { color: inherit; }
.catalog-controls { display: grid; grid-template-columns: minmax(260px, 1fr) 160px auto auto; gap: 12px; align-items: end; margin: 0 0 22px; padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: var(--cream); }
.catalog-search-label, .catalog-group-label { display: grid; gap: 7px; color: #405569; font: 10px "DM Mono", monospace; letter-spacing: .4px; }
.catalog-controls input[type="search"], .catalog-controls select { width: 100%; height: 35px; padding: 8px 10px; border: 1px solid #b9c8d4; border-radius: 4px; background: #fff; color: var(--ink); font: 12px "DM Mono", monospace; }
.catalog-controls input:focus, .catalog-controls select:focus { border-color: var(--blue); outline: 3px solid rgba(23, 105, 170, .13); }
.favorites-toggle { display: flex; height: 35px; gap: 7px; align-items: center; color: #405569; font: 10px "DM Mono", monospace; white-space: nowrap; }
.catalog-count { margin: 0; padding: 10px 0; color: var(--muted); font: 10px "DM Mono", monospace; text-align: right; white-space: nowrap; }
.favorite-button { position: absolute; z-index: 2; top: 16px; right: 50px; width: 29px; height: 29px; padding: 0; border-color: transparent; border-radius: 4px; background: transparent; color: #8aa0b3; font-size: 17px; line-height: 1; }
.favorite-button:hover { border-color: #cbd9e6; background: #edf5fb; color: var(--blue); }
.favorite-button[aria-pressed="true"] { color: #d99016; }
.tool-card.is-hidden { display: none; }
.card-saffron, .card-coral, .card-teal { background: var(--cream); }
.tool-number { color: var(--muted); font-size: 11px; }
.tool-icon { display: grid; width: 42px; height: 42px; margin: 29px 0 20px; place-items: center; border-radius: 6px; background: #e9f1f8; color: var(--blue); font-size: 14px; font-weight: 500; }
.card-coral .tool-icon { background: #fcebe7; color: #b85444; }
.card-teal .tool-icon { background: #e4f4f0; color: var(--success); font-size: 10px; }
.tool-name { color: var(--navy); font-size: 20px; font-weight: 700; line-height: 1.3; }
.tool-description { margin: 10px 0 0; max-width: 260px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.tool-meta { margin-top: auto; padding-top: 18px; color: var(--blue); font: 10px "DM Mono", monospace; letter-spacing: .35px; }
.card-arrow { position: absolute; top: 21px; right: 22px; color: var(--blue); font-size: 18px; }
.site-footer { display: flex; justify-content: center; gap: 16px; padding: 25px 28px; border-top: 1px solid var(--line); color: var(--muted); font: 11px "DM Mono", monospace; letter-spacing: .7px; text-align: center; }
.site-footer a { color: var(--blue); font-weight: 500; }
.site-footer a:hover { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.tool-page { min-height: 100vh; }
.tool-layout { max-width: 1280px; margin: auto; padding: 0 32px 70px; }
.tool-nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; border-bottom: 1px solid var(--line); }
.back-link { font-family: "DM Mono", monospace; font-size: 12px; }
.back-link:hover { color: var(--blue); }
.nav-links { display: flex; gap: 4px; font-family: "DM Mono", monospace; font-size: 11px; }
.nav-links a { padding: 8px 10px; border-radius: 4px; color: var(--muted); }
.nav-links a:hover { color: var(--blue); background: #edf4fa; }
.nav-links .active { background: #dcecf8; color: var(--blue-dark); font-weight: 500; }
.tool-header { padding: 48px 0 26px; }
.tool-header h1 { font-size: clamp(34px, 4vw, 48px); }
.tool-header p:last-child { max-width: 610px; margin: 14px 0 0; color: #526578; font-size: 14px; line-height: 1.65; }
.work-area { display: grid; grid-template-columns: 1fr 36px 1fr; gap: 16px; align-items: stretch; }
.work-panel { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: var(--cream); box-shadow: 0 2px 5px rgba(22, 32, 42, .025); }
.panel-header { display: flex; justify-content: space-between; align-items: center; min-height: 29px; margin-bottom: 12px; }
.panel-header label { color: #405569; font-family: "DM Mono", monospace; font-size: 11px; font-weight: 500; letter-spacing: .5px; }
.panel-actions { display: flex; gap: 8px; }
button, .file-button { border: 1px solid #b9c8d4; border-radius: 4px; background: #fff; color: #34516b; cursor: pointer; font: 500 11px "DM Mono", monospace; padding: 7px 9px; transition: background .15s ease, border-color .15s ease, color .15s ease; }
button:hover, .file-button:hover { border-color: var(--blue); background: #edf5fb; color: var(--blue-dark); }
#convert-run, #sql-format { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(15, 87, 145, .18); }
#convert-run:hover, #sql-format:hover { border-color: var(--blue-dark); background: var(--blue-dark); color: #fff; }
.file-button input { display: none; }
textarea, pre { width: 100%; height: 380px; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 5px; background: #fbfcfd; color: #21374a; font: 13px/1.6 "DM Mono", monospace; resize: vertical; white-space: pre-wrap; overflow: auto; }
textarea:focus { border-color: var(--blue); outline: 3px solid rgba(23, 105, 170, .13); outline-offset: 0; }
pre { min-height: 380px; height: auto; }
.direction { display: grid; place-items: center; color: var(--blue); font: 20px "DM Mono", monospace; }
.status { min-height: 38px; margin: 14px 0 0; padding: 10px 12px; border: 1px solid #d8e7e3; border-radius: 5px; background: #f0f9f7; color: var(--success); font: 12px "DM Mono", monospace; }
.status.error { border-color: #f1d1cd; background: #fff3f1; color: var(--danger); }
.control-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.control-row select { border: 1px solid #b9c8d4; border-radius: 4px; padding: 8px; background: var(--cream); color: #34516b; font: 12px "DM Mono", monospace; }
.convert-layout { grid-template-columns: 1fr 1fr; }
.convert-layout .direction { display: none; }
.sql-options { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 16px; font: 12px "DM Mono", monospace; }
.sql-options label { display: flex; gap: 7px; align-items: center; }
.result-area { min-height: 380px; padding: 14px; overflow: auto; border: 1px solid var(--line); border-radius: 5px; background: #fbfcfd; color: #405569; font: 13px/1.6 "DM Mono", monospace; }
.result-panel { margin-top: 16px; }
.result-area table { width: 100%; border-collapse: collapse; font-size: 11px; }
.result-area th, .result-area td { padding: 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.result-area th { color: var(--muted); font-weight: 500; }
.metric-row { display: flex; flex-wrap: wrap; gap: 8px 15px; align-items: baseline; margin-bottom: 16px; color: var(--muted); }
.metric-row strong { color: var(--blue); font-size: 22px; }
.metric-row span { margin-right: 8px; font-size: 11px; }
.diff-result { min-height: 160px; max-height: 420px; }
.diff-line { display: grid; grid-template-columns: 28px 1fr; gap: 8px; min-height: 25px; padding: 3px 7px; border-bottom: 1px solid #eef2f5; }
.diff-line span { color: var(--muted); text-align: right; }
.diff-line code { overflow-wrap: anywhere; }
.diff-add { background: #eaf7f2; color: #096c5e; }
.diff-remove { background: #fff0ee; color: #a93027; }
.key-values { margin: 0; }
.key-values dt { margin-top: 12px; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .5px; }
.key-values dt:first-child { margin-top: 0; }
.key-values dd { margin: 2px 0 0; overflow-wrap: anywhere; color: var(--ink); }
.result-summary { margin: 0 0 12px; color: var(--success); font-weight: 500; }
.match-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.match-row > span { color: var(--muted); }
.match-row small { color: var(--muted); font-size: 10px; }
.validation-list { margin: 0; padding-left: 20px; color: var(--danger); }
.validation-list li { margin-bottom: 8px; }
.form-panel { margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.form-grid label, .regex-controls label { display: grid; gap: 7px; color: #405569; font: 11px "DM Mono", monospace; }
.form-grid input, .form-grid select, .regex-controls input { width: 100%; min-width: 0; padding: 9px; border: 1px solid #b9c8d4; border-radius: 4px; background: #fff; color: var(--ink); font: 12px "DM Mono", monospace; }
.single-field { grid-template-columns: minmax(0, 460px); }
.mask-options, .regex-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin-bottom: 16px; font: 12px "DM Mono", monospace; }
.mask-options label { display: flex; align-items: center; gap: 6px; }
.regex-controls label:first-child { flex: 1 1 350px; }
.regex-controls label:nth-child(2) { flex: 0 0 75px; }
.compact-input { height: 115px; min-height: 115px; }
.generator-controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.generator-controls label { display: grid; gap: 7px; color: #405569; font: 11px "DM Mono", monospace; }
.generator-controls input { width: 90px; padding: 8px; border: 1px solid #b9c8d4; border-radius: 4px; font: 12px "DM Mono", monospace; }
.generator-controls button:first-of-type { border-color: var(--blue); background: var(--blue); color: #fff; }
.generator-controls button:disabled { cursor: not-allowed; opacity: .45; }
.panel-meta { color: var(--muted); font: 10px "DM Mono", monospace; }
.data-preview { min-height: 380px; }
.table-search { width: 160px; padding: 7px 9px; border: 1px solid #b9c8d4; border-radius: 4px; color: var(--ink); font: 11px "DM Mono", monospace; }
.table-search:focus { border-color: var(--blue); outline: 3px solid rgba(23, 105, 170, .13); }
@media (max-width: 720px) {
.site-shell, .tool-layout { padding-left: 18px; padding-right: 18px; }
.topbar p { display: none; }
.hero { min-height: 350px; margin-top: 16px; padding: 30px 24px; }
.capability-banner { grid-template-columns: 1fr auto auto; gap: 12px; padding: 14px; }
.banner-intro > span:last-child, .banner-topics { display: none; }
.section-heading { display: block; }
.section-heading .eyebrow { margin-bottom: 12px; }
.tool-grid, .work-area, .convert-layout { grid-template-columns: 1fr; }
.catalog-controls { grid-template-columns: 1fr 1fr; }
.catalog-search-label { grid-column: 1 / -1; }
.catalog-count { text-align: left; }
.site-footer { flex-direction: column; gap: 8px; }
.tool-card { min-height: 205px; }
.tool-icon { margin-top: 22px; }
.direction { min-height: 20px; transform: rotate(90deg); }
.nav-links { gap: 0; font-size: 10px; }
.nav-links a { padding: 7px 6px; }
.tool-header { padding-top: 38px; }
textarea, pre { height: 300px; }
.form-grid { grid-template-columns: 1fr 1fr; }
.result-area { min-height: 260px; }
.match-row { grid-template-columns: 22px 1fr; }
.match-row small { grid-column: 2; }
}