| 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 .context { | 6 .context { |
| 7 padding: 2px 1px 2px 2px; | 7 padding: 2px 1px 2px 2px; |
| 8 white-space: nowrap; | 8 white-space: nowrap; |
| 9 display: flex; | 9 display: flex; |
| 10 flex-direction: column; | 10 flex-direction: column; |
| 11 height: 34px; | 11 height: 36px; |
| 12 justify-content: center; | 12 justify-content: center; |
| 13 } | 13 } |
| 14 | 14 |
| 15 .context.disabled { | 15 .context.disabled { |
| 16 opacity: 0.5; | 16 opacity: 0.5; |
| 17 } | 17 } |
| 18 | 18 |
| 19 .title { | 19 .title { |
| 20 overflow: hidden; | 20 overflow: hidden; |
| 21 text-overflow: ellipsis; | 21 text-overflow: ellipsis; |
| 22 flex-grow: 0; | 22 flex-grow: 0; |
| 23 } | 23 } |
| 24 | 24 |
| 25 .badge { |
| 26 pointer-events: none; |
| 27 margin-right: 4px; |
| 28 display: inline-block; |
| 29 height: 15px; |
| 30 } |
| 31 |
| 25 .subtitle { | 32 .subtitle { |
| 26 color: #999; | 33 color: #999; |
| 27 margin-right: 3px; | 34 margin-right: 3px; |
| 28 overflow: hidden; | 35 overflow: hidden; |
| 29 text-overflow: ellipsis; | 36 text-overflow: ellipsis; |
| 30 flex-grow: 0; | 37 flex-grow: 0; |
| 31 } | 38 } |
| 32 | 39 |
| 33 .context-list { | 40 .context-list { |
| 34 background-color: white; | 41 background-color: white; |
| 35 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), | 42 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), |
| 36 0 2px 4px rgba(0, 0, 0, 0.2), | 43 0 2px 4px rgba(0, 0, 0, 0.2), |
| 37 0 2px 6px rgba(0, 0, 0, 0.1); | 44 0 2px 6px rgba(0, 0, 0, 0.1); |
| 38 overflow-x: hidden; | 45 overflow-x: hidden; |
| 39 overflow-y: auto; | 46 overflow-y: auto; |
| 40 width: 100%; | 47 width: 100%; |
| 41 } | 48 } |
| 42 | 49 |
| 43 .context.selected { | 50 .context.selected { |
| 44 color: white; | 51 color: white; |
| 45 background-color: rgb(56, 121, 217); | 52 background-color: rgb(56, 121, 217); |
| 46 } | 53 } |
| 47 | 54 |
| 48 .context.selected .subtitle { | 55 .context.selected .subtitle { |
| 49 color: white; | 56 color: white; |
| 50 } | 57 } |
| OLD | NEW |