Restructure CSS files.

This commit is contained in:
2019-03-11 13:42:22 +01:00
parent 17d072a8c4
commit 3ecaec050b
6 changed files with 6 additions and 6 deletions

View File

@@ -3,7 +3,6 @@
* *
* In it, we fill the screen evenly with "closed" messages. The locations are * In it, we fill the screen evenly with "closed" messages. The locations are
*/ */
require('./closed.scss');
/** /**
* Contains the state for this demo. * Contains the state for this demo.
* *

View File

@@ -1,4 +1,4 @@
@import "base"; // Styles for the "closed" frame.
@keyframes fadeOut { @keyframes fadeOut {
0% { 0% {
opacity: 1; opacity: 1;

View File

@@ -1,3 +1,4 @@
import "./style.scss";
import {startClosedAnimation} from "./closed"; import {startClosedAnimation} from "./closed";
import {startOpenAnimation} from "./open"; import {startOpenAnimation} from "./open";

View File

@@ -1,7 +1,5 @@
import * as THREE from "three"; import * as THREE from "three";
import './open.scss';
const STAR_POINTS = 5; const STAR_POINTS = 5;
let scene, camera, renderer; let scene, camera, renderer;

View File

@@ -1,5 +1,4 @@
@import "base"; // Styles for the "Open" page
@keyframes starrotation { @keyframes starrotation {
0% { 0% {
transform: rotate(0deg); transform: rotate(0deg);

View File

@@ -8,3 +8,6 @@
top: 0; top: 0;
left: 0; left: 0;
} }
@import "open";
@import "closed";