OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 .buttonbar button.combobutton { | 5 .buttonbar button.combobutton { |
6 -webkit-box-align: stretch; | 6 -webkit-box-align: stretch; |
7 display: -webkit-box; | 7 display: -webkit-box; |
8 } | 8 } |
9 | 9 |
10 .buttonbar .combobutton > img { | 10 .buttonbar .combobutton > .action { |
11 display: block; | 11 background-position: left center; |
12 height: 16px; | 12 background-repeat: no-repeat; |
13 margin-bottom: 6px; | 13 background-size: 16px 16px; |
14 margin-right: 4px; | 14 padding-left: 21px; |
15 margin-top: 6px; | |
16 width: 16px; | |
17 } | 15 } |
18 | 16 |
19 .buttonbar .combobutton > span { | 17 .buttonbar .combobutton > .trigger { |
20 -webkit-box-flex: 1; | |
21 display: block; | |
22 } | |
23 | |
24 .buttonbar .combobutton > div { | |
25 border-left: solid 1px #dcdcdc; | 18 border-left: solid 1px #dcdcdc; |
26 display: none; | |
27 margin-left: 8px; | 19 margin-left: 8px; |
28 margin-right: -8px; | 20 margin-right: -8px; |
29 width: 22px; | 21 width: 22px; |
30 } | 22 } |
31 | 23 |
32 .buttonbar .combobutton[multiple] > div { | 24 .buttonbar .combobutton:not([multiple]) > .trigger { |
33 display: block; | 25 display: none; |
34 } | 26 } |
35 | 27 |
36 .buttonbar .combobutton > div > span.disclosureindicator { | 28 .buttonbar .combobutton > div > span.disclosureindicator { |
37 -webkit-transform: rotate(90deg); | 29 -webkit-transform: rotate(90deg); |
38 } | 30 } |
39 | 31 |
40 .buttonbar .combobutton[hidden] { | 32 .buttonbar .combobutton[hidden] { |
41 display: none; | 33 display: none; |
42 } | 34 } |
OLD | NEW |