update tabs
This commit is contained in:
parent
d808aced1d
commit
9ceaf21b80
37 changed files with 565 additions and 345 deletions
|
@ -9,43 +9,53 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
-->
|
||||
|
||||
<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">
|
||||
<link rel="import" href="../paper-styles/default-theme.html">
|
||||
<llink rel="import" href="../paper-styles/typography.html">
|
||||
|
||||
<dom-module id="paper-item-shared-styles">
|
||||
<template>
|
||||
<style>
|
||||
:host {
|
||||
:host, .paper-item {
|
||||
display: block;
|
||||
position: relative;
|
||||
min-height: var(--paper-item-min-height, 48px);
|
||||
padding: 0px 16px;
|
||||
}
|
||||
|
||||
:host([hidden]) {
|
||||
.paper-item {
|
||||
@apply(--paper-font-subhead);
|
||||
border:none;
|
||||
outline: none;
|
||||
background: white;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
:host([hidden]), .paper-item[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
:host(.iron-selected) {
|
||||
:host(.iron-selected), .paper-item.iron-selected {
|
||||
font-weight: var(--paper-item-selected-weight, bold);
|
||||
|
||||
@apply(--paper-item-selected);
|
||||
}
|
||||
|
||||
:host([disabled]) {
|
||||
:host([disabled]), .paper-item[disabled] {
|
||||
color: var(--paper-item-disabled-color, --disabled-text-color);
|
||||
|
||||
@apply(--paper-item-disabled);
|
||||
}
|
||||
|
||||
:host(:focus) {
|
||||
:host(:focus), .paper-item:focus {
|
||||
position: relative;
|
||||
outline: 0;
|
||||
|
||||
@apply(--paper-item-focused);
|
||||
}
|
||||
|
||||
:host(:focus):before {
|
||||
:host(:focus):before, .paper-item:focus:before {
|
||||
@apply(--layout-fit);
|
||||
|
||||
background: currentColor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue