diff options
author | ab <abdullah_ahmed@brown.edu> | 2019-06-05 15:25:30 -0400 |
---|---|---|
committer | ab <abdullah_ahmed@brown.edu> | 2019-06-05 15:25:30 -0400 |
commit | 3fa27ef718ff3ed855e0ae2b4fc35d51fe60fb25 (patch) | |
tree | a4403430d946b8039988fbe6931edefaeee23630 /src/client/util/TooltipTextMenu.scss | |
parent | 79f3d919713129c14d7edf7fc3e76b0565ddd1f0 (diff) |
menu doesn't flicker
Diffstat (limited to 'src/client/util/TooltipTextMenu.scss')
-rw-r--r-- | src/client/util/TooltipTextMenu.scss | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/client/util/TooltipTextMenu.scss b/src/client/util/TooltipTextMenu.scss index 437da0d63..e2862f093 100644 --- a/src/client/util/TooltipTextMenu.scss +++ b/src/client/util/TooltipTextMenu.scss @@ -36,7 +36,7 @@ position: relative; padding-right: 15px; margin: 3px; - background: #333333; + background: white; border-radius: 3px; text-align: center; } @@ -69,6 +69,7 @@ .ProseMirror-menu-dropdown-menu { z-index: 15; min-width: 6em; + background: white; } .linking { @@ -82,7 +83,7 @@ } .ProseMirror-menu-dropdown-item:hover { - background: #2e2b2b; + background: white; } .ProseMirror-menu-submenu-wrap { @@ -155,7 +156,7 @@ } .ProseMirror-icon svg { - fill: currentColor; + fill:white; height: 1em; } @@ -184,7 +185,7 @@ position: fixed; border-radius: 3px; z-index: 11; - box-shadow: -.5px 2px 5px rgba(0, 0, 0, .2); + box-shadow: -.5px 2px 5px white(255, 255, 255, 0.2); } .ProseMirror-prompt h5 { @@ -196,7 +197,7 @@ .ProseMirror-prompt input[type="text"], .ProseMirror-prompt textarea { - background: #eee; + background: white; border: none; outline: none; } @@ -233,12 +234,12 @@ .tooltipMenu { position: absolute; - z-index: 200; - background: $dark-color; + z-index: 50; + background: whitesmoke; border: 1px solid silver; - border-radius: 4px; + border-radius: 15px; padding: 2px 10px; - margin-bottom: 7px; + margin-bottom: 15px; -webkit-transform: translateX(-50%); transform: translateX(-50%); pointer-events: all; @@ -282,9 +283,9 @@ .menuicon { display: inline-block; - border-right: 1px solid rgba(0, 0, 0, 0.2); + border-right: 1px solid white(0, 0, 0, 0.2); //color: rgb(19, 18, 18); - color: white; + color: rgb(226, 21, 21); line-height: 1; padding: 0px 2px; margin: 1px; |