-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.scss
70 lines (64 loc) · 1.69 KB
/
style.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
.preview-avatars-wrapper{
height: 100vh;
position: absolute;
top: 0;
.sidebar{
height: 100%;
width: 260px;
transition: 0.5s all ease;
position: absolute;
padding: 20px;
background: rgb(34,46,59);
background: linear-gradient(45deg, rgba(34,46,59,1) 0%, rgba(2,0,36,1) 100%);
border-radius: 0 20px 20px 0;
.section{
.title{
color: #bdbdbd;
font-family: "Motiva Sans", Sans-serif;
font-weight: 200;
margin-bottom: 20px;
text-align: center;
}
.grid{
display: flex;
justify-content: space-evenly;
flex-wrap: wrap;
.grid-item{
width: 40%;
height: 100px;
margin-bottom: 20px;
cursor: pointer;
}
}
}
&.hidden{
opacity: 0;
left: -100%;
z-index: 0;
}
&.shown{
opacity: 1;
left: 0;
z-index: 999;
}
}
> button{
padding: 20px 5px;
border-radius: 0 10px 10px 0;
border: none;
background-color: rgba( 104, 157, 221, 0.6 );
background-size: 110%;
cursor: pointer;
color: #fff;
font-weight: 700;
font-size: 110%;
position: absolute;
top: 200px;
left: 0;
transition: 0.4s all linear;
outline: none;
&.expanded{
left: 300px;
}
}
}