File size: 2,610 Bytes
63858e7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
#corpus-vis {
  margin: 0 auto;

  #main-corpus-vis {
    display: -webkit-flex;
    display: flex;

    #corpus-mat-container {
      -webkit-flex: initial;
      flex: initial;
      vertical-align: top;
      float: left;

      .corpus-mat {
        display: inline-block;
        margin-right: 0.05em;
        margin-left: 0.05em;
      }

      .offset-0 {
        border: 0.2em solid black;
      }

      .mat-hover-display {
        pointer-events: none;
        display: flex;
        position: absolute;
        visibility: hidden;
        background-color: rgba(200, 200, 200, 1);
        border-radius: 8px 8px 1px 8px;
        margin: auto;
        p {
          margin: auto;
        }
      }
    }

    #corpus-similar-sentences-div {
      -webkit-flex: 1;
      flex: 1;
      vertical-align: top;
      float: left;
      max-width: 80%;
      max-height: 100%;

      .hovered-col {
        color: orange;
      }
    }
  }

  .btn {
    margin-left: 0.25em;
  }

  .inspector-row {
    display: block;
    margin-left: 10px;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
  }

  .inspector-cell {
    display: inline-block;
    margin-right: 3px;
    text-align: left;
  }

  /* Tooltip container */
  .celltooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
  }

  /* Tooltip text */
  .celltooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
  }

  /* Show the tooltip text when you mouse over the tooltip container */
  .celltooltip:hover .tooltiptext {
    width: 120px;
    bottom: 100%;
    left: 50%;
    margin-left: -60px; /* Use half of the width (120/2 = 60), to center the tooltip */
    visibility: visible;
  }

  /* Add little arrow to box */
  .celltooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
  }

  .matched-cell {
    border-style: solid;
    border-color: rgb(153, 196, 0);
    border-width: 3px;
    border-radius: 0.4em;
  }

  .gray-cell {
    color: rgba(0, 0, 0, 0.35);
  }
  .next-cell {
    color: rgba(228, 1, 1, 0.8);
    -moz-box-shadow: 0 0 3px #ccc;
    -webkit-box-shadow: 0 0 3px #ccc;
    box-shadow: 0 0 3px #ccc;
  }
}