opui-css 5.0.0 → 5.1.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 (114) hide show
  1. package/CHANGELOG.md +317 -276
  2. package/LICENSE +21 -21
  3. package/MIGRATING.md +138 -127
  4. package/README.md +87 -87
  5. package/astro/index.ts +46 -46
  6. package/components/AGENTS.md +248 -248
  7. package/components/Accordion/Accordion.astro +52 -42
  8. package/components/Anchor/Anchor.astro +55 -51
  9. package/components/Avatar/Avatar.astro +38 -38
  10. package/components/Badge/Badge.astro +59 -59
  11. package/components/Button/Button.astro +45 -45
  12. package/components/ButtonGroup/ButtonGroup.astro +36 -29
  13. package/components/Callout/Callout.astro +75 -75
  14. package/components/Card/Card.astro +38 -36
  15. package/components/Checkbox/Checkbox.astro +76 -76
  16. package/components/Checkbox/CheckboxInput.astro +32 -32
  17. package/components/Chip/Chip.astro +37 -37
  18. package/components/ClassicSelect/ClassicSelect.astro +83 -83
  19. package/components/DescriptionList/Description.astro +12 -12
  20. package/components/DescriptionList/DescriptionList.astro +22 -22
  21. package/components/DescriptionList/Item.astro +12 -12
  22. package/components/DescriptionList/Term.astro +12 -12
  23. package/components/DescriptionList/index.ts +12 -12
  24. package/components/Dialog/Dialog.astro +43 -41
  25. package/components/Divider/Divider.astro +17 -17
  26. package/components/Drawer/Drawer.astro +49 -49
  27. package/components/Drawer/DrawerFooter.astro +14 -14
  28. package/components/Drawer/DrawerHeader.astro +31 -31
  29. package/components/FieldDescription/FieldDescription.astro +13 -13
  30. package/components/FieldGroup/FieldGroup.astro +31 -31
  31. package/components/FieldLegend/FieldLegend.astro +15 -15
  32. package/components/FieldSet/FieldSet.astro +15 -15
  33. package/components/Form/Form.astro +15 -15
  34. package/components/IconButton/IconButton.astro +26 -26
  35. package/components/List/List.astro +36 -36
  36. package/components/ListItem/ListItem.astro +118 -118
  37. package/components/Progress/Progress.astro +41 -40
  38. package/components/Radio/Radio.astro +70 -70
  39. package/components/Radio/RadioInput.astro +24 -24
  40. package/components/Range/Range.astro +136 -136
  41. package/components/Select/Select.astro +106 -106
  42. package/components/Switch/Switch.astro +101 -101
  43. package/components/Switch/SwitchInput.astro +25 -25
  44. package/components/Table/Body.astro +13 -13
  45. package/components/Table/Cell.astro +13 -13
  46. package/components/Table/Column.astro +15 -15
  47. package/components/Table/ColumnGroup.astro +13 -13
  48. package/components/Table/Head.astro +13 -13
  49. package/components/Table/HeaderCell.astro +13 -13
  50. package/components/Table/Row.astro +13 -13
  51. package/components/Table/Table.astro +18 -18
  52. package/components/Table/index.ts +20 -20
  53. package/components/Tabs/Tabs.astro +28 -28
  54. package/components/Tabs/TabsItem.astro +47 -47
  55. package/components/Tabs/TabsPanel.astro +21 -21
  56. package/components/Tabs/TabsTab.astro +19 -19
  57. package/components/Tabs/index.ts +14 -14
  58. package/components/TextField/TextField.astro +128 -128
  59. package/components/Textarea/Textarea.astro +106 -106
  60. package/components/Toast/Toast.astro +42 -42
  61. package/components/ToggleButton/ToggleButton.astro +53 -53
  62. package/components/ToggleGroup/ToggleGroup.astro +49 -49
  63. package/components/Tooltip/Tooltip.astro +30 -30
  64. package/core/normalize.css +200 -194
  65. package/core/palette.css +110 -59
  66. package/core/utils.css +71 -71
  67. package/css/components/accordion.css +174 -174
  68. package/css/components/anchor.css +27 -27
  69. package/css/components/avatar.css +65 -65
  70. package/css/components/badge.css +107 -107
  71. package/css/components/button-group.css +193 -179
  72. package/css/components/button.css +227 -215
  73. package/css/components/callout.css +112 -109
  74. package/css/components/card.css +115 -117
  75. package/css/components/checkbox.css +211 -205
  76. package/css/components/chip.css +92 -87
  77. package/css/components/description-list.css +81 -80
  78. package/css/components/dialog.css +69 -68
  79. package/css/components/divider.css +20 -20
  80. package/css/components/drawer.css +171 -171
  81. package/css/components/form.css +147 -146
  82. package/css/components/icon-button.css +158 -139
  83. package/css/components/link.css +21 -21
  84. package/css/components/list.css +343 -345
  85. package/css/components/progress.css +103 -97
  86. package/css/components/radio.css +170 -172
  87. package/css/components/range.css +342 -337
  88. package/css/components/select.css +172 -169
  89. package/css/components/spinner.css +38 -37
  90. package/css/components/switch.css +271 -268
  91. package/css/components/table.css +173 -179
  92. package/css/components/tabs.css +84 -83
  93. package/css/components/text-field.css +449 -450
  94. package/css/components/text-input.css +68 -64
  95. package/css/components/textarea.css +26 -24
  96. package/css/components/toast.css +160 -161
  97. package/css/components/toggle-button.css +91 -87
  98. package/css/components/toggle-group.css +56 -56
  99. package/css/components/tooltip.css +70 -67
  100. package/css/components/typography.css +585 -585
  101. package/css/components.css +41 -41
  102. package/css/imports.css +17 -16
  103. package/css/js/checkbox.js +21 -21
  104. package/css/js/toast.js +94 -94
  105. package/css/theme.css +133 -132
  106. package/dist/op.css +4 -66
  107. package/dist/op.css.map +1 -1
  108. package/dist/opui.components.css +5234 -5154
  109. package/dist/opui.components.css.map +1 -1
  110. package/dist/opui.css +5798 -5663
  111. package/dist/opui.css.map +1 -1
  112. package/env.d.ts +14 -14
  113. package/open-props.css +8 -9
  114. package/package.json +81 -81
@@ -1,345 +1,343 @@
1
- @layer components.extended {
2
-
3
- /*
4
- Lists meant to be used stand-alone or as part of Select elements
5
-
6
- Intended use-case:
7
- - ul.ui-list > li
8
- - .ui-select > .ui-list > option
9
- */
10
- :where(.ui-list) {
11
- --_bg-color: var(--surface-filled);
12
- --_bg-color-hover: oklch(from var(--primary) l c h / 15%);
13
-
14
- background-color: var(--_bg-color);
15
- color: var(--text-primary);
16
- list-style: none;
17
- padding: var(--size-2) 0;
18
-
19
- @media (pointer: coarse) {
20
-
21
- &,
22
- * {
23
- user-select: none;
24
- }
25
- }
26
-
27
- /* Background color */
28
- &.ui-transparent {
29
- --_bg-color: transparent;
30
- }
31
-
32
- &.ui-default {
33
- --_bg-color: var(--surface-default);
34
- }
35
-
36
- &.ui-tonal {
37
- --_bg-color: var(--surface-tonal);
38
- }
39
-
40
- /* Borders on all list items */
41
- &.ui-bordered {
42
- :where(li + li, option + option) {
43
- margin-block-start: var(--size-3);
44
-
45
- &::before {
46
- block-size: 1px;
47
- border-block-start: 1px solid var(--border-color);
48
- content: "";
49
- display: block;
50
- inline-size: 100%;
51
- inset: calc(-1 * var(--size-2)) 0 auto 0;
52
- position: absolute;
53
- visibility: visible;
54
- /* override select > option:before style */
55
- }
56
- }
57
- }
58
-
59
- /* Dense - less gaps and spacing */
60
- &.ui-dense {
61
- :where(li, option) {
62
- gap: var(--size-2);
63
- min-block-size: var(--size-7);
64
- padding: var(--size-1) var(--size-2);
65
-
66
- &.ui-border-top {
67
- margin-block-start: var(--size-2);
68
-
69
- &::before {
70
- inset: calc(-1 * var(--size-1)) 0 auto 0;
71
- }
72
- }
73
-
74
- /* Clickable list item */
75
- &:has(> a, > button, > label) {
76
- min-block-size: auto;
77
- padding: 0;
78
- }
79
-
80
- &> :where(a, button, label) {
81
- gap: var(--size-2);
82
- min-block-size: var(--size-7);
83
- padding: var(--size-1) var(--size-2);
84
- }
85
-
86
- /* Checkbox / Radio */
87
- &>label {
88
- .ui-end {
89
- padding-inline-end: 0.125rem;
90
- }
91
-
92
- &:where(.ui-checkbox, .ui-radio) {
93
- --_input-size: var(--size-3);
94
- }
95
- }
96
-
97
- /* Leading and trailing content */
98
- .ui-start,
99
- .ui-end {
100
- .ui-avatar {
101
- max-inline-size: var(--size-6);
102
- }
103
-
104
- .ui-icon-button,
105
- svg {
106
- max-inline-size: var(--size-4);
107
- }
108
-
109
- .ui-checkbox,
110
- .ui-radio {
111
- --_input-size: var(--size-3);
112
- }
113
- }
114
- }
115
- }
116
-
117
- /* Gutterless */
118
- &.ui-gutterless {
119
- :where(li, option) {
120
- padding-inline: 0;
121
-
122
- &> :where(a, button, label) {
123
- padding-inline: 0;
124
- }
125
- }
126
- }
127
-
128
- /* List item */
129
- :where(li, option, [role="group"] > label) {
130
- align-items: center;
131
- background-color: var(--_bg-color);
132
- display: flex;
133
- font-size: var(--font-size-05);
134
- gap: var(--size-3);
135
- isolation: isolate;
136
- min-block-size: 40px;
137
- padding: var(--size-2) var(--size-3);
138
- position: relative;
139
-
140
- &::before {
141
- display: none;
142
- /* removing checkmark from option */
143
- }
144
-
145
- * {
146
- font-size: inherit;
147
- }
148
-
149
- /* Clickable list item */
150
- &:has(> a, > button, > label) {
151
- background: transparent;
152
- display: block;
153
- min-block-size: auto;
154
- padding: 0;
155
-
156
- &[aria-selected="true"]> :where(a, button, label),
157
- &[aria-selected="true"],
158
- &:has(> [aria-current="page"])> :where(a, button, label) {
159
- background-color: var(--_bg-color-hover);
160
- }
161
- }
162
-
163
- /* Select option */
164
- &:where(option) {
165
- align-items: center;
166
- background-color: var(--_bg-color);
167
- color: inherit;
168
- cursor: pointer;
169
- display: flex;
170
- gap: var(--size-3);
171
- inline-size: 100%;
172
- margin: 0;
173
- min-block-size: 40px;
174
- padding: var(--size-2) var(--size-3);
175
- text-align: start;
176
- text-decoration: none;
177
- z-index: 0;
178
-
179
- &:hover {
180
- background-color: var(--_bg-color-hover);
181
- }
182
-
183
- &[aria-selected="true"] {
184
- background-color: var(--_bg-color-hover);
185
- color: var(--primary);
186
- }
187
-
188
- &:checked {
189
- background-color: oklch(from var(--primary) l c h / 30%);
190
- }
191
- }
192
-
193
- &>a,
194
- &>button,
195
- &>label {
196
- align-items: center;
197
- background-color: var(--_bg-color);
198
- color: inherit;
199
- cursor: pointer;
200
- display: flex;
201
- gap: var(--size-3);
202
- inline-size: 100%;
203
- margin: 0;
204
- min-block-size: 40px;
205
- outline-offset: -3px;
206
- padding: var(--size-2) var(--size-3);
207
- text-align: start;
208
- text-decoration: none;
209
- z-index: 0;
210
-
211
- &:hover {
212
- background-color: var(--_bg-color-hover);
213
- }
214
-
215
- &[aria-selected="true"],
216
- &[aria-current="page"] {
217
- background-color: var(--_bg-color-hover);
218
- }
219
- }
220
-
221
- /* Checkbox / Radio / Switch */
222
- &>label {
223
- &:where(.ui-checkbox, .ui-radio, .ui-switch) {
224
- display: flex;
225
- }
226
-
227
- .ui-end {
228
- padding-inline-end: var(--size-1);
229
- }
230
-
231
- &:where(.ui-checkbox, .ui-radio) {
232
- inline-size: 100%;
233
- }
234
-
235
- /* Switches look comically big in lists, so it's better to use a smaller variant */
236
- &.ui-switch {
237
- --_dot-size: 0.75rem;
238
- --_track-height: var(--size-4);
239
- --_track-width: 2.5rem;
240
- }
241
- }
242
-
243
- /* Video */
244
- &:has(video) {
245
- padding: 0.75rem var(--size-3) 0.75rem 0;
246
- }
247
-
248
- /* Border between list items */
249
- &.ui-border-top {
250
- margin-block-start: var(--size-3);
251
-
252
- &::before {
253
- block-size: 1px;
254
- border-block-start: 1px solid var(--border-color);
255
- content: "";
256
- display: block;
257
- inline-size: 100%;
258
- inset: calc(-1 * var(--size-2)) 0 auto 0;
259
- position: absolute;
260
- }
261
- }
262
-
263
- /* Text */
264
- .ui-text {
265
- flex: 1;
266
- line-height: 1.6;
267
-
268
- :where(h1, h2, h3, h4, h5, h6, p, span) {
269
- color: inherit;
270
- font-weight: 400;
271
- }
272
-
273
- p+p {
274
- color: var(--text-muted);
275
- font-size: var(--font-size-0);
276
- }
277
- }
278
-
279
- /* Leading content */
280
- .ui-start {
281
- align-items: center;
282
- align-self: center;
283
- display: grid;
284
- z-index: 1;
285
-
286
- &:has(svg) {
287
- max-inline-size: var(--size-5);
288
- }
289
-
290
- svg {
291
- padding-block-start: 0.125rem;
292
- }
293
-
294
- img {
295
- aspect-ratio: 1;
296
- inline-size: 56px;
297
- object-fit: cover;
298
- }
299
-
300
- video {
301
- aspect-ratio: 16/9;
302
- block-size: 64px;
303
- object-fit: cover;
304
- }
305
- }
306
-
307
- /* Trailing content */
308
- .ui-end {
309
- align-items: center;
310
- display: flex;
311
- font-size: var(--font-size-0);
312
- text-align: end;
313
- z-index: 1;
314
-
315
- &:not(:has(a, button, input)) {
316
- pointer-events: none;
317
- }
318
-
319
- kbd {
320
- background-color: transparent;
321
- border: 0;
322
- color: inherit;
323
- opacity: 0.6;
324
- }
325
-
326
- svg {
327
- inline-size: 100%;
328
- max-inline-size: var(--size-5);
329
- }
330
- }
331
-
332
- /* Inset */
333
- &.ui-inset {
334
- .ui-text {
335
- padding-inline-start: calc(var(--size-5) + var(--size-3));
336
- }
337
-
338
- /* Safety measure so it won't look bad if there for some reason should exist a leading element inside. */
339
- .ui-start {
340
- display: none;
341
- }
342
- }
343
- }
344
- }
345
- }
1
+ @layer components.extended {
2
+ /*
3
+ Lists meant to be used stand-alone or as part of Select elements
4
+
5
+ Intended use-case:
6
+ - ul.ui-list > li
7
+ - .ui-select > .ui-list > option
8
+ */
9
+ :where(.ui-list) {
10
+ --_bg-color: var(--surface-filled);
11
+ --_bg-color-hover: oklch(from var(--primary) l c h / 15%);
12
+
13
+ background-color: var(--_bg-color);
14
+ color: var(--text-primary);
15
+ list-style: none;
16
+ padding: var(--size-2) 0;
17
+
18
+ @media (pointer: coarse) {
19
+ &,
20
+ * {
21
+ user-select: none;
22
+ }
23
+ }
24
+
25
+ /* Background color */
26
+ &.ui-transparent {
27
+ --_bg-color: transparent;
28
+ }
29
+
30
+ &.ui-default {
31
+ --_bg-color: var(--surface-default);
32
+ }
33
+
34
+ &.ui-tonal {
35
+ --_bg-color: var(--surface-tonal);
36
+ }
37
+
38
+ /* Borders on all list items */
39
+ &.ui-bordered {
40
+ :where(li + li, option + option) {
41
+ margin-block-start: var(--size-3);
42
+
43
+ &::before {
44
+ block-size: 1px;
45
+ border-block-start: 1px solid var(--border-color);
46
+ content: "";
47
+ display: block;
48
+ inline-size: 100%;
49
+ inset: calc(-1 * var(--size-2)) 0 auto 0;
50
+ position: absolute;
51
+ visibility: visible;
52
+ /* override select > option:before style */
53
+ }
54
+ }
55
+ }
56
+
57
+ /* Dense - less gaps and spacing */
58
+ &.ui-dense {
59
+ :where(li, option) {
60
+ gap: var(--size-2);
61
+ min-block-size: var(--size-7);
62
+ padding: var(--size-1) var(--size-2);
63
+
64
+ &.ui-border-top {
65
+ margin-block-start: var(--size-2);
66
+
67
+ &::before {
68
+ inset: calc(-1 * var(--size-1)) 0 auto 0;
69
+ }
70
+ }
71
+
72
+ /* Clickable list item */
73
+ &:has(> a, > button, > label) {
74
+ min-block-size: auto;
75
+ padding: 0;
76
+ }
77
+
78
+ & > :where(a, button, label) {
79
+ gap: var(--size-2);
80
+ min-block-size: var(--size-7);
81
+ padding: var(--size-1) var(--size-2);
82
+ }
83
+
84
+ /* Checkbox / Radio */
85
+ & > label {
86
+ .ui-end {
87
+ padding-inline-end: 0.125rem;
88
+ }
89
+
90
+ &:where(.ui-checkbox, .ui-radio) {
91
+ --_input-size: var(--size-3);
92
+ }
93
+ }
94
+
95
+ /* Leading and trailing content */
96
+ .ui-start,
97
+ .ui-end {
98
+ .ui-avatar {
99
+ max-inline-size: var(--size-6);
100
+ }
101
+
102
+ .ui-icon-button,
103
+ svg {
104
+ max-inline-size: var(--size-4);
105
+ }
106
+
107
+ .ui-checkbox,
108
+ .ui-radio {
109
+ --_input-size: var(--size-3);
110
+ }
111
+ }
112
+ }
113
+ }
114
+
115
+ /* Gutterless */
116
+ &.ui-gutterless {
117
+ :where(li, option) {
118
+ padding-inline: 0;
119
+
120
+ & > :where(a, button, label) {
121
+ padding-inline: 0;
122
+ }
123
+ }
124
+ }
125
+
126
+ /* List item */
127
+ :where(li, option, [role="group"] > label) {
128
+ align-items: center;
129
+ background-color: var(--_bg-color);
130
+ display: flex;
131
+ font-size: var(--font-size-05);
132
+ gap: var(--size-3);
133
+ isolation: isolate;
134
+ min-block-size: 40px;
135
+ padding: var(--size-2) var(--size-3);
136
+ position: relative;
137
+
138
+ &::before {
139
+ display: none;
140
+ /* removing checkmark from option */
141
+ }
142
+
143
+ * {
144
+ font-size: inherit;
145
+ }
146
+
147
+ /* Clickable list item */
148
+ &:has(> a, > button, > label) {
149
+ background: transparent;
150
+ display: block;
151
+ min-block-size: auto;
152
+ padding: 0;
153
+
154
+ &[aria-selected="true"] > :where(a, button, label),
155
+ &[aria-selected="true"],
156
+ &:has(> [aria-current="page"]) > :where(a, button, label) {
157
+ background-color: var(--_bg-color-hover);
158
+ }
159
+ }
160
+
161
+ /* Select option */
162
+ &:where(option) {
163
+ align-items: center;
164
+ background-color: var(--_bg-color);
165
+ color: inherit;
166
+ cursor: pointer;
167
+ display: flex;
168
+ gap: var(--size-3);
169
+ inline-size: 100%;
170
+ margin: 0;
171
+ min-block-size: 40px;
172
+ padding: var(--size-2) var(--size-3);
173
+ text-align: start;
174
+ text-decoration: none;
175
+ z-index: 0;
176
+
177
+ &:hover {
178
+ background-color: var(--_bg-color-hover);
179
+ }
180
+
181
+ &[aria-selected="true"] {
182
+ background-color: var(--_bg-color-hover);
183
+ color: var(--primary);
184
+ }
185
+
186
+ &:checked {
187
+ background-color: oklch(from var(--primary) l c h / 30%);
188
+ }
189
+ }
190
+
191
+ & > a,
192
+ & > button,
193
+ & > label {
194
+ align-items: center;
195
+ background-color: var(--_bg-color);
196
+ color: inherit;
197
+ cursor: pointer;
198
+ display: flex;
199
+ gap: var(--size-3);
200
+ inline-size: 100%;
201
+ margin: 0;
202
+ min-block-size: 40px;
203
+ outline-offset: -3px;
204
+ padding: var(--size-2) var(--size-3);
205
+ text-align: start;
206
+ text-decoration: none;
207
+ z-index: 0;
208
+
209
+ &:hover {
210
+ background-color: var(--_bg-color-hover);
211
+ }
212
+
213
+ &[aria-selected="true"],
214
+ &[aria-current="page"] {
215
+ background-color: var(--_bg-color-hover);
216
+ }
217
+ }
218
+
219
+ /* Checkbox / Radio / Switch */
220
+ & > label {
221
+ &:where(.ui-checkbox, .ui-radio, .ui-switch) {
222
+ display: flex;
223
+ }
224
+
225
+ .ui-end {
226
+ padding-inline-end: var(--size-1);
227
+ }
228
+
229
+ &:where(.ui-checkbox, .ui-radio) {
230
+ inline-size: 100%;
231
+ }
232
+
233
+ /* Switches look comically big in lists, so it's better to use a smaller variant */
234
+ &.ui-switch {
235
+ --_dot-size: 0.75rem;
236
+ --_track-height: var(--size-4);
237
+ --_track-width: 2.5rem;
238
+ }
239
+ }
240
+
241
+ /* Video */
242
+ &:has(video) {
243
+ padding: 0.75rem var(--size-3) 0.75rem 0;
244
+ }
245
+
246
+ /* Border between list items */
247
+ &.ui-border-top {
248
+ margin-block-start: var(--size-3);
249
+
250
+ &::before {
251
+ block-size: 1px;
252
+ border-block-start: 1px solid var(--border-color);
253
+ content: "";
254
+ display: block;
255
+ inline-size: 100%;
256
+ inset: calc(-1 * var(--size-2)) 0 auto 0;
257
+ position: absolute;
258
+ }
259
+ }
260
+
261
+ /* Text */
262
+ .ui-text {
263
+ flex: 1;
264
+ line-height: 1.6;
265
+
266
+ :where(h1, h2, h3, h4, h5, h6, p, span) {
267
+ color: inherit;
268
+ font-weight: 400;
269
+ }
270
+
271
+ p + p {
272
+ color: var(--text-muted);
273
+ font-size: var(--font-size-0);
274
+ }
275
+ }
276
+
277
+ /* Leading content */
278
+ .ui-start {
279
+ align-items: center;
280
+ align-self: center;
281
+ display: grid;
282
+ z-index: 1;
283
+
284
+ &:has(svg) {
285
+ max-inline-size: var(--size-5);
286
+ }
287
+
288
+ svg {
289
+ padding-block-start: 0.125rem;
290
+ }
291
+
292
+ img {
293
+ aspect-ratio: 1;
294
+ inline-size: 56px;
295
+ object-fit: cover;
296
+ }
297
+
298
+ video {
299
+ aspect-ratio: 16/9;
300
+ block-size: 64px;
301
+ object-fit: cover;
302
+ }
303
+ }
304
+
305
+ /* Trailing content */
306
+ .ui-end {
307
+ align-items: center;
308
+ display: flex;
309
+ font-size: var(--font-size-0);
310
+ text-align: end;
311
+ z-index: 1;
312
+
313
+ &:not(:has(a, button, input)) {
314
+ pointer-events: none;
315
+ }
316
+
317
+ kbd {
318
+ background-color: transparent;
319
+ border: 0;
320
+ color: inherit;
321
+ opacity: 0.6;
322
+ }
323
+
324
+ svg {
325
+ inline-size: 100%;
326
+ max-inline-size: var(--size-5);
327
+ }
328
+ }
329
+
330
+ /* Inset */
331
+ &.ui-inset {
332
+ .ui-text {
333
+ padding-inline-start: calc(var(--size-5) + var(--size-3));
334
+ }
335
+
336
+ /* Safety measure so it won't look bad if there for some reason should exist a leading element inside. */
337
+ .ui-start {
338
+ display: none;
339
+ }
340
+ }
341
+ }
342
+ }
343
+ }