-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.css
82 lines (76 loc) · 1.68 KB
/
index.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
:root {
--background-color: #3c424b;
--button-color: #272a33;
--text-color: #f2f2f2;
--accent-color: #1bb76e;
--error-color: #ff5b57;
}
.imgur-upload-wrapper {
position: absolute;
z-index: 1;
background-color: var(--background-color);
border: 1px solid var(--border-color);
color: var(--text-color);
border-radius: 6px;
box-shadow: 0 5px 15px 0 rgb(0 0 0 / 50%);
}
.imgur-upload-form {
display: flex;
padding: 10px;
flex-direction: column;
justify-content: center;
}
.imgur-upload-input {
border: 3px dashed hsla(0, 0%, 100%, 0.4);
border-radius: 6px;
padding: 20px;
cursor: pointer;
}
.imgur-upload-input::-webkit-file-upload-button {
visibility: hidden;
display: none;
}
.imgur-upload-input::before {
content: "Click to select, drop file here, or 'Ctrl/Cmd + V' to paste";
display: block;
text-align: center;
color: var(--text-color);
font-size: 1.2em;
font-weight: bold;
padding: 10px;
white-space: pre-wrap;
}
.imgur-upload-button {
text-align: center;
margin-top: 10px;
height: 35px;
padding: 7px 14px 10px 9px;
border-radius: 6px;
font-size: 15px;
font-weight: 700;
position: relative;
width: auto;
background-color: var(--accent-color);
box-shadow: 0 6px 10px 0 rgb(27 28 30 / 31%);
color: var(--text-color);
white-space: nowrap;
border: none;
font-family: Arial, Helvetica, sans-serif;
}
.imgur-upload-button-disabled {
background-color: hsla(0, 0%, 100%, 0.4);
color: hsla(0, 0%, 100%, 0.4);
cursor: not-allowed;
}
.imgur-upload-message {
margin-top: 10px;
padding: 0 14px;
font-size: 15px;
font-weight: 400;
position: relative;
width: auto;
color: var(--error-color);
white-space: nowrap;
border: none;
font-family: Arial, Helvetica, sans-serif;
}