blob: b01d2e15714c9a2983003a61d9a8dd358aa0dcfa (
plain)
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
|
.preview-container {
position: relative;
width: 100%;
max-height: 110px;
height: 110px;
white-space: nowrap;
overflow: auto;
.preview-div {
display: inline-block;
width: 120px;
height: 100px;
margin: 7px 10px 0 0;
vertical-align: top;
position: relative;
border: 1px solid #DDD;
&.custom-file {
width: 85px;
height: 100px;
}
&:hover .remove-preview:after {
@include opacity(1);
}
.spinner {
position:absolute;
top:50%;
left:50%;
margin-left: -16px;
margin-top: -16px;
width:32px;
height:32px;
}
}
.preview-img {
width:100%;
height:100%;
}
.remove-preview {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
&:after {
background: rgba(0, 0, 0, 0.4);
content: '';
height: 100%;
left: 0;
opacity: 0;
position: absolute;
top: 0;
width: 100%;
@include opacity(0);
}
i {
top: 5px;
right: 5px;
position: absolute;
color: #fff;
cursor: pointer;
z-index: 5;
opacity: inherit;
}
}
}
.image-comment {
background-position:left top;
background-repeat:no-repeat;
width:300px;
height:300px;
}
.file-icon {
width: 100%;
height: 100%;
&.audio {
background: url("../images/icons/audio.png");
@include background-size(100% 100%);
}
&.video {
background: url("../images/icons/video.png");
@include background-size(100% 100%);
}
&.ppt {
background: url("../images/icons/ppt.png");
@include background-size(100% 100%);
}
&.generic {
background: url("../images/icons/generic.png");
@include background-size(100% 100%);
}
&.code {
background: url("../images/icons/code.png");
@include background-size(100% 100%);
}
&.excel {
background: url("../images/icons/excel.png");
@include background-size(100% 100%);
}
&.word {
background: url("../images/icons/word.png");
@include background-size(100% 100%);
}
&.pdf {
background: url("../images/icons/pdf.png");
@include background-size(100% 100%);
}
&.patch {
background: url("../images/icons/patch.png");
@include background-size(100% 100%);
}
&.image {
background: url("../images/icons/image.png");
@include background-size(100% 100%);
}
}
.post-image__column {
position: relative;
width: 120px;
height: 100px;
float: left;
margin: 0 1em 1em 0;
&.custom-file {
width: 85px;
height: 100px;
}
.post__load {
height: 100%;
width: 100%;
background-size: 20px 20px;
background-repeat: no-repeat;
background-position: center;
}
.post__image {
height: 100%;
width: 100%;
border: 1px solid #E2E2E2;
background-color: #FFF;
background-repeat: no-repeat;
}
a {
text-decoration: none;
color: grey;
}
}
|