/*
Plugin Name: Tap Warp
Description: Upload pictures from smartphone to wordpress directly.
Version:     0.1.0
Author:      Yuxiang Mao
Author URI:  http://qaon.net
License:     GPL3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

@charset "utf8";

.tapwarp-qrcode-container {
	float: left;
	clear: left;
	position: relative;
	overflow: visible;
	z-index: 1;
	transition: all 1s ease;
	display: inline-block;
}

.uploader-inline .tapwarp-qrcode-container {
	position: absolute;
	left: 0px;
	top: 0px;
}

.uploader-inline {
	height: 240px;
}

.tapwarp-qrcode-image {
	max-width: 223px;
	display: block;
}

.tapwarp-guide-stripe {
	text-align: center;
	background-color: #2E9AFE;
	color: white;
}

.tapwarp-guide-stripe label {
	display: block;
	width: 100%;
}

#tapwarp-guide-trigger ~ div.tapwarp-guide-panel {
	display: none;
	position: absolute;
	width: 100%;
	text-align: center;
	background-color: white;
	border-radius: 5px;
	padding: 10px 0px 10px 0px;
	border: 1px solid #e0e0e0;
	bottom: 20px;
}

#tapwarp-guide-trigger:checked ~ div.tapwarp-guide-panel {
	display: table;
}

div.tapwarp-guide-panel > div {
	display: table-cell;
	width: 50%;
}

div.tapwarp-guide-panel img {
	max-width: 50%;
}

.attachment div.tapwarp-refresh-request {
	position: absolute;
	width: 100%;
	min-height: 30px;
	background-color: rgba(255,255,255,0.8);
	color: #4000FF;
	text-align: center;
	display: none;
	z-index: 1;
	bottom: 0px;
}

.attachment:hover div.tapwarp-refresh-request {
	display: table;
}

.attachment:active div.tapwarp-refresh-request {
	display: table;
}

div.tapwarp-refresh-request > div {
	display: table-cell;
}
