@pepperui/css 2.1.0 → 2.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/README.md +38 -0
- package/dist/brand/awards/badge-gptw-cn.svg +33 -0
- package/dist/brand/awards/badge-gptw-il.svg +52 -0
- package/dist/brand/awards/badge-gptw-in.svg +51 -0
- package/dist/brand/awards/badge-iab-europe.svg +20 -0
- package/dist/brand/awards/badge-mga.svg +36 -0
- package/dist/brand/awards/badge-reddit.png +0 -0
- package/dist/brand/brand.json +239 -0
- package/dist/brand/echo-ai-avatar.png +0 -0
- package/dist/brand/echo-ai-avatar.svg +37 -0
- package/dist/brand/echo-ai-logo-white.png +0 -0
- package/dist/brand/echo-ai-logo-white.svg +6 -0
- package/dist/brand/echo-ai-logo.png +0 -0
- package/dist/brand/echo-ai-logo.svg +63 -0
- package/dist/brand/irtb-logo-black.png +0 -0
- package/dist/brand/irtb-logo-black.svg +9 -0
- package/dist/brand/irtb-logo-white.png +0 -0
- package/dist/brand/irtb-logo-white.svg +9 -0
- package/dist/brand/irtb-logo.png +0 -0
- package/dist/brand/irtb-logo.svg +9 -0
- package/dist/brand/mafo-logo-black.png +0 -0
- package/dist/brand/mafo-logo-black.svg +7 -0
- package/dist/brand/mafo-logo-white.png +0 -0
- package/dist/brand/mafo-logo-white.svg +7 -0
- package/dist/brand/mafo-logo.png +0 -0
- package/dist/brand/mafo-logo.svg +7 -0
- package/dist/brand/mobupps-icon.png +0 -0
- package/dist/brand/mobupps-logo-black.png +0 -0
- package/dist/brand/mobupps-logo-black.svg +14 -0
- package/dist/brand/mobupps-logo-red-white.png +0 -0
- package/dist/brand/mobupps-logo-red-white.svg +833 -0
- package/dist/brand/mobupps-logo-white.png +0 -0
- package/dist/brand/mobupps-logo-white.svg +14 -0
- package/dist/brand/mobupps-logo.png +0 -0
- package/dist/brand/mobupps-logo.svg +15 -0
- package/dist/brand/mobuppsx-logo-black.png +0 -0
- package/dist/brand/mobuppsx-logo-black.svg +12 -0
- package/dist/brand/mobuppsx-logo-white.png +0 -0
- package/dist/brand/mobuppsx-logo-white.svg +12 -0
- package/dist/brand/mobuppsx-logo.png +0 -0
- package/dist/brand/mobuppsx-logo.svg +51 -0
- package/dist/icons/activity.svg +15 -0
- package/dist/icons/anchor.svg +18 -0
- package/dist/icons/app-window-mac.svg +18 -0
- package/dist/icons/app-window.svg +18 -0
- package/dist/icons/archive.svg +17 -0
- package/dist/icons/arrow-down-wide-narrow.svg +19 -0
- package/dist/icons/arrow-down.svg +16 -0
- package/dist/icons/arrow-left-right.svg +18 -0
- package/dist/icons/arrow-left.svg +16 -0
- package/dist/icons/arrow-right.svg +16 -0
- package/dist/icons/arrow-up-down.svg +18 -0
- package/dist/icons/arrow-up-narrow-wide.svg +19 -0
- package/dist/icons/arrow-up-right.svg +16 -0
- package/dist/icons/arrow-up.svg +16 -0
- package/dist/icons/atom.svg +17 -0
- package/dist/icons/award.svg +16 -0
- package/dist/icons/badge-check.svg +16 -0
- package/dist/icons/badge-dollar-sign.svg +17 -0
- package/dist/icons/ban.svg +16 -0
- package/dist/icons/banana.svg +16 -0
- package/dist/icons/banknote.svg +17 -0
- package/dist/icons/bell-off.svg +18 -0
- package/dist/icons/bell-ring.svg +18 -0
- package/dist/icons/bell.svg +16 -0
- package/dist/icons/binary.svg +20 -0
- package/dist/icons/book-open-text.svg +20 -0
- package/dist/icons/book-open.svg +16 -0
- package/dist/icons/bookmark.svg +15 -0
- package/dist/icons/bot.svg +20 -0
- package/dist/icons/boxes.svg +26 -0
- package/dist/icons/braces.svg +16 -0
- package/dist/icons/brain-circuit.svg +27 -0
- package/dist/icons/brain.svg +22 -0
- package/dist/icons/briefcase-business.svg +18 -0
- package/dist/icons/bug-off.svg +26 -0
- package/dist/icons/building-complex.svg +19 -0
- package/dist/icons/cake.svg +23 -0
- package/dist/icons/calculator.svg +24 -0
- package/dist/icons/calendar-days.svg +24 -0
- package/dist/icons/calendar-range.svg +22 -0
- package/dist/icons/calendar.svg +18 -0
- package/dist/icons/camera.svg +16 -0
- package/dist/icons/chart-bar-stacked.svg +19 -0
- package/dist/icons/chart-bar.svg +18 -0
- package/dist/icons/chart-column-increasing.svg +18 -0
- package/dist/icons/chart-column.svg +18 -0
- package/dist/icons/chart-line.svg +16 -0
- package/dist/icons/chart-no-axes-combined.svg +20 -0
- package/dist/icons/chart-pie.svg +16 -0
- package/dist/icons/check.svg +15 -0
- package/dist/icons/chevron-down.svg +15 -0
- package/dist/icons/chevron-left.svg +15 -0
- package/dist/icons/chevron-right.svg +15 -0
- package/dist/icons/chevron-up.svg +15 -0
- package/dist/icons/chevrons-up-down.svg +16 -0
- package/dist/icons/circle-alert.svg +17 -0
- package/dist/icons/circle-arrow-down.svg +17 -0
- package/dist/icons/circle-arrow-right.svg +17 -0
- package/dist/icons/circle-check.svg +16 -0
- package/dist/icons/circle-divide.svg +18 -0
- package/dist/icons/circle-dollar-sign.svg +17 -0
- package/dist/icons/circle-dot.svg +16 -0
- package/dist/icons/circle-pause.svg +17 -0
- package/dist/icons/circle-play.svg +16 -0
- package/dist/icons/circle-plus.svg +17 -0
- package/dist/icons/circle-question-mark.svg +17 -0
- package/dist/icons/circle-x.svg +17 -0
- package/dist/icons/circle.svg +15 -0
- package/dist/icons/clapperboard.svg +18 -0
- package/dist/icons/clipboard-check.svg +17 -0
- package/dist/icons/clipboard-list.svg +20 -0
- package/dist/icons/clock-alert.svg +18 -0
- package/dist/icons/clock.svg +16 -0
- package/dist/icons/cloud-download.svg +17 -0
- package/dist/icons/cloud-upload.svg +17 -0
- package/dist/icons/cloud.svg +15 -0
- package/dist/icons/code.svg +16 -0
- package/dist/icons/cog.svg +28 -0
- package/dist/icons/coins.svg +18 -0
- package/dist/icons/columns-2.svg +16 -0
- package/dist/icons/columns-3-cog.svg +26 -0
- package/dist/icons/compass.svg +16 -0
- package/dist/icons/contact.svg +19 -0
- package/dist/icons/contrast.svg +16 -0
- package/dist/icons/copy.svg +16 -0
- package/dist/icons/cpu.svg +28 -0
- package/dist/icons/credit-card.svg +17 -0
- package/dist/icons/crosshair.svg +19 -0
- package/dist/icons/database.svg +17 -0
- package/dist/icons/dollar-sign.svg +16 -0
- package/dist/icons/download.svg +17 -0
- package/dist/icons/ellipsis-vertical.svg +17 -0
- package/dist/icons/ellipsis.svg +17 -0
- package/dist/icons/eraser.svg +16 -0
- package/dist/icons/external-link.svg +17 -0
- package/dist/icons/eye-off.svg +18 -0
- package/dist/icons/eye.svg +16 -0
- package/dist/icons/file-chart-column.svg +19 -0
- package/dist/icons/file-check.svg +17 -0
- package/dist/icons/file-down.svg +18 -0
- package/dist/icons/file-spreadsheet.svg +20 -0
- package/dist/icons/file-text.svg +19 -0
- package/dist/icons/file-up.svg +18 -0
- package/dist/icons/file.svg +16 -0
- package/dist/icons/film.svg +22 -0
- package/dist/icons/fingerprint-pattern.svg +23 -0
- package/dist/icons/flag.svg +15 -0
- package/dist/icons/focus.svg +19 -0
- package/dist/icons/folder.svg +15 -0
- package/dist/icons/funnel.svg +15 -0
- package/dist/icons/gamepad-2.svg +19 -0
- package/dist/icons/gauge.svg +16 -0
- package/dist/icons/gavel.svg +19 -0
- package/dist/icons/gem.svg +17 -0
- package/dist/icons/gift.svg +18 -0
- package/dist/icons/git-branch.svg +17 -0
- package/dist/icons/globe.svg +17 -0
- package/dist/icons/goal.svg +17 -0
- package/dist/icons/grip-vertical.svg +20 -0
- package/dist/icons/hand-coins.svg +19 -0
- package/dist/icons/handshake.svg +19 -0
- package/dist/icons/hard-drive.svg +18 -0
- package/dist/icons/headphones.svg +15 -0
- package/dist/icons/headset.svg +16 -0
- package/dist/icons/heart.svg +15 -0
- package/dist/icons/hourglass.svg +18 -0
- package/dist/icons/house.svg +16 -0
- package/dist/icons/image.svg +17 -0
- package/dist/icons/info.svg +17 -0
- package/dist/icons/key-round.svg +16 -0
- package/dist/icons/key.svg +17 -0
- package/dist/icons/languages.svg +20 -0
- package/dist/icons/laptop-minimal.svg +16 -0
- package/dist/icons/laptop.svg +16 -0
- package/dist/icons/layers.svg +17 -0
- package/dist/icons/layout-dashboard.svg +18 -0
- package/dist/icons/layout-grid.svg +18 -0
- package/dist/icons/life-buoy.svg +20 -0
- package/dist/icons/lightbulb.svg +17 -0
- package/dist/icons/link.svg +16 -0
- package/dist/icons/list.svg +20 -0
- package/dist/icons/loader-circle.svg +15 -0
- package/dist/icons/lock-keyhole-open.svg +17 -0
- package/dist/icons/lock-open.svg +16 -0
- package/dist/icons/lock.svg +16 -0
- package/dist/icons/log-in.svg +17 -0
- package/dist/icons/log-out.svg +17 -0
- package/dist/icons/magnet.svg +17 -0
- package/dist/icons/mail-open.svg +16 -0
- package/dist/icons/mail.svg +16 -0
- package/dist/icons/map-pin-off.svg +19 -0
- package/dist/icons/map-pin.svg +16 -0
- package/dist/icons/map.svg +17 -0
- package/dist/icons/maximize-2.svg +18 -0
- package/dist/icons/megaphone.svg +17 -0
- package/dist/icons/menu.svg +17 -0
- package/dist/icons/message-circle.svg +15 -0
- package/dist/icons/message-square.svg +15 -0
- package/dist/icons/mic.svg +17 -0
- package/dist/icons/minimize-2.svg +18 -0
- package/dist/icons/minus.svg +15 -0
- package/dist/icons/monitor-play.svg +18 -0
- package/dist/icons/monitor.svg +17 -0
- package/dist/icons/moon.svg +15 -0
- package/dist/icons/mouse-pointer-click.svg +19 -0
- package/dist/icons/mouse-pointer.svg +16 -0
- package/dist/icons/music.svg +17 -0
- package/dist/icons/navigation.svg +15 -0
- package/dist/icons/network.svg +19 -0
- package/dist/icons/newspaper.svg +18 -0
- package/dist/icons/package.svg +18 -0
- package/dist/icons/panel-left-close.svg +17 -0
- package/dist/icons/panel-left-open.svg +17 -0
- package/dist/icons/paperclip.svg +15 -0
- package/dist/icons/pencil.svg +16 -0
- package/dist/icons/percent.svg +17 -0
- package/dist/icons/phone.svg +15 -0
- package/dist/icons/piggy-bank.svg +17 -0
- package/dist/icons/play.svg +15 -0
- package/dist/icons/plug-zap.svg +19 -0
- package/dist/icons/plus.svg +16 -0
- package/dist/icons/pointer.svg +19 -0
- package/dist/icons/presentation.svg +17 -0
- package/dist/icons/puzzle.svg +15 -0
- package/dist/icons/qr-code.svg +26 -0
- package/dist/icons/radar.svg +22 -0
- package/dist/icons/radio-tower.svg +21 -0
- package/dist/icons/radio.svg +19 -0
- package/dist/icons/receipt-text.svg +18 -0
- package/dist/icons/receipt.svg +17 -0
- package/dist/icons/refresh-cw.svg +18 -0
- package/dist/icons/rocket.svg +18 -0
- package/dist/icons/rotate-ccw-clock.svg +17 -0
- package/dist/icons/rotate-ccw.svg +16 -0
- package/dist/icons/route-off.svg +21 -0
- package/dist/icons/route.svg +17 -0
- package/dist/icons/rss.svg +17 -0
- package/dist/icons/satellite-dish.svg +18 -0
- package/dist/icons/satellite.svg +19 -0
- package/dist/icons/save.svg +17 -0
- package/dist/icons/scan-face.svg +21 -0
- package/dist/icons/scan-search.svg +20 -0
- package/dist/icons/scan-text.svg +21 -0
- package/dist/icons/scissors.svg +19 -0
- package/dist/icons/search-check.svg +17 -0
- package/dist/icons/search.svg +16 -0
- package/dist/icons/send.svg +16 -0
- package/dist/icons/server.svg +18 -0
- package/dist/icons/settings-2.svg +18 -0
- package/dist/icons/settings.svg +16 -0
- package/dist/icons/share-2.svg +19 -0
- package/dist/icons/share.svg +17 -0
- package/dist/icons/shield-alert.svg +17 -0
- package/dist/icons/shield-ban.svg +16 -0
- package/dist/icons/shield-check.svg +16 -0
- package/dist/icons/shield-off.svg +17 -0
- package/dist/icons/shield-x.svg +17 -0
- package/dist/icons/shield.svg +15 -0
- package/dist/icons/shopping-bag.svg +17 -0
- package/dist/icons/shopping-cart.svg +18 -0
- package/dist/icons/shuffle.svg +19 -0
- package/dist/icons/sliders-horizontal.svg +23 -0
- package/dist/icons/smartphone.svg +16 -0
- package/dist/icons/sparkles.svg +18 -0
- package/dist/icons/speaker.svg +18 -0
- package/dist/icons/split.svg +18 -0
- package/dist/icons/square-arrow-out-up-right.svg +17 -0
- package/dist/icons/square-plus.svg +17 -0
- package/dist/icons/star.svg +15 -0
- package/dist/icons/stethoscope.svg +19 -0
- package/dist/icons/store.svg +17 -0
- package/dist/icons/sun.svg +23 -0
- package/dist/icons/table.svg +18 -0
- package/dist/icons/tablet-smartphone.svg +17 -0
- package/dist/icons/tablet.svg +16 -0
- package/dist/icons/tag.svg +16 -0
- package/dist/icons/target.svg +17 -0
- package/dist/icons/terminal.svg +16 -0
- package/dist/icons/text-align-justify.svg +17 -0
- package/dist/icons/text-align-start.svg +17 -0
- package/dist/icons/thumbs-down.svg +16 -0
- package/dist/icons/thumbs-up.svg +16 -0
- package/dist/icons/timer.svg +17 -0
- package/dist/icons/toggle-left.svg +16 -0
- package/dist/icons/trash.svg +19 -0
- package/dist/icons/trending-down.svg +16 -0
- package/dist/icons/trending-up.svg +16 -0
- package/dist/icons/triangle-alert.svg +17 -0
- package/dist/icons/trophy.svg +20 -0
- package/dist/icons/tv-minimal.svg +16 -0
- package/dist/icons/tv.svg +16 -0
- package/dist/icons/unplug.svg +20 -0
- package/dist/icons/upload.svg +17 -0
- package/dist/icons/user-check.svg +17 -0
- package/dist/icons/user-plus.svg +18 -0
- package/dist/icons/user-round-check.svg +17 -0
- package/dist/icons/user-round-x.svg +18 -0
- package/dist/icons/user-star.svg +17 -0
- package/dist/icons/user-x.svg +18 -0
- package/dist/icons/user.svg +16 -0
- package/dist/icons/users-round.svg +17 -0
- package/dist/icons/users.svg +18 -0
- package/dist/icons/venetian-mask.svg +17 -0
- package/dist/icons/video.svg +16 -0
- package/dist/icons/volume-2.svg +17 -0
- package/dist/icons/volume-off.svg +19 -0
- package/dist/icons/wallet.svg +16 -0
- package/dist/icons/wand-sparkles.svg +22 -0
- package/dist/icons/watch.svg +18 -0
- package/dist/icons/waypoints.svg +21 -0
- package/dist/icons/webhook.svg +17 -0
- package/dist/icons/wifi.svg +18 -0
- package/dist/icons/workflow.svg +17 -0
- package/dist/icons/x.svg +16 -0
- package/dist/icons/zap.svg +15 -0
- package/dist/icons.json +287 -0
- package/dist/icons.svg +280 -0
- package/dist/pepper-ui.css +458 -16
- package/package.json +8 -3
- package/src/components/card.css +25 -1
- package/src/components/collapsible.css +2 -2
- package/src/components/device-frame.css +84 -0
- package/src/components/dialog.css +1 -1
- package/src/components/form-result.css +63 -0
- package/src/components/icon-list.css +15 -2
- package/src/components/item.css +1 -1
- package/src/components/kpi-tile.css +1 -1
- package/src/components/link.css +50 -0
- package/src/components/media-control.css +77 -0
- package/src/components/native-select.css +1 -0
- package/src/components/navigation-menu.css +7 -4
- package/src/components/select.css +5 -0
- package/src/components/typography.css +10 -1
- package/src/ground.css +1 -0
- package/src/index.css +6 -0
- package/src/type-roles.css +106 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pepperui/css",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"description": "Pepper UI components as framework-free CSS
|
|
3
|
+
"version": "2.2.0",
|
|
4
|
+
"description": "Pepper UI components as framework-free CSS — the Mobupps design system for Paggy, the site's Blade and prototype pages and the quarter builder (DL-7). Ships the icon library too: every Figma Icon/* glyph as one SVG sprite and per-icon files (D160), and the brand and award marks (D163). Every class is built on @pepperui/tokens; no literal colour anywhere (item 2.2.4, stylelint).",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"private": false,
|
|
7
7
|
"type": "module",
|
|
@@ -14,12 +14,17 @@
|
|
|
14
14
|
"main": "./dist/pepper-ui.css",
|
|
15
15
|
"exports": {
|
|
16
16
|
".": "./dist/pepper-ui.css",
|
|
17
|
+
"./icons.svg": "./dist/icons.svg",
|
|
18
|
+
"./icons.json": "./dist/icons.json",
|
|
19
|
+
"./icons/*": "./dist/icons/*",
|
|
20
|
+
"./brand/*": "./dist/brand/*",
|
|
21
|
+
"./brand.json": "./dist/brand/brand.json",
|
|
17
22
|
"./src": "./src/index.css",
|
|
18
23
|
"./src/*": "./src/*",
|
|
19
24
|
"./package.json": "./package.json"
|
|
20
25
|
},
|
|
21
26
|
"peerDependencies": {
|
|
22
|
-
"@pepperui/tokens": "^1.
|
|
27
|
+
"@pepperui/tokens": "^1.4.0"
|
|
23
28
|
},
|
|
24
29
|
"publishConfig": {
|
|
25
30
|
"access": "public"
|
package/src/components/card.css
CHANGED
|
@@ -21,8 +21,10 @@
|
|
|
21
21
|
* <div class="pui-card pui-card--filled-header"><div class="pui-card__head"> …the header parts… </div> …</div>
|
|
22
22
|
*
|
|
23
23
|
* Style (none) basic · --plain · --border · --soft · --colour · --filled-header
|
|
24
|
+
* Lined --lined — a 2 px border/default line on a tinted finish (basic, soft, colour); --border is the white card's 1 px
|
|
24
25
|
* Accent set data-accent on the card or a parent (blue / red / yellow / multicolor) — soft, colour and
|
|
25
26
|
* filled-header follow it; yellow's ink is the token's, never a hand override
|
|
27
|
+
* Sequence a row of cards in multicolor colours its icon boxes by position, sequence/1…6 (request 5)
|
|
26
28
|
* Canvas the title and band scale with data-canvas (D36) — 22 / 18 on the web, 26 / 20 on a slide
|
|
27
29
|
*/
|
|
28
30
|
|
|
@@ -44,6 +46,9 @@
|
|
|
44
46
|
.pui-card--plain,
|
|
45
47
|
.pui-card--border { background: var(--pui-surface-page); --pui-card-slot: var(--pui-surface-card); }
|
|
46
48
|
.pui-card--border { border-color: var(--pui-border-default); }
|
|
49
|
+
/* --lined: a 2 px border/default line on a TINTED card — Fedor's Echo AI contact card, kept against the kit's lineless tints
|
|
50
|
+
('the form is mixing with the background'; request 18, 2026-09-25). Basic, soft and colour take it; the white finishes have --border. */
|
|
51
|
+
.pui-card--lined { border-width: 2px; border-color: var(--pui-border-default); }
|
|
47
52
|
.pui-card--soft { background: var(--pui-accent-bg); }
|
|
48
53
|
.pui-card--colour { background: var(--pui-accent-main); color: var(--pui-accent-on-accent); }
|
|
49
54
|
|
|
@@ -64,7 +69,7 @@
|
|
|
64
69
|
}
|
|
65
70
|
.pui-card__head {
|
|
66
71
|
gap: var(--pui-space-20);
|
|
67
|
-
padding: var(--pui-space-
|
|
72
|
+
padding: var(--pui-space-12); /* request 11 — Fedor's Figma edit of 2026-09-25: one inset on all four sides (Head 132:117 bound to space/12; was 8 / 12) */
|
|
68
73
|
border-radius: var(--pui-radius-8);
|
|
69
74
|
background: var(--pui-accent-main);
|
|
70
75
|
color: var(--pui-accent-on-accent);
|
|
@@ -82,6 +87,22 @@
|
|
|
82
87
|
}
|
|
83
88
|
.pui-card--colour .pui-card__icon,
|
|
84
89
|
.pui-card__head .pui-card__icon { background: var(--pui-surface-page); color: var(--pui-accent-main); }
|
|
90
|
+
/* THE SEQUENCE (request 5, Fedor 2026-09-24): in the multicolor accent a ROW of cards reads the six-step sequence by
|
|
91
|
+
position — sequence/1…6: red, yellow, blue, blue/300, grey, red/300 — so the three brand mains are not the only colours
|
|
92
|
+
on a page. Set data-accent="multicolor" on the row (or on each card) and the icon boxes cycle; the yellow step takes
|
|
93
|
+
the dark ink, as the yellow accent does (D24). A single card in multicolor keeps its own accent (red). */
|
|
94
|
+
[data-accent="multicolor"] > .pui-card:nth-child(6n+1) .pui-card__icon,
|
|
95
|
+
.pui-card[data-accent="multicolor"]:nth-child(6n+1) .pui-card__icon { background: var(--pui-sequence-1); color: var(--pui-text-on-accent); }
|
|
96
|
+
[data-accent="multicolor"] > .pui-card:nth-child(6n+2) .pui-card__icon,
|
|
97
|
+
.pui-card[data-accent="multicolor"]:nth-child(6n+2) .pui-card__icon { background: var(--pui-sequence-2); color: var(--pui-text-default); }
|
|
98
|
+
[data-accent="multicolor"] > .pui-card:nth-child(6n+3) .pui-card__icon,
|
|
99
|
+
.pui-card[data-accent="multicolor"]:nth-child(6n+3) .pui-card__icon { background: var(--pui-sequence-3); color: var(--pui-text-on-accent); }
|
|
100
|
+
[data-accent="multicolor"] > .pui-card:nth-child(6n+4) .pui-card__icon,
|
|
101
|
+
.pui-card[data-accent="multicolor"]:nth-child(6n+4) .pui-card__icon { background: var(--pui-sequence-4); color: var(--pui-text-on-accent); }
|
|
102
|
+
[data-accent="multicolor"] > .pui-card:nth-child(6n+5) .pui-card__icon,
|
|
103
|
+
.pui-card[data-accent="multicolor"]:nth-child(6n+5) .pui-card__icon { background: var(--pui-sequence-5); color: var(--pui-text-on-accent); }
|
|
104
|
+
[data-accent="multicolor"] > .pui-card:nth-child(6n+6) .pui-card__icon,
|
|
105
|
+
.pui-card[data-accent="multicolor"]:nth-child(6n+6) .pui-card__icon { background: var(--pui-sequence-6); color: var(--pui-text-on-accent); }
|
|
85
106
|
.pui-card__texts { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--pui-space-4); }
|
|
86
107
|
.pui-card__title {
|
|
87
108
|
margin: 0;
|
|
@@ -100,6 +121,8 @@
|
|
|
100
121
|
background: var(--pui-card-band);
|
|
101
122
|
color: var(--pui-text-default);
|
|
102
123
|
font-size: var(--pui-type-body-medium-font-size);
|
|
124
|
+
font-weight: var(--pui-font-weight-400); /* R13 — stated, or a page's body { font-weight: 300 } reaches in (request 9, the site's legacy layout.min.css) */
|
|
125
|
+
line-height: var(--pui-font-line-height-normal);
|
|
103
126
|
}
|
|
104
127
|
.pui-card__slot {
|
|
105
128
|
display: flex;
|
|
@@ -109,6 +132,7 @@
|
|
|
109
132
|
border-radius: var(--pui-radius-8);
|
|
110
133
|
background: var(--pui-card-slot);
|
|
111
134
|
color: var(--pui-text-default);
|
|
135
|
+
font-weight: var(--pui-font-weight-400); /* R13 (request 9) */
|
|
112
136
|
}
|
|
113
137
|
.pui-card--filled-header .pui-card__slot { background: transparent; padding: 0; }
|
|
114
138
|
.pui-card__footer { align-self: flex-start; }
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
justify-content: space-between;
|
|
62
62
|
gap: var(--pui-space-32);
|
|
63
63
|
padding: var(--pui-space-32);
|
|
64
|
-
font-size: var(--pui-font-size-18)
|
|
64
|
+
font-size: var(--pui-type-body-medium-font-size); /* body/medium — 18 on the desktop it was quoted at, 16 on tablet and mobile (request 14; was the font-size/18 primitive, which no mode moved) */
|
|
65
65
|
font-weight: var(--pui-font-weight-500);
|
|
66
66
|
line-height: var(--pui-font-line-height-normal);
|
|
67
67
|
list-style: none;
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
.pui-accordion-item__answer {
|
|
97
97
|
padding: 0 var(--pui-space-32) var(--pui-space-24);
|
|
98
98
|
color: var(--pui-text-muted);
|
|
99
|
-
font-size: var(--pui-font-size
|
|
99
|
+
font-size: var(--pui-type-body-small-font-size); /* body/small — 16 desktop, 14 tablet and mobile (request 14) */
|
|
100
100
|
font-weight: var(--pui-font-weight-400);
|
|
101
101
|
line-height: var(--pui-font-line-height-loose);
|
|
102
102
|
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* device-frame.css — Device frame (10_COMPONENTS.md § Content blocks).
|
|
2
|
+
*
|
|
3
|
+
* A drawn browser window around a product picture — the site's four product showcases (irtb.css:923 .browser, and the
|
|
4
|
+
* same block on MAFO, MobuppsX and Echo AI), Fedor's design: the window at radius 19 with a 1.19 line in
|
|
5
|
+
* illustration/chrome/line, a toolbar 26 tall in illustration/chrome/bar over a 0.59 line, the three lights (7.72 round,
|
|
6
|
+
* 4.75 apart, illustration/chrome/light-red · -amber · -green) in a 40.4 column, the URL well in illustration/chrome/well
|
|
7
|
+
* at radius/full with its text in illustration/chrome/text, a 14 % black shadow (elevation/modal's own numbers, scaled),
|
|
8
|
+
* and the screen below — the slot for the picture, the product's page, a slideshow the consumer runs. Every number is
|
|
9
|
+
* a fraction of ONE UNIT, --pui-device-unit, one design pixel of the site's 770-wide window: set the unit from the
|
|
10
|
+
* container (calc(100cqw / 770) inside a container-type: inline-size host) and the window keeps its proportions at any
|
|
11
|
+
* width — the site's --bu. The chrome is dark by design: a device is a drawing and its shell is not the page's
|
|
12
|
+
* surface, which is why these are illustration/chrome/* and not surface/*. The laptop the product pages also draw is
|
|
13
|
+
* the illustrations unit's (request 8) — this part is the window alone. Request 20 from the corporate site, 2026-09-25.
|
|
14
|
+
* Figma: Device frame 1090:5. Contract: registry/device-frame/registry.json.
|
|
15
|
+
*
|
|
16
|
+
* <div class="pui-device-host"><div class="pui-device-frame pui-device-frame--browser">
|
|
17
|
+
* <div class="pui-device-frame__bar"><span class="pui-device-frame__lights"><i></i><i></i><i></i></span>
|
|
18
|
+
* <span class="pui-device-frame__url">mafo.mobupps.com</span></div>
|
|
19
|
+
* <div class="pui-device-frame__screen"><img src="…" alt="…"></div></div></div>
|
|
20
|
+
*
|
|
21
|
+
* Kind --browser (the window; the only kind today)
|
|
22
|
+
* Unit --pui-device-unit — one design pixel; the host sets it from its width
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
.pui-device-host { container-type: inline-size; }
|
|
26
|
+
.pui-device-frame {
|
|
27
|
+
--pui-device-unit: 1px;
|
|
28
|
+
position: relative;
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
border: calc(1.1883 * var(--pui-device-unit)) solid var(--pui-illustration-chrome-line);
|
|
32
|
+
border-radius: calc(19.0123 * var(--pui-device-unit));
|
|
33
|
+
background: var(--pui-illustration-chrome-bar);
|
|
34
|
+
box-shadow: 0 calc(19.0123 * var(--pui-device-unit)) calc(38.0247 * var(--pui-device-unit)) calc(-7.1296 * var(--pui-device-unit)) var(--pui-color-alpha-black-14);
|
|
35
|
+
font-family: var(--pui-font-family);
|
|
36
|
+
}
|
|
37
|
+
@container (min-width: 0) {
|
|
38
|
+
.pui-device-frame { --pui-device-unit: calc(100cqw / 770); }
|
|
39
|
+
}
|
|
40
|
+
.pui-device-frame__bar {
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
gap: calc(8.3179 * var(--pui-device-unit));
|
|
44
|
+
height: calc(26.14 * var(--pui-device-unit));
|
|
45
|
+
padding: 0 calc(8.3179 * var(--pui-device-unit));
|
|
46
|
+
border-bottom: calc(0.59 * var(--pui-device-unit)) solid var(--pui-illustration-chrome-line);
|
|
47
|
+
background: var(--pui-illustration-chrome-bar);
|
|
48
|
+
}
|
|
49
|
+
.pui-device-frame__lights {
|
|
50
|
+
display: flex;
|
|
51
|
+
flex: 0 0 calc(40.4 * var(--pui-device-unit));
|
|
52
|
+
gap: calc(4.7531 * var(--pui-device-unit));
|
|
53
|
+
}
|
|
54
|
+
.pui-device-frame__lights > i {
|
|
55
|
+
display: block;
|
|
56
|
+
width: calc(7.7238 * var(--pui-device-unit));
|
|
57
|
+
height: calc(7.7238 * var(--pui-device-unit));
|
|
58
|
+
border-radius: var(--pui-radius-full);
|
|
59
|
+
background: var(--pui-illustration-chrome-light-red);
|
|
60
|
+
}
|
|
61
|
+
.pui-device-frame__lights > i:nth-child(2) { background: var(--pui-illustration-chrome-light-amber); }
|
|
62
|
+
.pui-device-frame__lights > i:nth-child(3) { background: var(--pui-illustration-chrome-light-green); }
|
|
63
|
+
.pui-device-frame__url {
|
|
64
|
+
flex: 1 1 auto;
|
|
65
|
+
min-width: 0;
|
|
66
|
+
overflow: hidden;
|
|
67
|
+
height: calc(16.6 * var(--pui-device-unit));
|
|
68
|
+
padding: 0 calc(10 * var(--pui-device-unit));
|
|
69
|
+
border-radius: var(--pui-radius-full);
|
|
70
|
+
background: var(--pui-illustration-chrome-well);
|
|
71
|
+
color: var(--pui-illustration-chrome-text);
|
|
72
|
+
font-size: calc(9.5 * var(--pui-device-unit));
|
|
73
|
+
line-height: calc(16.6 * var(--pui-device-unit));
|
|
74
|
+
white-space: nowrap;
|
|
75
|
+
text-overflow: ellipsis;
|
|
76
|
+
}
|
|
77
|
+
.pui-device-frame__screen {
|
|
78
|
+
position: relative;
|
|
79
|
+
aspect-ratio: 770 / 433;
|
|
80
|
+
overflow: hidden;
|
|
81
|
+
background: var(--pui-illustration-screen);
|
|
82
|
+
}
|
|
83
|
+
.pui-device-frame__screen > img,
|
|
84
|
+
.pui-device-frame__screen > video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
}
|
|
81
81
|
.pui-dialog__description,
|
|
82
82
|
.pui-sheet__description,
|
|
83
|
-
.pui-drawer__description { margin: 0; color: var(--pui-text-muted); }
|
|
83
|
+
.pui-drawer__description { margin: 0; color: var(--pui-text-muted); font-weight: var(--pui-font-weight-400); } /* R13 (request 9): the site's gate dialog note rendered Light */
|
|
84
84
|
.pui-dialog__close,
|
|
85
85
|
.pui-sheet__close,
|
|
86
86
|
.pui-drawer__close { flex: none; margin: calc(var(--pui-space-4) * -1) calc(var(--pui-space-4) * -1) 0 0; }
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* form-result.css — Form result (10_COMPONENTS.md § Feedback and status).
|
|
2
|
+
*
|
|
3
|
+
* What a form shows once it is sent — the site's .form-success-msg (global-2026.css), Fedor's block, kept over the
|
|
4
|
+
* Alert because the Alert is one box and this is two: a head (the 24 circle-check in status/success/solid beside the
|
|
5
|
+
* title, body/large Medium) over a slot holding the text (body/medium Regular) on surface/slot — white on the tinted
|
|
6
|
+
* card it replaces the form in. Gap space/12 between the two, the slot's inset space/12, radius/8. Three options the
|
|
7
|
+
* site needs: --on-white (the slot goes surface/sunken — a grey slot on a white card, the inversion rule), --on-dark
|
|
8
|
+
* (the footer's subscribe: ink text/on-inverse, the slot a white wash at 10 %), --compact (the small subscribe pills:
|
|
9
|
+
* gap space/8, the head flush, the title body/medium, the text body/small, the slot's inset 8 / 12; the check
|
|
10
|
+
* stays 24 — Fedor's word, 2026-09-25, where the site's compact pill drew 20). Hidden until the
|
|
11
|
+
* form succeeds — [hidden], or the consumer's own state class — and announced (role="status"). A failure is an Alert.
|
|
12
|
+
* Request 7 from the corporate site, 2026-09-25. Figma: Form result 1090:3. Contract: registry/form-result/registry.json.
|
|
13
|
+
*
|
|
14
|
+
* <div class="pui-form-result" role="status" aria-live="polite">
|
|
15
|
+
* <div class="pui-form-result__head"><span class="pui-icon pui-icon--24 pui-form-result__icon"><svg><use href="icons.svg#circle-check"/></svg></span>
|
|
16
|
+
* <p class="pui-form-result__title">Thank you</p></div>
|
|
17
|
+
* <div class="pui-form-result__slot"><p class="pui-form-result__text">Our team will get back to you shortly.</p></div></div>
|
|
18
|
+
*
|
|
19
|
+
* Ground (none) tinted card · --on-white · --on-dark
|
|
20
|
+
* Size (none) default · --compact
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
.pui-form-result {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
gap: var(--pui-space-12);
|
|
27
|
+
color: var(--pui-text-default);
|
|
28
|
+
font-family: var(--pui-font-family);
|
|
29
|
+
}
|
|
30
|
+
.pui-form-result[hidden] { display: none; }
|
|
31
|
+
.pui-form-result__head {
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: flex-start;
|
|
34
|
+
gap: var(--pui-space-12);
|
|
35
|
+
padding: var(--pui-space-12) var(--pui-space-12) var(--pui-space-12) 0;
|
|
36
|
+
}
|
|
37
|
+
.pui-form-result__icon { flex: none; width: var(--pui-size-icon-24); height: var(--pui-size-icon-24); margin-top: var(--pui-space-4); color: var(--pui-status-success-solid); } /* 24 in every size — Fedor, 2026-09-25: 'make it 24 as we have in our design system' */
|
|
38
|
+
.pui-form-result__title {
|
|
39
|
+
margin: 0;
|
|
40
|
+
font-size: var(--pui-type-body-large-font-size);
|
|
41
|
+
font-weight: var(--pui-font-weight-500);
|
|
42
|
+
line-height: var(--pui-font-line-height-relaxed);
|
|
43
|
+
}
|
|
44
|
+
.pui-form-result__slot {
|
|
45
|
+
padding: var(--pui-space-12);
|
|
46
|
+
border-radius: var(--pui-radius-8);
|
|
47
|
+
background: var(--pui-surface-slot);
|
|
48
|
+
}
|
|
49
|
+
.pui-form-result__text {
|
|
50
|
+
margin: 0;
|
|
51
|
+
font-size: var(--pui-type-body-medium-font-size);
|
|
52
|
+
font-weight: var(--pui-font-weight-400);
|
|
53
|
+
line-height: var(--pui-font-line-height-relaxed);
|
|
54
|
+
}
|
|
55
|
+
.pui-form-result--on-white .pui-form-result__slot { background: var(--pui-surface-sunken); }
|
|
56
|
+
.pui-form-result--on-dark { color: var(--pui-text-on-inverse); }
|
|
57
|
+
.pui-form-result--on-dark .pui-form-result__slot { background: var(--pui-color-alpha-white-10); }
|
|
58
|
+
.pui-form-result--compact { gap: var(--pui-space-8); }
|
|
59
|
+
.pui-form-result--compact .pui-form-result__head { gap: var(--pui-space-8); padding: 0; }
|
|
60
|
+
.pui-form-result--compact .pui-form-result__icon { margin-top: var(--pui-space-2); }
|
|
61
|
+
.pui-form-result--compact .pui-form-result__title { font-size: var(--pui-type-body-medium-font-size); }
|
|
62
|
+
.pui-form-result--compact .pui-form-result__slot { padding: var(--pui-space-8) var(--pui-space-12); }
|
|
63
|
+
.pui-form-result--compact .pui-form-result__text { font-size: var(--pui-type-body-small-font-size); }
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
*
|
|
3
3
|
* A row with a glyph and a point — Paggy's Icon list (the L2 / L2C rows), the site's .icon-list, the concepts'
|
|
4
4
|
* supporting lists. The glyph is the accent's LIGHT tint (icon-list/ink — red 300, blue 300, yellow keeps its main;
|
|
5
|
-
* Fedor 2026-08-10), never the accent itself; success and danger rows carry the status solids; a neutral row is
|
|
5
|
+
* Fedor 2026-08-10), never the accent itself; success and danger rows carry the status solids; a neutral row's glyph is
|
|
6
|
+
* text/subtle — grey, the de-emphasised half of a problem / solution pair (Fedor 2026-09-25, request 12; it was ink).
|
|
6
7
|
* One colour per list on a blue, red or yellow slide; on a multicolor slide the deck cycles the glyphs red, yellow,
|
|
7
8
|
* blue, grey row by row (Paggy's seq_accent). Box: padding space/12, gap space/12, radius 8 (the sources' 9 — stated); the glyph sits 2 px
|
|
8
9
|
* down (the site's nudge). Medium = Title body/large Medium + Text body/small; small = one line body/medium. Rows stack
|
|
@@ -15,6 +16,7 @@
|
|
|
15
16
|
*
|
|
16
17
|
* Size (none) medium · --small (on the list)
|
|
17
18
|
* Tone (none) accent · __row--success · __row--danger · __row--neutral
|
|
19
|
+
* Sequence data-accent="multicolor" on the list colours the glyphs by row, sequence/1…6 (request 5)
|
|
18
20
|
*/
|
|
19
21
|
|
|
20
22
|
.pui-icon-list {
|
|
@@ -43,7 +45,18 @@
|
|
|
43
45
|
}
|
|
44
46
|
.pui-icon-list__row--success .pui-icon-list__icon { color: var(--pui-status-success-solid); }
|
|
45
47
|
.pui-icon-list__row--danger .pui-icon-list__icon { color: var(--pui-status-danger-solid); }
|
|
46
|
-
.pui-icon-list__row--neutral .pui-icon-list__icon { color: var(--pui-text-
|
|
48
|
+
.pui-icon-list__row--neutral .pui-icon-list__icon { color: var(--pui-text-subtle); }
|
|
49
|
+
/* THE SEQUENCE (request 5): a list in the multicolor accent colours its glyphs by row, sequence/1…6 — the site's
|
|
50
|
+
six-step order (Fedor, 2026-09-24), a step past the deck's four. The status and neutral tones keep their own ink. */
|
|
51
|
+
.pui-icon-list[data-accent="multicolor"] > .pui-icon-list__row:nth-child(6n+1) > .pui-icon-list__icon { color: var(--pui-sequence-1); }
|
|
52
|
+
.pui-icon-list[data-accent="multicolor"] > .pui-icon-list__row:nth-child(6n+2) > .pui-icon-list__icon { color: var(--pui-sequence-2); }
|
|
53
|
+
.pui-icon-list[data-accent="multicolor"] > .pui-icon-list__row:nth-child(6n+3) > .pui-icon-list__icon { color: var(--pui-sequence-3); }
|
|
54
|
+
.pui-icon-list[data-accent="multicolor"] > .pui-icon-list__row:nth-child(6n+4) > .pui-icon-list__icon { color: var(--pui-sequence-4); }
|
|
55
|
+
.pui-icon-list[data-accent="multicolor"] > .pui-icon-list__row:nth-child(6n+5) > .pui-icon-list__icon { color: var(--pui-sequence-5); }
|
|
56
|
+
.pui-icon-list[data-accent="multicolor"] > .pui-icon-list__row:nth-child(6n+6) > .pui-icon-list__icon { color: var(--pui-sequence-6); }
|
|
57
|
+
.pui-icon-list[data-accent="multicolor"] > .pui-icon-list__row--success > .pui-icon-list__icon { color: var(--pui-status-success-solid); }
|
|
58
|
+
.pui-icon-list[data-accent="multicolor"] > .pui-icon-list__row--danger > .pui-icon-list__icon { color: var(--pui-status-danger-solid); }
|
|
59
|
+
.pui-icon-list[data-accent="multicolor"] > .pui-icon-list__row--neutral > .pui-icon-list__icon { color: var(--pui-text-subtle); } /* request 12, Fedor 2026-09-25: the grey IS the point of the row — MAFO's Problem beside Our solution; was text/default */
|
|
47
60
|
.pui-icon-list__texts { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--pui-space-4); }
|
|
48
61
|
.pui-icon-list__title {
|
|
49
62
|
margin: 0;
|
package/src/components/item.css
CHANGED
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
.pui-item__media { flex: none; }
|
|
54
54
|
.pui-item__texts { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--pui-space-2); }
|
|
55
55
|
.pui-item__title { margin: 0; font-weight: var(--pui-font-weight-500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
56
|
-
.pui-item__description { margin: 0; color: var(--pui-text-caption); font-size: var(--pui-font-size-12); }
|
|
56
|
+
.pui-item__description { margin: 0; color: var(--pui-text-caption); font-size: var(--pui-font-size-12); font-weight: var(--pui-font-weight-400); } /* R13 (request 9) */
|
|
57
57
|
.pui-item__check {
|
|
58
58
|
flex: none;
|
|
59
59
|
width: var(--pui-size-icon-16);
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
.pui-kpi-tile--yellow { background: var(--pui-kpi-tone-yellow-bg); }
|
|
46
46
|
.pui-kpi-tile__top {
|
|
47
47
|
display: flex;
|
|
48
|
-
align-items: flex-start
|
|
48
|
+
align-items: center; /* Fedor, 2026-09-25, in Figma first (140:55 Top, CENTER): 'it looks much better when the badge and numbers are center aligned' — was flex-start (request 10) */
|
|
49
49
|
justify-content: space-between;
|
|
50
50
|
gap: var(--pui-space-12);
|
|
51
51
|
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* link.css — Link (10_COMPONENTS.md § Actions).
|
|
2
|
+
*
|
|
3
|
+
* A text link that stands on its own — the site's .arrow-link (global-2026.css:341): the blog's feature and hub cards,
|
|
4
|
+
* the home reviews' "more", the 404 page. body/large Regular on the Typography roles (22 · 18 tablet and mobile), an
|
|
5
|
+
* optional 16 glyph after the label at space/4 (Icon/arrow-right by default), text/subtle at rest and text/default on
|
|
6
|
+
* hover and focus, the glyph nudged 4 px along over motion/move on the standard curve — the site's own numbers, quoted.
|
|
7
|
+
* On a dark or a photographic ground (--on-dark: the gradient feature card) the ink is text/on-inverse at rest and stays
|
|
8
|
+
* so on hover — the nudge is the state. The inline link inside prose is Typography's (underlined, in the ink); the
|
|
9
|
+
* Navigation link is Nav link's. Request 23 from the corporate site, 2026-09-25. Figma: Link 1090:2.
|
|
10
|
+
* Contract: registry/link/registry.json.
|
|
11
|
+
*
|
|
12
|
+
* <a class="pui-link" href="…">Read the case study</a>
|
|
13
|
+
* <a class="pui-link pui-link--arrow" href="…">All case studies<span class="pui-icon pui-link__icon"><svg><use href="icons.svg#arrow-right"/></svg></span></a>
|
|
14
|
+
*
|
|
15
|
+
* Arrow --arrow — the trailing 16 glyph (__icon), nudged on hover
|
|
16
|
+
* Ground (none) light · --on-dark — text/on-inverse on a dark or gradient ground
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
.pui-link {
|
|
20
|
+
display: inline-flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
gap: var(--pui-space-4);
|
|
23
|
+
color: var(--pui-text-subtle);
|
|
24
|
+
font-family: var(--pui-font-family);
|
|
25
|
+
font-size: var(--pui-type-body-large-font-size);
|
|
26
|
+
font-weight: var(--pui-type-body-large-font-weight);
|
|
27
|
+
line-height: var(--pui-font-line-height-normal);
|
|
28
|
+
text-decoration: none;
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
transition: color var(--pui-motion-move) var(--pui-motion-easing);
|
|
31
|
+
}
|
|
32
|
+
.pui-link:hover,
|
|
33
|
+
.pui-link:focus-visible { color: var(--pui-text-default); }
|
|
34
|
+
.pui-link:focus-visible { outline: none; border-radius: var(--pui-radius-4); box-shadow: var(--pui-ring); }
|
|
35
|
+
.pui-link__icon {
|
|
36
|
+
flex: none;
|
|
37
|
+
width: var(--pui-size-icon-16);
|
|
38
|
+
height: var(--pui-size-icon-16);
|
|
39
|
+
transition: transform var(--pui-motion-move) var(--pui-motion-easing);
|
|
40
|
+
}
|
|
41
|
+
.pui-link:hover .pui-link__icon,
|
|
42
|
+
.pui-link:focus-visible .pui-link__icon { transform: translateX(var(--pui-space-4)); }
|
|
43
|
+
.pui-link--on-dark,
|
|
44
|
+
.pui-link--on-dark:hover,
|
|
45
|
+
.pui-link--on-dark:focus-visible { color: var(--pui-text-on-inverse); }
|
|
46
|
+
.pui-link--on-dark:focus-visible { box-shadow: 0 0 0 2px var(--pui-text-on-inverse); }
|
|
47
|
+
@media (prefers-reduced-motion: reduce) {
|
|
48
|
+
.pui-link,
|
|
49
|
+
.pui-link__icon { transition: none; }
|
|
50
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/* media-control.css — Media control (10_COMPONENTS.md § Actions).
|
|
2
|
+
*
|
|
3
|
+
* A control that sits ON media — the site's sound pill over its muted hero videos (global-2026.css .video-sound; home,
|
|
4
|
+
* MAFO, MobuppsX, i/RTB): a 40 round pill on surface/glass-dark over blur/control, a white (text/on-inverse) 14 Medium
|
|
5
|
+
* label with a 20 glyph before it at space/8, padding 0 / space/16 / 0 / space/12; surface/glass-dark-strong on hover;
|
|
6
|
+
* hidden until wanted — it fades in over motion/menu with a 4 px rise when the media is hovered, on keyboard focus, or
|
|
7
|
+
* when the consumer's script marks the host (.is-active) after a tap — and ignores clicks while hidden, so a tap cannot
|
|
8
|
+
* toggle it unseen. --icon-only (the state once sound is on: the label gone, the pill round); --compact (under 480 of
|
|
9
|
+
* media width: 32 tall, a 16 glyph, a 12 label). The focus ring is 2 px text/on-inverse, outside — border/focus is for
|
|
10
|
+
* white pages and disappears on a picture. The 40 and 32 heights and the 20 glyph are the pill's own, stated: the
|
|
11
|
+
* control scale is 28 / 36 / 44 and the icon scale 16 / 24 / 32 / 48, and on a picture Fedor's pill is the master.
|
|
12
|
+
* Request 22 from the corporate site, 2026-09-25. Figma: Media control 1090:4. Contract: registry/media-control/registry.json.
|
|
13
|
+
*
|
|
14
|
+
* <div class="pui-media-host"><video …></video>
|
|
15
|
+
* <button class="pui-media-control" type="button" aria-pressed="false">
|
|
16
|
+
* <span class="pui-icon pui-media-control__icon"><svg><use href="icons.svg#volume-off"/></svg></span>
|
|
17
|
+
* <span class="pui-media-control__label">Turn on sound</span></button></div>
|
|
18
|
+
*
|
|
19
|
+
* State (none) muted, label + glyph · --icon-only · the host's :hover / .is-active and the control's :focus-visible show it
|
|
20
|
+
* Size (none) 40 · --compact 32
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
.pui-media-host { position: relative; }
|
|
24
|
+
.pui-media-control {
|
|
25
|
+
position: absolute;
|
|
26
|
+
right: var(--pui-space-16);
|
|
27
|
+
bottom: var(--pui-space-16);
|
|
28
|
+
z-index: 2;
|
|
29
|
+
display: inline-flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
gap: var(--pui-space-8);
|
|
33
|
+
box-sizing: border-box;
|
|
34
|
+
height: 40px;
|
|
35
|
+
min-width: 40px;
|
|
36
|
+
margin: 0;
|
|
37
|
+
padding: 0 var(--pui-space-16) 0 var(--pui-space-12);
|
|
38
|
+
border: 0;
|
|
39
|
+
border-radius: var(--pui-radius-full);
|
|
40
|
+
background: var(--pui-surface-glass-dark);
|
|
41
|
+
-webkit-backdrop-filter: blur(var(--pui-blur-control));
|
|
42
|
+
backdrop-filter: blur(var(--pui-blur-control));
|
|
43
|
+
color: var(--pui-text-on-inverse);
|
|
44
|
+
font-family: var(--pui-font-family);
|
|
45
|
+
font-size: var(--pui-font-size-14);
|
|
46
|
+
font-weight: var(--pui-font-weight-500);
|
|
47
|
+
line-height: var(--pui-font-line-height-normal);
|
|
48
|
+
white-space: nowrap;
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
opacity: 0;
|
|
51
|
+
transform: translateY(var(--pui-space-4));
|
|
52
|
+
pointer-events: none;
|
|
53
|
+
transition: opacity var(--pui-motion-menu) var(--pui-motion-easing), transform var(--pui-motion-menu) var(--pui-motion-easing),
|
|
54
|
+
background-color var(--pui-motion-move) var(--pui-motion-easing);
|
|
55
|
+
}
|
|
56
|
+
.pui-media-host:hover .pui-media-control,
|
|
57
|
+
.pui-media-host.is-active .pui-media-control,
|
|
58
|
+
.pui-media-control:focus-visible { opacity: 1; transform: none; pointer-events: auto; }
|
|
59
|
+
.pui-media-control:hover { background: var(--pui-surface-glass-dark-strong); }
|
|
60
|
+
.pui-media-control:focus-visible { outline: 2px solid var(--pui-text-on-inverse); outline-offset: 2px; }
|
|
61
|
+
.pui-media-control__icon { flex: none; width: 20px; height: 20px; }
|
|
62
|
+
.pui-media-control__label { display: block; }
|
|
63
|
+
.pui-media-control--icon-only { padding: 0; }
|
|
64
|
+
.pui-media-control--icon-only .pui-media-control__label { display: none; }
|
|
65
|
+
.pui-media-control--compact {
|
|
66
|
+
right: var(--pui-space-8);
|
|
67
|
+
bottom: var(--pui-space-8);
|
|
68
|
+
gap: var(--pui-space-4);
|
|
69
|
+
height: 32px;
|
|
70
|
+
min-width: 32px;
|
|
71
|
+
padding: 0 var(--pui-space-12) 0 var(--pui-space-8);
|
|
72
|
+
font-size: var(--pui-font-size-12);
|
|
73
|
+
}
|
|
74
|
+
.pui-media-control--compact .pui-media-control__icon { width: var(--pui-size-icon-16); height: var(--pui-size-icon-16); }
|
|
75
|
+
@media (prefers-reduced-motion: reduce) {
|
|
76
|
+
.pui-media-control { transition: none; transform: none; }
|
|
77
|
+
}
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
width: 100%;
|
|
21
21
|
font-family: var(--pui-font-family);
|
|
22
22
|
}
|
|
23
|
+
.pui-native-select--filled > select { background-color: var(--pui-surface-card); } /* request 19 — Select's --filled, the same box drawn twice */
|
|
23
24
|
.pui-native-select > select {
|
|
24
25
|
display: block;
|
|
25
26
|
box-sizing: border-box;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* The site's top bar, from its production CSS (global-2026.css:149–262): 856 wide, fixed 30 down and centred, padding
|
|
4
4
|
* space/8 (the site pads 10 — global-2026.css:165 and styles.css:236 — a value off the spacing scale, rounded to its nearest step;
|
|
5
5
|
* stated 2026-09-09, Finding 40 of the site pilot — decided by Fedor the same day on the Blade pilot: the scale, no consumer exception), a frosted ground — surface/glass over blur/nav (the site's rgba(232,232,232,.49) over 7.3 px, now tokens
|
|
6
|
-
* D42) — radius/8, elevation/
|
|
7
|
-
*
|
|
6
|
+
* D42) — radius/8, elevation/modal — shadow.xxl, 0 32 64 at 14 %, the live site's own bar shadow, chosen by Fedor on the site
|
|
7
|
+
* against all four levels (request 1, 2026-09-25, D161; it supersedes D149's elevation/bar, whose −12 pull-in read half as dark on a white page); the Mobupps mark at 122 × 31, links at an 8 gap, the black CTA at the right. A link
|
|
8
8
|
* is 14 Regular text/default, padding 4 / 8; Type products adds the 16 px caret (padding 8 left, 0 right — the site's list item); Type cta is the black mini button
|
|
9
9
|
* (action/primary/bg, padding 4 / 8, radius/4 — the site's own shape, not Button small) inside the item's 4 / 8, carried as its margin
|
|
10
10
|
* (Finding 47, 2026-09-09); the panel's links dim to
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
background: var(--pui-surface-glass);
|
|
41
41
|
-webkit-backdrop-filter: blur(var(--pui-blur-nav));
|
|
42
42
|
backdrop-filter: blur(var(--pui-blur-nav));
|
|
43
|
-
box-shadow: var(--pui-elevation-bar)
|
|
43
|
+
box-shadow: var(--pui-elevation-modal); /* request 1, Fedor 2026-09-25: 'the very shadow I wanted for the top navigation' — was elevation/bar (D149), D161 */
|
|
44
44
|
font-family: var(--pui-font-family);
|
|
45
45
|
}
|
|
46
46
|
.pui-navigation-menu--fixed {
|
|
@@ -165,9 +165,12 @@
|
|
|
165
165
|
.pui-navigation-panel__link:hover { color: var(--pui-text-disabled); }
|
|
166
166
|
.pui-navigation-panel__link:focus-visible { outline: none; box-shadow: var(--pui-ring); }
|
|
167
167
|
|
|
168
|
+
/* The `to` frame states no opacity: the panel animates to ITS OWN value, so a consumer that keeps the panel in the DOM and
|
|
169
|
+
opens it with its own opacity never sees the closed panel drawn at 1 for 250 ms on load (request 13, the site's products
|
|
170
|
+
dropdown, measured .94 at 120 ms; pui-fade-in already works this way). */
|
|
168
171
|
@keyframes pui-panel-in {
|
|
169
172
|
from { opacity: 0; transform: translateY(var(--pui-space-4)) scale(0.97); }
|
|
170
|
-
to {
|
|
173
|
+
to { transform: none; }
|
|
171
174
|
}
|
|
172
175
|
@media (prefers-reduced-motion: reduce) {
|
|
173
176
|
.pui-navigation-panel { animation: none; }
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
border: 1px solid var(--pui-border-default);
|
|
46
46
|
border-radius: var(--pui-radius-8);
|
|
47
47
|
background: var(--pui-surface-page);
|
|
48
|
+
--pui-select-fill: var(--pui-surface-page);
|
|
48
49
|
box-shadow: var(--pui-elevation-flat);
|
|
49
50
|
color: var(--pui-text-default);
|
|
50
51
|
font-family: var(--pui-font-family);
|
|
@@ -61,6 +62,9 @@
|
|
|
61
62
|
border-color var(--pui-motion-state) var(--pui-motion-easing),
|
|
62
63
|
box-shadow var(--pui-motion-state) var(--pui-motion-easing);
|
|
63
64
|
}
|
|
65
|
+
/* --filled: the trigger on surface/card, so a form on a white page can tell its dropdowns from its inputs — Fedor's call on the
|
|
66
|
+
site's blog and careers filters, 'for visibility' (request 19, 2026-09-25). Native select carries the same option. */
|
|
67
|
+
.pui-select--filled { background: var(--pui-surface-card); }
|
|
64
68
|
.pui-select:hover,
|
|
65
69
|
.pui-combobox:hover { border-color: var(--pui-border-strong); }
|
|
66
70
|
.pui-select:focus-visible,
|
|
@@ -154,6 +158,7 @@
|
|
|
154
158
|
background: transparent;
|
|
155
159
|
color: var(--pui-text-default);
|
|
156
160
|
font: inherit;
|
|
161
|
+
font-weight: var(--pui-font-weight-400); /* R13 — `font: inherit` took the page's weight; the site's rows rendered Light (request 9) */
|
|
157
162
|
text-align: start;
|
|
158
163
|
cursor: pointer;
|
|
159
164
|
outline: none;
|
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
* 1.35 / 1.4 / 1.6); margins each block's own (40 / 32 / 24 above the headings, 12 / 12 / 8 below; 16 between
|
|
7
7
|
* paragraphs; 16 around lists; 24 around the quote; 32 around the figure and the rule); markers and the quote in
|
|
8
8
|
* text/muted; the quote's 3 px rule border/default; links underlined in the ink. 720 wide here; the site's article column is 856 (blog-article.css:92) — stated.
|
|
9
|
+
* strong / b are Semibold 600 — inline emphasis is Fedor's contrast (request 17, 2026-09-25); R11 reads 'no Semibold for a whole
|
|
10
|
+
* paragraph'. A consumer's page reset written at the same specificity (.page-x ul { margin: 0 }, .page-x a { text-decoration: none })
|
|
11
|
+
* and loaded after this file beats the list and the link rules here by source order: D60's guard exempts an element that CARRIES a
|
|
12
|
+
* pui- class, and this is the one component whose children are bare elements — so the guard is extended (D162): a page reset also
|
|
13
|
+
* excludes `.pui-typography *`. The block does not raise its own specificity, so a page that MEANS to restyle one thing inside it
|
|
14
|
+
* still can with one class.
|
|
9
15
|
* Figma 259:10. Contract: registry/typography/registry.json.
|
|
10
16
|
*
|
|
11
17
|
* <article class="pui-typography"><h2>…</h2><p>…</p><h3>…</h3><ul><li>…</li></ul><blockquote>…</blockquote>
|
|
@@ -80,4 +86,7 @@
|
|
|
80
86
|
.pui-typography a { color: inherit; text-decoration: underline; text-underline-offset: var(--pui-space-2); }
|
|
81
87
|
.pui-typography a:hover { color: var(--pui-text-link); }
|
|
82
88
|
.pui-typography a:focus-visible { outline: none; border-radius: var(--pui-radius-4); box-shadow: var(--pui-ring); } /* 3.5.2 */
|
|
83
|
-
|
|
89
|
+
/* Fedor, 2026-09-25 (request 17, 25): 'the emphasis of the text is missing … the contrast is missing … keep my bold variation' —
|
|
90
|
+
inline emphasis is Semibold, the site's own value. R11 forbids Semibold for a whole paragraph, not for a phrase in one. */
|
|
91
|
+
.pui-typography strong,
|
|
92
|
+
.pui-typography b { font-weight: var(--pui-font-weight-600); }
|
package/src/ground.css
CHANGED
package/src/index.css
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
* Feedback and status, Navigation and overlay, Content blocks, Shells and patterns, Chat. */
|
|
4
4
|
@import "./base.css";
|
|
5
5
|
@import "./ground.css";
|
|
6
|
+
/* type-roles.css is GENERATED by build/css.js — the Typography roles as classes (request 24) */
|
|
7
|
+
@import "./type-roles.css";
|
|
6
8
|
|
|
7
9
|
/* Actions */
|
|
8
10
|
@import "./components/button.css";
|
|
@@ -10,6 +12,8 @@
|
|
|
10
12
|
@import "./components/button-group.css";
|
|
11
13
|
@import "./components/toggle.css";
|
|
12
14
|
@import "./components/toggle-group.css";
|
|
15
|
+
@import "./components/link.css";
|
|
16
|
+
@import "./components/media-control.css";
|
|
13
17
|
|
|
14
18
|
/* Forms */
|
|
15
19
|
@import "./components/input.css";
|
|
@@ -40,6 +44,7 @@
|
|
|
40
44
|
@import "./components/progress.css";
|
|
41
45
|
@import "./components/empty.css";
|
|
42
46
|
@import "./components/kbd.css";
|
|
47
|
+
@import "./components/form-result.css";
|
|
43
48
|
|
|
44
49
|
/* Navigation and overlay */
|
|
45
50
|
@import "./components/tabs.css";
|
|
@@ -66,6 +71,7 @@
|
|
|
66
71
|
@import "./components/logo-grid.css";
|
|
67
72
|
@import "./components/avatar.css";
|
|
68
73
|
@import "./components/table.css";
|
|
74
|
+
@import "./components/device-frame.css";
|
|
69
75
|
|
|
70
76
|
/* Shells and patterns */
|
|
71
77
|
@import "./components/sidebar.css";
|