mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-04 20:29:01 +00:00
Small whitespace cleanups
This commit is contained in:
@@ -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 : '',
|
||||||
|
|||||||
@@ -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
|
||||||
****************************/
|
****************************/
|
||||||
|
|||||||
Reference in New Issue
Block a user