golang.org/x/build@v0.0.0-20240506185731-218518f32b70/cmd/coordinator/internal/legacydash/static/style.css (about) 1 /** 2 * Copyright 2022 The Go Authors. All rights reserved. 3 * Use of this source code is governed by a BSD-style 4 * license that can be found in the LICENSE file. 5 */ 6 7 * { box-sizing: border-box; } 8 9 .dashboards { 10 padding: 0.5em; 11 } 12 .dashboards > a { 13 padding: 0.5em; 14 background: #eee; 15 color: blue; 16 } 17 18 body { 19 margin: 0; 20 font-family: sans-serif; 21 padding: 0; margin: 0; 22 color: #222; 23 display: inline-block; 24 min-width: 100%; 25 } 26 27 .container { 28 max-width: 900px; 29 margin: 0 auto; 30 } 31 32 p, pre, ul, ol { margin: 20px; } 33 34 h1, h2, h3, h4 { 35 margin: 20px 0; 36 padding: 0; 37 color: #375EAB; 38 font-weight: bold; 39 } 40 41 h1 { font-size: 24px; } 42 h2 { font-size: 20px; } 43 h3 { font-size: 20px; } 44 h4 { font-size: 16px; } 45 46 h2 { background: #E0EBF5; padding: 2px 5px; } 47 h3, h4 { margin: 20px 5px; } 48 49 dl, dd { font-size: 14px; } 50 dl { margin: 20px; } 51 dd { margin: 2px 20px; } 52 53 .clear { 54 clear: both; 55 } 56 57 .button { 58 padding: 10px; 59 60 color: #222; 61 border: 1px solid #375EAB; 62 background: #E0EBF5; 63 64 border-radius: 5px; 65 66 cursor: pointer; 67 68 margin-left: 60px; 69 } 70 71 /* navigation bar */ 72 73 .Dashboard-topbar, #topbar { 74 padding: 10px 10px; 75 background: #E0EBF5; 76 } 77 78 #topbar h1 { 79 display: inline; 80 margin: 0; 81 padding-top: 5px; 82 } 83 #topbar h1 a { 84 color: #375EAB; 85 text-decoration: none; 86 } 87 #topbar h1 a:hover { 88 text-decoration: underline; 89 } 90 91 #topbar nav { 92 display: inline-block; 93 margin-left: 20px; 94 } 95 #topbar nav ul { 96 list-style: none; 97 margin: 0; 98 padding: 0; 99 } 100 #topbar nav ul li { 101 display: inline-block; 102 } 103 #topbar nav a { 104 display: inline-block; 105 padding: 10px; 106 107 margin: 0; 108 margin-right: 5px; 109 110 color: white; 111 background: #375EAB; 112 113 text-decoration: none; 114 font-size: 16px; 115 116 border: 1px solid #375EAB; 117 -webkit-border-radius: 5px; 118 -moz-border-radius: 5px; 119 border-radius: 5px; 120 } 121 122 .page { 123 margin-top: 20px; 124 } 125 126 /* settings panels */ 127 aside { 128 margin-top: 5px; 129 } 130 131 .panel { 132 border: 1px solid #aaa; 133 border-radius: 5px; 134 margin-bottom: 5px; 135 } 136 137 .panel h1 { 138 font-size: 16px; 139 margin: 0; 140 padding: 2px 8px; 141 } 142 143 .panel select { 144 padding: 5px; 145 border: 0; 146 width: 100%; 147 } 148 149 /* results table */ 150 151 table { 152 margin: 5px; 153 border-collapse: collapse; 154 font-size: 11px; 155 } 156 157 table td, table th, table td, table th { 158 vertical-align: top; 159 padding: 2px 6px; 160 } 161 162 table tr:nth-child(2n+1) { 163 background: #F4F4F4; 164 } 165 166 table tr.commit:hover { 167 background-color: #ffff99 !important; 168 } 169 170 table thead tr { 171 background: #fff !important; 172 } 173 174 /* build results */ 175 176 .build td, .build th, .packages td, .packages th { 177 vertical-align: top; 178 padding: 2px 4px; 179 font-size: 10pt; 180 } 181 182 .build .hash { 183 font-family: monospace; 184 font-size: 9pt; 185 } 186 187 .build .result { 188 text-align: center; 189 width: 2em; 190 } 191 192 .build .col-desc, .build .col-result, .build .col-metric, .build .col-numresults { 193 border-right: 1px solid #ccc; 194 } 195 196 .build .row-commit { 197 border-top: 2px solid #ccc; 198 } 199 200 .build .arch { 201 font-size: 83%; 202 font-weight: normal; 203 } 204 205 .build .time { 206 color: #666; 207 } 208 209 .build .ok { 210 font-size: 83%; 211 } 212 .build a.ok { 213 color: #000; 214 text-decoration: none; 215 } 216 217 .build .desc, .build .time, .build .user { 218 white-space: nowrap; 219 text-overflow: ellipsis; 220 overflow: hidden; 221 } 222 223 .build .desc { 224 max-width: 150px; 225 } 226 227 .build .user { 228 max-width: 50px; 229 } 230 231 tr.subheading2 th { 232 max-width: 4em; 233 overflow: hidden; 234 word-wrap: none; 235 } 236 237 .build .good { text-decoration: none; color: #000000; border: 2px solid #00E700} 238 .build .bad { text-decoration: none; text-shadow: 1px 1px 0 #000000; color: #FFFFFF; background: #E70000;} 239 .build .fail { color: #C00; } 240 .build .noise, 241 .build a.noise { text-decoration: none; color: #888; } 242 243 /* pagination */ 244 245 .paginate nav { 246 padding: 0.5em; 247 margin: 10px 0; 248 } 249 250 .paginate nav a { 251 padding: 0.5em; 252 background: #E0EBF5; 253 color: blue; 254 255 -webkit-border-radius: 5px; 256 -moz-border-radius: 5px; 257 border-radius: 5px; 258 } 259 260 .paginate nav a.inactive { 261 color: #888; 262 cursor: default; 263 text-decoration: none; 264 } 265 266 /* diffs */ 267 268 .diff-meta { 269 font-family: monospace; 270 margin-bottom: 10px; 271 } 272 273 .diff-container { 274 padding: 10px; 275 } 276 277 .diff table .metric { 278 font-weight: bold; 279 } 280 281 .diff { 282 border: 1px solid #aaa; 283 border-radius: 5px; 284 margin-bottom: 5px; 285 margin-right: 10px; 286 float: left; 287 } 288 289 .diff h1 { 290 font-size: 16px; 291 margin: 0; 292 padding: 2px 8px; 293 } 294 295 /* positioning elements */ 296 297 .page { 298 position: relative; 299 width: 100%; 300 } 301 302 aside { 303 position: absolute; 304 top: 0; 305 left: 0; 306 bottom: 0; 307 width: 200px; 308 } 309 310 .main-content { 311 position: absolute; 312 top: 0; 313 left: 210px; 314 right: 5px; 315 min-height: 200px; 316 overflow: hidden; 317 } 318 319 @media only screen and (max-width: 900px) { 320 aside { 321 position: relative; 322 display: block; 323 width: auto; 324 } 325 326 .main-content { 327 position: static; 328 padding: 0; 329 } 330 331 aside .panel { 332 float: left; 333 width: auto; 334 margin-right: 5px; 335 } 336 aside .button { 337 float: left; 338 margin: 0; 339 } 340 }