-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
85 lines (72 loc) · 1.28 KB
/
style.css
File metadata and controls
85 lines (72 loc) · 1.28 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
html,
body {
height: 100%;
width: 100%;
}
body {
background: #fff;
font-size: 1em;
font-family: Arial, Helvetica, sans-serif;
display: flex;
justify-content: center;
align-items: center;
}
#wrapper {
display: flex;
flex-direction: column;
}
.menu {
background-color: #656565;
min-width: 280px;
overflow: hidden;
}
.menu ul {
background-color: #4c4b4b;
display: flex;
flex-direction: column;
max-width: 70px;
}
.menu li {
width: 70px;
height: 70px;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
position: relative;
transition: background 0.4s linear;
}
.menu li.current {
background-color: #262626;
}
[class^="flaticon-"]:before,
[class*=" flaticon-"]:before,
[class^="flaticon-"]:after,
[class*=" flaticon-"]:after {
margin-left: 0px;
color: #c94e23;
font-size: 36px;
}
.menu p {
opacity: 0;
position: absolute;
top: 0;
left: 0;
transform: translateX(-100px);
transition: all 0.2s linear;
height: 70px;
min-width: 100px;
padding: 15px 15px 0 15px;
box-sizing: border-box;
background-color: transparent;
color: #fff;
font-weight: bold;
}
.menu li:hover {
background-color: #fff;
}
.menu li:hover p {
opacity: 1;
background-color: #262626;
transform: translateX(70px);
}