-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
128 lines (111 loc) · 2.08 KB
/
styles.css
File metadata and controls
128 lines (111 loc) · 2.08 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
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
body {
font-family: Roboto Mono, Arial, sans-serif;
background-color: #111;
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
height: 100vh;
margin: 0;
}
#previewWindow {
flex: 1;
display: flex;
justify-content: center;
align-content: center;
overflow: hidden;
background-color: #222;
z-index: 1;
}
#zoomControls {
align-content: center;
position: absolute;
bottom: 0;
align-self: flex-end;
z-index: 2;
}
.custom-file-input {
display: inline-block;
background-color: #6200EE; /* Android 12's purple */
width: 30%;
text-align: center;
color: #fff;
padding: 12px 24px;
border-radius: 30px;
cursor: pointer;
transition: background-color 0.3s ease;
margin-top: 0px;
margin-bottom: 25px;
}
.custom-file-input:hover {
background-color: #3700B3; /* Darker purple on hover */
}
#fileInput {
display: none; /* Hide the default file input */
}
.material-icons {
vertical-align: middle;
margin-right: 8px;
font-size: 18px;
}
.container {
display: flex;
min-width: 80%;
height: 80vh;
box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
overflow: hidden;
border-radius: 15px 15px 15px 15px;
}
#imagePreview {
display: inherit;
justify-content: center;
align-items: center;
border-radius: 15px 0 0 15px;
overflow: hidden;
background-color: #222;
}
#previewImage {
display: none;
max-width: 100%;
max-height: 100%;
border-radius: 15px 0 0 15px;
}
#metadata {
flex: 1;
padding: 20px;
border-radius: 0 15px 15px 0;
background-color: #444;
overflow: auto;
}
#metadata h2 {
text-align: center;
font-size: 200%;
}
#metadata #span {
text-align: center;
border: thin;
border-color: white;
border-radius: 5px;
}
.metadata-value {
display: inline-block;
background-color: #f2f2f2;
padding: 5px 10px;
border-radius: 10px;
text-align: center;
}
h2 {
font-size: 20px;
margin-bottom: 20px;
}
ul {
list-style: none;
padding: 0;
}
li {
margin-bottom: 15px;
}
li strong {
font-weight: bold;
margin-right: 10px;
}