source:
admin/style/scss/partials/_media.scss
@
3764:b50bf1d2ac95
Revision 3764:b50bf1d2ac95, 3.7 KB checked in by franck <carnet.franck.paul@…>, 7 years ago (diff) |
---|
Rev | Line | |
---|---|---|
[3439] | 1 | .media-file-mode { |
2 | a { | |
3 | border-bottom: none; | |
4 | } | |
5 | img { | |
6 | margin-right: 1em; | |
7 | } | |
[3355] | 8 | } |
9 | ||
[3439] | 10 | span.media-file-mode { |
11 | margin-right: 1em; | |
[3355] | 12 | } |
13 | ||
14 | .media-item { | |
[3439] | 15 | position: relative; |
[3763] | 16 | border: 1px solid $media-item-border; |
[3439] | 17 | margin: 9px; |
18 | padding: 10px 12px 6px; | |
19 | width: 320px; | |
20 | display: inline-block; | |
21 | vertical-align: top; | |
22 | min-height: 140px; | |
23 | word-wrap: break-word; | |
24 | p { | |
25 | margin: 0 0 .5em; | |
26 | } | |
27 | object { | |
28 | margin-top: .5em; | |
29 | } | |
30 | ul { | |
31 | display: block; | |
32 | list-style: none; | |
33 | margin: 0; | |
34 | padding: 0; | |
35 | } | |
36 | audio { | |
[3463] | 37 | width: 100%; |
[3439] | 38 | margin-top: .5em; |
39 | } | |
[3355] | 40 | } |
41 | ||
42 | a.media-icon { | |
[3439] | 43 | display: block; |
44 | border-bottom: none; | |
45 | margin: 0 auto; | |
[3355] | 46 | } |
47 | ||
48 | .media-icon img { | |
[3439] | 49 | display: block; |
[3355] | 50 | } |
51 | ||
52 | a.media-flag { | |
[3439] | 53 | border-bottom: none; |
[3355] | 54 | } |
55 | ||
56 | .media-flag img { | |
[3439] | 57 | float: left; |
58 | margin-right: .5em; | |
[3355] | 59 | } |
60 | ||
61 | .media-link { | |
[3439] | 62 | font-size: 1.1em; |
[3355] | 63 | } |
64 | ||
65 | .media-action-box { | |
[3439] | 66 | position: relative; |
67 | margin: 3em 3em 1em 1em; | |
68 | display: inline-block; | |
69 | vertical-align: top; | |
[3355] | 70 | } |
71 | ||
72 | li.media-action { | |
[3439] | 73 | display: block; |
74 | position: absolute; | |
[3463] | 75 | top: 4px; |
[3439] | 76 | right: 8px; |
77 | height: 16px; | |
78 | a { | |
79 | border: none; | |
80 | &.attach-media { | |
81 | margin-right: 5px; | |
82 | } | |
83 | } | |
84 | form { | |
85 | display: inline; | |
86 | } | |
87 | input { | |
88 | border: none; | |
89 | } | |
[3355] | 90 | } |
91 | ||
92 | #entry-sidebar .media-item { | |
[3439] | 93 | width: 100%; |
94 | min-height: 0; | |
95 | padding: 4px; | |
96 | margin: .33em 0; | |
[3355] | 97 | } |
98 | ||
99 | .folders-group .media-item { | |
[3439] | 100 | min-height: 70px; |
101 | p { | |
102 | margin-bottom: 0; | |
103 | } | |
[3355] | 104 | } |
105 | ||
106 | .media-folder { | |
[3764] | 107 | background: $media-folder-background; |
[3763] | 108 | border-color: $media-folder-border; |
[3764] | 109 | border-left-width: 8px; |
[3439] | 110 | .media-link { |
[3467] | 111 | font-size: 1.125em; |
[3439] | 112 | margin-left: 2em; |
[3763] | 113 | color: $media-folder-link; |
[3439] | 114 | border-bottom: none; |
115 | } | |
[3355] | 116 | } |
117 | ||
118 | tr.media-folder { | |
[3763] | 119 | background: $media-folder-background; |
[3467] | 120 | .media-link { |
121 | margin-left: 0; | |
122 | } | |
[3355] | 123 | } |
124 | ||
125 | .media-folder-up { | |
[3763] | 126 | border-color: $media-folderup-border; |
[3439] | 127 | padding-bottom: 6px; |
[3355] | 128 | } |
129 | ||
130 | .medias-delete, | |
131 | .medias-select { | |
[3439] | 132 | text-align: right; |
[3355] | 133 | } |
134 | ||
135 | .media-recent { | |
[3439] | 136 | float: left; |
137 | margin-right: 2em; | |
[3355] | 138 | } |
139 | ||
140 | #media-fav-dir { | |
[3439] | 141 | border-bottom: none; |
142 | img { | |
143 | vertical-align: middle; | |
144 | } | |
[3355] | 145 | } |
146 | ||
147 | ||
148 | /* upload multiple */ | |
149 | ||
[3439] | 150 | .enhanced_uploader { |
151 | .choose_files, | |
152 | .cancel, | |
153 | .clean, | |
154 | .start { | |
155 | margin-right: .4em; | |
156 | } | |
157 | #upfile { | |
158 | visibility: hidden; | |
159 | width: 0; | |
160 | height: 0; | |
161 | margin: 0; | |
162 | opacity: 0; | |
163 | filter: alpha(opacity=0); | |
164 | cursor: pointer; | |
165 | } | |
166 | .button.choose_files { | |
167 | display: inline-block; | |
168 | } | |
169 | .max-size { | |
170 | display: block; | |
171 | } | |
172 | .one-file { | |
173 | display: none; | |
174 | } | |
175 | p.clear { | |
176 | padding-top: 1em; | |
177 | margin-bottom: 1em; | |
178 | } | |
[3355] | 179 | } |
180 | ||
181 | .button.clean, | |
182 | .button.cancel, | |
183 | .button.choose_files { | |
[3439] | 184 | display: none; |
[3355] | 185 | } |
186 | ||
187 | label span.one-file { | |
[3439] | 188 | display: inline; |
[3355] | 189 | } |
190 | ||
191 | #add-file-f p.clear { | |
[3439] | 192 | margin-top: 1em; |
193 | margin-bottom: 0; | |
194 | clear: both; | |
[3355] | 195 | } |
196 | ||
197 | .files { | |
[3439] | 198 | list-style-type: none; |
199 | margin-left: 0; | |
200 | padding-left: 0; | |
[3763] | 201 | border-bottom: 1px solid $media-files-border; |
[3439] | 202 | li { |
203 | margin-left: 0; | |
204 | padding-left: 0; | |
205 | } | |
[3355] | 206 | } |
207 | ||
208 | .upload-msg { | |
[3439] | 209 | font-weight: bold; |
210 | &.upload-error { | |
[3763] | 211 | color: $upload-error-color; |
[3439] | 212 | } |
[3355] | 213 | } |
214 | ||
215 | .upload-files { | |
[3439] | 216 | padding: 0 0.5em; |
217 | margin: 1em 0; | |
[3355] | 218 | } |
219 | ||
220 | .upload-file { | |
[3439] | 221 | margin: 0; |
222 | padding: .3em 0; | |
[3763] | 223 | border-top: 1px solid $upload-file-border; |
[3439] | 224 | position: relative; |
[3355] | 225 | } |
226 | ||
227 | .upload-fileinfo { | |
[3439] | 228 | margin-left: 0; |
229 | input { | |
230 | position: absolute; | |
231 | top: .5em; | |
232 | right: .5em; | |
233 | } | |
234 | span { | |
235 | padding-right: 8px; | |
236 | } | |
237 | .upload-filecancel { | |
238 | display: block; | |
239 | padding-right: 0; | |
240 | margin-top: 3px; | |
241 | width: 20px; | |
242 | height: 20px; | |
243 | background: transparent url("cancel.png") no-repeat left top; | |
244 | text-indent: -1000px; | |
245 | cursor: pointer; | |
246 | float: left; | |
247 | } | |
[3355] | 248 | } |
249 | ||
250 | .upload-filemsg { | |
[3439] | 251 | font-weight: bold; |
[3763] | 252 | color: $upload-filemsg-color; |
253 | &.upload-error { | |
254 | color: $upload-error-color; | |
[3439] | 255 | } |
[3355] | 256 | } |
257 | ||
258 | .upload-progress { | |
[3439] | 259 | padding: .3em 0; |
260 | div { | |
261 | width: 0; | |
262 | height: 1.2em; | |
263 | font-weight: bold; | |
264 | line-height: 1.2em; | |
265 | text-align: right; | |
[3763] | 266 | background: $upload-progress-background url(loader.png) repeat-x left top; |
267 | color: $upload-progress-color; | |
[3439] | 268 | border-radius: 3px; |
269 | } | |
[3355] | 270 | } |
271 | ||
272 | div.template-upload { | |
[3439] | 273 | clear: both; |
[3355] | 274 | } |
275 | ||
276 | .queue-message { | |
[3439] | 277 | font-weight: bold; |
[3355] | 278 | } |
Note: See TracBrowser
for help on using the repository browser.