Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Fix animation mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Gerber committed May 12, 2016
1 parent 22319cd commit 85c231d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/styles/brackets.less
Original file line number Diff line number Diff line change
Expand Up @@ -1850,7 +1850,7 @@ textarea.exclusions-editor {
border-radius: 0 0 4px 4px;
box-shadow: 0 5px 10px @bc-shadow;

.animation (autocomplete, 90ms, cubic-bezier(.01, .91, 0, .99), 0, 1);
.animation (autocomplete, 90ms, cubic-bezier(.01, .91, 0, .99));
-webkit-animation-fill-mode: forwards;
animation-fill-mode: forwards;
-webkit-transform-origin: 0 0;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/brackets_mixins.less
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
user-select: @type;
}

.animation (@name, @duration: 300ms, @ease: ease, @delay: 0, @iteration-count: 1) {
.animation (@name, @duration: 300ms, @ease: ease, @delay: 0ms, @iteration-count: 1) {
-webkit-animation: @name @duration @ease @delay @iteration-count;
animation: @name @duration @ease @delay @iteration-count;
}
6 changes: 3 additions & 3 deletions src/styles/brackets_patterns_override.less
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ a:focus {

// Dropdown Menu Animation
.dropdown-menu {
.animation(dropdown, 90ms, cubic-bezier(0, .97, .2, .99), 0, 1);
.animation(dropdown, 90ms, cubic-bezier(0, .97, .2, .99));
-webkit-transform-origin: 0 0;
border: none;
border-radius: @bc-border-radius;
Expand Down Expand Up @@ -755,7 +755,7 @@ a:focus {
position: relative;
top: 0;
margin: auto;
.animation(modal, 240ms, cubic-bezier(0, 1.05, .35, 1), 0, 1);
.animation(modal, 240ms, cubic-bezier(0, 1.05, .35, 1));

.dark & {
background-color: @dark-bc-panel-bg;
Expand Down Expand Up @@ -857,7 +857,7 @@ a:focus {
}

.modal-backdrop {
.animation (backdrop, 200ms, linear, 0, 1);
.animation (backdrop, 200ms, linear);
opacity: @bc-modal-backdrop-opacity;

.dark & {
Expand Down

0 comments on commit 85c231d

Please sign in to comment.