mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 18:35:09 +01:00
Remove unused upload button styling and update click event handling in FileDragAndDrop
This commit is contained in:
parent
8650b0497c
commit
b64a66ec45
@ -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.initMouseEvent('click', true, true, window, 0, 0, 0, 80, 20, false, false, false, false, 0, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
evt.stopPropagation();
|
||||||
this.refs.fileSelector.getDOMNode().dispatchEvent(evt);
|
this.refs.fileSelector.getDOMNode().dispatchEvent(evt);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -117,11 +117,6 @@ $ascribe-red-error: rgb(169, 68, 66);
|
|||||||
margin-top: 0 !important;
|
margin-top: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
> .upload-button-wrapper {
|
|
||||||
margin-top: 1em;
|
|
||||||
margin-bottom: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
> input,
|
> input,
|
||||||
> pre,
|
> pre,
|
||||||
> textarea,
|
> textarea,
|
||||||
|
@ -211,7 +211,3 @@ $cc--button-color: $cc--nav-fg-prim-color;
|
|||||||
1px 0 $cc--button-color,
|
1px 0 $cc--button-color,
|
||||||
0 -1px $cc--button-color;
|
0 -1px $cc--button-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.client--cc .upload-button-wrapper > span {
|
|
||||||
color: $cc--button-color;
|
|
||||||
}
|
|
||||||
|
@ -230,7 +230,3 @@ $cyland--button-sec-color: #515151;
|
|||||||
1px 0 $cyland--nav-fg-prim-color,
|
1px 0 $cyland--nav-fg-prim-color,
|
||||||
0 -1px $cyland--nav-fg-prim-color;
|
0 -1px $cyland--nav-fg-prim-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.client--cyland .upload-button-wrapper > span {
|
|
||||||
color: $cyland--button-color;
|
|
||||||
}
|
|
||||||
|
@ -549,7 +549,3 @@ $ikono--font: 'Helvetica Neue', 'Helvetica', sans-serif !important;
|
|||||||
1px 0 $ikono--button-color,
|
1px 0 $ikono--button-color,
|
||||||
0 -1px $ikono--button-color;
|
0 -1px $ikono--button-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.client--ikonotv .upload-button-wrapper > span {
|
|
||||||
color: $ikono--button-color;
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user