Cherrypicking unfinished uploader changes in preparation for move to react-components

This commit is contained in:
Brett Sun 2016-02-16 13:27:38 +01:00
parent 8dec470e46
commit 406734d910
5 changed files with 1 additions and 16 deletions

View File

@ -132,6 +132,7 @@ let FileDragAndDrop = React.createClass({
evt.initMouseEvent('click', true, true, window, 0, 0, 0, 80, 20, false, false, false, false, 0, null);
}
evt.stopPropagation();
this.refs.fileSelector.dispatchEvent(evt);
}
},

View File

@ -113,10 +113,6 @@ $ascribe-red-error: rgb(169, 68, 66);
margin-top: 0 !important;
}
> .upload-button-wrapper {
margin-top: 1em;
margin-bottom: 1em;
}
//END OF FIXME SECTION
.form-control {

View File

@ -225,7 +225,3 @@ $cc--button-color: $cc--nav-fg-prim-color;
1px 0 $cc--button-color,
0 -1px $cc--button-color;
}
.client--cc .upload-button-wrapper > span {
color: $cc--button-color;
}

View File

@ -245,7 +245,3 @@ $cyland--button-sec-color: #515151;
1px 0 $cyland--nav-fg-prim-color,
0 -1px $cyland--nav-fg-prim-color;
}
.client--cyland .upload-button-wrapper > span {
color: $cyland--button-color;
}

View File

@ -528,7 +528,3 @@ $ikono--font: 'Helvetica Neue', 'Helvetica', sans-serif !important;
1px 0 $ikono--button-color,
0 -1px $ikono--button-color;
}
.client--ikonotv .upload-button-wrapper > span {
color: $ikono--button-color;
}