Polymer elements added to third_party/polymer.
[chromium-blink-merge.git] / third_party / polymer / components / core-item / core-item.css
blobfa1370516073fe95e2442d5486f8accb57fd6180
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 */
10 html /deep/ core-item {
11 display: block;
12 position: relative;
13 min-height: 40px;
14 white-space: nowrap;
17 html /deep/ core-item.font-scalable {
18 min-height: 2.5em;
21 html /deep/ core-item.core-selected {
22 font-weight: bold;
25 html /deep/ core-item::shadow core-icon {
26 margin: 0 16px 0 4px;
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;
35 html /deep/ core-item::shadow ::content > a {
36 position: absolute;
37 top: 0;
38 right: 0;
39 bottom: 0;
40 left: 0;