@webority/theme 0.163.0 → 0.165.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.
Files changed (70) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +21 -21
  3. package/dist/purge-safelist.json +47 -24
  4. package/dist/webority-theme.css +1 -1
  5. package/package.json +6 -5
  6. package/scss/_bootstrap.generated.scss +1 -1
  7. package/scss/_components.scss +38 -34
  8. package/scss/_flags.scss +3 -3
  9. package/scss/_marketing.scss +6 -6
  10. package/scss/_tokens.generated.scss +1 -1
  11. package/scss/_variables.scss +19 -19
  12. package/scss/_wui-components.scss +4 -2
  13. package/scss/_wui-core.scss +4 -2
  14. package/scss/wui/_card.scss +8 -8
  15. package/scss/wui/_choice.scss +4 -4
  16. package/scss/wui/_command-palette.scss +7 -2
  17. package/scss/wui/_comment-thread.scss +3 -3
  18. package/scss/wui/_context-menu.scss +14 -10
  19. package/scss/wui/_controls.scss +80 -116
  20. package/scss/wui/_data.scss +71 -35
  21. package/scss/wui/_dialog-motion.scss +14 -19
  22. package/scss/wui/_disclosure.scss +3 -3
  23. package/scss/wui/_display.scss +56 -56
  24. package/scss/wui/_dock.scss +4 -4
  25. package/scss/wui/_drawer.scss +18 -15
  26. package/scss/wui/_empty-state.scss +4 -4
  27. package/scss/wui/_entry-grid.scss +118 -0
  28. package/scss/wui/_field-sizes.scss +1 -2
  29. package/scss/wui/_file-viewer.scss +14 -2
  30. package/scss/wui/_filter-popover.scss +1 -1
  31. package/scss/wui/_floating.scss +1 -1
  32. package/scss/wui/_flow.scss +33 -33
  33. package/scss/wui/_formula-steps.scss +73 -0
  34. package/scss/wui/_hover-card.scss +6 -5
  35. package/scss/wui/_inline-edit.scss +1 -1
  36. package/scss/wui/_interaction.scss +4 -0
  37. package/scss/wui/_kanban.scss +1 -1
  38. package/scss/wui/_lightbox.scss +20 -9
  39. package/scss/wui/_media.scss +1 -1
  40. package/scss/wui/_mention-input.scss +3 -3
  41. package/scss/wui/_menu-motion.scss +23 -23
  42. package/scss/wui/_metric-strip.scss +14 -0
  43. package/scss/wui/_modal-remote.scss +3 -3
  44. package/scss/wui/_native-overlay.scss +76 -0
  45. package/scss/wui/_navigation-menu.scss +13 -17
  46. package/scss/wui/_navigation.scss +25 -1
  47. package/scss/wui/_notification-center.scss +6 -9
  48. package/scss/wui/_overlay-reset.scss +15 -0
  49. package/scss/wui/_overlays.scss +147 -99
  50. package/scss/wui/_page-header-bar.scss +24 -0
  51. package/scss/wui/_scrollbar.scss +1 -1
  52. package/scss/wui/_sections.scss +31 -3
  53. package/scss/wui/_select.scss +16 -10
  54. package/scss/wui/_shell-parts.scss +6 -2
  55. package/scss/wui/_shell.scss +131 -28
  56. package/scss/wui/_shortcuts.scss +3 -15
  57. package/scss/wui/_sortable.scss +1 -1
  58. package/scss/wui/_tone-pill.scss +2 -2
  59. package/scss/wui/_toolbar.scss +3 -3
  60. package/scss/wui/_truncate.scss +2 -2
  61. package/scss/wui/_typography.scss +9 -8
  62. package/scss/wui/_utilities.scss +4 -12
  63. package/scss/wui/_whats-new.scss +6 -7
  64. package/scss/wui/_workspace.scss +34 -9
  65. package/scss/wui/tour/_base.scss +11 -1
  66. package/scss/wui/tour/_end.scss +6 -0
  67. package/scss/wui/tour/_media.scss +1 -1
  68. package/scss/wui/tour/_placement.scss +6 -0
  69. package/scss/wui/_resizable.scss +0 -100
  70. package/scss/wui/_rolling-number.scss +0 -68
@@ -73,6 +73,10 @@
73
73
  background-color var(--wui-duration-fast) var(--wui-ease-ui),
74
74
  color var(--wui-duration-fast) var(--wui-ease-ui);
75
75
  }
76
+ // A header's info tip sits inline after the label, with the shared xs gap.
77
+ :where(.table) > thead > tr > th > .infotip {
78
+ margin-left: var(--wui-space-xs);
79
+ }
76
80
  :where(.table) > tbody > tr > td,
77
81
  :where(.table) > tbody > tr > th.wui-row-header {
78
82
  --bs-table-color: var(--color-text-muted);
@@ -173,6 +177,10 @@
173
177
  .table-wrap.wui-table-flush:has(> .table-ledger) {
174
178
  padding: 0;
175
179
  }
180
+ .table-wrap.wui-table-refreshing > table {
181
+ opacity: 0.6;
182
+ transition: opacity var(--wui-duration-fast) var(--wui-ease-ui);
183
+ }
176
184
  .table-ledger {
177
185
  border-spacing: 0;
178
186
  }
@@ -205,6 +213,7 @@
205
213
  .table-ledger tbody th.wui-row-header {
206
214
  height: var(--wui-table-row-height);
207
215
  padding: var(--wui-table-row-pad-y) 12px;
216
+ vertical-align: top;
208
217
  border-bottom: var(--wui-table-row-divider-width) solid var(--color-border);
209
218
  font-family: var(--wui-font-ui);
210
219
  font-size: var(--wui-fs-xs);
@@ -264,27 +273,13 @@
264
273
  margin-bottom: 2px;
265
274
  }
266
275
  }
267
- // Clamp a ledger name to one line. OPT-IN — see below for why it is not the default.
268
- //
269
- // In a ledger a long name is the normal case: a 112-char project name wrapped to three lines
270
- // and took its row to 99px against 61px for every other row, breaking the row rhythm down the
271
- // whole table.
272
- //
273
- // `white-space: nowrap` + ellipsis is the WRONG fix and was measured to be: under the
274
- // ledger's auto table layout a nowrap cell demands its full unwrapped width, which widened a
275
- // 360px column to 854px and pushed the table into horizontal scroll. It trades row height for
276
- // column geometry. A line clamp leaves the text wrappable, so min-content stays one word.
277
- //
278
- // DEFAULT inside a ledger, opt-in class elsewhere.
279
- //
280
- // It shipped opt-in because `-webkit-box` stacks element children, and the library styles
281
- // `.u-name` without ever emitting it — so a product composing a name with an inline badge
282
- // would have got the badge under the name. A consumer then audited all 13 of their usages:
283
- // every one has a bare text expression as its only child, and the badges and sublines are
284
- // SIBLINGS inside `.u-meta`, outside `.u-name` entirely. The caution was right to have and
285
- // does not apply, so the ledger case — where a wrapped name breaks row rhythm down the whole
286
- // table — gets it without anyone opting in.
287
- .table-ledger .u-name,
276
+ // A line clamp keeps a ledger name wrappable. nowrap would widen its column under auto layout.
277
+ .table-ledger .u-name {
278
+ display: -webkit-box;
279
+ -webkit-line-clamp: var(--wui-name-lines, 2);
280
+ -webkit-box-orient: vertical;
281
+ overflow: hidden;
282
+ }
288
283
  .u-name-clamp {
289
284
  display: -webkit-box;
290
285
  -webkit-line-clamp: 1;
@@ -328,6 +323,7 @@
328
323
  // Compact is one line per row: the identity subline is hidden and text steps down to 13px.
329
324
  .table-ledger.wui-table-compact {
330
325
  --avatar-size: 24px;
326
+ --wui-name-lines: 1;
331
327
  }
332
328
  .table-ledger.wui-table-compact thead th {
333
329
  height: 36px;
@@ -456,6 +452,18 @@
456
452
  min-width: 0;
457
453
  max-width: 320px;
458
454
  }
455
+ // Opt-in labelled facets: the wrapper takes the control's place in the row.
456
+ .wui-filter-bar > .wui-filter-facet {
457
+ flex: 0 1 auto;
458
+ }
459
+ .wui-filter-bar > .wui-filter-facet:has(> :is(.field, wui-select, wui-date-range)) {
460
+ flex: 1 1 180px;
461
+ max-width: 240px;
462
+ }
463
+ .wui-filter-bar > .wui-filter-facet:has(> .search-wrap) {
464
+ flex: 1 1 260px;
465
+ max-width: 320px;
466
+ }
459
467
  // The Razor bar sits in a GET form beside its Apply button. Its own box would take a whole
460
468
  // line and push Apply below it, so the form lays the controls, chips, Clear all and Apply out
461
469
  // as one row. `!important` beats the bar's d-flex utility, which React shares.
@@ -643,7 +651,7 @@
643
651
  .table-wrap[data-wui-overflow-end]:has(> .wui-table-sticky-actions) {
644
652
  --wui-overflow-fade-end: 0px;
645
653
  }
646
- :is(.table-wrap, .table-responsive, [class*="table-responsive-"]):is([data-wui-overflow-start], [data-wui-overflow-end]):not(:has([aria-haspopup][aria-expanded="true"], .dropdown-menu.show)) {
654
+ :is(.table-wrap, .table-responsive, [class*="table-responsive-"]):is([data-wui-overflow-start], [data-wui-overflow-end]):not(:has([aria-haspopup][aria-expanded="true"], .dropdown-menu:popover-open)) {
647
655
  mask-image: linear-gradient(
648
656
  90deg,
649
657
  transparent,
@@ -652,7 +660,7 @@
652
660
  transparent
653
661
  );
654
662
  }
655
- :is(.table-wrap, .table-responsive, [class*="table-responsive-"]):dir(rtl):is([data-wui-overflow-start], [data-wui-overflow-end]):not(:has([aria-haspopup][aria-expanded="true"], .dropdown-menu.show)) {
663
+ :is(.table-wrap, .table-responsive, [class*="table-responsive-"]):dir(rtl):is([data-wui-overflow-start], [data-wui-overflow-end]):not(:has([aria-haspopup][aria-expanded="true"], .dropdown-menu:popover-open)) {
656
664
  mask-image: linear-gradient(
657
665
  270deg,
658
666
  transparent,
@@ -779,6 +787,16 @@
779
787
  outline-offset: var(--wui-focus-ring-inset);
780
788
  }
781
789
 
790
+ // Opt-in: the first column reads as the link a clickable row already is.
791
+ .table-ledger.wui-table-link-first tbody tr.wui-row-link > .wui-name-cell :is(.u-name, .u-name > *) {
792
+ color: var(--color-primary-text);
793
+ font-weight: 500;
794
+ }
795
+ .table-ledger.wui-table-link-first tbody tr.wui-row-link:is(:hover, :focus-visible) > .wui-name-cell .u-name {
796
+ text-decoration: underline;
797
+ text-underline-offset: 3px;
798
+ }
799
+
782
800
  // Stacked on phones (AppDataTable `stackOnMobile`, Razor `stack-on-mobile`): below md (768px) each
783
801
  // row is a card. The first column (after the library's select/expand cells) leads the card at full
784
802
  // width, every other cell is a "label: value" line from its data-label, the select checkbox sits in
@@ -1004,8 +1022,9 @@
1004
1022
  // A scrolling table that opens its card needs its spacing outside the scroll box: padding here
1005
1023
  // would show scrolled rows above the sticky header. The card is a flex column, so the margin
1006
1024
  // does not collapse out of it.
1025
+ // A product sets the inset of a table in a card with --wui-card-table-inset.
1007
1026
  .card > .table-wrap.wui-table-scroll:has(> .table-ledger):first-child {
1008
- margin-top: var(--wui-card-pad);
1027
+ margin-top: var(--wui-card-table-inset, var(--wui-card-pad));
1009
1028
  }
1010
1029
 
1011
1030
  // A pinned cell paints a solid colour so scrolled cells pass under it; that colour must match what shows
@@ -1068,9 +1087,9 @@
1068
1087
  }
1069
1088
  // Each pinned cell is its own stacking context, so the next row's pinned cell would paint over an
1070
1089
  // open menu inside this one. The cell that holds an open menu lifts above its pinned siblings.
1071
- .table-ledger.wui-table-sticky-actions > :is(tbody, tfoot) > tr:not(.wui-row-expanded) > :last-child:has([aria-expanded="true"], .dropdown-menu.show),
1072
- .table-ledger.wui-table-sticky-first > :is(tbody, tfoot) > tr:not(.wui-row-expanded) > :first-child:has([aria-expanded="true"], .dropdown-menu.show),
1073
- .table-ledger > :is(tbody, tfoot) > tr:not(.wui-row-expanded, .wui-group-row) > :is(.wui-pin-start, .wui-pin-end):has([aria-expanded="true"], .dropdown-menu.show) {
1090
+ .table-ledger.wui-table-sticky-actions > :is(tbody, tfoot) > tr:not(.wui-row-expanded) > :last-child:has([aria-expanded="true"], .dropdown-menu:popover-open),
1091
+ .table-ledger.wui-table-sticky-first > :is(tbody, tfoot) > tr:not(.wui-row-expanded) > :first-child:has([aria-expanded="true"], .dropdown-menu:popover-open),
1092
+ .table-ledger > :is(tbody, tfoot) > tr:not(.wui-row-expanded, .wui-group-row) > :is(.wui-pin-start, .wui-pin-end):has([aria-expanded="true"], .dropdown-menu:popover-open) {
1074
1093
  z-index: 4;
1075
1094
  }
1076
1095
  // A group header holds its own open collapse toggle, so the rule above would lift it over the menu of the row above it. It stays below an open menu.
@@ -1101,15 +1120,35 @@
1101
1120
  width: var(--wui-scroll-pad-end, 0);
1102
1121
  }
1103
1122
 
1104
- // Row actions — icon-only buttons replacing a kebab dropdown.
1123
+ // Row actions from one list: icon buttons (.wui-row-action-inline) and one "more" menu
1124
+ // (.wui-row-actions-menu), drawn by AppRowActions and <app-row-actions>.
1105
1125
  .u-row-actions {
1106
1126
  display: flex;
1107
1127
  align-items: center;
1108
1128
  justify-content: flex-end;
1109
1129
  gap: 6px;
1110
- // Action cells never wrap — a status hint stays on one line.
1130
+ // Action cells never wrap, so a labelled action stays on one line.
1111
1131
  white-space: nowrap;
1112
1132
  }
1133
+ // Below sm the menu is the only control; from sm up the menu shows only when it holds a row of its own.
1134
+ @include media-breakpoint-down(sm) {
1135
+ .u-row-actions > .wui-row-action-inline {
1136
+ display: none;
1137
+ }
1138
+ }
1139
+ @include media-breakpoint-up(sm) {
1140
+ .u-row-actions > .wui-row-actions-menu.wui-hidden-from-sm {
1141
+ display: none;
1142
+ }
1143
+ }
1144
+ // Equal-width row actions (`equalActions`): each text button in the actions cell takes the same width, wide enough for a short verb. Icon-only actions (.u-action) are left alone.
1145
+ .table-ledger.wui-table-equal-actions {
1146
+ --wui-row-action-width: 7rem;
1147
+ }
1148
+ .table-ledger.wui-table-equal-actions .u-row-actions > .btn {
1149
+ min-width: var(--wui-row-action-width);
1150
+ justify-content: center;
1151
+ }
1113
1152
  .u-action {
1114
1153
  // The disc size is a custom property so the wrapper can scale it with the glyph `size`
1115
1154
  // (React AppActionIcon / Razor <app-action-icon> set it to `size + 16px` — a constant 8px
@@ -1134,10 +1173,7 @@
1134
1173
  position: relative;
1135
1174
  }
1136
1175
  // Touch pointers need a 44px minimum target. Grow the hit area, not the
1137
- // ink, so row density and alignment are untouched. This lives on ::before, NOT
1138
- // ::after: an AppActionIcon carries `data-wui-tip` for its tooltip, whose bubble
1139
- // owns `[data-wui-tip]::after` (imported later, same specificity) — sharing ::after
1140
- // would let the tooltip overwrite the hit-area box and silently drop the 44px target.
1176
+ // ink, so row density and alignment are untouched. This lives on ::before, not ::after.
1141
1177
  @media (pointer: coarse) {
1142
1178
  .u-action::before {
1143
1179
  content: "";
@@ -1380,8 +1416,8 @@ wui-data-table {
1380
1416
  text-overflow: ellipsis;
1381
1417
  }
1382
1418
  // A menu or picker inside a cell still has to float out of it.
1383
- .table-ledger[data-wui-fixed] > tbody > tr > td:has([aria-expanded="true"], .dropdown-menu.show),
1384
- .table-ledger[data-wui-fixed] > tbody > tr > th.wui-row-header:has([aria-expanded="true"], .dropdown-menu.show) {
1419
+ .table-ledger[data-wui-fixed] > tbody > tr > td:has([aria-expanded="true"], .dropdown-menu:popover-open),
1420
+ .table-ledger[data-wui-fixed] > tbody > tr > th.wui-row-header:has([aria-expanded="true"], .dropdown-menu:popover-open) {
1385
1421
  overflow: visible;
1386
1422
  }
1387
1423
 
@@ -1,15 +1,15 @@
1
1
  @use "../config" as *;
2
2
 
3
3
  // ── Dialog open motion ──
4
- // Every Bootstrap modal (AppModal, the Ctrl+K palette and search, Razor <app-modal>, confirm
4
+ // Every modal dialog (AppModal, the Ctrl+K palette and search, Razor <app-modal>, confirm
5
5
  // dialogs) opens with the same soft zoom the menus use: a fade in from 95% size, no bounce.
6
6
  // Like the menu motion it is a PRODUCT-LEVEL choice, set once on the root element:
7
7
  //
8
8
  // <html> soft zoom (default)
9
9
  // <html data-wui-dialog-motion="slide"> Bootstrap's fade and slide down from the top
10
10
  //
11
- // The zoom animates the standalone `scale` property and drops Bootstrap's transform transition,
12
- // so the slide never runs underneath it. Close stays Bootstrap's own quick fade of the modal.
11
+ // The zoom animates the standalone `scale` property, so the slide never runs underneath it.
12
+ // Close is the exit fade under [data-wui-closing] (wui/_native-overlay.scss).
13
13
  // Side panels (offcanvas, drawers) keep their slide: they come from an edge by nature.
14
14
  //
15
15
  // The status icon in a dialog header springs in with the dialog (rules below).
@@ -21,42 +21,37 @@
21
21
  --wui-dialog-anim-ease: var(--wui-ease-out);
22
22
  }
23
23
 
24
- :root:not([data-wui-dialog-motion="slide"]) .modal.fade .modal-dialog {
25
- transform: none;
26
- transition: none;
27
- }
28
-
29
- :root:not([data-wui-dialog-motion="slide"]) .modal.show .modal-dialog {
24
+ :root:not([data-wui-dialog-motion="slide"]) dialog.wui-modal-shell[open] .modal-dialog {
30
25
  animation: var(--wui-dialog-anim) var(--wui-dialog-anim-duration) var(--wui-dialog-anim-ease);
31
26
  }
32
27
 
33
28
  // The three beats of an SVG tone (error) run 600ms end to end and overlap, so the icon reads as
34
29
  // one movement. The rules key on position, so a new SVG tone inherits the same beats.
35
30
  // The origin is the icon's centre, not the viewBox corner, so every scale grows in place.
36
- :root:not([data-wui-dialog-motion="slide"]) .modal.show wui-status-icon {
31
+ :root:not([data-wui-dialog-motion="slide"]) dialog.wui-modal-shell[open] wui-status-icon {
37
32
  display: inline-flex;
38
33
  }
39
34
 
40
- :root:not([data-wui-dialog-motion="slide"]) .modal.show wui-status-icon > svg > rect,
41
- :root:not([data-wui-dialog-motion="slide"]) .modal.show wui-status-icon > svg > g {
35
+ :root:not([data-wui-dialog-motion="slide"]) dialog.wui-modal-shell[open] wui-status-icon > svg > rect,
36
+ :root:not([data-wui-dialog-motion="slide"]) dialog.wui-modal-shell[open] wui-status-icon > svg > g {
42
37
  transform-box: view-box;
43
38
  transform-origin: 87px 87px;
44
39
  }
45
40
 
46
- :root:not([data-wui-dialog-motion="slide"]) .modal.show wui-status-icon > svg > rect:first-child {
41
+ :root:not([data-wui-dialog-motion="slide"]) dialog.wui-modal-shell[open] wui-status-icon > svg > rect:first-child {
47
42
  animation: wui-dialog-icon-halo var(--wui-duration-default) var(--wui-ease-out) 0ms both;
48
43
  }
49
44
 
50
- :root:not([data-wui-dialog-motion="slide"]) .modal.show wui-status-icon > svg > rect:nth-child(2) {
45
+ :root:not([data-wui-dialog-motion="slide"]) dialog.wui-modal-shell[open] wui-status-icon > svg > rect:nth-child(2) {
51
46
  animation: wui-dialog-icon-ring var(--wui-duration-default) var(--wui-ease-out) var(--wui-duration-fast) both;
52
47
  }
53
48
 
54
- :root:not([data-wui-dialog-motion="slide"]) .modal.show wui-status-icon > svg > g {
49
+ :root:not([data-wui-dialog-motion="slide"]) dialog.wui-modal-shell[open] wui-status-icon > svg > g {
55
50
  animation: wui-dialog-icon-core var(--wui-duration-slow) var(--wui-ease-elastic) calc(var(--wui-duration-fast) * 1.75) both;
56
51
  }
57
52
 
58
53
  // Raster tones get one beat because they have no parts to stage.
59
- :root:not([data-wui-dialog-motion="slide"]) .modal.show wui-status-icon > img {
54
+ :root:not([data-wui-dialog-motion="slide"]) dialog.wui-modal-shell[open] wui-status-icon > img {
60
55
  animation: wui-dialog-icon-raster var(--wui-duration-slow) var(--wui-ease-elastic) 0ms both;
61
56
  }
62
57
 
@@ -108,17 +103,17 @@
108
103
  }
109
104
 
110
105
  @media (prefers-reduced-motion: reduce) {
111
- :root:not([data-wui-dialog-motion="slide"]) .modal.show .modal-dialog {
106
+ :root:not([data-wui-dialog-motion="slide"]) dialog.wui-modal-shell[open] .modal-dialog {
112
107
  animation: none;
113
108
  }
114
109
 
115
- :root:not([data-wui-dialog-motion="slide"]) .modal.show wui-status-icon > svg > :is(rect, g) {
110
+ :root:not([data-wui-dialog-motion="slide"]) dialog.wui-modal-shell[open] wui-status-icon > svg > :is(rect, g) {
116
111
  animation: none;
117
112
  opacity: 1;
118
113
  transform: none;
119
114
  }
120
115
 
121
- :root:not([data-wui-dialog-motion="slide"]) .modal.show wui-status-icon > img {
116
+ :root:not([data-wui-dialog-motion="slide"]) dialog.wui-modal-shell[open] wui-status-icon > img {
122
117
  animation: none;
123
118
  opacity: 1;
124
119
  transform: none;
@@ -2,7 +2,7 @@
2
2
 
3
3
  // Accordion / FAQ list.
4
4
  //
5
- // Part of the wui-components layer — see _wui-components.scss for the whole
5
+ // Part of the wui-components layer: see _wui-components.scss for the whole
6
6
  // picture and the load order. Order within the layer is LOAD-BEARING: these
7
7
  // partials are a split of one stylesheet, not independent modules, so a rule
8
8
  // here may be overridden by a later partial. Never reorder the imports.
@@ -79,7 +79,7 @@
79
79
  color: var(--color-primary-text);
80
80
  }
81
81
 
82
- // The animating track. `min-height: 0` on the inner element is required — a grid
82
+ // The animating track. `min-height: 0` on the inner element is required: a grid
83
83
  // item's default `min-height: auto` refuses to shrink below its content, which
84
84
  // would defeat the 0fr row entirely.
85
85
  .wui-accordion-panel {
@@ -95,7 +95,7 @@
95
95
  overflow: hidden;
96
96
  // Horizontal padding is CONSTANT in both states. Toggling it with `.open` made the content
97
97
  // jump 18px sideways the instant a pane collapsed (padding isn't transitioned, unlike the
98
- // grid-row height) — the "slide left" bug. Side padding adds no height, so keeping it on the
98
+ // grid-row height), the "slide left" bug. Side padding adds no height, so keeping it on the
99
99
  // closed pane is safe; only the BOTTOM padding stays conditional (below), because a constant
100
100
  // one leaks height on the collapsed 0fr row.
101
101
  padding: 0 18px;