diff options
| author | Sophie Zhang <sophie_zhang@brown.edu> | 2023-07-27 13:51:21 -0400 |
|---|---|---|
| committer | Sophie Zhang <sophie_zhang@brown.edu> | 2023-07-27 13:51:21 -0400 |
| commit | fdc7c28eb758c8ef0e764cec4cfc261e01da3dea (patch) | |
| tree | 45a6dcde1075b0c3d52f2d4417cc43cd63a6f9b3 /src/client/views/ContextMenu.scss | |
| parent | 7535e446e9a8aa2a0afaf84c667f3a58f437d99b (diff) | |
| parent | 1f80b87178a84c1a449e27c90b1f7b635593cdad (diff) | |
Merge branch 'master' into sophie-report-manager
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; |
