OLD | NEW |
(Empty) | |
| 1 /** Copyright (c) 2016 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. |
| 4 */ |
| 5 |
| 6 .header-right-align { |
| 7 float: right; |
| 8 } |
| 9 |
| 10 .milo-container { |
| 11 position: relative; |
| 12 } |
| 13 |
| 14 .milo-link { |
| 15 display: block; |
| 16 text-align: right; |
| 17 font-size: 14px; |
| 18 background-color: #d9ead3; |
| 19 font-family: "Courier New", Courier, monospace; |
| 20 } |
| 21 |
| 22 .milo-link + .milo-info { |
| 23 display: none; |
| 24 } |
| 25 |
| 26 /* When a user hovers over the Milo link, show the info pane. */ |
| 27 .milo-link:hover + .milo-info { |
| 28 display: block; |
| 29 } |
| 30 |
| 31 /* Once a user is hovering, keep it visible. */ |
| 32 .milo-info:hover { |
| 33 display: block; |
| 34 } |
| 35 |
| 36 .milo-info { |
| 37 position: absolute; |
| 38 right: 0; |
| 39 width: 250px; |
| 40 padding: 5px; |
| 41 |
| 42 background-color: #d9ead3; |
| 43 font-size: 14px; |
| 44 border-style: solid; |
| 45 border-width: 1px; |
| 46 border-color: black; |
| 47 border-radius: 6px; |
| 48 text-align: center; |
| 49 } |
| 50 |
| 51 .milo-link img { |
| 52 vertical-align: middle; |
| 53 width: 14px; |
| 54 height: auto; |
| 55 margin: 0px; |
| 56 padding: 0px; |
| 57 transition: 0.3s; |
| 58 } |
| 59 |
| 60 .milo-cit-info { |
| 61 display: flex; |
| 62 align-items: center; |
| 63 flex-wrap: nowrap; |
| 64 |
| 65 padding-left: 10px; |
| 66 padding-right: 10px; |
| 67 font-size: 10px; |
| 68 } |
| 69 |
| 70 .milo-info img { |
| 71 vertical-align: middle; |
| 72 } |
OLD | NEW |