Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 /* | |
| 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 | |
| 4 * found in the LICENSE file. | |
| 5 */ | |
| 6 :host { | |
| 7 height: 26px; | |
| 8 text-align: left; | |
| 9 } | |
| 10 | |
| 11 :host([disabled]) { | |
| 12 opacity: .5; | |
| 13 } | |
| 14 | |
| 15 :host .title { | |
|
dgozman
2017/05/11 21:14:52
.title
einbinder
2017/05/11 21:47:22
Done.
| |
| 16 padding-right: 5px; | |
| 17 width: 120px; | |
| 18 overflow: hidden; | |
| 19 text-overflow: ellipsis; | |
| 20 } | |
| 21 | |
| 22 :host([data-keyboard-focus="true"]:focus)::before { | |
| 23 content: ""; | |
| 24 position: absolute; | |
| 25 top: 2px; | |
| 26 left: 2px; | |
| 27 right: 2px; | |
| 28 bottom: 2px; | |
| 29 border-radius: 2px; | |
| 30 background: rgba(0, 0, 0, 0.08); | |
| 31 } | |
| 32 | |
| 33 :host(.warning) { | |
| 34 background: #ffd7d7 !important; | |
| 35 } | |
| OLD | NEW |