OLD | NEW |
---|---|
1 /* Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2015 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 :host([is-default]) { | |
6 font-weight: 500; | |
7 } | |
8 | |
5 .name-column, | 9 .name-column, |
6 .keyword-column { | 10 .keyword-column { |
7 flex: 3; | 11 flex: 3; |
8 } | 12 } |
9 | 13 |
10 .name-column { | 14 .name-column { |
11 display: flex; | 15 display: flex; |
12 } | 16 } |
13 | 17 |
14 .url-column { | 18 .url-column { |
15 flex: 3.5; | 19 flex: 4; |
16 overflow: hidden; | 20 overflow: hidden; |
17 text-overflow: ellipsis; | 21 text-overflow: ellipsis; |
18 white-space: nowrap; | 22 white-space: nowrap; |
19 } | 23 } |
20 | 24 |
21 .icon-container { | 25 .icon-container { |
22 flex: 1; | 26 -webkit-margin-end: 8px; |
23 margin: auto; | 27 flex: 0.5; |
Dan Beam
2016/02/23 22:19:47
why is the icon flexing at all? that doesn't make
dpapad
2016/02/23 22:40:24
Removed. I was using display:flex in name-column,
| |
24 text-align: center; | 28 text-align: left; |
Dan Beam
2016/02/23 02:45:12
RTL?
dpapad
2016/02/23 21:27:04
Removed, this ended up being not needed. There are
| |
25 } | 29 } |
26 | 30 |
27 .name { | 31 .name { |
28 flex: 3; | 32 flex: 3.5; |
Dan Beam
2016/02/23 02:45:12
why are you using .5 here and previously?
dpapad
2016/02/23 21:27:04
For two reasons,
1) It seems to work in the dev co
Dan Beam
2016/02/23 22:08:38
right, but where are these widths coming from? be
| |
29 margin: auto; | 33 margin: auto; |
30 } | 34 } |
31 | 35 |
32 #container { | 36 #container { |
33 border-top: 1px solid lightgray; | 37 border-top: 1px solid lightgray; |
34 display: flex; | 38 display: flex; |
35 padding: 10px 0; | 39 padding: 2px 0; |
36 } | 40 } |
37 | 41 |
38 .dropdown-content { | 42 .dropdown-content { |
39 background: white; | 43 background: white; |
40 box-shadow: 0 2px 6px grey; | 44 box-shadow: 0 2px 6px grey; |
41 } | 45 } |
42 | 46 |
43 paper-item:hover { | 47 paper-item:hover { |
44 background-color: #f0f0f0; | 48 background-color: #f0f0f0; |
45 } | 49 } |
50 | |
51 paper-icon-button { | |
52 -webkit-padding-end: 0; | |
53 } | |
OLD | NEW |