Blame view

bower_components/paper-item/paper-item-shared-styles.html 1.65 KB
e619a3b0   Luigi Serra   Controllet cross ...
1
2
3
4
5
6
7
8
9
  <!--
  @license
  Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
  The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
  Code distributed by Google as part of the polymer project is also
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
  -->
73bcce88   luigser   COMPONENTS
10
  
a1a3bc73   Luigi Serra   graphs updates
11
12
13
14
  <link rel="import" href="../iron-flex-layout/iron-flex-layout.html">
  <link rel="import" href="../paper-styles/default-theme.html">
  <link rel="import" href="../paper-styles/color.html">
  
e619a3b0   Luigi Serra   Controllet cross ...
15
16
17
18
19
  <dom-module id="paper-item-shared-styles">
    <template>
      <style>
        :host {
          display: block;
a1a3bc73   Luigi Serra   graphs updates
20
          position: relative;
e619a3b0   Luigi Serra   Controllet cross ...
21
22
23
          min-height: var(--paper-item-min-height, 48px);
          padding: 0px 16px;
        }
73bcce88   luigser   COMPONENTS
24
  
a1a3bc73   Luigi Serra   graphs updates
25
26
27
28
        :host([hidden]) {
          display: none !important;
        }
  
eb240478   Luigi Serra   public room cards...
29
30
        :host(.iron-selected) {
          font-weight: var(--paper-item-selected-weight, bold);
a1a3bc73   Luigi Serra   graphs updates
31
  
eb240478   Luigi Serra   public room cards...
32
33
34
35
36
          @apply(--paper-item-selected);
        }
  
        :host([disabled]) {
          color: var(--paper-item-disabled-color, --disabled-text-color);
a1a3bc73   Luigi Serra   graphs updates
37
  
eb240478   Luigi Serra   public room cards...
38
39
40
41
42
43
          @apply(--paper-item-disabled);
        }
  
        :host(:focus) {
          position: relative;
          outline: 0;
a1a3bc73   Luigi Serra   graphs updates
44
  
eb240478   Luigi Serra   public room cards...
45
46
47
48
49
          @apply(--paper-item-focused);
        }
  
        :host(:focus):before {
          @apply(--layout-fit);
a1a3bc73   Luigi Serra   graphs updates
50
  
eb240478   Luigi Serra   public room cards...
51
          background: currentColor;
a1a3bc73   Luigi Serra   graphs updates
52
          content: '';
eb240478   Luigi Serra   public room cards...
53
          opacity: var(--dark-divider-opacity);
a1a3bc73   Luigi Serra   graphs updates
54
          pointer-events: none;
eb240478   Luigi Serra   public room cards...
55
56
  
          @apply(--paper-item-focused-before);
e619a3b0   Luigi Serra   Controllet cross ...
57
58
59
60
        }
      </style>
    </template>
  </dom-module>