Sha256: afc76d642bd50f3b1d07310ecd14ed40cb3756fb83d2712fe39ffe2ee1344ee5
Contents?: true
Size: 1.35 KB
Versions: 1
Compression:
Stored size: 1.35 KB
Contents
.menu { position: absolute; min-width: 200px; max-width: max-content; border-radius: 0.5rem; z-index: 20; box-shadow: 0 2px 10px rgb(0, 2, 6, 0.3), 0 2px 10px rgb(0, 1, 2, 0.2); @media (prefers-color-scheme: light) { background: rgb(var(--md-sys-light-surface-container)); } @media (prefers-color-scheme: dark) { background: rgb(var(--md-sys-dark-surface-container)); } .menu__item { width: 100%; display: flex; gap: 0.75rem; padding: 0.75rem 1rem; cursor: pointer; &.divider { border-bottom: 1px solid; @media (prefers-color-scheme: light) { background: rgb(var(--md-sys-light-surface-variant)); } @media (prefers-color-scheme: dark) { background: rgb(var(--md-sys-dark-surface-variant)); } } &:hover { @media (prefers-color-scheme: light) { background: rgb(var(--md-sys-light-on-surface) / 0.08); } @media (prefers-color-scheme: dark) { background: rgb(var(--md-sys-dark-on-surface) / 0.08); } } &:active { @media (prefers-color-scheme: light) { background: rgb(var(--md-sys-light-surface-container-highest)); } @media (prefers-color-scheme: dark) { background: rgb(var(--md-sys-dark-surface-container-highest)); } } } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
material_design-0.10.0 | app/assets/stylesheets/material_design/menus.css |