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.github.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/CONTRIBUTORS.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/PATENTS.txt
11 display: inline-block
;
18 /* Class selectors can be overridden by users. */
21 background-color: #000000;
25 background-color: #f1f1f1;
29 background-color: #0f9d58;
36 [checked
] .toggle-ink
{
40 /* ID selectors should not be overriden by users. */
48 #toggleContainer[disabled
] {
60 transition: background-color linear
.08s;
63 [checked
] #toggleBar
{
73 box-shadow: 0 1px 5px 0 rgba
(0, 0, 0, 0.4);
74 transition: -webkit-transform linear
.08s, background-color linear
.08s;
75 transition: transform linear
.08s, background-color linear
.08s;
78 #toggleButton.dragging
{
79 -webkit-transition: none
;
83 [checked
] #toggleButton
{
84 -webkit-transform: translate
(16px, 0);
85 transform: translate
(16px, 0);