@pepperui/css 2.1.0 → 2.3.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/sliders-vertical.svg +23 -0
- package/dist/icons/smartphone.svg +16 -0
- package/dist/icons/social-facebook.svg +3 -0
- package/dist/icons/social-linkedin.svg +3 -0
- package/dist/icons/social-youtube.svg +3 -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 +293 -0
- package/dist/icons.svg +285 -0
- package/dist/pepper-ui.css +830 -23
- package/package.json +8 -3
- package/src/components/bullet-list.css +2 -0
- package/src/components/card.css +104 -2
- package/src/components/collapsible.css +2 -2
- package/src/components/device-frame.css +129 -0
- package/src/components/dialog.css +1 -1
- package/src/components/footer.css +16 -4
- package/src/components/form-result.css +63 -0
- package/src/components/form.css +96 -0
- package/src/components/heading-pair.css +22 -1
- package/src/components/icon-list.css +30 -3
- package/src/components/input-group.css +18 -0
- package/src/components/insight-block.css +15 -0
- package/src/components/item.css +1 -1
- package/src/components/kpi-tile.css +22 -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/socials.css +41 -0
- package/src/components/typography.css +10 -1
- package/src/ground.css +1 -0
- package/src/index.css +8 -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.3.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.1"
|
|
23
28
|
},
|
|
24
29
|
"publishConfig": {
|
|
25
30
|
"access": "public"
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* Style (none) check · --dot
|
|
16
16
|
* Size (none) regular · --small
|
|
17
|
+
* Emphasis a phrase in <strong> or <b> is Bold 700 — a phrase, never the row (R11)
|
|
17
18
|
*/
|
|
18
19
|
|
|
19
20
|
.pui-bullet-list {
|
|
@@ -54,5 +55,6 @@
|
|
|
54
55
|
border-radius: var(--pui-radius-full);
|
|
55
56
|
background: var(--pui-accent-main);
|
|
56
57
|
}
|
|
58
|
+
.pui-bullet-list__item :is(b, strong) { font-weight: var(--pui-font-weight-700); } /* request 39 — a phrase in Bold, the site's rows */
|
|
57
59
|
.pui-bullet-list--small .pui-bullet-list__item { font-size: var(--pui-type-body-medium-font-size); }
|
|
58
60
|
.pui-bullet-list--small .pui-bullet-list__glyph { margin-top: 0; }
|
package/src/components/card.css
CHANGED
|
@@ -20,9 +20,22 @@
|
|
|
20
20
|
* <div class="pui-button-group pui-card__footer">…</div></div>
|
|
21
21
|
* <div class="pui-card pui-card--filled-header"><div class="pui-card__head"> …the header parts… </div> …</div>
|
|
22
22
|
*
|
|
23
|
+
* the card as a link (request 41) — the same parts on an <a> or a <button>, no class more:
|
|
24
|
+
* <a class="pui-card pui-card--border" href="…"><span class="pui-card__media"><img src="…" alt=""></span>
|
|
25
|
+
* <span class="pui-card__header"><span class="pui-card__texts"><span class="pui-card__logo"><img src="…" alt="Client"></span>
|
|
26
|
+
* <span class="pui-card__title">…</span><span class="pui-card__description">…</span><span class="pui-badge pui-badge--small">…</span></span>
|
|
27
|
+
* <span class="pui-icon-button pui-icon-button--small pui-icon-button--round pui-card__action">…arrow-up-right…</span></span></a>
|
|
28
|
+
*
|
|
23
29
|
* Style (none) basic · --plain · --border · --soft · --colour · --filled-header
|
|
30
|
+
* Lined --lined — a 2 px border/default line on a tinted finish (basic, soft, colour); --border is the white card's 1 px
|
|
31
|
+
* Raised --raised — a tinted card with no line, lifted by elevation/card: a card on a white page (the form card, request 34)
|
|
32
|
+
* Link an <a> or a <button> that IS the card: it lifts on hover, its Action steps out, the header sits on its base
|
|
33
|
+
* line, the title and the line under it are body/medium Regular; __logo is a mark over the title (request 41)
|
|
34
|
+
* Form a card that holds a .pui-form takes the form's inset — space/32, space/24 on a phone (request 34)
|
|
24
35
|
* Accent set data-accent on the card or a parent (blue / red / yellow / multicolor) — soft, colour and
|
|
25
36
|
* filled-header follow it; yellow's ink is the token's, never a hand override
|
|
37
|
+
* Sequence a row of cards in multicolor colours its icon boxes by position, sequence/1…6 (request 5); ONE card names
|
|
38
|
+
* its step with data-sequence="1…6" (request 35). The glyph is white on every step, yellow included
|
|
26
39
|
* Canvas the title and band scale with data-canvas (D36) — 22 / 18 on the web, 26 / 20 on a slide
|
|
27
40
|
*/
|
|
28
41
|
|
|
@@ -44,6 +57,12 @@
|
|
|
44
57
|
.pui-card--plain,
|
|
45
58
|
.pui-card--border { background: var(--pui-surface-page); --pui-card-slot: var(--pui-surface-card); }
|
|
46
59
|
.pui-card--border { border-color: var(--pui-border-default); }
|
|
60
|
+
/* --lined: a 2 px border/default line on a TINTED card — Fedor's Echo AI contact card, kept against the kit's lineless tints
|
|
61
|
+
('the form is mixing with the background'; request 18, 2026-09-25). Basic, soft and colour take it; the white finishes have --border. */
|
|
62
|
+
.pui-card--lined { border-width: 2px; border-color: var(--pui-border-default); }
|
|
63
|
+
/* --raised: the tinted card with no line, lifted by its shadow — the form card on a white page (Contact, the gated case
|
|
64
|
+
study; request 34, 2026-09-28). Never with --border or --lined: a line and a shadow together is the anti-pattern. */
|
|
65
|
+
.pui-card--raised { box-shadow: var(--pui-elevation-card); }
|
|
47
66
|
.pui-card--soft { background: var(--pui-accent-bg); }
|
|
48
67
|
.pui-card--colour { background: var(--pui-accent-main); color: var(--pui-accent-on-accent); }
|
|
49
68
|
|
|
@@ -64,7 +83,7 @@
|
|
|
64
83
|
}
|
|
65
84
|
.pui-card__head {
|
|
66
85
|
gap: var(--pui-space-20);
|
|
67
|
-
padding: var(--pui-space-
|
|
86
|
+
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
87
|
border-radius: var(--pui-radius-8);
|
|
69
88
|
background: var(--pui-accent-main);
|
|
70
89
|
color: var(--pui-accent-on-accent);
|
|
@@ -80,8 +99,39 @@
|
|
|
80
99
|
background: var(--pui-accent-main);
|
|
81
100
|
color: var(--pui-accent-on-accent);
|
|
82
101
|
}
|
|
102
|
+
/* THE WHITE BOX — on every ground the accent paints (the soft tint, the colour card, the filled head) the box is white and
|
|
103
|
+
its glyph is accent/text: the accent itself on blue and red, the ink on yellow, where accent/main on white was
|
|
104
|
+
yellow on white (request 27 — Fedor's iRTB drawing is dark; D24's flip, read from the role that already carries it).
|
|
105
|
+
The soft card takes the white box since request 36 (the site's demand panels, his drawing); it drew the accent box. */
|
|
106
|
+
.pui-card--soft .pui-card__icon,
|
|
83
107
|
.pui-card--colour .pui-card__icon,
|
|
84
|
-
.pui-card__head .pui-card__icon { background: var(--pui-surface-page); color: var(--pui-accent-
|
|
108
|
+
.pui-card__head .pui-card__icon { background: var(--pui-surface-page); color: var(--pui-accent-text); }
|
|
109
|
+
/* THE SEQUENCE (request 5, Fedor 2026-09-24): in the multicolor accent a ROW of cards reads the six-step sequence by
|
|
110
|
+
position — sequence/1…6: red, yellow, blue, blue/300, grey, red/300 — so the three brand mains are not the only colours
|
|
111
|
+
on a page. Set data-accent="multicolor" on the row (or on each card) and the icon boxes cycle. The glyph is WHITE on
|
|
112
|
+
every step, the yellow one included — Fedor's decision, 2026-09-28, on his own files (it was the dark ink of D24 until
|
|
113
|
+
2.3.0; the yellow ACCENT keeps D24's ink — this is the sequence's box alone). A single card in multicolor keeps its own accent (red). */
|
|
114
|
+
[data-accent="multicolor"] > .pui-card:nth-child(6n+1) .pui-card__icon,
|
|
115
|
+
.pui-card[data-accent="multicolor"]:nth-child(6n+1) .pui-card__icon { background: var(--pui-sequence-1); color: var(--pui-text-on-accent); }
|
|
116
|
+
[data-accent="multicolor"] > .pui-card:nth-child(6n+2) .pui-card__icon,
|
|
117
|
+
.pui-card[data-accent="multicolor"]:nth-child(6n+2) .pui-card__icon { background: var(--pui-sequence-2); color: var(--pui-text-on-accent); }
|
|
118
|
+
[data-accent="multicolor"] > .pui-card:nth-child(6n+3) .pui-card__icon,
|
|
119
|
+
.pui-card[data-accent="multicolor"]:nth-child(6n+3) .pui-card__icon { background: var(--pui-sequence-3); color: var(--pui-text-on-accent); }
|
|
120
|
+
[data-accent="multicolor"] > .pui-card:nth-child(6n+4) .pui-card__icon,
|
|
121
|
+
.pui-card[data-accent="multicolor"]:nth-child(6n+4) .pui-card__icon { background: var(--pui-sequence-4); color: var(--pui-text-on-accent); }
|
|
122
|
+
[data-accent="multicolor"] > .pui-card:nth-child(6n+5) .pui-card__icon,
|
|
123
|
+
.pui-card[data-accent="multicolor"]:nth-child(6n+5) .pui-card__icon { background: var(--pui-sequence-5); color: var(--pui-text-on-accent); }
|
|
124
|
+
[data-accent="multicolor"] > .pui-card:nth-child(6n+6) .pui-card__icon,
|
|
125
|
+
.pui-card[data-accent="multicolor"]:nth-child(6n+6) .pui-card__icon { background: var(--pui-sequence-6); color: var(--pui-text-on-accent); }
|
|
126
|
+
/* ONE CARD NAMES ITS STEP (request 35): the site's rows skip steps and repeat them — five chips on 1 2 3 5 6, four cards all
|
|
127
|
+
on the first, a slider whose cards are each alone in their slide — so position cannot say it. data-sequence="1…6" on
|
|
128
|
+
the card; it outranks the row's position and the finish's white box. */
|
|
129
|
+
.pui-card[data-sequence="1"] > .pui-card__header > .pui-card__icon { background: var(--pui-sequence-1); color: var(--pui-text-on-accent); }
|
|
130
|
+
.pui-card[data-sequence="2"] > .pui-card__header > .pui-card__icon { background: var(--pui-sequence-2); color: var(--pui-text-on-accent); }
|
|
131
|
+
.pui-card[data-sequence="3"] > .pui-card__header > .pui-card__icon { background: var(--pui-sequence-3); color: var(--pui-text-on-accent); }
|
|
132
|
+
.pui-card[data-sequence="4"] > .pui-card__header > .pui-card__icon { background: var(--pui-sequence-4); color: var(--pui-text-on-accent); }
|
|
133
|
+
.pui-card[data-sequence="5"] > .pui-card__header > .pui-card__icon { background: var(--pui-sequence-5); color: var(--pui-text-on-accent); }
|
|
134
|
+
.pui-card[data-sequence="6"] > .pui-card__header > .pui-card__icon { background: var(--pui-sequence-6); color: var(--pui-text-on-accent); }
|
|
85
135
|
.pui-card__texts { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--pui-space-4); }
|
|
86
136
|
.pui-card__title {
|
|
87
137
|
margin: 0;
|
|
@@ -95,11 +145,14 @@
|
|
|
95
145
|
.pui-card__action { flex: none; align-self: flex-start; }
|
|
96
146
|
|
|
97
147
|
.pui-card__band {
|
|
148
|
+
margin: 0; /* request 37 — a part written as a <p> keeps no page margin (Bootstrap's 1rem on the site) */
|
|
98
149
|
padding: var(--pui-space-12);
|
|
99
150
|
border-radius: var(--pui-radius-8);
|
|
100
151
|
background: var(--pui-card-band);
|
|
101
152
|
color: var(--pui-text-default);
|
|
102
153
|
font-size: var(--pui-type-body-medium-font-size);
|
|
154
|
+
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) */
|
|
155
|
+
line-height: var(--pui-font-line-height-normal);
|
|
103
156
|
}
|
|
104
157
|
.pui-card__slot {
|
|
105
158
|
display: flex;
|
|
@@ -109,6 +162,55 @@
|
|
|
109
162
|
border-radius: var(--pui-radius-8);
|
|
110
163
|
background: var(--pui-card-slot);
|
|
111
164
|
color: var(--pui-text-default);
|
|
165
|
+
font-weight: var(--pui-font-weight-400); /* R13 (request 9) */
|
|
112
166
|
}
|
|
167
|
+
.pui-card__slot > :is(p, h1, h2, h3, h4, h5, h6) { margin: 0; } /* request 37 — the slot's gap is the rhythm */
|
|
113
168
|
.pui-card--filled-header .pui-card__slot { background: transparent; padding: 0; }
|
|
114
169
|
.pui-card__footer { align-self: flex-start; }
|
|
170
|
+
|
|
171
|
+
/* THE FORM'S CARD (request 34; Fedor, 2026-09-28: 'there is no form without a card'). A card that holds a form takes the
|
|
172
|
+
form's inset — space/32, space/24 under the web-mobile mode's 768 — where a card's own is space/20. No class: the
|
|
173
|
+
form says it. Its finish is one of three: --lined (tinted, the 2 px line), --raised (tinted, lifted), --plain (white). */
|
|
174
|
+
.pui-card:has(> .pui-form) { padding: var(--pui-space-32); }
|
|
175
|
+
@media (max-width: 767px) {
|
|
176
|
+
.pui-card:has(> .pui-form) { padding: var(--pui-space-24); }
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* THE CARD AS A LINK (request 41) — a blog post, a case study, a team member: one object, the Card as an <a> or a
|
|
180
|
+
<button>, built from the Card's own parts. No component per content type (Fedor, 2026-09-28) and no class more: the
|
|
181
|
+
element says it. :where() keeps each rule at the weight of its classes, so a page's one-class rule still places it.
|
|
182
|
+
It lifts on hover (elevation/card, space/4 up over motion/menu), the Action steps out (3 px over 300 ms — the site's
|
|
183
|
+
arrow, stated), the header sits on its base line at space/12, the title and the line under it are body/medium
|
|
184
|
+
Regular in text/default, a badge stands space/8 under them, a logo is a 125 × 30 box on a 35 line (stated). */
|
|
185
|
+
:where(a, button).pui-card {
|
|
186
|
+
justify-content: space-between;
|
|
187
|
+
margin: 0;
|
|
188
|
+
text-align: left;
|
|
189
|
+
text-decoration: none;
|
|
190
|
+
cursor: pointer;
|
|
191
|
+
transition:
|
|
192
|
+
box-shadow var(--pui-motion-menu) var(--pui-motion-easing),
|
|
193
|
+
transform var(--pui-motion-menu) var(--pui-motion-easing);
|
|
194
|
+
}
|
|
195
|
+
:where(a, button).pui-card:hover { box-shadow: var(--pui-elevation-card); transform: translateY(calc(-1 * var(--pui-space-4))); }
|
|
196
|
+
.pui-card:focus-visible { outline: none; box-shadow: var(--pui-ring); } /* only a card that is a link or a button takes focus */
|
|
197
|
+
:where(a, button).pui-card > .pui-card__header { align-items: flex-end; justify-content: space-between; gap: var(--pui-space-12); }
|
|
198
|
+
:where(a, button).pui-card .pui-card__texts { gap: 0; }
|
|
199
|
+
:where(a, button).pui-card .pui-card__title,
|
|
200
|
+
:where(a, button).pui-card .pui-card__description {
|
|
201
|
+
color: var(--pui-text-default);
|
|
202
|
+
font-size: var(--pui-type-body-medium-font-size);
|
|
203
|
+
font-weight: var(--pui-font-weight-400);
|
|
204
|
+
line-height: var(--pui-font-line-height-normal);
|
|
205
|
+
}
|
|
206
|
+
:where(a, button).pui-card .pui-card__texts > .pui-badge { align-self: flex-start; margin-top: var(--pui-space-8); }
|
|
207
|
+
:where(a, button).pui-card .pui-card__action { align-self: flex-end; transition: transform 300ms var(--pui-motion-easing-enter); }
|
|
208
|
+
:where(a, button).pui-card:hover .pui-card__action { transform: translate(3px, -3px); }
|
|
209
|
+
.pui-card__logo { display: flex; align-items: center; height: 35px; }
|
|
210
|
+
.pui-card__logo > img { width: auto; height: auto; max-width: 125px; max-height: 30px; object-fit: contain; object-position: left center; }
|
|
211
|
+
@media (prefers-reduced-motion: reduce) {
|
|
212
|
+
:where(a, button).pui-card,
|
|
213
|
+
:where(a, button).pui-card .pui-card__action { transition: none; }
|
|
214
|
+
:where(a, button).pui-card:hover,
|
|
215
|
+
:where(a, button).pui-card:hover .pui-card__action { transform: none; }
|
|
216
|
+
}
|
|
@@ -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,129 @@
|
|
|
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
|
+
* with the toolbar (request 29) — the same bar, the glyphs a browser shows:
|
|
22
|
+
* <div class="pui-device-frame__bar"><span class="pui-device-frame__lights"><i></i><i></i><i></i></span>
|
|
23
|
+
* <span class="pui-device-frame__nav"> …three .pui-icon: chevron-left · chevron-right · refresh-cw… </span>
|
|
24
|
+
* <span class="pui-device-frame__url"><span class="pui-icon">…lock…</span><span class="pui-device-frame__url-text">mobupps.com/MAFO</span><span class="pui-icon">…star…</span></span>
|
|
25
|
+
* <span class="pui-device-frame__tools"> …three .pui-icon: shield · plus · menu… </span></div>
|
|
26
|
+
*
|
|
27
|
+
* Kind --browser (the window; the only kind today)
|
|
28
|
+
* Toolbar __nav and __tools beside the well, a glyph at each end of __url around __url-text — seven library glyphs
|
|
29
|
+
* in illustration/chrome/text, the site's window (request 29). Without them the bar is the lights and the well
|
|
30
|
+
* Unit --pui-device-unit — one design pixel; the host sets it from its width
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
.pui-device-host { container-type: inline-size; }
|
|
34
|
+
.pui-device-frame {
|
|
35
|
+
--pui-device-unit: 1px;
|
|
36
|
+
position: relative;
|
|
37
|
+
box-sizing: border-box;
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
border: calc(1.1883 * var(--pui-device-unit)) solid var(--pui-illustration-chrome-line);
|
|
40
|
+
border-radius: calc(19.0123 * var(--pui-device-unit));
|
|
41
|
+
background: var(--pui-illustration-chrome-bar);
|
|
42
|
+
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);
|
|
43
|
+
font-family: var(--pui-font-family);
|
|
44
|
+
}
|
|
45
|
+
@container (min-width: 0) {
|
|
46
|
+
.pui-device-frame { --pui-device-unit: calc(100cqw / 770); }
|
|
47
|
+
}
|
|
48
|
+
.pui-device-frame__bar {
|
|
49
|
+
display: flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
gap: calc(8.3179 * var(--pui-device-unit));
|
|
52
|
+
height: calc(26.14 * var(--pui-device-unit));
|
|
53
|
+
padding: 0 calc(8.3179 * var(--pui-device-unit));
|
|
54
|
+
border-bottom: calc(0.59 * var(--pui-device-unit)) solid var(--pui-illustration-chrome-line);
|
|
55
|
+
background: var(--pui-illustration-chrome-bar);
|
|
56
|
+
}
|
|
57
|
+
.pui-device-frame__lights {
|
|
58
|
+
display: flex;
|
|
59
|
+
flex: 0 0 calc(40.4 * var(--pui-device-unit));
|
|
60
|
+
gap: calc(4.7531 * var(--pui-device-unit));
|
|
61
|
+
}
|
|
62
|
+
.pui-device-frame__lights > i {
|
|
63
|
+
display: block;
|
|
64
|
+
width: calc(7.7238 * var(--pui-device-unit));
|
|
65
|
+
height: calc(7.7238 * var(--pui-device-unit));
|
|
66
|
+
border-radius: var(--pui-radius-full);
|
|
67
|
+
background: var(--pui-illustration-chrome-light-red);
|
|
68
|
+
}
|
|
69
|
+
.pui-device-frame__lights > i:nth-child(2) { background: var(--pui-illustration-chrome-light-amber); }
|
|
70
|
+
.pui-device-frame__lights > i:nth-child(3) { background: var(--pui-illustration-chrome-light-green); }
|
|
71
|
+
.pui-device-frame__url {
|
|
72
|
+
flex: 1 1 auto;
|
|
73
|
+
min-width: 0;
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
height: calc(16.6 * var(--pui-device-unit));
|
|
76
|
+
padding: 0 calc(10 * var(--pui-device-unit));
|
|
77
|
+
border-radius: var(--pui-radius-full);
|
|
78
|
+
background: var(--pui-illustration-chrome-well);
|
|
79
|
+
color: var(--pui-illustration-chrome-text);
|
|
80
|
+
font-size: calc(9.5 * var(--pui-device-unit));
|
|
81
|
+
line-height: calc(16.6 * var(--pui-device-unit));
|
|
82
|
+
white-space: nowrap;
|
|
83
|
+
text-overflow: ellipsis;
|
|
84
|
+
}
|
|
85
|
+
.pui-device-frame__screen {
|
|
86
|
+
position: relative;
|
|
87
|
+
aspect-ratio: 770 / 433;
|
|
88
|
+
overflow: hidden;
|
|
89
|
+
background: var(--pui-illustration-screen);
|
|
90
|
+
}
|
|
91
|
+
.pui-device-frame__screen > img,
|
|
92
|
+
.pui-device-frame__screen > video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
|
|
93
|
+
|
|
94
|
+
/* THE TOOLBAR (request 29; taken as an option, 2026-09-28): the site's window shows what a browser shows — back,
|
|
95
|
+
forward and reload before the well, a lock and a star inside it, a shield, a plus and the menu after it. Every glyph
|
|
96
|
+
is the library's, in illustration/chrome/text, 8.32 of the unit in a 13.07 box (7.13 inside the well) — the site's
|
|
97
|
+
numbers; the address is set in the platform's UI face, as a browser sets it. */
|
|
98
|
+
.pui-device-frame__nav,
|
|
99
|
+
.pui-device-frame__tools {
|
|
100
|
+
display: flex;
|
|
101
|
+
flex: none;
|
|
102
|
+
align-items: center;
|
|
103
|
+
gap: calc(3.5648 * var(--pui-device-unit));
|
|
104
|
+
color: var(--pui-illustration-chrome-text);
|
|
105
|
+
}
|
|
106
|
+
.pui-device-frame__nav > .pui-icon,
|
|
107
|
+
.pui-device-frame__tools > .pui-icon {
|
|
108
|
+
box-sizing: content-box;
|
|
109
|
+
width: calc(8.3179 * var(--pui-device-unit));
|
|
110
|
+
height: calc(8.3179 * var(--pui-device-unit));
|
|
111
|
+
padding: calc(2.376 * var(--pui-device-unit));
|
|
112
|
+
}
|
|
113
|
+
.pui-device-frame__url:has(> .pui-device-frame__url-text) {
|
|
114
|
+
display: flex;
|
|
115
|
+
align-items: center;
|
|
116
|
+
gap: calc(4.7531 * var(--pui-device-unit));
|
|
117
|
+
padding: 0 calc(5.9414 * var(--pui-device-unit));
|
|
118
|
+
}
|
|
119
|
+
.pui-device-frame__url > .pui-icon { width: calc(7.1296 * var(--pui-device-unit)); height: calc(7.1296 * var(--pui-device-unit)); }
|
|
120
|
+
.pui-device-frame__url-text {
|
|
121
|
+
flex: 1 1 auto;
|
|
122
|
+
min-width: 0;
|
|
123
|
+
overflow: hidden;
|
|
124
|
+
font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
125
|
+
font-size: calc(7.1296 * var(--pui-device-unit));
|
|
126
|
+
text-align: center;
|
|
127
|
+
white-space: nowrap;
|
|
128
|
+
text-overflow: ellipsis;
|
|
129
|
+
}
|
|
@@ -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; }
|
|
@@ -5,9 +5,11 @@
|
|
|
5
5
|
* Subscription (three links; a heading, the social marks, the email field with its Subscribe button), the badges filling
|
|
6
6
|
* the rest, centred. Headings 14 SemiBold in nav/section/fg (the site's 600), links 14 Regular in nav/item/fg
|
|
7
7
|
* (neutral-300 for the site's 200 — stated), white on hover; the email field a 36-tall box at radius/8 in
|
|
8
|
-
* color/alpha/white-8 with a nav/item/bg-active stroke (the site's white .05 and #404040 — stated)
|
|
9
|
-
*
|
|
10
|
-
*
|
|
8
|
+
* color/alpha/white-8 with a nav/item/bg-active stroke (the site's white .05 and #404040 — stated). Web only.
|
|
9
|
+
* Figma 265:10. Contract: registry/footer/registry.json.
|
|
10
|
+
* 2.3.0 (request 33; Fedor, 2026-09-28): THE EMAIL FIELD IS THE INPUT GROUP on the dark ground, the small Button in it —
|
|
11
|
+
* 'the same component … the only difference must be the colour' — and the social marks are the Socials row (request 40).
|
|
12
|
+
* `__pill`, `__subscribe` and `__socials` are DEPRECATED: they paint as before for this minor and go in the next major.
|
|
11
13
|
* 2.5.10 (2026-09-18): the field was drawn as a pill with the small Button in it and the headings at 500 from 2.2 on;
|
|
12
14
|
* the design lead's built footer (the prototypes' styles.css and the site's global-2026.css) is the spec, and the
|
|
13
15
|
* library's Footer already drew the box — the class keeps its 1.0 name, `__pill`.
|
|
@@ -17,7 +19,9 @@
|
|
|
17
19
|
* <footer class="pui-footer">
|
|
18
20
|
* <div class="pui-footer__column"><p class="pui-footer__heading">Menu</p><a class="pui-footer__link" href="…">Case studies</a> …</div>
|
|
19
21
|
* <div class="pui-footer__column pui-footer__column--stack"> …Terms… <div><p class="pui-footer__heading">Subscription</p>
|
|
20
|
-
* <
|
|
22
|
+
* <div class="pui-socials pui-socials--on-dark"> …three marks… </div>
|
|
23
|
+
* <div class="pui-field"><label class="pui-input-group pui-input-group--on-dark"><input class="pui-input-group__control" type="email"
|
|
24
|
+
* placeholder="Enter your email"><button class="pui-button pui-button--small pui-input-group__button">Subscribe</button></label></div></div></div>
|
|
21
25
|
* <div class="pui-footer__badges"> …img… </div></footer>
|
|
22
26
|
*/
|
|
23
27
|
|
|
@@ -58,7 +62,14 @@
|
|
|
58
62
|
.pui-footer__links { display: flex; flex-direction: column; gap: var(--pui-space-4); margin: 0; padding: 0; list-style: none; }
|
|
59
63
|
.pui-footer__link:hover { color: var(--pui-nav-item-fg-active); }
|
|
60
64
|
.pui-footer__link:focus-visible { outline: none; border-radius: var(--pui-radius-4); box-shadow: var(--pui-ring); }
|
|
65
|
+
/* the step above the socials row and above the email field — what __socials and __pill carried; the field is the
|
|
66
|
+
Subscription column's 303 (Figma 265:28 — stated) */
|
|
67
|
+
.pui-footer .pui-socials,
|
|
68
|
+
.pui-footer .pui-field { margin-top: var(--pui-space-8); }
|
|
69
|
+
.pui-footer .pui-field { width: 303px; max-width: 100%; }
|
|
70
|
+
/* deprecated: 2.3.0 — use .pui-socials (socials.css) */
|
|
61
71
|
.pui-footer__socials { display: flex; gap: var(--pui-space-12); margin-top: var(--pui-space-8); }
|
|
72
|
+
/* deprecated: 2.3.0 — use .pui-input-group.pui-input-group--on-dark with the small Button in it (input-group.css) */
|
|
62
73
|
.pui-footer__pill { /* the email field — a box since 2.5.10; the name is 1.0's */
|
|
63
74
|
display: flex;
|
|
64
75
|
align-items: center;
|
|
@@ -91,6 +102,7 @@
|
|
|
91
102
|
.pui-footer__pill:focus-within { border-color: var(--pui-border-focus); box-shadow: var(--pui-ring); }
|
|
92
103
|
/* The field's own Subscribe button (2.5.10, Figma 265:36): 12 Regular text/default on text/on-inverse, space/4 × space/8,
|
|
93
104
|
radius/4, on a 1.2 line so it is the site's 22 tall — the site's mini button, not the Button component (28 at its smallest). */
|
|
105
|
+
/* deprecated: 2.3.0 — the field's button is the small Button inside the Input group */
|
|
94
106
|
.pui-footer__subscribe {
|
|
95
107
|
flex: none;
|
|
96
108
|
margin: 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); }
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/* form.css — Form (10_COMPONENTS.md § Forms).
|
|
2
|
+
*
|
|
3
|
+
* The form itself — the kit named the parts (Field, Input, Checkbox, Button, Form result, Card) and every consumer
|
|
4
|
+
* wrote the form its own way; this is the one structure, read off the site's form block (blocks/form-2026), Fedor's:
|
|
5
|
+
* a column at space/24 › the title (the Card's title) › the spam trap › the Fields, one per control › the consent (a
|
|
6
|
+
* Checkbox in a Field, with its message) › ONE primary Button at full width › the Form result, which takes the
|
|
7
|
+
* fields' place once the form is sent. The card is part of the form ('there is no form without a card', Fedor
|
|
8
|
+
* 2026-09-28): a Card in one of three finishes — --lined, --raised, --plain — at the form's inset (card.css).
|
|
9
|
+
* Two parts a form needs that no control had: the FILE control (a label drawn as the Input around a hidden file
|
|
10
|
+
* input, the file's name in the caption ink, a paperclip at its end) and the SENDING state of the Button
|
|
11
|
+
* (aria-busy — it dims and cannot be pressed twice; the label says 'Sending…'). Request 34 from the corporate site,
|
|
12
|
+
* 2026-09-28. Figma: Form. Contract: registry/form/registry.json.
|
|
13
|
+
*
|
|
14
|
+
* <div class="pui-card pui-card--lined"><form class="pui-form" novalidate>
|
|
15
|
+
* <h3 class="pui-card__title">Get in touch with us to know more</h3>
|
|
16
|
+
* <input class="pui-form__trap" type="text" name="surname" tabindex="-1" autocomplete="off" aria-hidden="true">
|
|
17
|
+
* <div class="pui-field"><label class="pui-field__label" for="f-name">Name</label>
|
|
18
|
+
* <input class="pui-input" id="f-name" required><span class="pui-field__error">Please enter your name</span></div>
|
|
19
|
+
* <div class="pui-field"><span class="pui-field__label">CV</span>
|
|
20
|
+
* <label class="pui-input pui-input--file"><span class="pui-input__file-name">No file chosen</span>
|
|
21
|
+
* <span class="pui-icon pui-input__file-icon"><svg><use href="icons.svg#paperclip"/></svg></span>
|
|
22
|
+
* <input type="file"></label></div>
|
|
23
|
+
* <div class="pui-field"><label class="pui-checkbox"> …the consent… </label><span class="pui-field__error">…</span></div>
|
|
24
|
+
* <button class="pui-button pui-button--block" type="submit">Book a demo</button>
|
|
25
|
+
* <div class="pui-form-result" role="status" aria-live="polite"> … </div></form></div>
|
|
26
|
+
*
|
|
27
|
+
* State .is-success on the form — the parts leave and the Form result shows in their place
|
|
28
|
+
* aria-busy="true" (with disabled) on the Button — sending
|
|
29
|
+
* Parts __trap — the spam trap, never shown · .pui-input--file with __file-name and __file-icon
|
|
30
|
+
* Rule one primary action; the order of the parts never changes; a failure is an Alert above the Button, not the result
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
.pui-form {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
gap: var(--pui-space-24);
|
|
37
|
+
min-width: 0;
|
|
38
|
+
margin: 0;
|
|
39
|
+
font-family: var(--pui-font-family);
|
|
40
|
+
}
|
|
41
|
+
.pui-form__trap { display: none; }
|
|
42
|
+
|
|
43
|
+
/* the result takes the fields' place */
|
|
44
|
+
.pui-form > .pui-form-result { display: none; }
|
|
45
|
+
.pui-form.is-success > :not(.pui-form-result) {
|
|
46
|
+
pointer-events: none;
|
|
47
|
+
animation: pui-form-out var(--pui-motion-menu) var(--pui-motion-easing) forwards;
|
|
48
|
+
}
|
|
49
|
+
.pui-form.is-success > .pui-form-result {
|
|
50
|
+
display: flex;
|
|
51
|
+
animation: pui-form-result-in var(--pui-motion-menu) var(--pui-motion-easing) var(--pui-motion-state) both;
|
|
52
|
+
}
|
|
53
|
+
@keyframes pui-form-out { to { opacity: 0; display: none; } }
|
|
54
|
+
@keyframes pui-form-result-in { from { opacity: 0; transform: translateY(var(--pui-space-8)); } }
|
|
55
|
+
@media (prefers-reduced-motion: reduce) {
|
|
56
|
+
.pui-form.is-success > :not(.pui-form-result) { animation: none; display: none; }
|
|
57
|
+
.pui-form.is-success > .pui-form-result { animation: none; }
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/* the file control — the Input's box as a label around the native input, which is hidden and still focusable */
|
|
61
|
+
.pui-input--file {
|
|
62
|
+
position: relative;
|
|
63
|
+
display: flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
gap: var(--pui-space-8);
|
|
66
|
+
overflow: hidden;
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
}
|
|
69
|
+
.pui-input--file > input[type="file"] {
|
|
70
|
+
position: absolute;
|
|
71
|
+
width: 1px;
|
|
72
|
+
height: 1px;
|
|
73
|
+
opacity: 0;
|
|
74
|
+
pointer-events: none;
|
|
75
|
+
}
|
|
76
|
+
.pui-input--file:focus-within { border-color: var(--pui-border-focus); box-shadow: var(--pui-ring); }
|
|
77
|
+
.pui-input__file-name {
|
|
78
|
+
flex: 1 1 auto;
|
|
79
|
+
min-width: 0;
|
|
80
|
+
overflow: hidden;
|
|
81
|
+
color: var(--pui-text-caption);
|
|
82
|
+
white-space: nowrap;
|
|
83
|
+
text-overflow: ellipsis;
|
|
84
|
+
}
|
|
85
|
+
.pui-input__file-name :is(b, strong) { font-weight: var(--pui-font-weight-600); }
|
|
86
|
+
.pui-input__file-icon { flex: none; width: var(--pui-size-icon-16); height: var(--pui-size-icon-16); color: var(--pui-text-muted); }
|
|
87
|
+
|
|
88
|
+
/* sending — the Button between the press and the answer */
|
|
89
|
+
.pui-button[aria-busy="true"] {
|
|
90
|
+
background: var(--pui-action-primary-bg); /* it keeps its fill — a sending button is not a disabled one; set `disabled` with it so it leaves the tab order */
|
|
91
|
+
color: var(--pui-action-primary-fg);
|
|
92
|
+
opacity: 0.5;
|
|
93
|
+
cursor: progress;
|
|
94
|
+
pointer-events: none;
|
|
95
|
+
transform: none;
|
|
96
|
+
}
|
|
@@ -10,7 +10,11 @@
|
|
|
10
10
|
* <p class="pui-heading-pair__subtitle">Powered by verified MAFO performance</p></header>
|
|
11
11
|
* <header class="pui-heading-pair pui-heading-pair--web"><p class="pui-heading-pair__eyebrow">About us</p> …title, subtitle… </header>
|
|
12
12
|
*
|
|
13
|
-
*
|
|
13
|
+
* <header class="pui-heading-pair pui-heading-pair--section"><h2 class="pui-heading-pair__title">MAFO Demand</h2>
|
|
14
|
+
* <p class="pui-heading-pair__subtitle">Intelligence for User Acquisition & Growth Teams</p></header>
|
|
15
|
+
*
|
|
16
|
+
* Style (none) slide · --web (a page's head) · --section (a section of a web page: the title headline/small, the
|
|
17
|
+
* line under it title/small at Regular in accent/heading, space/8 between them — request 43)
|
|
14
18
|
*/
|
|
15
19
|
|
|
16
20
|
.pui-heading-pair {
|
|
@@ -55,3 +59,20 @@
|
|
|
55
59
|
font-weight: var(--pui-font-weight-400);
|
|
56
60
|
line-height: var(--pui-font-line-height-normal);
|
|
57
61
|
}
|
|
62
|
+
|
|
63
|
+
/* A SECTION OF A WEB PAGE (request 43): the product pages open each section with a title at headline/small and, under
|
|
64
|
+
it, a line at title/small Regular in the page's accent/heading — the slide pair one step down, space/8 apart (the
|
|
65
|
+
site's own gap). The accent is the page's data-accent. */
|
|
66
|
+
.pui-heading-pair--section { gap: var(--pui-space-8); }
|
|
67
|
+
.pui-heading-pair--section .pui-heading-pair__title {
|
|
68
|
+
font-size: var(--pui-type-headline-small-font-size);
|
|
69
|
+
font-weight: var(--pui-type-headline-small-font-weight);
|
|
70
|
+
line-height: var(--pui-type-headline-small-line-height);
|
|
71
|
+
letter-spacing: var(--pui-type-headline-small-letter-spacing);
|
|
72
|
+
}
|
|
73
|
+
.pui-heading-pair--section .pui-heading-pair__subtitle {
|
|
74
|
+
font-size: var(--pui-type-title-small-font-size);
|
|
75
|
+
font-weight: var(--pui-font-weight-400);
|
|
76
|
+
line-height: var(--pui-type-title-small-line-height);
|
|
77
|
+
letter-spacing: var(--pui-type-title-small-letter-spacing);
|
|
78
|
+
}
|