| Index: third_party/polymer/v1_0/components-chromium/iron-icon/iron-icon.html
|
| diff --git a/third_party/polymer/v1_0/components-chromium/iron-icon/iron-icon.html b/third_party/polymer/v1_0/components-chromium/iron-icon/iron-icon.html
|
| deleted file mode 100644
|
| index 5cb1c4edd63fce87ef042253f7bcf3627c4d95bd..0000000000000000000000000000000000000000
|
| --- a/third_party/polymer/v1_0/components-chromium/iron-icon/iron-icon.html
|
| +++ /dev/null
|
| @@ -1,106 +0,0 @@
|
| -<!--
|
| -@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
|
| ---><html><head><link rel="import" href="../polymer/polymer.html">
|
| -<link rel="import" href="../iron-meta/iron-meta.html">
|
| -<link rel="import" href="../iron-flex-layout/iron-flex-layout.html">
|
| -
|
| -<!--
|
| -
|
| -The `iron-icon` element displays an icon. By default an icon renders as a 24px square.
|
| -
|
| -Example using src:
|
| -
|
| - <iron-icon src="star.png"></iron-icon>
|
| -
|
| -Example setting size to 32px x 32px:
|
| -
|
| - <iron-icon class="big" src="big_star.png"></iron-icon>
|
| -
|
| - <style>
|
| - .big {
|
| - height: 32px;
|
| - width: 32px;
|
| - }
|
| - </style>
|
| -
|
| -The iron elements include several sets of icons.
|
| -To use the default set of icons, import `iron-icons.html` and use the `icon` attribute to specify an icon:
|
| -
|
| - <!-- import default iconset and iron-icon -->
|
| - <link rel="import" href="/components/iron-icons/iron-icons.html">
|
| -
|
| - <iron-icon icon="menu"></iron-icon>
|
| -
|
| -To use a different built-in set of icons, import `iron-icons/<iconset>-icons.html`, and
|
| -specify the icon as `<iconset>:<icon>`. For example:
|
| -
|
| - <!-- import communication iconset and iron-icon -->
|
| - <link rel="import" href="/components/iron-icons/communication-icons.html">
|
| -
|
| - <iron-icon icon="communication:email"></iron-icon>
|
| -
|
| -You can also create custom icon sets of bitmap or SVG icons.
|
| -
|
| -Example of using an icon named `cherry` from a custom iconset with the ID `fruit`:
|
| -
|
| - <iron-icon icon="fruit:cherry"></iron-icon>
|
| -
|
| -See [iron-iconset](#iron-iconset) and [iron-iconset-svg](#iron-iconset-svg) for more information about
|
| -how to create a custom iconset.
|
| -
|
| -See [iron-icons](http://www.polymer-project.org/components/iron-icons/demo.html) for the default set of icons.
|
| -
|
| -
|
| -### Styling
|
| -
|
| -The following custom properties are available for styling:
|
| -
|
| -Custom property | Description | Default
|
| -----------------|-------------|----------
|
| -`--iron-icon-width` | Width of the icon | `24px`
|
| -`--iron-icon-height` | Height of the icon | `24px`
|
| -
|
| -@group Iron Elements
|
| -@element iron-icon
|
| -@demo demo/index.html
|
| -@hero hero.svg
|
| -@homepage polymer.github.io
|
| --->
|
| -
|
| -<style is="custom-style">
|
| - :root {
|
| - --iron-icon-width: 24px;
|
| - --iron-icon-height: 24px;
|
| - }
|
| -</style>
|
| -
|
| -</head><body><dom-module id="iron-icon">
|
| -
|
| - <style>
|
| - :host {
|
| - @apply(--layout-inline);
|
| - @apply(--layout-center-center);
|
| - position: relative;
|
| -
|
| - vertical-align: middle;
|
| -
|
| - fill: currentcolor;
|
| -
|
| - width: var(--iron-icon-width);
|
| - height: var(--iron-icon-height);
|
| - }
|
| - </style>
|
| -
|
| - <template>
|
| - <iron-meta id="meta" type="iconset"></iron-meta>
|
| - </template>
|
| -
|
| - </dom-module>
|
| -
|
| -<script src="iron-icon-extracted.js"></script></body></html>
|
|
|