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 .widget { | 7 .widget { |
8 display: flex; | 8 display: flex; |
9 background: white; | 9 background: white; |
10 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.2), 0 2p x 6px rgba(0, 0, 0, 0.1); | 10 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.2), 0 2p x 6px rgba(0, 0, 0, 0.1); |
11 border-radius: 2px; | 11 border-radius: 2px; |
12 overflow: auto; | 12 overflow: auto; |
13 -webkit-user-select: text; | 13 -webkit-user-select: text; |
14 line-height: 11px; | 14 line-height: 11px; |
15 } | |
16 | |
17 .widget.has-padding { | |
15 padding: 6px; | 18 padding: 6px; |
16 } | 19 } |
17 | |
18 .widget.no-padding { | |
19 padding: 0; | |
20 } | |
OLD | NEW |