Small whitespace cleanups

This commit is contained in:
Trevor Buckner
2026-09-28 15:58:50 +00:00
parent 9b2287ab50
commit 6c84f5f497
2 changed files with 3 additions and 12 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ const Combobox = createReactClass({
displayName : 'Combobox', displayName : 'Combobox',
getDefaultProps : function() { getDefaultProps : function() {
return { return {
id : '', id : '',
className : '', className : '',
trigger : 'hover', trigger : 'hover',
default : '', default : '',
+2 -11
View File
@@ -42,7 +42,6 @@
transition-timing-function : @easing; transition-timing-function : @easing;
} }
.transition (@prop, @duration: @defaultDuration) { .transition (@prop, @duration: @defaultDuration) {
-webkit-transition : @prop @duration, -webkit-transform @duration; -webkit-transition : @prop @duration, -webkit-transform @duration;
-moz-transition : @prop @duration, -moz-transform @duration; -moz-transition : @prop @duration, -moz-transform @duration;
@@ -58,13 +57,13 @@
transform : @transform; transform : @transform;
} }
.delay(@delay) { .delay(@delay) {
-webkit-transition-delay : @delay; -webkit-transition-delay : @delay;
transition-delay : @delay; transition-delay : @delay;
-webkit-animation-delay : @delay; -webkit-animation-delay : @delay;
animation-delay : @delay; animation-delay : @delay;
} }
.keep() { .keep() {
-webkit-animation-fill-mode : forwards; -webkit-animation-fill-mode : forwards;
-moz-animation-fill-mode : forwards; -moz-animation-fill-mode : forwards;
@@ -73,7 +72,6 @@
animation-fill-mode : forwards; animation-fill-mode : forwards;
} }
.sequentialDelay(@delayInc : 0.2s, @initialDelay : 0s) { .sequentialDelay(@delayInc : 0.2s, @initialDelay : 0s) {
&:nth-child(1) {.delay(0*@delayInc + @initialDelay); } &:nth-child(1) {.delay(0*@delayInc + @initialDelay); }
&:nth-child(2) {.delay(1*@delayInc + @initialDelay); } &:nth-child(2) {.delay(1*@delayInc + @initialDelay); }
@@ -97,14 +95,12 @@
&:nth-child(20) {.delay(19*@delayInc + @initialDelay); } &:nth-child(20) {.delay(19*@delayInc + @initialDelay); }
} }
.createFrames(@name, @from, @to) { .createFrames(@name, @from, @to) {
@frames: { @frames: {
from { @from(); } from { @from(); }
to { @to(); } to { @to(); }
}; };
@-webkit-keyframes @name {@frames();} @-webkit-keyframes @name {@frames();}
@-moz-keyframes @name {@frames();} @-moz-keyframes @name {@frames();}
@-ms-keyframes @name {@frames();} @-ms-keyframes @name {@frames();}
@-o-keyframes @name {@frames();} @-o-keyframes @name {@frames();}
@@ -126,8 +122,6 @@
animation-timing-function : @easing; animation-timing-function : @easing;
} }
/*************************** /***************************
Standard Animations Standard Animations
****************************/ ****************************/
@@ -212,9 +206,6 @@
); );
} }
/*************************** /***************************
Fun Animations Fun Animations
****************************/ ****************************/