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
;
28 -webkit-transform: translateZ
(0);
29 transform: translateZ
(0);
32 #checkboxContainer.labeled
{
33 display: inline-block
;
34 vertical-align: middle
;
52 box-sizing: border-box
;
54 border: solid
2px #5a5a5a;
57 -webkit-transition: background-color
140ms, border-color
140ms;
58 transition: background-color
140ms, border-color
140ms;
61 /* checkbox checked animations */
62 :host
([checked
]) #checkmark
{
63 -webkit-animation: checkmark-expand
140ms ease-out forwards
;
64 animation: checkmark-expand
140ms ease-out forwards
;
67 @-webkit-keyframes checkmark-expand
{
82 @keyframes checkmark-expand
{
98 background-color: #009688;
99 border-color: #009688;
103 -webkit-transform: rotate
(45deg);
104 transform: rotate
(45deg);
113 border-right-width: 2px;
114 border-bottom-width: 2px;
121 display: inline-block
;
122 vertical-align: middle
;
125 pointer-events: none
;
128 #checkboxLabel[hidden
] {
134 pointer-events: none
;
137 :host
([disabled
]) #checkbox
{
139 border-color: #5a5a5a;
142 :host
([disabled
][checked
]) #checkbox
{
143 background-color: #5a5a5a;