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

Add standalone file for CSS animations #5329

Merged
merged 1 commit into from
Nov 1, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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