File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
.onyx-toggle-button .onyx-animated-toggle-button {
2
2
/* We need this so that the knob is positioned relatively to the toggle button */
3
3
position : relative;
4
- -webkit-transition : background-color 0.5 s linear;
5
- -moz-transition : background-color 0.5 s linear;
6
- -o-transition : background-color 0.5 s linear;
7
- -ms-transition : background-color 0.5 s linear;
4
+ -webkit-transition : background-color 0.2 s linear;
5
+ -moz-transition : background-color 0.2 s linear;
6
+ -o-transition : background-color 0.2 s linear;
7
+ -ms-transition : background-color 0.2 s linear;
8
8
}
9
9
10
10
.onyx-toggle-button .onyx-animated-toggle-button .onyx-toggle-button-knob {
Original file line number Diff line number Diff line change 2
2
An extension fo the ToggleButton kind that animates between the on and off position and allows actual dragging of the knob.
3
3
*/
4
4
enyo . kind ( {
5
- name : "onyx.AnimatedToggleButton" ,
5
+ name : "onyx.custom. AnimatedToggleButton" ,
6
6
kind : "onyx.ToggleButton" ,
7
7
classes : "onyx-animated-toggle-button" ,
8
8
components : [
You can’t perform that action at this time.
0 commit comments