/*
* Adapted from: https://github.com/chanzuckerberg/czi-prosemirror/blob/master/src/ui/czi-image-url-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.
*/

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

.image-url-editor .form {
	max-width: 90vw;
	min-width: 40vw;
	width: 500px;
}

.image-url-editor-src-input-row {
	position: relative;
}

.image-url-editor-src-input-row input.image-url-editor-src-input {
	padding-right: 40px;
}

.image-url-editor-input-preview {
	background-color: #fff;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	border: solid 1px #fff;
	box-sizing: border-box;
	outline: solid 1px #5882EB;
	position: absolute;
	right: 0;
	top: 2px;
	bottom: 1px;
	width: 36px;
}
