PluginProbe
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor / 4.0.3
User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor v4.0.3
4.0.3 4.0.2 4.0.1 4.0.0 3.16.6 3.16.5 3.16.4 3.16.3 3.16.2 3.16.1 3.16.0 3.15.9 3.9.9 3.9.5 3.9.6 3.9.7 3.9.8 1.1.7 1.1.8 1.1.9 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 All 341 releases
profile-builder / form-builder / blocks / src / style / _msf-step-break.scss

_msf-step-break.scss in User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor 4.0.3, at form-builder/blocks/src/style/_msf-step-break.scss

89 lines 2.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 // Multi-Step Forms — Step Break block (the movable separator).
2 //
3 // A centered "Step N → Step N+1"
4 // pair of pills flanked by connector lines, with a small uppercase "STEP BREAK"
5 // caption beneath. Numbered dots inside each pill (the "from" step filled with
6 // the accent color, the "to" step hollow) read as a step transition. Token
7 // values come from style/_tokens.scss.
8 .wppb-fb-msf-step-break {
9 // See _field-block.scss: border-box so the content-size caps total width
10 // and every PB block lines up at the same width.
11 box-sizing: border-box;
12 margin: var(--wppb-fb-space-3xl) 0;
13
14 &__divider {
15 align-items: center;
16 display: flex;
17 gap: var(--wppb-fb-space-lg);
18 user-select: none;
19 }
20
21 &__line {
22 background: var(--wppb-fb-border-strong);
23 flex: 1 1 auto;
24 height: 1px;
25 }
26
27 &__core {
28 align-items: center;
29 display: flex;
30 flex: 0 0 auto;
31 gap: var(--wppb-fb-space-sm);
32 }
33
34 &__pill {
35 align-items: center;
36 background: var(--wppb-fb-surface-default);
37 border: 1px solid var(--wppb-fb-border-strong);
38 border-radius: var(--wppb-fb-radius-pill);
39 color: var(--wppb-fb-text-primary);
40 display: inline-flex;
41 font-size: var(--wppb-fb-font-sm);
42 font-weight: 600;
43 gap: var(--wppb-fb-space-xs);
44 padding: var(--wppb-fb-space-2xs) var(--wppb-fb-space-lg) var(--wppb-fb-space-2xs) var(--wppb-fb-space-sm);
45
46 &.is-inert {
47 border-style: dashed;
48 color: var(--wppb-fb-text-muted);
49 padding: var(--wppb-fb-space-2xs) var(--wppb-fb-space-lg);
50 }
51 }
52
53 &__dot {
54 align-items: center;
55 background: var(--wppb-fb-surface-subtle);
56 border-radius: 50%;
57 color: var(--wppb-fb-text-muted);
58 display: flex;
59 flex: 0 0 auto;
60 font-size: var(--wppb-fb-font-xs);
61 font-weight: 700;
62 height: 18px;
63 justify-content: center;
64 width: 18px;
65
66 &.is-done {
67 background: var(--wppb-fb-accent);
68 color: var(--wppb-fb-text-on-accent);
69 }
70 }
71
72 &__arrow {
73 align-items: center;
74 color: var(--wppb-fb-text-faint);
75 display: flex;
76 flex: 0 0 auto;
77 }
78
79 &__caption {
80 color: var(--wppb-fb-text-faint);
81 font-size: var(--wppb-fb-font-xs);
82 font-weight: 600;
83 letter-spacing: 0.04em;
84 margin-top: var(--wppb-fb-space-sm);
85 text-align: center;
86 text-transform: uppercase;
87 }
88 }
89