/
upload.component.scss
86 lines (79 loc) · 1.12 KB
/
upload.component.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
// overall styles
.full-width {
width: 100%;
}
.delete-file {
&:hover {
color: red;
}
}
// drag & drop input
.dd-container {
height: 200px;
margin: 20px 0;
border: 2px solid #000;
border-radius: 2px;
position: relative;
text-align: center;
&:hover {
cursor: pointer;
background-color: #ddd !important;
}
}
.upload-icon {
width: auto;
font-size: 48px;
padding: 0;
position: inherit;
top: 12%;
}
.title {
bottom: 20%;
}
.bottom-line,
.title {
width: 100%;
position: absolute;
padding: 5px 0;
}
.bottom-line {
bottom: 0;
color: #fff;
background-color: #000;
}
// thumbnail
.thumbnail {
text-align: center;
& button {
position: absolute;
padding: 0;
}
& mat-icon {
position: absolute;
}
}
// files table
.files-list {
display: flex;
justify-content: space-between;
// width: calc(80% + 4px);
margin: 10px auto;
background: #fff;
color: #000;
}
table {
width: 100%;
border-collapse: collapse;
}
th {
background-color: #9ecbec;
text-align: left;
}
td,
th {
border: 1px solid #000;
padding: 3px;
}
tr td:last-child {
text-align: center;
}