Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1003)

Side by Side Diff: third_party/polymer/v0_8/components-chromium/iron-behaviors/demo/simple-button.html

Issue 1082403004: Import Polymer 0.8 and several key elements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rerun reproduce.sh Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!--
2 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
3 This code may only be used under the BSD style license found at http://polymer.g ithub.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/CONTRI BUTORS.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/PATEN TS.txt
8 --><html><head><link rel="import" href="../../polymer/polymer.html">
9 <link rel="import" href="../iron-button-state.html">
10 <link rel="import" href="../iron-control-state.html">
11
12 </head><body><dom-module id="simple-button">
13
14 <style>
15
16 :host {
17 display: inline-block;
18 background-color: #4285F4;
19 color: #fff;
20 min-height: 8px;
21 min-width: 8px;
22 padding: 16px;
23 text-transform: uppercase;
24 border-radius: 3px;
25 -moz-user-select: none;
26 -ms-user-select: none;
27 -webkit-user-select: none;
28 user-select: none;
29 cursor: pointer;
30 }
31
32 :host([disabled]) {
33 opacity: 0.3;
34 pointer-events: none;
35 }
36
37 :host([active]),
38 :host([pressed]) {
39 background-color: #3367D6;
40 box-shadow: inset 0 3px 5px rgba(0,0,0,.2);
41 }
42
43 </style>
44
45 <template>
46
47 <content></content>
48
49 </template>
50
51 </dom-module>
52
53 <script src="simple-button-extracted.js"></script></body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698