-
Notifications
You must be signed in to change notification settings - Fork 0
/
sidebar.css
60 lines (58 loc) · 1.34 KB
/
sidebar.css
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
.sidebar{
display: flex;
position: fixed;
flex-direction: column;
left: 0;
top: 0;
bottom: 0;
z-index: 3;
justify-content: center;
}
.sidebar-content{
height: 50px;
width: 50px;
display: flex;
flex-direction: column;
border-radius: 25px;
margin: 5px;
transition: 0.4s;
background: rgba( 82, 82, 82, 0.25 );
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
backdrop-filter: blur( 6px );
-webkit-backdrop-filter: blur( 4px );
border: 1px solid rgba( 255, 255, 255, 0.18 );
}
.sidebar-content:hover{
transform: scale(0.9);
background: rgba(180, 180, 180, 0.25);
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
backdrop-filter: blur( 6px );
-webkit-backdrop-filter: blur( 4px );
border: 1px solid rgba( 255, 255, 255, 0.18 );
}
.sidebar-content:hover .tooltip-text{
visibility: visible;
}
.sidebar-content img{
width: 40px;
height: 40px;
border-radius: 50px;
}
.sidebar-links{
padding: 5px 5px ;
position: relative;
color: white;
text-align: center;
text-decoration: none;
}
.sidebar-content .tooltip-text{
visibility: hidden;
background-color: rgba(180, 180, 180, 0.9);
color: white;
text-align: center;
border-radius: 1rem;
padding: 10px 10px;
left: 60px;
position: absolute;
z-index: 5;
}