-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathview.css
More file actions
69 lines (59 loc) · 1.04 KB
/
view.css
File metadata and controls
69 lines (59 loc) · 1.04 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
* {
font-family: Tahoma;
margin: 0;
padding: 0;
user-select: none;
box-sizing: border-box;
}
#explorer {
display: flex;
align-content: flex-start;
flex-wrap: wrap;
width: 100vw;
height: 100vh - 30px;
}
.file, .folder {
width: 100px;
height: 100px;
margin: 25px;
white-space: nowrap;
}
.file:hover, .folder:hover {
opacity: .5;
}
.folder {
background-image: url("https://image.flaticon.com/icons/svg/148/148953.svg");
}
.file {
background-image: url("https://image.flaticon.com/icons/svg/148/148967.svg");
}
.label {
position: relative;
top: 100%;
transform: translateY(0%);
}
.label > span {
display: inline-block;
position: relative;
left: 50%;
transform: translateX(-50%);
}
#path {
position: sticky;
display: flex;
justify-content: center;
align-items: center;
top: 0;
height: 30px;
background-color: #dbdbdb;
z-index: 10;
}
#path > div {
width: 25px;
height: 25px;
background-image: url("https://image.flaticon.com/icons/svg/118/118740.svg");
}
#path > span:hover {
cursor: pointer;
text-decoration: underline;
}