@green-on-grey/ui-kit 0.1.3 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/manifest.json +1 -1
- package/dist/styles.css +8 -2
- package/package.json +1 -1
package/dist/manifest.json
CHANGED
package/dist/styles.css
CHANGED
|
@@ -1222,7 +1222,9 @@ select.inp.inherit {
|
|
|
1222
1222
|
.ok-t{color:var(--green)}
|
|
1223
1223
|
.err-t{color:var(--red)}
|
|
1224
1224
|
.warn-t{color:var(--amber)}
|
|
1225
|
-
|
|
1225
|
+
/* The page scrolls across the whole width, so its scrollbar stands at the edge of the window;
|
|
1226
|
+
the content keeps its column of 1180px (1320px when wide) by the side padding. */
|
|
1227
|
+
.page{padding:24px max(28px,calc((100% - 1180px) / 2 + 28px));width:100%;overflow-y:auto}
|
|
1226
1228
|
.page h1{font-size:22px;font-weight:600;margin:0 0 4px;letter-spacing:-.01em}
|
|
1227
1229
|
.page .lead{color:var(--text-2);margin:0 0 18px;font-size:14px}
|
|
1228
1230
|
.hintbox{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:var(--r-m);background:var(--violet-soft);color:var(--violet-text);font-size:14px;margin-bottom:16px}
|
|
@@ -1264,7 +1266,7 @@ select.inp.inherit {
|
|
|
1264
1266
|
@keyframes nb-spin{to{transform:rotate(360deg)}}
|
|
1265
1267
|
@media (prefers-reduced-motion:reduce){
|
|
1266
1268
|
.spin{animation:none}}
|
|
1267
|
-
.page.wide{max-
|
|
1269
|
+
.page.wide{padding-inline:max(28px,calc((100% - 1320px) / 2 + 28px))}
|
|
1268
1270
|
.sel{border:1px solid var(--border-strong);border-radius:var(--r-m);padding:6px 8px;font-size:13px;background:var(--surface);color:var(--text);max-width:200px}
|
|
1269
1271
|
.panel{border:1px solid var(--border);border-radius:var(--r-m);background:var(--surface);box-shadow:var(--shadow);padding:16px;font-size:14px;position:sticky;top:0;max-height:calc(100vh - 150px);overflow-y:auto}
|
|
1270
1272
|
.panel-h{display:flex;align-items:flex-start;gap:6px}
|
|
@@ -1279,6 +1281,10 @@ select.inp.inherit {
|
|
|
1279
1281
|
.panel{position:fixed;inset:0;z-index:40;max-height:none;border-radius:0;border:0}
|
|
1280
1282
|
.kvrow{grid-template-columns:minmax(0,1fr)}}
|
|
1281
1283
|
|
|
1284
|
+
/* A long unbreakable line — a path in a tool step — never widens the list of messages. */
|
|
1285
|
+
.msgs{overflow-x:hidden}
|
|
1286
|
+
.m{min-width:0}
|
|
1287
|
+
|
|
1282
1288
|
/* A narrow place — a side panel: the same as on a phone, asked for by the product
|
|
1283
1289
|
with ChatLayout narrow (FTR.NAB.CMN-0005 design §6.2). */
|
|
1284
1290
|
.nb-app.narrow{grid-template-columns:1fr}
|
package/package.json
CHANGED