/*
* Adapted from: https://github.com/chanzuckerberg/czi-prosemirror/blob/master/src/ui/czi-image-upload-editor.css
*
* MIT License
*
* Copyright (c) 2019 Chan Zuckerberg Initiative
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

.editor-image-upload-editor {
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.46);
	font-family: Helvetica;
	font-size: 13px;
	padding: 4px 10px;
}

.editor-image-upload-editor-body {
	border: solid 1px #ccc;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 200px;
	justify-content: center;
	margin: 0 0 20px 0;
	overflow: hidden;
	position: relative;
	width: 450px;
}

.editor-image-upload-editor-body:hover {
	border-color: rgba(152, 204, 253, 0.4);
}

.editor-image-upload-editor-label {
	color: rgb(0, 0, 238);
	padding: 8px;
	text-align: center;
}

.editor-image-upload-editor-body:hover .editor-image-upload-editor-label {
	text-decoration: underline;
}

.editor-image-upload-editor-input {
	cursor: pointer;
	font-size: 10000px;
	left: 0;
	opacity: 0;
	padding: 10000px;
	position: absolute;
	top: 0;
	width: 1000px;
	height: 1000px;
}

.editor-image-upload-editor.pending .editor-image-upload-editor-input {
	cursor: wait;
}

.editor-image-upload-editor.pending .editor-image-upload-editor-label {
	color: unset;
	text-decoration: none;
}
