/
index.scss
112 lines (95 loc) · 2.05 KB
/
index.scss
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
.uppy-Dashboard-Item-fileInfo {
padding-inline-end: 5px;
}
.uppy-Dashboard-Item-name {
margin-bottom: 5px;
font-weight: 500;
font-size: 12px;
line-height: 1.3;
// Must be present
// [Practical check] Firefox, '384048411015659...2309520384n.png' filename
word-wrap: anywhere;
word-break: break-all;
[data-uppy-theme="dark"] & {
color: $gray-200;
}
}
.uppy-Dashboard-Item-fileName {
display: flex;
align-items: baseline;
button {
margin-left: 5px;
}
}
.uppy-Dashboard-Item-author {
color: $gray-600;
vertical-align: bottom;
font-size: 11px;
font-weight: normal;
display: inline-block;
line-height: 1;
margin-bottom: 5px;
a {
color: $gray-600;
}
}
.uppy-Dashboard-Item-status {
color: $gray-600;
font-weight: normal;
font-size: 11px;
line-height: 1;
[data-uppy-theme="dark"] & {
color: $gray-400;
}
}
.uppy-Dashboard-Item-statusSize {
display: inline-block;
text-transform: uppercase;
vertical-align: bottom;
margin-bottom: 5px;
}
.uppy-Dashboard-Item-reSelect {
color: $blue;
font-weight: 600;
font-size: inherit;
font-family: inherit;
}
.uppy-Dashboard-Item-errorMessage {
font-size: 11px;
font-weight: 500;
line-height: 1.3;
color: darken($red, 15%);
background-color: lighten($red, 45%);
padding: 5px 6px;
}
.uppy-Dashboard-Item-errorMessageBtn {
text-decoration: underline;
cursor: pointer;
font-weight: 500;
}
// Error message desktop / large screen
.uppy-Dashboard-Item-preview .uppy-Dashboard-Item-errorMessage {
display: none;
.uppy-size--md & {
display: block;
border-top: 1px solid lighten($red, 35%);
padding: 6px 8px;
line-height: 1.4;
position: absolute;
bottom: 0;
left: 0;
right: 0;
border-bottom-left-radius: 3px;
border-bottom-right-radius: 3px;
}
}
// Error message mobile / small screen
.uppy-Dashboard-Item-fileInfo .uppy-Dashboard-Item-errorMessage {
display: inline-block;
position: static;
border: 1px solid lighten($red, 35%);
border-radius: 3px;
.uppy-size--md & {
display: none;
}
}