diff options
| author | eperelm2 <emily_perelman@brown.edu> | 2023-07-24 11:16:58 -0400 |
|---|---|---|
| committer | eperelm2 <emily_perelman@brown.edu> | 2023-07-24 11:16:58 -0400 |
| commit | 78221fd50b722ab32112d83c0d5cdc0658f2b34f (patch) | |
| tree | edd999bc79364f724e5e3c399dddff6266d4b184 /src/client/views/ContextMenu.scss | |
| parent | 50cb7d0981a71c2eb45fbecfc2befad94d431eaa (diff) | |
| parent | 9bd34e05c1a55adc1dbc32635442a184a49ee444 (diff) | |
Merge branch 'master' into secondpropertiesmenu-emily
Diffstat (limited to 'src/client/views/ContextMenu.scss')
| -rw-r--r-- | src/client/views/ContextMenu.scss | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/src/client/views/ContextMenu.scss b/src/client/views/ContextMenu.scss index 1361d99fc..588eff1d1 100644 --- a/src/client/views/ContextMenu.scss +++ b/src/client/views/ContextMenu.scss @@ -52,13 +52,29 @@ user-select: none; transition: all 0.1s; border-style: none; - // padding: 10px 0px 10px 0px; + position: relative; white-space: nowrap; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; padding-right: 30px; + .contextMenu-item-background { + width: 100%; + height: 100%; + position: absolute; + top: 0; + left: 0; + z-index: 0; + filter: opacity(0); + } + + &:hover { + .contextMenu-item-background { + filter: opacity(0.2) !important; + } + } + .contextMenu-item-icon-background { pointer-events: all; background-color: transparent; @@ -133,11 +149,6 @@ // border-top: solid 1px; //TODO:glr clean } -.contextMenu-item:hover { - transition: all 0.1s ease; - background: $light-blue; -} - .contextMenu-description { margin-left: 5px; text-align: left; |
