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

Side by Side Diff: bower_components/paper-toggle-button/paper-toggle-button.css

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 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) 2014 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 */
9
10 :host {
11 display: inline-block;
12 }
13
14 :host(:focus) {
15 outline: none;
16 }
17
18 #toggleContainer {
19 position: relative;
20 width: 64px;
21 height: 16px;
22 }
23
24 #toggleBar {
25 position: absolute;
26 top: 8px;
27 left: 16px;
28 height: 1px;
29 width: 32px;
30 background-color: #5a5a5a;
31 pointer-events: none;
32 }
33
34 #toggleBar[checked] {
35 background-color: #0f9d58;
36 }
37
38 #toggleContainer[checked] #checkedBar {
39 width: 100%;
40 }
41
42 #toggleRadio {
43 position: absolute;
44 left: 0;
45 padding: 8px 48px 8px 0;
46 margin: -8px -48px -8px 0;
47 transition: -webkit-transform linear .08s;
48 transition: transform linear .08s;
49 }
50
51 #toggleRadio[checked] {
52 -webkit-transform: translate(48px, 0);
53 transform: translate(48px, 0);
54 padding: 8px 0 8px 48px;
55 margin: -8px 0 -8px -48px;
56 }
57
58 #toggleRadio.dragging {
59 -webkit-transition: none;
60 transition: none;
61 }
OLDNEW
« no previous file with comments | « bower_components/paper-toggle-button/metadata.html ('k') | bower_components/paper-toggle-button/paper-toggle-button.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698