Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 284 right: 12px; | 284 right: 12px; |
| 285 left: 12px; | 285 left: 12px; |
| 286 } | 286 } |
| 287 | 287 |
| 288 .network-graph-label { | 288 .network-graph-label { |
| 289 position: absolute; | 289 position: absolute; |
| 290 top: 0; | 290 top: 0; |
| 291 bottom: 0; | 291 bottom: 0; |
| 292 height: 13px; | 292 height: 13px; |
| 293 line-height: 13px; | 293 line-height: 13px; |
| 294 margin: auto; | |
| 294 font-size: 90%; | 295 font-size: 90%; |
| 295 color: rgba(0, 0, 0, 0.75); | 296 color: rgba(0, 0, 0, 0.75); |
| 296 text-shadow: rgba(255, 255, 255, 0.25) 1px 0 0, rgba(255, 255, 255, 0.25) -1 px 0 0, rgba(255, 255, 255, 0.333) 0 1px 0, rgba(255, 255, 255, 0.25) 0 -1px 0; | 297 text-shadow: rgba(255, 255, 255, 0.25) 1px 0 0, rgba(255, 255, 255, 0.25) -1 px 0 0, rgba(255, 255, 255, 0.333) 0 1px 0, rgba(255, 255, 255, 0.25) 0 -1px 0; |
| 297 z-index: 150; | 298 z-index: 150; |
| 298 overflow: hidden; | 299 overflow: hidden; |
| 299 text-align: center; | 300 text-align: center; |
| 300 visibility: hidden; | 301 visibility: hidden; |
| 301 } | 302 } |
| 302 | 303 |
| 303 .network-graph-side:hover .network-graph-label { | 304 .network-graph-side:hover .network-graph-label { |
| 304 visibility: visible; | 305 visibility: visible; |
| 305 } | 306 } |
| 306 | 307 |
| 307 .network-graph-label:empty { | 308 .network-graph-label:empty { |
| 308 display: none; | 309 display: none; |
| 309 } | 310 } |
| 310 | 311 |
| 311 .network-graph-label.waiting { | 312 .network-graph-label.waiting { |
| 312 margin-right: 5px; | 313 margin-right: 5px; |
| 313 } | 314 } |
| 314 | 315 |
| 315 .network-graph-label.before { | 316 .network-graph-label.before { |
| 316 color: rgba(0, 0, 0, 0.7); | 317 color: rgba(0, 0, 0, 0.7); |
| 317 text-shadow: none; | 318 text-shadow: none; |
| 318 text-align: right; | 319 text-align: right; |
| 319 margin-right: -2px; | 320 margin-right: -1px; |
|
pfeldman
2014/08/14 08:36:17
Is this intended?
eustas
2014/08/14 09:29:46
Yes.
To make left and right labels handles equally
| |
| 320 } | 321 } |
| 321 | 322 |
| 322 .network-graph-label.before::after { | 323 .network-graph-label.before::after { |
| 323 padding-left: 2px; | 324 padding-left: 2px; |
| 324 height: 6px; | 325 height: 6px; |
| 325 content: url(Images/graphLabelCalloutLeft.png); | 326 content: url(Images/graphLabelCalloutLeft.png); |
| 326 } | 327 } |
| 327 | 328 |
| 328 .network-graph-label.after { | 329 .network-graph-label.after { |
| 329 color: rgba(0, 0, 0, 0.7); | 330 color: rgba(0, 0, 0, 0.7); |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 530 | 531 |
| 531 #network-container { | 532 #network-container { |
| 532 overflow-y: auto; | 533 overflow-y: auto; |
| 533 overflow-x: hidden; | 534 overflow-x: hidden; |
| 534 } | 535 } |
| 535 | 536 |
| 536 /* Brief mode peculiarities. */ | 537 /* Brief mode peculiarities. */ |
| 537 #network-container.brief-mode .network-timeline-grid { | 538 #network-container.brief-mode .network-timeline-grid { |
| 538 display: none; | 539 display: none; |
| 539 } | 540 } |
| OLD | NEW |