*/
_createButton: function() {
if (this._supportsAJAXUpload) {
- this._fileUpload = $('<input type="file" name="'+this._name+'" style="opacity: 0" '+(this._options.multiple ? 'multiple="true" ' : '')+'/>');
+ this._fileUpload = $('<input type="file" name="'+this._name+'" '+(this._options.multiple ? 'multiple="true" ' : '')+'/>');
this._fileUpload.change($.proxy(this._upload, this));
- var $button = $('<p class="wcf-button" style="display: inline-block; position: relative; overflow: hidden; width: 100px"><span style="position: absolute; top: 0; left: 0">Upload</span></p>');
+ var $button = $('<p class="button uploadButton"><span>Upload</span></p>');
$button.append(this._fileUpload);
}
else {
- var $button = $('<p class="wcf-button" style="display: inline-block;"><span>Upload</span></p>');
+ var $button = $('<p class="button"><span>Upload</span></p>');
$button.click($.proxy(this._showOverlay, this));
}
--- /dev/null
+/* #### Attachments #### */
+
+/* attachment form */
+.formAttachmentList {
+ border-bottom: 1px solid @wcfContainerBorderColor;
+ padding-bottom: @wcfGapSmall;
+
+ > li {
+ width: 33%;
+ float: left;
+ //background-color: red;
+ //position: relative;
+
+ > .thumbnail {
+ width: 48px;
+ height: 48px;
+ border-radius: 5px;
+ }
+
+ hgroup {
+ float: left;
+ margin-right: @wcfGapSmall;
+ }
+
+ > div {
+ padding-top: @wcfGapSmall;
+ }
+
+ ul {
+
+ }
+ }
+}
+
+.formAttachmentContent {
+ dl {
+ margin-top: 0;
+ }
+}
\ No newline at end of file