@adecore/ui 0.31.9 → 0.31.11
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/dist/theme.css +2 -0
- package/package.json +1 -1
- package/src/theme.css +2 -0
package/dist/theme.css
CHANGED
|
@@ -372,6 +372,8 @@
|
|
|
372
372
|
mark that has to be findable, the pointer's is the lift under the cursor. */
|
|
373
373
|
.menu-item[data-highlighted] { background: var(--surface-active); }
|
|
374
374
|
:root[data-modality='pointer'] .menu-item[data-highlighted] { background: var(--surface-hover); }
|
|
375
|
+
/* A menu that keeps the focus in a field of its own (`highlightItemOnHover={false}`) still lifts the row under the cursor. */
|
|
376
|
+
:root[data-modality='pointer'] .menu-item:not([data-disabled]):hover { background: var(--surface-hover); }
|
|
375
377
|
.menu-item[data-disabled] { opacity: .5; }
|
|
376
378
|
/* Two lines against each other divide nothing, and so does a line at the top or the bottom of a
|
|
377
379
|
menu. A menu is composed out of rows that each decide whether they are there, so the last word
|
package/package.json
CHANGED
package/src/theme.css
CHANGED
|
@@ -372,6 +372,8 @@
|
|
|
372
372
|
mark that has to be findable, the pointer's is the lift under the cursor. */
|
|
373
373
|
.menu-item[data-highlighted] { background: var(--surface-active); }
|
|
374
374
|
:root[data-modality='pointer'] .menu-item[data-highlighted] { background: var(--surface-hover); }
|
|
375
|
+
/* A menu that keeps the focus in a field of its own (`highlightItemOnHover={false}`) still lifts the row under the cursor. */
|
|
376
|
+
:root[data-modality='pointer'] .menu-item:not([data-disabled]):hover { background: var(--surface-hover); }
|
|
375
377
|
.menu-item[data-disabled] { opacity: .5; }
|
|
376
378
|
/* Two lines against each other divide nothing, and so does a line at the top or the bottom of a
|
|
377
379
|
menu. A menu is composed out of rows that each decide whether they are there, so the last word
|