aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/TooltipTextMenu.scss
blob: 7deea3be6214dbe1f245ab32fbb9cc4b8f0c2133 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
@import "../views/globalCssVariables";

.tooltipMenu {
    position: absolute;
    z-index: 20;
    background: $dark-color;
    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: $dark-color;
  }

  .menuicon {
    display: inline-block;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    //color: rgb(19, 18, 18);
    color: $light-color;
    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}