Skip to content
Snippets Groups Projects
main.css 3.66 KiB
Newer Older
jiangxu's avatar
jiangxu committed
/* 	file: main.css
	author: Leif DeJong
	created: Jan 2012

	Tristan Wright July 2012
	modified to support new elements for eDisplay-v2
	removed .menu styles, original in archive
 */

* {
	margin:0;
	padding:0;
	outline: none;
}

/*main.js assigns these colors, add them there,
 *also leave them in spot in the document.*/
.btn.active.total	{}
.btn.active.barrett	{}
.btn.active.bundy	{}
.btn.active.hoerner	{}
.btn.active.mills	{}
.btn.active.oa		{}
.btn.active.warren	{}
.btn.active.wilson	{}

body {
	background: url("../images/header_bg.png") repeat-x scroll left top #EDEDED;
	font-family: Georgia, Serif;
	overflow-x: hidden;
}

#overlay{
	visibility: hidden;
	position: absolute;
	left: 0px;
	top: 0px;
	width:100%;
	height:100%;
	text-align:center;
	z-index: 10;
	color: white;
	background-color: rgba(200,200,200,.5);
}

#header{
	max-width:1000px;
	margin: 0 auto;
}

#header a, #header button{
	text-decoration:none;
	outline:none;
	align-self: flex-end;
}

#page-title{
	font-size:30px;
	color:#9f2d42;
	white-space: nowrap;
}

#page-title:hover, #page-title:active{
	color: #000;
}

#dashboard{
	width:80%;
	margin:20px auto;
	position:relative;
	overflow: hidden;
	background-color: #fff;
	/* Border Radius */
 	-moz-border-radius: 5px 5px;
    -khtml-border-radius: 5px 5px;
   	-webkit-border-radius: 5px 5px;
   	/* Box Shadow */
   	-moz-box-shadow: 0px 0px 5px #666;
    -webkit-box-shadow: 0px 0px 5px #666;
    box-shadow: 0px 0px 5px #666;
    -webkit-transition: -webkit-box-shadow 0.1s ease-out;
    -moz-transition: -webkit-box-shadow 0.1s ease-out;
    -o-transition: -webkit-box-shadow 0.1s ease-out;
    transition: -webkit-box-shadow 0.1s ease-out;
}

.about{
	line-height: 25px;
	text-align: justify;
	padding: 4%;
	text-indent: 6%;
	margin: auto;
	max-width: 700px;
}

.displayNone{
	display: none;
}

#lineChart{
	margin-top: 0px;
}

#control{
	height: 70px;
}

#sidebar{
	width: 80%;
	margin: 0px auto;
	text-align: center;
}

.btnGroup > button:active{
	background-color: #ddd;
}

.btn, .aboutBtn, .getPlink, .csvBtn{
	font-size: 18px;
	font-family: Georgia, Serif;
	border: 1px solid #666;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-moz-box-shadow: 0px 0px 2px #666;
    -webkit-box-shadow: 0px 0px 2px #666;
    box-shadow: 0px 0px 2px #666;
}

.aboutBtn{
	font-size: 15px;
	height: 35px;
	width: 100px;
	background: white;
	text-align: center;
	vertical-align: text-top;
	}

.btn{
	font-size: 16px;
	height: 50px;
	padding: 0px 42px 0 10px;
	margin: 1px;
	text-align: left;
	background: transparent url('../images/cbox1.png') center right no-repeat;
}

.btn.active, .btn.active:active{
	background: transparent url('../images/cbox2.png') center right no-repeat;
	color: whitesmoke;
}

.btn:hover, .btn.active:hover, .aboutBtn:hover{
	border: 1px solid #222;
	-moz-box-shadow: 0px 0px 4px #222;
    -webkit-box-shadow: 0px 0px 4px #222;
    box-shadow: 0px 0px 4px #222;
}

.aboutBtn:active, .getPlink:active, .csvBtn:active{
	background-color: #ddd;
}

form{text-align:center; font-family: Georgia, Serif;}
input{font-family: 'Georgia', Serif;}

#plink{
	width: 150px;
	height: 20px;
	font-size: 14px;
}

.getPlink, .csvBtn{
	padding: 3px;
	font-size: 16px;
	background: white;
}

#site-details{
	margin-bottom: 20px;
	text-align: center;
	font-size:10px;
	color:#888;
}

#site-options{
	width: 80%;
	margin: 20px auto;
	align-items: center;
}


/*Gives support for flexbox in more browsers
  Margins can be edited once there is support for row-gap and column-gap*/
.flex-parent{
	display: -ms-flexbox;
	display: flex;
	-ms-flex-pack: distribute;
	justify-content: space-around;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin: -10px;
	
}

.flex-parent>*{
	margin: 10px;
}