|
68 | 68 |
|
69 | 69 | #filters-content {
|
70 | 70 | margin-top: 16px;
|
71 |
| - |
72 | 71 | }
|
73 | 72 |
|
74 | 73 | #filters {
|
|
98 | 97 | .cache-label {
|
99 | 98 | font-weight: bold;
|
100 | 99 | }
|
| 100 | + |
| 101 | + .tooltip { |
| 102 | + position: relative; |
| 103 | + border-radius: 50%; |
| 104 | + border: 1px solid #7d6969; |
| 105 | + width: 16px; |
| 106 | + text-align: center; |
| 107 | + font-weight: bold; |
| 108 | + background: #d6d3d3; |
| 109 | + cursor: pointer; |
| 110 | + display: inline-block; |
| 111 | + } |
| 112 | + |
| 113 | + .tooltip .tooltiptext { |
| 114 | + width: 180px; |
| 115 | + visibility: hidden; |
| 116 | + color: white; |
| 117 | + background-color: #524d4d; |
| 118 | + text-align: center; |
| 119 | + padding: 5px; |
| 120 | + border-radius: 6px; |
| 121 | + |
| 122 | + position: absolute; |
| 123 | + bottom: 125%; |
| 124 | + margin-left: -60px; |
| 125 | + |
| 126 | + opacity: 0; |
| 127 | + transition: opacity 0.3s; |
| 128 | + } |
| 129 | + |
| 130 | + .tooltip:hover .tooltiptext { |
| 131 | + visibility: visible; |
| 132 | + opacity: 1; |
| 133 | + } |
101 | 134 | </style>
|
102 | 135 | <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
|
103 | 136 | </head>
|
|
132 | 165 | </form>
|
133 | 166 | <div id="filters">
|
134 | 167 | <div id="filters-toggle" class="section-heading">Filters<span id="filters-toggle-indicator"></span></div>
|
135 |
| - <div id="filters-content"> |
| 168 | + <div id="filters-content" style="display: none;"> |
136 | 169 | <div>
|
137 | 170 | <div class="section-heading">Filter by benchmark
|
138 | 171 | </div>
|
|
141 | 174 | <div>
|
142 | 175 | <div class="section-heading">Cache states</div>
|
143 | 176 | <p>Most benchmarks have at least 4 cache states for which we collect data:</p>
|
144 |
| - <ul style="list-style:none;"> |
145 |
| - <li><input type="checkbox" id="build-full" checked /><span class="cache-label">full</span>: a |
146 |
| - non-incremental full build starting with empty cache</li> |
| 177 | + <ul style="display: flex; justify-content: space-around; list-style:none;"> |
| 178 | + <li><input type="checkbox" id="build-full" checked /><span class="cache-label">full</span> |
| 179 | + <div class="tooltip">?<span class="tooltiptext">A |
| 180 | + non-incremental full build starting with empty cache</span></div> |
| 181 | + </li> |
147 | 182 | <li><input type="checkbox" id="build-incremental-full" checked /> <span
|
148 |
| - class="cache-label">incr-full</span>: an incremental build |
149 |
| - starting |
150 |
| - with empty cache</li> |
| 183 | + class="cache-label">incr-full</span> |
| 184 | + <div class="tooltip">?<span class="tooltiptext">An incremental build |
| 185 | + starting |
| 186 | + with empty cache |
| 187 | + </span></div> |
| 188 | + </li> |
151 | 189 | <li><input type="checkbox" id="build-incremental-unchanged" checked /> <span
|
152 |
| - class="cache-label">incr-unchanged</span>: an |
153 |
| - incremental |
154 |
| - build |
155 |
| - starting with complete |
156 |
| - cache, and unchanged source directory -- the "perfect" scenario for incremental.</li> |
| 190 | + class="cache-label">incr-unchanged</span> |
| 191 | + <div class="tooltip">?<span class="tooltiptext">An |
| 192 | + incremental |
| 193 | + build |
| 194 | + starting with complete |
| 195 | + cache, and unchanged source directory -- the "perfect" scenario for incremental.</span> |
| 196 | + </div> |
| 197 | + </li> |
157 | 198 | <li><input type="checkbox" id="build-incremental-patched" checked /><span
|
158 |
| - class="cache-label">incr-patched</span> : an incremental |
159 |
| - build |
160 |
| - starting with complete cache, and an |
161 |
| - altered source directory. The typical variant of this is "println" which represents |
162 |
| - the addition of a `println!` macro somewhere in the source code.</li> |
| 199 | + class="cache-label">incr-patched</span> |
| 200 | + <div class="tooltip">?<span class="tooltiptext">An incremental |
| 201 | + build |
| 202 | + starting with complete cache, and an |
| 203 | + altered source directory. The typical variant of this is "println" which represents |
| 204 | + the addition of a `println!` macro somewhere in the source code.</span></div> |
| 205 | + </li> |
163 | 206 | </ul>
|
164 | 207 | </div>
|
165 | 208 | </div>
|
|
0 commit comments