Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* | |
| 2 * Copyright (c) 2017 The Chromium Authors. All rights reserved. | |
|
dgozman
2017/05/08 23:16:47
no (c)
einbinder
2017/05/09 22:00:45
Done.
| |
| 3 * Use of this source code is governed by a BSD-style license that can be | |
| 4 * found in the LICENSE file. | |
| 5 */ | |
| 6 .context { | |
| 7 padding: 2px 1px 2px 2px; | |
| 8 white-space: nowrap; | |
| 9 display: flex; | |
| 10 flex-direction: column; | |
| 11 height: 34px; | |
| 12 justify-content: center; | |
| 13 } | |
| 14 | |
| 15 .context.disabled { | |
| 16 opacity: 0.5; | |
| 17 } | |
| 18 | |
| 19 .title { | |
| 20 overflow: hidden; | |
| 21 text-overflow: ellipsis; | |
| 22 flex-grow: 0; | |
| 23 } | |
| 24 | |
| 25 .subtitle { | |
| 26 color: #999; | |
| 27 margin-right: 3px; | |
| 28 overflow: hidden; | |
| 29 text-overflow: ellipsis; | |
| 30 flex-grow: 0; | |
| 31 } | |
| 32 | |
| 33 .context-list { | |
| 34 background-color: white; | |
| 35 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), | |
| 36 0 2px 4px rgba(0, 0, 0, 0.2), | |
| 37 0 2px 6px rgba(0, 0, 0, 0.1); | |
| 38 overflow-x: hidden; | |
| 39 overflow-y: auto; | |
| 40 width: 100%; | |
| 41 } | |
| 42 | |
| 43 .context.selected { | |
| 44 color: white; | |
| 45 background-color: rgb(56, 121, 217); | |
| 46 } | |
| 47 | |
| 48 .context.selected .subtitle { | |
| 49 color: white; | |
| 50 } | |
| OLD | NEW |