Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / polymer / components / core-item / core-item.css
1 /*
2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
6 Code distributed by Google as part of the polymer project is also
7 subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
8 */
9
10 html /deep/ core-item {
11   display: block;
12   position: relative;
13   min-height: 40px;
14   white-space: nowrap;
15 }
16
17 html /deep/ core-item.font-scalable {
18   min-height: 2.5em;
19 }
20
21 html /deep/ core-item.core-selected {
22   font-weight: bold;
23 }
24
25 html /deep/ core-item::shadow core-icon {
26   margin: 0 16px 0 4px;
27 }
28
29 html /deep/ core-item.font-scalable::shadow core-icon {
30   margin: 0 1em 0 0.25em;
31   height: 1.5em;
32   width: 1.5em;
33 }
34
35 html /deep/ core-item::shadow ::content > a {
36   position: absolute;
37   top: 0;
38   right: 0;
39   bottom: 0;
40   left: 0;
41 }