Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #5329 from cezaraugusto/enhancement/add-animations…
Browse files Browse the repository at this point in the history
…-file

Add standalone file for CSS animations
  • Loading branch information
bsclifton authored Nov 1, 2016
2 parents e89aa8a + 8c42a58 commit 0631d16
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 21 deletions.
24 changes: 24 additions & 0 deletions less/animations.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */

@keyframes fadeIn {
from {
opacity: 0
}
to {
opacity: 1
}
}

@keyframes tabFadeIn {
0% {
opacity: 0.5
}
50% {
opacity: 0.6
}
100% {
opacity: 0.5
}
}
11 changes: 1 addition & 10 deletions less/navigationBar.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,9 @@
* Navigation layers
*/

@import "animations.less";
@import "variables.less";

// Fade In animation for URL bar transitions
@keyframes fadeIn {
from {
opacity: 0
}
to {
opacity: 1
}
}

// All platforms - media queries
@media (max-width: @breakpointNarrowViewport) {
.loadTime { display: none; }
Expand Down
13 changes: 2 additions & 11 deletions less/window.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */

@import "animations.less";
@import "variables.less";
@keyframes tabFadeIn {
0% {
opacity: 0.5
}
50% {
opacity: 0.6
}
100% {
opacity: 0.5
}
}

:root {
--default-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}
Expand Down

0 comments on commit 0631d16

Please sign in to comment.