general.css 1.87 KB
/* General css, use for non-layout purposes for general elements */

/* userlistview popup */
.userdata_popup {
	position: absolute;
	border: 1px solid black;
	background: white;
	border-radius: 3px;
	display: none;
	width: 300px;
	height: 150px;
}

/*  general class for hoverable usage  */
.hoverable {
	
}

.hidden {
	display: none;
}

#webcamcontainer {
	
}

#shopItems {
	
}

.ui-panel-title {
	text-overflow: clip;
}

.shopItem {
	float: left;
	width: 72px;
	height: 72px;
	background: #40BDE8;
	border: 1px solid black;
	margin: 2px;
}

.touchItem {
	float: none;
	display: inline-block;
	position: relative;
	background: #40BDE8;
	width: 128px;
	height: 128px;
	border: 1px solid black;
	margin: 2px;
}

a.shopItem {
	color: black !important;
}

a.touchItem {
	color: white !important;
	font-weight: bold;
	
}

a.touchItem div {
	position: absolute;
	height: 128px;
	width: 128px;
	text-align: center;
	/* Firefox */
	display: -moz-box;
	-moz-box-orient: horizontal;
	-moz-box-pack: center;
	-moz-box-align: center;
	/* Safari and Chrome */
	display: -webkit-box;
	-webkit-box-orient: horizontal;
	-webkit-box-pack: center;
	-webkit-box-align: center;
	/* W3C */
	display: box;
	box-orient: horizontal;
	box-pack: center;
	box-align: center;
	clip: rect(0, 128px, 128px, 0);
}

a.shopItem div {
	position: absolute;
	height: 72px;
	width: 72px;
	text-align: center;
	/* Firefox */
	display: -moz-box;
	-moz-box-orient: horizontal;
	-moz-box-pack: center;
	-moz-box-align: center;
	/* Safari and Chrome */
	display: -webkit-box;
	-webkit-box-orient: horizontal;
	-webkit-box-pack: center;
	-webkit-box-align: center;
	/* W3C */
	display: box;
	box-orient: horizontal;
	box-pack: center;
	box-align: center;
	clip: rect(0, 72px, 72px, 0);
}

a.shopItem:hover,a.touchItem:hover {
	background: rgba(255, 255, 255, 0.2);
}

a.shopItem:active,a.touchItem:active {
	background: red;
}
.top {
	vertical-align: top;
	
}