| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2017 The Chromium Authors. All rights reserved. | 2 * Copyright 2017 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 :host { | 7 :host { |
| 8 position: absolute !important; | 8 position: absolute !important; |
| 9 top: 0; | 9 top: 0; |
| 10 bottom: 0; | 10 bottom: 0; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 pointer-events: none; | 23 pointer-events: none; |
| 24 } | 24 } |
| 25 | 25 |
| 26 .widget { | 26 .widget { |
| 27 display: flex; | 27 display: flex; |
| 28 background-color: transparent; | 28 background-color: transparent; |
| 29 pointer-events: auto; | 29 pointer-events: auto; |
| 30 flex: none; | 30 flex: none; |
| 31 } | 31 } |
| 32 | 32 |
| 33 .no-pointer-events { |
| 34 pointer-events: none; |
| 35 } |
| 36 |
| 33 .arrow-top { | 37 .arrow-top { |
| 34 margin-top: -19px; | 38 margin-top: -19px; |
| 35 margin-left: -9px; | 39 margin-left: -9px; |
| 36 } | 40 } |
| 37 | 41 |
| 38 .arrow-bottom { | 42 .arrow-bottom { |
| 39 margin-left: -9px; | 43 margin-left: -9px; |
| 40 } | 44 } |
| 41 | 45 |
| 42 .arrow-left { | 46 .arrow-left { |
| 43 margin-left: -19px; | 47 margin-left: -19px; |
| 44 margin-top: -9px; | 48 margin-top: -9px; |
| 45 } | 49 } |
| 46 | 50 |
| 47 .arrow-right { | 51 .arrow-right { |
| 48 margin-top: -9px; | 52 margin-top: -9px; |
| 49 } | 53 } |
| 50 | 54 |
| 51 .arrow-none { | 55 .arrow-none { |
| 52 display: none; | 56 display: none; |
| 53 } | 57 } |
| 54 | 58 |
| 55 :host-context(.-theme-with-dark-background) .arrow { | 59 :host-context(.-theme-with-dark-background) .arrow { |
| 56 -webkit-filter: invert(80%); | 60 -webkit-filter: invert(80%); |
| 57 } | 61 } |
| OLD | NEW |