general.css 4.44 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;
}

.userbackbutton {
	border: 1px solid black;
	margin: 2px;
}

a.userbackbutton div {
	position: absolute;
	width: 10em;
	padding: 1.2em 0;
	text-align: center;
	background: rgb(135,224,253); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(135,224,253,1) 0%, rgba(83,203,241,1) 40%, rgba(5,171,224,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(135,224,253,1)), color-stop(40%,rgba(83,203,241,1)), color-stop(100%,rgba(5,171,224,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(135,224,253,1) 0%,rgba(83,203,241,1) 40%,rgba(5,171,224,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(135,224,253,1) 0%,rgba(83,203,241,1) 40%,rgba(5,171,224,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(135,224,253,1) 0%,rgba(83,203,241,1) 40%,rgba(5,171,224,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(135,224,253,1) 0%,rgba(83,203,241,1) 40%,rgba(5,171,224,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#87e0fd', endColorstr='#05abe0',GradientType=0 ); /* IE6-9 */
	border: 1px solid black;
}

.touchItem {
	float: none;
	display: inline-block;
	position: relative;
	background: #40BDE8;
	width: 128px;
	height: 128px;
	border: 1px solid black;
	margin: 2px;
	background: rgb(135,224,253); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(135,224,253,1) 0%, rgba(83,203,241,1) 40%, rgba(5,171,224,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(135,224,253,1)), color-stop(40%,rgba(83,203,241,1)), color-stop(100%,rgba(5,171,224,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(135,224,253,1) 0%,rgba(83,203,241,1) 40%,rgba(5,171,224,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(135,224,253,1) 0%,rgba(83,203,241,1) 40%,rgba(5,171,224,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(135,224,253,1) 0%,rgba(83,203,241,1) 40%,rgba(5,171,224,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom, rgba(135,224,253,1) 0%,rgba(83,203,241,1) 40%,rgba(5,171,224,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#87e0fd', endColorstr='#05abe0',GradientType=0 ); /* IE6-9 */
}

a.shopItem {
	color: black !important;
}

a.touchItem, a.userbackbutton {
	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, a.userbackbutton:hover  {
	background: blue;
}

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

.boxcenter {
	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;
}