@pepperui/css 2.2.0 → 2.3.1
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 +1 -1
- package/dist/icons/sliders-vertical.svg +23 -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.json +7 -1
- package/dist/icons.svg +6 -1
- package/dist/pepper-ui.css +380 -15
- package/package.json +2 -2
- package/src/components/bullet-list.css +2 -0
- package/src/components/card.css +83 -5
- package/src/components/device-frame.css +45 -0
- package/src/components/footer.css +16 -4
- package/src/components/form.css +96 -0
- package/src/components/heading-pair.css +22 -1
- package/src/components/icon-list.css +15 -1
- package/src/components/input-group.css +18 -0
- package/src/components/insight-block.css +15 -0
- package/src/components/kpi-tile.css +21 -0
- package/src/components/socials.css +41 -0
- package/src/index.css +2 -0
- package/src/type-roles.css +1 -1
package/dist/pepper-ui.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* pepper-ui.css — @pepperui/css 2.
|
|
2
|
+
* pepper-ui.css — @pepperui/css 2.3.1, the Mobupps design system's components as plain CSS.
|
|
3
3
|
* GENERATED by `npm run build` from packages/css/src — do not edit by hand; edit the source file named
|
|
4
|
-
* in each section's header. Requires @pepperui/tokens 1.
|
|
5
|
-
* Source of truth: bitbucket.org/rashidmobupps/pepper-ui —
|
|
4
|
+
* in each section's header. Requires @pepperui/tokens 1.5.0 (tokens.css) loaded before it.
|
|
5
|
+
* Source of truth: bitbucket.org/rashidmobupps/pepper-ui — 67 parts.
|
|
6
6
|
*/
|
|
7
7
|
/* @pepperui/css — the source, in load order. build/css.js inlines these @imports into dist/pepper-ui.css.
|
|
8
8
|
* Load @pepperui/tokens/css first. Order follows the queue (docs/10_COMPONENTS.md): base, Actions, Forms,
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
|
|
187
187
|
/* type-roles.css is GENERATED by build/css.js — the Typography roles as classes (request 24) */
|
|
188
188
|
/* type-roles.css — the Typography roles as classes (request 24, 2026-09-25). GENERATED by build/css.js from
|
|
189
|
-
* @pepperui/tokens 1.
|
|
189
|
+
* @pepperui/tokens 1.5.0 — do not edit: every role the token source authors, one class each. A class sets the
|
|
190
190
|
* role's five properties from its custom properties, so it follows the canvas: the web-tablet and web-mobile media blocks
|
|
191
191
|
* and [data-canvas="slide"] re-resolve the variables and the class moves with them. For a page's own statement, a
|
|
192
192
|
* section lead, a figure — where no component owns the text and a size would otherwise be typed (R13).
|
|
@@ -997,6 +997,9 @@
|
|
|
997
997
|
* State :hover · :focus-within · error = --error or :has([aria-invalid="true"]) (+ the error ring when focused,
|
|
998
998
|
* 3.5.2) · disabled = --disabled or
|
|
999
999
|
* :has(:disabled)
|
|
1000
|
+
* Ground (none) light · --on-dark — the same box on surface/inverse (the footer's email field, request 33): the wash
|
|
1001
|
+
* color/alpha/white-8, the line nav/item/bg-active, the ink nav/item/fg-active, the placeholder nav/section/fg,
|
|
1002
|
+
* and the Button in it turned over — text/on-inverse under text/default, with the inset ring
|
|
1000
1003
|
* Parts __icon (16, text/muted) · __prefix / __suffix (the caption ink, the text's size) · __control · __button
|
|
1001
1004
|
* Rule one box, one border — never two bordered controls pretending to be one; the nested button takes
|
|
1002
1005
|
* radius 4 and the 4 px inset, never the text padding.
|
|
@@ -1068,6 +1071,118 @@
|
|
|
1068
1071
|
font-size: var(--pui-font-size-16);
|
|
1069
1072
|
}
|
|
1070
1073
|
|
|
1074
|
+
/* ON A DARK GROUND (request 33; Fedor, 2026-09-28: 'this must be the same component … the only difference must be the
|
|
1075
|
+
colour'). The footer's email field is this box, not a drawing of its own: the four colours the Footer gave its field,
|
|
1076
|
+
and the Button turned over. Hover, focus and error are the box's own and read on surface/inverse. */
|
|
1077
|
+
.pui-input-group--on-dark {
|
|
1078
|
+
border-color: var(--pui-nav-item-bg-active);
|
|
1079
|
+
background: var(--pui-color-alpha-white-8);
|
|
1080
|
+
box-shadow: none;
|
|
1081
|
+
color: var(--pui-nav-item-fg-active);
|
|
1082
|
+
}
|
|
1083
|
+
.pui-input-group--on-dark .pui-input-group__control::placeholder,
|
|
1084
|
+
.pui-input-group--on-dark :is(.pui-input-group__prefix, .pui-input-group__suffix, .pui-input-group__icon) { color: var(--pui-nav-section-fg); }
|
|
1085
|
+
.pui-input-group--on-dark .pui-input-group__button.pui-button { background: var(--pui-text-on-inverse); color: var(--pui-text-default); }
|
|
1086
|
+
.pui-input-group--on-dark .pui-input-group__button.pui-button:is(:hover, :active) { background: var(--pui-action-secondary-bg-hover); }
|
|
1087
|
+
.pui-input-group--on-dark .pui-input-group__button.pui-button:focus-visible { box-shadow: var(--pui-ring-inset); }
|
|
1088
|
+
|
|
1089
|
+
/* form.css — Form (10_COMPONENTS.md § Forms).
|
|
1090
|
+
*
|
|
1091
|
+
* The form itself — the kit named the parts (Field, Input, Checkbox, Button, Form result, Card) and every consumer
|
|
1092
|
+
* wrote the form its own way; this is the one structure, read off the site's form block (blocks/form-2026), Fedor's:
|
|
1093
|
+
* a column at space/24 › the title (the Card's title) › the spam trap › the Fields, one per control › the consent (a
|
|
1094
|
+
* Checkbox in a Field, with its message) › ONE primary Button at full width › the Form result, which takes the
|
|
1095
|
+
* fields' place once the form is sent. The card is part of the form ('there is no form without a card', Fedor
|
|
1096
|
+
* 2026-09-28): a Card in one of three finishes — --lined, --raised, --plain — at the form's inset (card.css).
|
|
1097
|
+
* Two parts a form needs that no control had: the FILE control (a label drawn as the Input around a hidden file
|
|
1098
|
+
* input, the file's name in the caption ink, a paperclip at its end) and the SENDING state of the Button
|
|
1099
|
+
* (aria-busy — it dims and cannot be pressed twice; the label says 'Sending…'). Request 34 from the corporate site,
|
|
1100
|
+
* 2026-09-28. Figma: Form. Contract: registry/form/registry.json.
|
|
1101
|
+
*
|
|
1102
|
+
* <div class="pui-card pui-card--lined"><form class="pui-form" novalidate>
|
|
1103
|
+
* <h3 class="pui-card__title">Get in touch with us to know more</h3>
|
|
1104
|
+
* <input class="pui-form__trap" type="text" name="surname" tabindex="-1" autocomplete="off" aria-hidden="true">
|
|
1105
|
+
* <div class="pui-field"><label class="pui-field__label" for="f-name">Name</label>
|
|
1106
|
+
* <input class="pui-input" id="f-name" required><span class="pui-field__error">Please enter your name</span></div>
|
|
1107
|
+
* <div class="pui-field"><span class="pui-field__label">CV</span>
|
|
1108
|
+
* <label class="pui-input pui-input--file"><span class="pui-input__file-name">No file chosen</span>
|
|
1109
|
+
* <span class="pui-icon pui-input__file-icon"><svg><use href="icons.svg#paperclip"/></svg></span>
|
|
1110
|
+
* <input type="file"></label></div>
|
|
1111
|
+
* <div class="pui-field"><label class="pui-checkbox"> …the consent… </label><span class="pui-field__error">…</span></div>
|
|
1112
|
+
* <button class="pui-button pui-button--block" type="submit">Book a demo</button>
|
|
1113
|
+
* <div class="pui-form-result" role="status" aria-live="polite"> … </div></form></div>
|
|
1114
|
+
*
|
|
1115
|
+
* State .is-success on the form — the parts leave and the Form result shows in their place
|
|
1116
|
+
* aria-busy="true" (with disabled) on the Button — sending
|
|
1117
|
+
* Parts __trap — the spam trap, never shown · .pui-input--file with __file-name and __file-icon
|
|
1118
|
+
* Rule one primary action; the order of the parts never changes; a failure is an Alert above the Button, not the result
|
|
1119
|
+
*/
|
|
1120
|
+
|
|
1121
|
+
.pui-form {
|
|
1122
|
+
display: flex;
|
|
1123
|
+
flex-direction: column;
|
|
1124
|
+
gap: var(--pui-space-24);
|
|
1125
|
+
min-width: 0;
|
|
1126
|
+
margin: 0;
|
|
1127
|
+
font-family: var(--pui-font-family);
|
|
1128
|
+
}
|
|
1129
|
+
.pui-form__trap { display: none; }
|
|
1130
|
+
|
|
1131
|
+
/* the result takes the fields' place */
|
|
1132
|
+
.pui-form > .pui-form-result { display: none; }
|
|
1133
|
+
.pui-form.is-success > :not(.pui-form-result) {
|
|
1134
|
+
pointer-events: none;
|
|
1135
|
+
animation: pui-form-out var(--pui-motion-menu) var(--pui-motion-easing) forwards;
|
|
1136
|
+
}
|
|
1137
|
+
.pui-form.is-success > .pui-form-result {
|
|
1138
|
+
display: flex;
|
|
1139
|
+
animation: pui-form-result-in var(--pui-motion-menu) var(--pui-motion-easing) var(--pui-motion-state) both;
|
|
1140
|
+
}
|
|
1141
|
+
@keyframes pui-form-out { to { opacity: 0; display: none; } }
|
|
1142
|
+
@keyframes pui-form-result-in { from { opacity: 0; transform: translateY(var(--pui-space-8)); } }
|
|
1143
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1144
|
+
.pui-form.is-success > :not(.pui-form-result) { animation: none; display: none; }
|
|
1145
|
+
.pui-form.is-success > .pui-form-result { animation: none; }
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
/* the file control — the Input's box as a label around the native input, which is hidden and still focusable */
|
|
1149
|
+
.pui-input--file {
|
|
1150
|
+
position: relative;
|
|
1151
|
+
display: flex;
|
|
1152
|
+
align-items: center;
|
|
1153
|
+
gap: var(--pui-space-8);
|
|
1154
|
+
overflow: hidden;
|
|
1155
|
+
cursor: pointer;
|
|
1156
|
+
}
|
|
1157
|
+
.pui-input--file > input[type="file"] {
|
|
1158
|
+
position: absolute;
|
|
1159
|
+
width: 1px;
|
|
1160
|
+
height: 1px;
|
|
1161
|
+
opacity: 0;
|
|
1162
|
+
pointer-events: none;
|
|
1163
|
+
}
|
|
1164
|
+
.pui-input--file:focus-within { border-color: var(--pui-border-focus); box-shadow: var(--pui-ring); }
|
|
1165
|
+
.pui-input__file-name {
|
|
1166
|
+
flex: 1 1 auto;
|
|
1167
|
+
min-width: 0;
|
|
1168
|
+
overflow: hidden;
|
|
1169
|
+
color: var(--pui-text-caption);
|
|
1170
|
+
white-space: nowrap;
|
|
1171
|
+
text-overflow: ellipsis;
|
|
1172
|
+
}
|
|
1173
|
+
.pui-input__file-name :is(b, strong) { font-weight: var(--pui-font-weight-600); }
|
|
1174
|
+
.pui-input__file-icon { flex: none; width: var(--pui-size-icon-16); height: var(--pui-size-icon-16); color: var(--pui-text-muted); }
|
|
1175
|
+
|
|
1176
|
+
/* sending — the Button between the press and the answer */
|
|
1177
|
+
.pui-button[aria-busy="true"] {
|
|
1178
|
+
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 */
|
|
1179
|
+
color: var(--pui-action-primary-fg);
|
|
1180
|
+
opacity: 0.5;
|
|
1181
|
+
cursor: progress;
|
|
1182
|
+
pointer-events: none;
|
|
1183
|
+
transform: none;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1071
1186
|
/* select.css — Select · Select menu · Select item (10_COMPONENTS.md § Forms).
|
|
1072
1187
|
*
|
|
1073
1188
|
* One choice from a list that opens on demand. The trigger is the site file's Select & Combobox master (2334:683):
|
|
@@ -3674,11 +3789,22 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
3674
3789
|
* <div class="pui-button-group pui-card__footer">…</div></div>
|
|
3675
3790
|
* <div class="pui-card pui-card--filled-header"><div class="pui-card__head"> …the header parts… </div> …</div>
|
|
3676
3791
|
*
|
|
3792
|
+
* the card as a link (request 41) — the same parts on an <a> or a <button>, no class more:
|
|
3793
|
+
* <a class="pui-card pui-card--border" href="…"><span class="pui-card__media"><img src="…" alt=""></span>
|
|
3794
|
+
* <span class="pui-card__header"><span class="pui-card__texts"><span class="pui-card__logo"><img src="…" alt="Client"></span>
|
|
3795
|
+
* <span class="pui-card__title">…</span><span class="pui-card__description">…</span><span class="pui-badge pui-badge--small">…</span></span>
|
|
3796
|
+
* <span class="pui-icon-button pui-icon-button--small pui-icon-button--round pui-card__action">…arrow-up-right…</span></span></a>
|
|
3797
|
+
*
|
|
3677
3798
|
* Style (none) basic · --plain · --border · --soft · --colour · --filled-header
|
|
3678
3799
|
* Lined --lined — a 2 px border/default line on a tinted finish (basic, soft, colour); --border is the white card's 1 px
|
|
3800
|
+
* Raised --raised — a tinted card with no line, lifted by elevation/card: a card on a white page (the form card, request 34)
|
|
3801
|
+
* Link an <a> or a <button> that IS the card: it lifts on hover, its Action steps out, the header sits on its base
|
|
3802
|
+
* line, the title and the line under it are body/medium Regular; __logo is a mark over the title (request 41)
|
|
3803
|
+
* Form a card that holds a .pui-form takes the form's inset — space/32, space/24 on a phone (request 34)
|
|
3679
3804
|
* Accent set data-accent on the card or a parent (blue / red / yellow / multicolor) — soft, colour and
|
|
3680
3805
|
* filled-header follow it; yellow's ink is the token's, never a hand override
|
|
3681
|
-
* Sequence a row of cards in multicolor colours its icon boxes by position, sequence/1…6 (request 5)
|
|
3806
|
+
* Sequence a row of cards in multicolor colours its icon boxes by position, sequence/1…6 (request 5); ONE card names
|
|
3807
|
+
* its step with data-sequence="1…6" (request 35). The glyph is white on every step, yellow included
|
|
3682
3808
|
* Canvas the title and band scale with data-canvas (D36) — 22 / 18 on the web, 26 / 20 on a slide
|
|
3683
3809
|
*/
|
|
3684
3810
|
|
|
@@ -3703,6 +3829,9 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
3703
3829
|
/* --lined: a 2 px border/default line on a TINTED card — Fedor's Echo AI contact card, kept against the kit's lineless tints
|
|
3704
3830
|
('the form is mixing with the background'; request 18, 2026-09-25). Basic, soft and colour take it; the white finishes have --border. */
|
|
3705
3831
|
.pui-card--lined { border-width: 2px; border-color: var(--pui-border-default); }
|
|
3832
|
+
/* --raised: the tinted card with no line, lifted by its shadow — the form card on a white page (Contact, the gated case
|
|
3833
|
+
study; request 34, 2026-09-28). Never with --border or --lined: a line and a shadow together is the anti-pattern. */
|
|
3834
|
+
.pui-card--raised { box-shadow: var(--pui-elevation-card); }
|
|
3706
3835
|
.pui-card--soft { background: var(--pui-accent-bg); }
|
|
3707
3836
|
.pui-card--colour { background: var(--pui-accent-main); color: var(--pui-accent-on-accent); }
|
|
3708
3837
|
|
|
@@ -3739,16 +3868,22 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
3739
3868
|
background: var(--pui-accent-main);
|
|
3740
3869
|
color: var(--pui-accent-on-accent);
|
|
3741
3870
|
}
|
|
3871
|
+
/* THE WHITE BOX — on every ground the accent paints (the soft tint, the colour card, the filled head) the box is white and
|
|
3872
|
+
its glyph is accent/text: the accent itself on blue and red, the ink on yellow, where accent/main on white was
|
|
3873
|
+
yellow on white (request 27 — Fedor's iRTB drawing is dark; D24's flip, read from the role that already carries it).
|
|
3874
|
+
The soft card takes the white box since request 36 (the site's demand panels, his drawing); it drew the accent box. */
|
|
3875
|
+
.pui-card--soft .pui-card__icon,
|
|
3742
3876
|
.pui-card--colour .pui-card__icon,
|
|
3743
|
-
.pui-card__head .pui-card__icon { background: var(--pui-surface-page); color: var(--pui-accent-
|
|
3877
|
+
.pui-card__head .pui-card__icon { background: var(--pui-surface-page); color: var(--pui-accent-text); }
|
|
3744
3878
|
/* THE SEQUENCE (request 5, Fedor 2026-09-24): in the multicolor accent a ROW of cards reads the six-step sequence by
|
|
3745
3879
|
position — sequence/1…6: red, yellow, blue, blue/300, grey, red/300 — so the three brand mains are not the only colours
|
|
3746
|
-
on a page. Set data-accent="multicolor" on the row (or on each card) and the icon boxes cycle
|
|
3747
|
-
|
|
3880
|
+
on a page. Set data-accent="multicolor" on the row (or on each card) and the icon boxes cycle. The glyph is WHITE on
|
|
3881
|
+
every step, the yellow one included — Fedor's decision, 2026-09-28, on his own files (it was the dark ink of D24 until
|
|
3882
|
+
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). */
|
|
3748
3883
|
[data-accent="multicolor"] > .pui-card:nth-child(6n+1) .pui-card__icon,
|
|
3749
3884
|
.pui-card[data-accent="multicolor"]:nth-child(6n+1) .pui-card__icon { background: var(--pui-sequence-1); color: var(--pui-text-on-accent); }
|
|
3750
3885
|
[data-accent="multicolor"] > .pui-card:nth-child(6n+2) .pui-card__icon,
|
|
3751
|
-
.pui-card[data-accent="multicolor"]:nth-child(6n+2) .pui-card__icon { background: var(--pui-sequence-2); color: var(--pui-text-
|
|
3886
|
+
.pui-card[data-accent="multicolor"]:nth-child(6n+2) .pui-card__icon { background: var(--pui-sequence-2); color: var(--pui-text-on-accent); }
|
|
3752
3887
|
[data-accent="multicolor"] > .pui-card:nth-child(6n+3) .pui-card__icon,
|
|
3753
3888
|
.pui-card[data-accent="multicolor"]:nth-child(6n+3) .pui-card__icon { background: var(--pui-sequence-3); color: var(--pui-text-on-accent); }
|
|
3754
3889
|
[data-accent="multicolor"] > .pui-card:nth-child(6n+4) .pui-card__icon,
|
|
@@ -3757,6 +3892,15 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
3757
3892
|
.pui-card[data-accent="multicolor"]:nth-child(6n+5) .pui-card__icon { background: var(--pui-sequence-5); color: var(--pui-text-on-accent); }
|
|
3758
3893
|
[data-accent="multicolor"] > .pui-card:nth-child(6n+6) .pui-card__icon,
|
|
3759
3894
|
.pui-card[data-accent="multicolor"]:nth-child(6n+6) .pui-card__icon { background: var(--pui-sequence-6); color: var(--pui-text-on-accent); }
|
|
3895
|
+
/* 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
|
|
3896
|
+
on the first, a slider whose cards are each alone in their slide — so position cannot say it. data-sequence="1…6" on
|
|
3897
|
+
the card; it outranks the row's position and the finish's white box. */
|
|
3898
|
+
.pui-card[data-sequence="1"] > .pui-card__header > .pui-card__icon { background: var(--pui-sequence-1); color: var(--pui-text-on-accent); }
|
|
3899
|
+
.pui-card[data-sequence="2"] > .pui-card__header > .pui-card__icon { background: var(--pui-sequence-2); color: var(--pui-text-on-accent); }
|
|
3900
|
+
.pui-card[data-sequence="3"] > .pui-card__header > .pui-card__icon { background: var(--pui-sequence-3); color: var(--pui-text-on-accent); }
|
|
3901
|
+
.pui-card[data-sequence="4"] > .pui-card__header > .pui-card__icon { background: var(--pui-sequence-4); color: var(--pui-text-on-accent); }
|
|
3902
|
+
.pui-card[data-sequence="5"] > .pui-card__header > .pui-card__icon { background: var(--pui-sequence-5); color: var(--pui-text-on-accent); }
|
|
3903
|
+
.pui-card[data-sequence="6"] > .pui-card__header > .pui-card__icon { background: var(--pui-sequence-6); color: var(--pui-text-on-accent); }
|
|
3760
3904
|
.pui-card__texts { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--pui-space-4); }
|
|
3761
3905
|
.pui-card__title {
|
|
3762
3906
|
margin: 0;
|
|
@@ -3770,6 +3914,7 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
3770
3914
|
.pui-card__action { flex: none; align-self: flex-start; }
|
|
3771
3915
|
|
|
3772
3916
|
.pui-card__band {
|
|
3917
|
+
margin: 0; /* request 37 — a part written as a <p> keeps no page margin (Bootstrap's 1rem on the site) */
|
|
3773
3918
|
padding: var(--pui-space-12);
|
|
3774
3919
|
border-radius: var(--pui-radius-8);
|
|
3775
3920
|
background: var(--pui-card-band);
|
|
@@ -3788,9 +3933,57 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
3788
3933
|
color: var(--pui-text-default);
|
|
3789
3934
|
font-weight: var(--pui-font-weight-400); /* R13 (request 9) */
|
|
3790
3935
|
}
|
|
3936
|
+
.pui-card__slot > :is(p, h1, h2, h3, h4, h5, h6) { margin: 0; } /* request 37 — the slot's gap is the rhythm */
|
|
3791
3937
|
.pui-card--filled-header .pui-card__slot { background: transparent; padding: 0; }
|
|
3792
3938
|
.pui-card__footer { align-self: flex-start; }
|
|
3793
3939
|
|
|
3940
|
+
/* 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
|
|
3941
|
+
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
|
|
3942
|
+
form says it. Its finish is one of three: --lined (tinted, the 2 px line), --raised (tinted, lifted), --plain (white). */
|
|
3943
|
+
.pui-card:has(> .pui-form) { padding: var(--pui-space-32); }
|
|
3944
|
+
@media (max-width: 767px) {
|
|
3945
|
+
.pui-card:has(> .pui-form) { padding: var(--pui-space-24); }
|
|
3946
|
+
}
|
|
3947
|
+
|
|
3948
|
+
/* 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
|
|
3949
|
+
<button>, built from the Card's own parts. No component per content type (Fedor, 2026-09-28) and no class more: the
|
|
3950
|
+
element says it. :where() keeps each rule at the weight of its classes, so a page's one-class rule still places it.
|
|
3951
|
+
It lifts on hover (elevation/card, space/4 up over motion/menu), the Action steps out (3 px over 300 ms — the site's
|
|
3952
|
+
arrow, stated), the header sits on its base line at space/12, the title and the line under it are body/medium
|
|
3953
|
+
Regular in text/default, a badge stands space/8 under them, a logo is a 125 × 30 box on a 35 line (stated). */
|
|
3954
|
+
:where(a, button).pui-card {
|
|
3955
|
+
justify-content: space-between;
|
|
3956
|
+
margin: 0;
|
|
3957
|
+
text-align: left;
|
|
3958
|
+
text-decoration: none;
|
|
3959
|
+
cursor: pointer;
|
|
3960
|
+
transition:
|
|
3961
|
+
box-shadow var(--pui-motion-menu) var(--pui-motion-easing),
|
|
3962
|
+
transform var(--pui-motion-menu) var(--pui-motion-easing);
|
|
3963
|
+
}
|
|
3964
|
+
:where(a, button).pui-card:hover { box-shadow: var(--pui-elevation-card); transform: translateY(calc(-1 * var(--pui-space-4))); }
|
|
3965
|
+
.pui-card:focus-visible { outline: none; box-shadow: var(--pui-ring); } /* only a card that is a link or a button takes focus */
|
|
3966
|
+
:where(a, button).pui-card > .pui-card__header { align-items: flex-end; justify-content: space-between; gap: var(--pui-space-12); }
|
|
3967
|
+
:where(a, button).pui-card .pui-card__texts { gap: 0; }
|
|
3968
|
+
:where(a, button).pui-card .pui-card__title,
|
|
3969
|
+
:where(a, button).pui-card .pui-card__description {
|
|
3970
|
+
color: var(--pui-text-default);
|
|
3971
|
+
font-size: var(--pui-type-body-medium-font-size);
|
|
3972
|
+
font-weight: var(--pui-font-weight-400);
|
|
3973
|
+
line-height: var(--pui-font-line-height-normal);
|
|
3974
|
+
}
|
|
3975
|
+
:where(a, button).pui-card .pui-card__texts > .pui-badge { align-self: flex-start; margin-top: var(--pui-space-8); }
|
|
3976
|
+
:where(a, button).pui-card .pui-card__action { align-self: flex-end; transition: transform 300ms var(--pui-motion-easing-enter); }
|
|
3977
|
+
:where(a, button).pui-card:hover .pui-card__action { transform: translate(3px, -3px); }
|
|
3978
|
+
.pui-card__logo { display: flex; align-items: center; height: 35px; }
|
|
3979
|
+
.pui-card__logo > img { width: auto; height: auto; max-width: 125px; max-height: 30px; object-fit: contain; object-position: left center; }
|
|
3980
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3981
|
+
:where(a, button).pui-card,
|
|
3982
|
+
:where(a, button).pui-card .pui-card__action { transition: none; }
|
|
3983
|
+
:where(a, button).pui-card:hover,
|
|
3984
|
+
:where(a, button).pui-card:hover .pui-card__action { transform: none; }
|
|
3985
|
+
}
|
|
3986
|
+
|
|
3794
3987
|
/* item.css — Item (10_COMPONENTS.md § Content blocks).
|
|
3795
3988
|
*
|
|
3796
3989
|
* A list row: media, a title, a description, actions. Paggy's share rows and template-picker rows (app.css:1432
|
|
@@ -3881,6 +4074,9 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
3881
4074
|
* a category instead of a delta — the same corner, no ring:
|
|
3882
4075
|
* <span class="pui-badge pui-badge--blue pui-badge--small pui-kpi-tile__tag"><span class="pui-icon pui-badge__icon">…</span>Fintech</span>
|
|
3883
4076
|
*
|
|
4077
|
+
* Narrow under 200 px of its OWN width (four across on a tablet, two on a phone — the site's 167) the tile stacks the
|
|
4078
|
+
* value over its tag at space/4, steps the value to title/medium and sits 12 / 20 inside (request 42). The
|
|
4079
|
+
* tile is a size container for it: it takes its width from its row and never from its content
|
|
3884
4080
|
* Tone (none) neutral · --blue · --red · --yellow. The neutral tone FOLLOWS THE GROUND (ground.css, D107): it is
|
|
3885
4081
|
* surface/sunken — neutral/100 on a white page, neutral/200 on the product ground; the three tints do not move
|
|
3886
4082
|
* Parts __tag — a category in the top corner instead of a delta; never rung, whatever its tone (D92)
|
|
@@ -3889,6 +4085,7 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
3889
4085
|
*/
|
|
3890
4086
|
|
|
3891
4087
|
.pui-kpi-tile {
|
|
4088
|
+
container: pui-kpi-tile / inline-size; /* request 42 — the narrow form reads the tile's own width */
|
|
3892
4089
|
display: flex;
|
|
3893
4090
|
flex-direction: column;
|
|
3894
4091
|
justify-content: space-between; /* D59: the top block and the bottom block, the room between them */
|
|
@@ -3938,12 +4135,15 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
3938
4135
|
min-width: 0;
|
|
3939
4136
|
}
|
|
3940
4137
|
.pui-kpi-tile__value {
|
|
4138
|
+
margin: 0; /* request 37 — written as a <p> on the site; the page's paragraph margin stays out */
|
|
4139
|
+
white-space: nowrap; /* a number never breaks */
|
|
3941
4140
|
font-size: var(--pui-type-title-large-font-size);
|
|
3942
4141
|
font-weight: var(--pui-type-title-large-font-weight);
|
|
3943
4142
|
line-height: var(--pui-type-title-large-line-height);
|
|
3944
4143
|
letter-spacing: var(--pui-type-title-large-letter-spacing);
|
|
3945
4144
|
}
|
|
3946
4145
|
.pui-kpi-tile__label {
|
|
4146
|
+
margin: 0; /* request 37 */
|
|
3947
4147
|
font-size: var(--pui-type-body-small-font-size);
|
|
3948
4148
|
font-weight: var(--pui-font-weight-400);
|
|
3949
4149
|
line-height: var(--pui-font-line-height-normal);
|
|
@@ -3964,6 +4164,20 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
3964
4164
|
gap: var(--pui-layout-section-gap);
|
|
3965
4165
|
}
|
|
3966
4166
|
|
|
4167
|
+
/* THE NARROW FORM (request 42) — Fedor's tablet and phone tiles on the site, stated once for every page: below 200 px
|
|
4168
|
+
of the tile's own width the top row stacks (the value over its tag, space/4), the value is title/medium, and the
|
|
4169
|
+
tile sits 12 above and below instead of 20. A container cannot restyle itself, so the 8 that comes off the top and
|
|
4170
|
+
the bottom is taken by the two blocks (space/12 − space/20). */
|
|
4171
|
+
@container pui-kpi-tile (max-width: 199px) {
|
|
4172
|
+
.pui-kpi-tile > .pui-kpi-tile__top { flex-direction: column; align-items: flex-start; gap: var(--pui-space-4); margin-top: calc(var(--pui-space-12) - var(--pui-space-20)); }
|
|
4173
|
+
.pui-kpi-tile > .pui-kpi-tile__bottom { margin-bottom: calc(var(--pui-space-12) - var(--pui-space-20)); }
|
|
4174
|
+
.pui-kpi-tile > .pui-kpi-tile__top > .pui-kpi-tile__value {
|
|
4175
|
+
font-size: var(--pui-type-title-medium-font-size);
|
|
4176
|
+
line-height: var(--pui-type-title-medium-line-height);
|
|
4177
|
+
letter-spacing: var(--pui-type-title-medium-letter-spacing);
|
|
4178
|
+
}
|
|
4179
|
+
}
|
|
4180
|
+
|
|
3967
4181
|
/* insight-block.css — Insight block (10_COMPONENTS.md § Content blocks).
|
|
3968
4182
|
*
|
|
3969
4183
|
* One sentence that says what the numbers mean — Paggy's .insight (the statement in the accent over a grey subline)
|
|
@@ -3978,6 +4192,8 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
3978
4192
|
* <div class="pui-insight-block pui-insight-block--bar"> …the same two texts… </div>
|
|
3979
4193
|
*
|
|
3980
4194
|
* Style (none) plain · --bar
|
|
4195
|
+
* Canvas (none) the slide's sizes · --web with --bar — a block that opens a section of a web page under its heading
|
|
4196
|
+
* pair: Statement title/small at Semibold, Subtext body/medium on the relaxed line (request 38)
|
|
3981
4197
|
* Accent the Accent mode on the instance (data-accent); one insight, one accent
|
|
3982
4198
|
*/
|
|
3983
4199
|
|
|
@@ -4028,6 +4244,19 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
4028
4244
|
font-size: var(--pui-type-body-large-font-size);
|
|
4029
4245
|
}
|
|
4030
4246
|
|
|
4247
|
+
/* ON A WEB PAGE (request 38): the bar's 40 over 22 are a slide's. Under a section's heading pair the statement is
|
|
4248
|
+
title/small at Semibold and the text body/medium on the relaxed line — the site's product pages, Fedor's drawing.
|
|
4249
|
+
The width is the page's (636–740 there); the three-quarter cap still holds. */
|
|
4250
|
+
.pui-insight-block--web.pui-insight-block--bar .pui-insight-block__statement {
|
|
4251
|
+
font-size: var(--pui-type-title-small-font-size);
|
|
4252
|
+
font-weight: var(--pui-font-weight-600);
|
|
4253
|
+
line-height: var(--pui-type-title-small-line-height);
|
|
4254
|
+
}
|
|
4255
|
+
.pui-insight-block--web.pui-insight-block--bar .pui-insight-block__subtext {
|
|
4256
|
+
font-size: var(--pui-type-body-medium-font-size);
|
|
4257
|
+
line-height: var(--pui-font-line-height-relaxed);
|
|
4258
|
+
}
|
|
4259
|
+
|
|
4031
4260
|
/* icon-list.css — Icon list (10_COMPONENTS.md § Content blocks).
|
|
4032
4261
|
*
|
|
4033
4262
|
* A row with a glyph and a point — Paggy's Icon list (the L2 / L2C rows), the site's .icon-list, the concepts'
|
|
@@ -4045,6 +4274,10 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
4045
4274
|
* <li class="pui-icon-list__row pui-icon-list__row--success">…</li></ul>
|
|
4046
4275
|
*
|
|
4047
4276
|
* Size (none) medium · --small (on the list)
|
|
4277
|
+
* Canvas (none) the deck's rows, which touch · --web — a list on a web page (request 39; Fedor's values of
|
|
4278
|
+
* 2026-09-03): the rows stand space/12 apart; under 768 a success or danger row centres its glyph on its
|
|
4279
|
+
* (often two-line) text. The title stands space/12 over its text in both
|
|
4280
|
+
* Emphasis a phrase in <strong> or <b> inside a row's text is Bold 700 — a phrase, never the row (R11)
|
|
4048
4281
|
* Tone (none) accent · __row--success · __row--danger · __row--neutral
|
|
4049
4282
|
* Sequence data-accent="multicolor" on the list colours the glyphs by row, sequence/1…6 (request 5)
|
|
4050
4283
|
*/
|
|
@@ -4087,7 +4320,7 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
4087
4320
|
.pui-icon-list[data-accent="multicolor"] > .pui-icon-list__row--success > .pui-icon-list__icon { color: var(--pui-status-success-solid); }
|
|
4088
4321
|
.pui-icon-list[data-accent="multicolor"] > .pui-icon-list__row--danger > .pui-icon-list__icon { color: var(--pui-status-danger-solid); }
|
|
4089
4322
|
.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 */
|
|
4090
|
-
.pui-icon-list__texts { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--pui-space-
|
|
4323
|
+
.pui-icon-list__texts { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--pui-space-12); } /* the set's own gap (Figma 149:14 Body, space/12) and the site's since 2026-09-03 — it was space/4 until 2.3.0 (request 39) */
|
|
4091
4324
|
.pui-icon-list__title {
|
|
4092
4325
|
margin: 0;
|
|
4093
4326
|
font-size: var(--pui-type-body-large-font-size);
|
|
@@ -4100,6 +4333,7 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
4100
4333
|
font-weight: var(--pui-font-weight-400);
|
|
4101
4334
|
line-height: var(--pui-font-line-height-normal);
|
|
4102
4335
|
}
|
|
4336
|
+
.pui-icon-list__text :is(b, strong) { font-weight: var(--pui-font-weight-700); }
|
|
4103
4337
|
.pui-icon-list--small .pui-icon-list__icon { margin-top: 0; }
|
|
4104
4338
|
.pui-icon-list--small .pui-icon-list__title {
|
|
4105
4339
|
font-size: var(--pui-type-body-medium-font-size);
|
|
@@ -4107,6 +4341,15 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
4107
4341
|
}
|
|
4108
4342
|
.pui-icon-list--small .pui-icon-list__text { display: none; }
|
|
4109
4343
|
|
|
4344
|
+
/* ON A WEB PAGE (request 39). The deck's rows touch — the padding is the rhythm; on a page the rows stand apart,
|
|
4345
|
+
Fedor's value on the site since 2026-09-03. */
|
|
4346
|
+
.pui-icon-list--web { gap: var(--pui-space-12); }
|
|
4347
|
+
@media (max-width: 767px) {
|
|
4348
|
+
.pui-icon-list--web > .pui-icon-list__row--success,
|
|
4349
|
+
.pui-icon-list--web > .pui-icon-list__row--danger { align-items: center; }
|
|
4350
|
+
.pui-icon-list--web > :is(.pui-icon-list__row--success, .pui-icon-list__row--danger) > .pui-icon-list__icon { margin-top: 0; }
|
|
4351
|
+
}
|
|
4352
|
+
|
|
4110
4353
|
/* bullet-list.css — Bullet list · Bullet list item (10_COMPONENTS.md § Content blocks).
|
|
4111
4354
|
*
|
|
4112
4355
|
* Points in a column — Paggy's .l17-bullets, the Deck kit's bull_list rows, the site's .bullet-list — with the one
|
|
@@ -4123,6 +4366,7 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
4123
4366
|
*
|
|
4124
4367
|
* Style (none) check · --dot
|
|
4125
4368
|
* Size (none) regular · --small
|
|
4369
|
+
* Emphasis a phrase in <strong> or <b> is Bold 700 — a phrase, never the row (R11)
|
|
4126
4370
|
*/
|
|
4127
4371
|
|
|
4128
4372
|
.pui-bullet-list {
|
|
@@ -4163,6 +4407,7 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
4163
4407
|
border-radius: var(--pui-radius-full);
|
|
4164
4408
|
background: var(--pui-accent-main);
|
|
4165
4409
|
}
|
|
4410
|
+
.pui-bullet-list__item :is(b, strong) { font-weight: var(--pui-font-weight-700); } /* request 39 — a phrase in Bold, the site's rows */
|
|
4166
4411
|
.pui-bullet-list--small .pui-bullet-list__item { font-size: var(--pui-type-body-medium-font-size); }
|
|
4167
4412
|
.pui-bullet-list--small .pui-bullet-list__glyph { margin-top: 0; }
|
|
4168
4413
|
|
|
@@ -4178,7 +4423,11 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
4178
4423
|
* <p class="pui-heading-pair__subtitle">Powered by verified MAFO performance</p></header>
|
|
4179
4424
|
* <header class="pui-heading-pair pui-heading-pair--web"><p class="pui-heading-pair__eyebrow">About us</p> …title, subtitle… </header>
|
|
4180
4425
|
*
|
|
4181
|
-
*
|
|
4426
|
+
* <header class="pui-heading-pair pui-heading-pair--section"><h2 class="pui-heading-pair__title">MAFO Demand</h2>
|
|
4427
|
+
* <p class="pui-heading-pair__subtitle">Intelligence for User Acquisition & Growth Teams</p></header>
|
|
4428
|
+
*
|
|
4429
|
+
* Style (none) slide · --web (a page's head) · --section (a section of a web page: the title headline/small, the
|
|
4430
|
+
* line under it title/small at Regular in accent/heading, space/8 between them — request 43)
|
|
4182
4431
|
*/
|
|
4183
4432
|
|
|
4184
4433
|
.pui-heading-pair {
|
|
@@ -4224,6 +4473,23 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
4224
4473
|
line-height: var(--pui-font-line-height-normal);
|
|
4225
4474
|
}
|
|
4226
4475
|
|
|
4476
|
+
/* A SECTION OF A WEB PAGE (request 43): the product pages open each section with a title at headline/small and, under
|
|
4477
|
+
it, a line at title/small Regular in the page's accent/heading — the slide pair one step down, space/8 apart (the
|
|
4478
|
+
site's own gap). The accent is the page's data-accent. */
|
|
4479
|
+
.pui-heading-pair--section { gap: var(--pui-space-8); }
|
|
4480
|
+
.pui-heading-pair--section .pui-heading-pair__title {
|
|
4481
|
+
font-size: var(--pui-type-headline-small-font-size);
|
|
4482
|
+
font-weight: var(--pui-type-headline-small-font-weight);
|
|
4483
|
+
line-height: var(--pui-type-headline-small-line-height);
|
|
4484
|
+
letter-spacing: var(--pui-type-headline-small-letter-spacing);
|
|
4485
|
+
}
|
|
4486
|
+
.pui-heading-pair--section .pui-heading-pair__subtitle {
|
|
4487
|
+
font-size: var(--pui-type-title-small-font-size);
|
|
4488
|
+
font-weight: var(--pui-font-weight-400);
|
|
4489
|
+
line-height: var(--pui-type-title-small-line-height);
|
|
4490
|
+
letter-spacing: var(--pui-type-title-small-letter-spacing);
|
|
4491
|
+
}
|
|
4492
|
+
|
|
4227
4493
|
/* typography.css — Typography, prose as one block (10_COMPONENTS.md § Content blocks).
|
|
4228
4494
|
*
|
|
4229
4495
|
* The site's article body (blog-article.css:150–290 .article-body) quoted block by block and bound to the Typography
|
|
@@ -4651,7 +4917,15 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
4651
4917
|
* <span class="pui-device-frame__url">mafo.mobupps.com</span></div>
|
|
4652
4918
|
* <div class="pui-device-frame__screen"><img src="…" alt="…"></div></div></div>
|
|
4653
4919
|
*
|
|
4920
|
+
* with the toolbar (request 29) — the same bar, the glyphs a browser shows:
|
|
4921
|
+
* <div class="pui-device-frame__bar"><span class="pui-device-frame__lights"><i></i><i></i><i></i></span>
|
|
4922
|
+
* <span class="pui-device-frame__nav"> …three .pui-icon: chevron-left · chevron-right · refresh-cw… </span>
|
|
4923
|
+
* <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>
|
|
4924
|
+
* <span class="pui-device-frame__tools"> …three .pui-icon: shield · plus · menu… </span></div>
|
|
4925
|
+
*
|
|
4654
4926
|
* Kind --browser (the window; the only kind today)
|
|
4927
|
+
* Toolbar __nav and __tools beside the well, a glyph at each end of __url around __url-text — seven library glyphs
|
|
4928
|
+
* in illustration/chrome/text, the site's window (request 29). Without them the bar is the lights and the well
|
|
4655
4929
|
* Unit --pui-device-unit — one design pixel; the host sets it from its width
|
|
4656
4930
|
*/
|
|
4657
4931
|
|
|
@@ -4716,6 +4990,85 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
4716
4990
|
.pui-device-frame__screen > img,
|
|
4717
4991
|
.pui-device-frame__screen > video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
|
|
4718
4992
|
|
|
4993
|
+
/* THE TOOLBAR (request 29; taken as an option, 2026-09-28): the site's window shows what a browser shows — back,
|
|
4994
|
+
forward and reload before the well, a lock and a star inside it, a shield, a plus and the menu after it. Every glyph
|
|
4995
|
+
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
|
|
4996
|
+
numbers; the address is set in the platform's UI face, as a browser sets it. */
|
|
4997
|
+
.pui-device-frame__nav,
|
|
4998
|
+
.pui-device-frame__tools {
|
|
4999
|
+
display: flex;
|
|
5000
|
+
flex: none;
|
|
5001
|
+
align-items: center;
|
|
5002
|
+
gap: calc(3.5648 * var(--pui-device-unit));
|
|
5003
|
+
color: var(--pui-illustration-chrome-text);
|
|
5004
|
+
}
|
|
5005
|
+
.pui-device-frame__nav > .pui-icon,
|
|
5006
|
+
.pui-device-frame__tools > .pui-icon {
|
|
5007
|
+
box-sizing: content-box;
|
|
5008
|
+
width: calc(8.3179 * var(--pui-device-unit));
|
|
5009
|
+
height: calc(8.3179 * var(--pui-device-unit));
|
|
5010
|
+
padding: calc(2.376 * var(--pui-device-unit));
|
|
5011
|
+
}
|
|
5012
|
+
.pui-device-frame__url:has(> .pui-device-frame__url-text) {
|
|
5013
|
+
display: flex;
|
|
5014
|
+
align-items: center;
|
|
5015
|
+
gap: calc(4.7531 * var(--pui-device-unit));
|
|
5016
|
+
padding: 0 calc(5.9414 * var(--pui-device-unit));
|
|
5017
|
+
}
|
|
5018
|
+
.pui-device-frame__url > .pui-icon { width: calc(7.1296 * var(--pui-device-unit)); height: calc(7.1296 * var(--pui-device-unit)); }
|
|
5019
|
+
.pui-device-frame__url-text {
|
|
5020
|
+
flex: 1 1 auto;
|
|
5021
|
+
min-width: 0;
|
|
5022
|
+
overflow: hidden;
|
|
5023
|
+
font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
5024
|
+
font-size: calc(7.1296 * var(--pui-device-unit));
|
|
5025
|
+
text-align: center;
|
|
5026
|
+
white-space: nowrap;
|
|
5027
|
+
text-overflow: ellipsis;
|
|
5028
|
+
}
|
|
5029
|
+
|
|
5030
|
+
/* socials.css — Socials (10_COMPONENTS.md § Content blocks).
|
|
5031
|
+
*
|
|
5032
|
+
* The row of social marks — ONE component for every place: the footer of every page, the share row of a blog article
|
|
5033
|
+
* (Fedor, 2026-09-28: 'structurally, because of classes, it looks like they are different components, but actually this
|
|
5034
|
+
* is the one single component. The difference is only colour'). Three marks — LinkedIn, Facebook, YouTube — each a
|
|
5035
|
+
* round 29 box (the Footer's drawing, Figma 265:30; between size/icon/24 and /32 — stated), space/12 apart. A mark is a
|
|
5036
|
+
* glyph of the sprite painted by currentColor (R25): a disc in the ink with the company's sign cut out of it, so the
|
|
5037
|
+
* ground shows through — text/default on a light ground, text/on-inverse on a dark one. The marks are
|
|
5038
|
+
* icons.svg#social-linkedin · #social-facebook · #social-youtube. A link opens the company's profile (or shares the
|
|
5039
|
+
* page) in a new tab and says where in its aria-label. Request 40 from the corporate site, 2026-09-28.
|
|
5040
|
+
* Figma: Socials. Contract: registry/socials/registry.json.
|
|
5041
|
+
*
|
|
5042
|
+
* <div class="pui-socials">
|
|
5043
|
+
* <a class="pui-socials__link" href="…" target="_blank" rel="noopener" aria-label="LinkedIn">
|
|
5044
|
+
* <span class="pui-icon" aria-hidden="true"><svg><use href="icons.svg#social-linkedin"/></svg></span></a> …</div>
|
|
5045
|
+
* <div class="pui-socials pui-socials--on-dark"> …the same links… </div>
|
|
5046
|
+
*
|
|
5047
|
+
* Ground (none) light · --on-dark
|
|
5048
|
+
*/
|
|
5049
|
+
|
|
5050
|
+
.pui-socials {
|
|
5051
|
+
display: flex;
|
|
5052
|
+
align-items: center;
|
|
5053
|
+
gap: var(--pui-space-12);
|
|
5054
|
+
margin: 0;
|
|
5055
|
+
padding: 0;
|
|
5056
|
+
list-style: none;
|
|
5057
|
+
color: var(--pui-text-default);
|
|
5058
|
+
}
|
|
5059
|
+
.pui-socials--on-dark { color: var(--pui-text-on-inverse); }
|
|
5060
|
+
.pui-socials__link {
|
|
5061
|
+
display: flex;
|
|
5062
|
+
flex: none;
|
|
5063
|
+
border-radius: var(--pui-radius-full);
|
|
5064
|
+
color: inherit;
|
|
5065
|
+
text-decoration: none;
|
|
5066
|
+
transition: opacity var(--pui-motion-state) var(--pui-motion-easing);
|
|
5067
|
+
}
|
|
5068
|
+
.pui-socials__link:is(:link, :visited) { color: inherit; }
|
|
5069
|
+
.pui-socials__link:focus-visible { outline: none; box-shadow: var(--pui-ring); }
|
|
5070
|
+
.pui-socials__link > .pui-icon { width: 29px; height: 29px; } /* the mark's box — the Footer's drawing (stated) */
|
|
5071
|
+
|
|
4719
5072
|
/* Shells and patterns */
|
|
4720
5073
|
/* sidebar.css — Sidebar · Nav item · Nav section (10_COMPONENTS.md § Shells and patterns).
|
|
4721
5074
|
*
|
|
@@ -4870,9 +5223,11 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
4870
5223
|
* Subscription (three links; a heading, the social marks, the email field with its Subscribe button), the badges filling
|
|
4871
5224
|
* the rest, centred. Headings 14 SemiBold in nav/section/fg (the site's 600), links 14 Regular in nav/item/fg
|
|
4872
5225
|
* (neutral-300 for the site's 200 — stated), white on hover; the email field a 36-tall box at radius/8 in
|
|
4873
|
-
* color/alpha/white-8 with a nav/item/bg-active stroke (the site's white .05 and #404040 — stated)
|
|
4874
|
-
*
|
|
4875
|
-
*
|
|
5226
|
+
* color/alpha/white-8 with a nav/item/bg-active stroke (the site's white .05 and #404040 — stated). Web only.
|
|
5227
|
+
* Figma 265:10. Contract: registry/footer/registry.json.
|
|
5228
|
+
* 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 —
|
|
5229
|
+
* 'the same component … the only difference must be the colour' — and the social marks are the Socials row (request 40).
|
|
5230
|
+
* `__pill`, `__subscribe` and `__socials` are DEPRECATED: they paint as before for this minor and go in the next major.
|
|
4876
5231
|
* 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;
|
|
4877
5232
|
* the design lead's built footer (the prototypes' styles.css and the site's global-2026.css) is the spec, and the
|
|
4878
5233
|
* library's Footer already drew the box — the class keeps its 1.0 name, `__pill`.
|
|
@@ -4882,7 +5237,9 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
4882
5237
|
* <footer class="pui-footer">
|
|
4883
5238
|
* <div class="pui-footer__column"><p class="pui-footer__heading">Menu</p><a class="pui-footer__link" href="…">Case studies</a> …</div>
|
|
4884
5239
|
* <div class="pui-footer__column pui-footer__column--stack"> …Terms… <div><p class="pui-footer__heading">Subscription</p>
|
|
4885
|
-
* <
|
|
5240
|
+
* <div class="pui-socials pui-socials--on-dark"> …three marks… </div>
|
|
5241
|
+
* <div class="pui-field"><label class="pui-input-group pui-input-group--on-dark"><input class="pui-input-group__control" type="email"
|
|
5242
|
+
* placeholder="Enter your email"><button class="pui-button pui-button--small pui-input-group__button">Subscribe</button></label></div></div></div>
|
|
4886
5243
|
* <div class="pui-footer__badges"> …img… </div></footer>
|
|
4887
5244
|
*/
|
|
4888
5245
|
|
|
@@ -4923,7 +5280,14 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
4923
5280
|
.pui-footer__links { display: flex; flex-direction: column; gap: var(--pui-space-4); margin: 0; padding: 0; list-style: none; }
|
|
4924
5281
|
.pui-footer__link:hover { color: var(--pui-nav-item-fg-active); }
|
|
4925
5282
|
.pui-footer__link:focus-visible { outline: none; border-radius: var(--pui-radius-4); box-shadow: var(--pui-ring); }
|
|
5283
|
+
/* the step above the socials row and above the email field — what __socials and __pill carried; the field is the
|
|
5284
|
+
Subscription column's 303 (Figma 265:28 — stated) */
|
|
5285
|
+
.pui-footer .pui-socials,
|
|
5286
|
+
.pui-footer .pui-field { margin-top: var(--pui-space-8); }
|
|
5287
|
+
.pui-footer .pui-field { width: 303px; max-width: 100%; }
|
|
5288
|
+
/* deprecated: 2.3.0 — use .pui-socials (socials.css) */
|
|
4926
5289
|
.pui-footer__socials { display: flex; gap: var(--pui-space-12); margin-top: var(--pui-space-8); }
|
|
5290
|
+
/* deprecated: 2.3.0 — use .pui-input-group.pui-input-group--on-dark with the small Button in it (input-group.css) */
|
|
4927
5291
|
.pui-footer__pill { /* the email field — a box since 2.5.10; the name is 1.0's */
|
|
4928
5292
|
display: flex;
|
|
4929
5293
|
align-items: center;
|
|
@@ -4956,6 +5320,7 @@ a.pui-breadcrumb__item:focus-visible { outline: none; box-shadow: var(--pui-ring
|
|
|
4956
5320
|
.pui-footer__pill:focus-within { border-color: var(--pui-border-focus); box-shadow: var(--pui-ring); }
|
|
4957
5321
|
/* The field's own Subscribe button (2.5.10, Figma 265:36): 12 Regular text/default on text/on-inverse, space/4 × space/8,
|
|
4958
5322
|
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). */
|
|
5323
|
+
/* deprecated: 2.3.0 — the field's button is the small Button inside the Input group */
|
|
4959
5324
|
.pui-footer__subscribe {
|
|
4960
5325
|
flex: none;
|
|
4961
5326
|
margin: 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pepperui/css",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.1",
|
|
4
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,
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"./package.json": "./package.json"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@pepperui/tokens": "^1.4.
|
|
27
|
+
"@pepperui/tokens": "^1.4.1"
|
|
28
28
|
},
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public"
|