Skip to content

Commit 81b7847

Browse files
committed
Adding back cube-style and removing unneeded import
1 parent 0c53c46 commit 81b7847

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

components/cube/cube-style.scss

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
@import 'functions';
2+
3+
.cube {
4+
position:relative;
5+
display:block;
6+
transform-style:preserve-3d;
7+
transform:rotateX(-33.5deg) rotateY(45deg);
8+
9+
&__inner,
10+
&__outer {
11+
display:inline-block;
12+
transform-style:preserve-3d;
13+
transition:transform 1000ms;
14+
}
15+
16+
&__inner {
17+
position:absolute;
18+
top:-2px;
19+
left:0;
20+
}
21+
22+
&__face {
23+
position:absolute;
24+
width:100%;
25+
height:100%;
26+
border: 3px solid getColor(white);
27+
}
28+
29+
.cube__outer .cube__face {
30+
background:transparentize(getColor(malibu), 0.5);
31+
}
32+
33+
.cube__inner .cube__face {
34+
background:getColor(denim);
35+
}
36+
}

components/splash/splash.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import SplashViz from '../splash-viz/splash-viz';
55
import '../../styles';
66
import './splash-style';
77
import '../splash-viz/splash-viz-style';
8-
import '../splash-file/splash-file-style';
98
import Support from '../support/support';
109

1110
export default props => {

0 commit comments

Comments
 (0)