diff options
| author | yipstanley <stanley_yip@brown.edu> | 2019-03-09 18:37:47 -0500 |
|---|---|---|
| committer | yipstanley <stanley_yip@brown.edu> | 2019-03-09 18:37:47 -0500 |
| commit | c739d5ae0f7d78bbd65134606c727df5a71defec (patch) | |
| tree | 27c05f13a244a04717eeaa8aeb537b60b0ca985c /src/client/util/TooltipTextMenu.scss | |
| parent | 1135a989b154aae084e07e09195e2d1c59e06180 (diff) | |
| parent | 96eede5f7d1706a3f7ac6ee02a85bb3da217f467 (diff) | |
finally merged
Diffstat (limited to 'src/client/util/TooltipTextMenu.scss')
| -rw-r--r-- | src/client/util/TooltipTextMenu.scss | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/src/client/util/TooltipTextMenu.scss b/src/client/util/TooltipTextMenu.scss new file mode 100644 index 000000000..fa43f5326 --- /dev/null +++ b/src/client/util/TooltipTextMenu.scss @@ -0,0 +1,54 @@ + +.tooltipMenu { + position: absolute; + z-index: 20; + background: rgb(19, 18, 18); + border: 1px solid silver; + border-radius: 4px; + padding: 2px 10px; + margin-bottom: 7px; + -webkit-transform: translateX(-50%); + transform: translateX(-50%); +} + +.tooltipMenu:before { + content: ""; + height: 0; width: 0; + position: absolute; + left: 50%; + margin-left: -5px; + bottom: -6px; + border: 5px solid transparent; + border-bottom-width: 0; + border-top-color: silver; + } + .tooltipMenu:after { + content: ""; + height: 0; width: 0; + position: absolute; + left: 50%; + margin-left: -5px; + bottom: -4.5px; + border: 5px solid transparent; + border-bottom-width: 0; + border-top-color: black; + } + + .menuicon { + display: inline-block; + border-right: 1px solid rgba(0, 0, 0, 0.2); + //color: rgb(19, 18, 18); + color: white; + line-height: 1; + padding: 0px 2px; + margin: 1px; + cursor: pointer; + text-align: center; + min-width: 10px; + } + .strong, .heading { font-weight: bold; } + .em { font-style: italic; } + .underline {text-decoration: underline} + .superscript {vertical-align:super} + .subscript { vertical-align:sub } + .strikethrough {text-decoration-line:line-through}
\ No newline at end of file |
