-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupload_modal.css
128 lines (114 loc) · 2.01 KB
/
upload_modal.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
#modal-container > * {
background-color: #EBEBEB;
z-index: 100000;
position: fixed;
width: 60%;
}
#modal-background {
position: fixed;
width: 100vw;
height: 100vh;
z-index: 99999;
background-color: rgba(0, 0, 0, 0.7);
margin: 1px;
}
#modal-top-bar {
top: 20%;
left: 20%;
height: 10%;
border-radius: 10px 10px 0 0;
border: 1px solid black;
border-bottom: 0px;
}
#modal-bottom-bar {
top: 80%;
left: 20%;
height: 10%;
border-radius: 0 0 10px 10px;
border: 1px solid black;
border-top: 0px;
}
#modal-middle {
top: 30%;
left: 20%;
height: 50%;
border: 1px solid black;
border-top: 0px;
border-bottom: 0px;
}
#file-display {
display: grid;
justify-items: center;
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
grid-template-rows: max-content;
grid-auto-rows: 80px;
grid-gap: 20px;
padding-left: 30px;
padding-right: 30px;
overflow-y: scroll;
height: 100%;
}
#upload-from-computer-btn {
text-align: center;
vertical-align: center;
position: absolute;
background-color: #C4C4C4;
border-radius: 5px;
top: 20px;
right: 20px;
min-width: 200px;
width: 35%;
height: 30px;
line-height: 30px;
cursor: pointer;
}
#upload-from-computer-text {
margin: 0;
color: black;
}
.modal-bottom-btn {
text-align: center;
vertical-align: center;
position: absolute;
top: 15px;
border-radius: 5px;
line-height: 30px;
cursor: pointer;
}
#cancel {
right: 125px;
width: 85px;
height: 30px;
vertical-align: center;
color: black;
background-color: white;
}
#open-files {
right: 30px;
width: 85px;
color: black;
background-color: #FDBA74;
}
.file-container {
text-align: center;
vertical-align: center;
width: 105px;
height: 125px;
margin: 5px;
border: 1px solid transparent;
}
.file-icon {
max-height: 70px;
min-height: 60px;
width: auto;
height: auto;
}
.file-name {
color: black;
width: 100px;
}
.selected {
border: 2px solid #93C5FD !important;
border-radius: 2px;
background-color: #DBEAFE;
}