-
Notifications
You must be signed in to change notification settings - Fork 6
/
app.css
91 lines (78 loc) · 1.33 KB
/
app.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
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
86
87
88
89
90
91
body {
background: #22222f;
padding-top: 1em;
color: #eee;
}
a, a:hover {
cursor: pointer;
color: #eee;
}
.base-dir-icon {
cursor: pointer;
vertical-align: middle;
margin-right: .125em;
}
.browser-view {
margin-top: 3em;
}
.browser-view a {
cursor: pointer;
background-color: #333344;
color: white;
padding: 1.5em 3em 1.5em 1.5em;
margin: .5em;
min-width: 15em;
display: inline-block;
border-radius: .25em;
}
.browser-view a span {
margin-right: .66em;
}
.browser-view a:hover {
text-decoration: none;
transition: background-color .25s;
background: #434354;
}
.bg-translucent {
display: none;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background: rgba(0, 0, 0, 0.5);;
cursor: pointer;
}
.file-view-wrapper {
display: none;
position: absolute;
top: 10%;
right: 10%;
bottom: 10%;
left: 10%;
min-width: 10%;
background: rgba(0, 0, 0, 0.5);;
transition: width 200ms, height 200ms, left 200ms;
text-align: center;
}
.file-view-img {
max-width: 100%;
max-height: 100%;
box-shadow: 0 0 3em black;
}
.file-view-prev, .file-view-next {
display: none;
position: absolute;
top: 43%;
cursor: pointer;
opacity: .8;
}
.file-view-prev {
left: .75em;
}
.file-view-next {
right: .75em;
}
.file-view-prev:hover, .file-view-next:hover {
opacity: 1;
}