update components
This commit is contained in:
parent
abb1b78b2b
commit
27d49b3466
32 changed files with 739 additions and 380 deletions
|
@ -10,6 +10,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
|
||||
<link rel="import" href="../polymer/polymer.html">
|
||||
<link rel="import" href="../paper-styles/shadow.html">
|
||||
<link rel="import" href="paper-material-shared-styles.html">
|
||||
|
||||
<!--
|
||||
Material design: [Cards](https://www.google.com/design/spec/components/cards.html)
|
||||
|
@ -29,35 +30,11 @@ Example:
|
|||
|
||||
<dom-module id="paper-material">
|
||||
<template>
|
||||
<style include="paper-material-shared-styles"></style>
|
||||
<style>
|
||||
:host {
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
:host([animated]) {
|
||||
@apply(--shadow-transition);
|
||||
}
|
||||
|
||||
:host([elevation="1"]) {
|
||||
@apply(--shadow-elevation-2dp);
|
||||
}
|
||||
|
||||
:host([elevation="2"]) {
|
||||
@apply(--shadow-elevation-4dp);
|
||||
}
|
||||
|
||||
:host([elevation="3"]) {
|
||||
@apply(--shadow-elevation-6dp);
|
||||
}
|
||||
|
||||
:host([elevation="4"]) {
|
||||
@apply(--shadow-elevation-8dp);
|
||||
}
|
||||
|
||||
:host([elevation="5"]) {
|
||||
@apply(--shadow-elevation-16dp);
|
||||
}
|
||||
</style>
|
||||
|
||||
<content></content>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue