-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
90 lines (78 loc) · 1.42 KB
/
styles.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
body {
margin: 0;
width: 100vw;
height: 100vh;
overflow: hidden;
}
img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
.split {
display: flex;
flex-direction: row;
}
.flex {
display: flex;
flex-direction: column;
}
#building-database {
width: 100vw;
height: 100vh;
position: absolute;
background-color: rgba(0, 0, 0, .75);
color: white;
align-items: center;
justify-content: center;
padding-left: 60px;
display: flex;
font-family: "Arial", "Helvetica", "sans-serif";
font-size: 24px;
}
#photo-reel {
background-color: rgba(211, 211, 211, 0.25);
flex-basis: 15%;
height: 100vh;
overflow-y: auto;
overflow-x: hidden;
}
#facial-rec-container {
background-color: rgba(0, 0, 0, 0.25);
flex-basis: 85%;
width: 100vw;
height: 100vh;
justify-content: center;
align-items: center;
position: relative;
}
#photo-preview {
padding: 5px;
}
#face-rec-overlay,
#photo-view {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
object-fit: contain;
}
#face-rec-overlay {
position: absolute;
}
/*https://codepen.io/GhostRider/pen/GHaFw*/
#photo-reel::-webkit-scrollbar {
width: 12px;
background-color: #F5F5F5;
}
#photo-reel::-webkit-scrollbar-thumb {
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
background-color: #555;
}
.divider {
border: 1px solid rgba(0, 0, 0, .1);
border-radius: 2px;
width: 25%;
}