Team:SJTU-Software2/test

From 2014.igem.org

(Difference between revisions)
 
(3 intermediate revisions not shown)
Line 12: Line 12:
<script type="text/javascript" src="https://2014.igem.org/Team:SJTU-Software/main.js%20?action=raw&ctype=text/js"></script>
<script type="text/javascript" src="https://2014.igem.org/Team:SJTU-Software/main.js%20?action=raw&ctype=text/js"></script>
<style type="text/css">
<style type="text/css">
-
ul.expmenu { width: 200px; }
 
-
ul.expmenu * { list-style: none; }
 
-
ul.expmenu > li > div.header { padding: 12px; border-bottom: 1px #396e9f solid; }
 
-
ul.expmenu > li:last-child > div.header { border-bottom: none; }
 
-
ul.expmenu > li ul li { background-color: #ececec; padding: 12px; border-bottom: 1px solid #dcdcdc; border-top: 1px solid #fff; color: #727272; text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8); }
 
-
ul.expmenu > li ul li:last-child { border-bottom: none; }
 
-
ul.expmenu > li ul li.selected { background-color: #f4f4f4; }
 
-
ul.expmenu div.header
 
-
{
 
-
color: #203f61;
 
-
text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.2);
 
-
background: #4d7fb8; /* Old browsers */
 
-
background: -moz-linear-gradient(top, #4d7fb8 0%, #4572a5 100%); /* FF3.6+ */
 
-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4d7fb8), color-stop(100%,#4572a5)); /* Chrome,Safari4+ */
 
-
background: -webkit-linear-gradient(top, #4d7fb8 0%,#4572a5 100%); /* Chrome10+,Safari5.1+ */
 
-
background: -o-linear-gradient(top, #4d7fb8 0%,#4572a5 100%); /* Opera 11.10+ */
 
-
background: -ms-linear-gradient(top, #4d7fb8 0%,#4572a5 100%); /* IE10+ */
 
-
background: linear-gradient(to bottom, #4d7fb8 0%,#4572a5 100%); /* W3C */
 
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d7fb8', endColorstr='#4572a5',GradientType=0 ); /* IE6-9 */
 
-
}
 
-
ul.expmenu > li > div.header > .label { padding-left: 24px; background: no-repeat; }
 
-
ul.expmenu > li > div.header > .arrow { display: block; width: 16px; height: 16px; background: no-repeat center; float: right; }
 
-
ul.expmenu > li > div.header > .arrow.up { background-image: url(../images/arrow_u.png); }
 
-
ul.expmenu > li > div.header > .arrow.down { background-image: url(../images/arrow_d.png); }
 
-
 
-
/* Mouse Events */
 
-
ul.expmenu div.header:hover
 
-
{
 
-
background: #4571a0; /* Old browsers */
 
-
background: -moz-linear-gradient(top, #4d7fb8 0%, #4571a0 100%); /* FF3.6+ */
 
-
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4d7fb8), color-stop(100%,#4571a0)); /* Chrome,Safari4+ */
 
-
background: -webkit-linear-gradient(top, #4d7fb8 0%,#4571a0 100%); /* Chrome10+,Safari5.1+ */
 
-
background: -o-linear-gradient(top, #4d7fb8 0%,#4571a0 100%); /* Opera 11.10+ */
 
-
background: -ms-linear-gradient(top, #4d7fb8 0%,#4571a0 100%); /* IE10+ */
 
-
background: linear-gradient(to bottom, #4d7fb8 0%,#4571a0 100%); /* W3C */
 
-
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d7fb8', endColorstr='#4571a0',GradientType=0 ); /* IE6-9 */
 
-
 
-
cursor: pointer;
 
-
}
 
-
 
-
ul.expmenu > li ul li:not(.selected):hover
 
-
{
 
-
background: #e7e7e7; /* Old browsers */
 
-
 
-
cursor: pointer;
 
-
}
 
-
ul.expmenu > li ul li:not(.selected):active
 
-
{
 
-
background: #f1f1f1; /* Old browsers */
 
-
 
-
cursor: pointer;
 
-
}
 
.slider
.slider
{
{
Line 116: Line 64:
}
}
 +
 +
/* the input field */
.range
.range
{
{
     display: none;
     display: none;
}
}
 +
/*
 +
* CSS Expandable Menu
 +
* @author: Francisco Neves
 +
*/
-
.container {
+
/** Reset */
-
    height: 5px;
+
* { font-family: "museo500", "Arial"; font-size: 12px; list-style: none; margin: 0; padding: 0; outline: 0; text-decoration: none; box-sizing: border-box !important; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; -ms-box-sizing: border-box !important; }
-
    margin: 22px auto 4% auto;
+
-
    width: 957px;
+
-
    align: center;
+
-
}
+
-
#nav,#nav ul {
+
-
    list-style: none outside none;
+
-
    margin: 0;
+
-
    padding: 0;
+
-
}
+
-
#nav {
+
-
    background: url('https://static.igem.org/mediawiki/2014/1/17/Sjtu_software_menu_bg.png')no-repeat scroll 0 0 transparent ;
+
-
    clear: both;
+
-
    font-size: 16px;
+
-
    height: 58px;
+
-
    padding: 0 0 0 9px;
+
-
    position: relative;
+
-
    width: 957px;
+
-
}
+
-
#nav ul {
+
-
    background-color: #222;
+
-
    border:1px solid #222;
+
-
    border-radius: 0 5px 5px 5px;
+
-
    border-width: 0 1px 1px;
+
-
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.5);
+
-
    left: -9999px;
+
-
    overflow: hidden;
+
-
    position: absolute;
+
-
    top: -9999px;
+
-
    z-index: 2;
+
-
    -moz-transform: scaleY(0);
+
/**
-
    -ms-transform: scaleY(0);
+
*  START FREEBIE STYLES
-
    -o-transform: scaleY(0);
+
*/
-
    -webkit-transform: scaleY(0);
+
-
    transform: scaleY(0);
+
-
    /*-moz-transform-origin: 0 0;
+
/*! Font Faces */
-
    -ms-transform-origin: 0 0;
+
@font-face{
-
    -o-transform-origin: 0 0;
+
font-family: 'museo500';
-
    -webkit-transform-origin: 0 0;
+
    src: url('../fonts/MuseoSans_500-webfont.eot');
-
    transform-origin: 0 0;
+
    src: url('../fonts/MuseoSans_500-webfont.eot?#iefix') format('embedded-opentype'),
 +
        url('../fonts/MuseoSans_500-webfont.woff') format('woff'),
 +
        url('../fonts/MuseoSans_500-webfont.ttf') format('truetype'),
 +
        url('../fonts/MuseoSans_500-webfont.svg#museo_sans_500regular') format('svg');
 +
    font-weight: normal;
 +
    font-style: normal;
 +
}
-
    -moz-transition: -moz-transform 0.1s linear;
+
/*! Freebie Skelet */
-
    -ms-transition: -ms-transform 0.1s linear;
+
ul.expmenu { width: 200px; }
-
    -o-transition: -o-transform 0.1s linear;
+
ul.expmenu * { list-style: none; }
-
    -webkit-transition: -webkit-transform 0.1s linear;
+
ul.expmenu > li > div.header { padding: 12px; border-bottom: 1px #396e9f solid; }
-
    transition: transform 0.1s linear;*/
+
ul.expmenu > li:last-child > div.header { border-bottom: none; }
-
}
+
ul.expmenu > li ul li { background-color: #ececec; padding: 12px; border-bottom: 1px solid #dcdcdc; border-top: 1px solid #fff; color: #727272; text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.8); }
-
#nav li {
+
ul.expmenu > li ul li:last-child { border-bottom: none; }
-
    background: url('https://static.igem.org/mediawiki/2014/9/9d/Sjtu_software_menu_line.png') no-repeat scroll right 5px transparent;
+
ul.expmenu > li ul li.selected { background-color: #f4f4f4; }
-
    float: left;
+
ul.expmenu div.header
-
    position: relative;
+
{
-
}
+
color: #203f61;
-
#nav li a {
+
text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.2);
-
    color: #FFFFFF;
+
-
    display: block;
+
-
    float: left;
+
-
    font-weight: normal;
+
-
    height: 30px;
+
-
    padding: 18px 20px 0;
+
-
    position: relative;
+
-
    text-decoration: none;
+
-
    text-shadow: 1px 1px 1px #000000;
+
-
}
+
-
#nav li:hover > a {
+
-
    color: #00B4FF;
+
-
}
+
-
#nav li:hover, #nav a:focus, #nav a:hover, #nav a:active {
+
-
    background: none repeat scroll 0 0 #121212;
+
-
    outline: 0 none;
+
-
}
+
-
#nav li:hover ul.subs {
+
-
    left: 0;
+
-
    top: 48px;
+
-
    width: 180px;
+
-
    -moz-transform: scaleY(1);
+
-
    -ms-transform: scaleY(1);
+
-
    -o-transform: scaleY(1);
+
-
    -webkit-transform: scaleY(1);
+
-
    transform: scaleY(1);
+
-
}
+
-
#nav ul li {
+
-
    background: none;
+
-
    width: 100%;
+
-
    padding: 0px 100px 10px 0px;
+
-
   
+
-
}
+
-
#nav ul li a {
+
-
    float: none;
+
-
    height: 30px;
+
-
}
+
-
#nav ul li:hover > a {
+
-
    background-color: #121212;
+
-
    color: #00B4FF;
+
-
}
+
-
#lavalamp {
+
-
    background: url('https://static.igem.org/mediawiki/2014/d/d5/Sjtu_software_lavalamp.png') no-repeat scroll 0 0 transparent;
+
-
    height: 16px;
+
-
    left: 111px;
+
-
    position: absolute;
+
-
    top: 0px;
+
-
    width: 64px;
+
-
    -moz-transition: all 300ms ease;
+
background: #4d7fb8; /* Old browsers */
-
    -ms-transition: all 300ms ease;
+
background: -moz-linear-gradient(top, #4d7fb8 0%, #4572a5 100%); /* FF3.6+ */
-
    -o-transition: all 300ms ease;
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4d7fb8), color-stop(100%,#4572a5)); /* Chrome,Safari4+ */
-
    -webkit-transition: all 300ms ease;
+
background: -webkit-linear-gradient(top, #4d7fb8 0%,#4572a5 100%); /* Chrome10+,Safari5.1+ */
-
    transition: all 300ms ease;
+
background: -o-linear-gradient(top, #4d7fb8 0%,#4572a5 100%); /* Opera 11.10+ */
-
}
+
background: -ms-linear-gradient(top, #4d7fb8 0%,#4572a5 100%); /* IE10+ */
-
#lavalamp:hover {
+
background: linear-gradient(to bottom, #4d7fb8 0%,#4572a5 100%); /* W3C */
-
    -moz-transition-duration: 3000s;
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d7fb8', endColorstr='#4572a5',GradientType=0 ); /* IE6-9 */
-
    -ms-transition-duration: 3000s;
+
}
-
    -o-transition-duration: 3000s;
+
ul.expmenu > li > div.header > .label { padding-left: 24px; background: no-repeat; }
-
    -webkit-transition-duration: 3000s;
+
ul.expmenu > li > div.header > .arrow { display: block; width: 16px; height: 16px; background: no-repeat center; float: right; }
-
    transition-duration: 3000s;
+
ul.expmenu > li > div.header > .arrow.up { background-image: url(../images/arrow_u.png); }
-
}
+
ul.expmenu > li > div.header > .arrow.down { background-image: url(../images/arrow_d.png); }
-
#nav li:nth-of-type(1):hover ~ #lavalamp {
+
/* Mouse Events */
-
    left: 17px;
+
ul.expmenu div.header:hover
-
}
+
{
-
#nav li:nth-of-type(2):hover ~ #lavalamp {
+
background: #4571a0; /* Old browsers */
-
    left: 111px;
+
background: -moz-linear-gradient(top, #4d7fb8 0%, #4571a0 100%); /* FF3.6+ */
-
}
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4d7fb8), color-stop(100%,#4571a0)); /* Chrome,Safari4+ */
-
#nav li:nth-of-type(3):hover ~ #lavalamp {
+
background: -webkit-linear-gradient(top, #4d7fb8 0%,#4571a0 100%); /* Chrome10+,Safari5.1+ */
-
    left: 218px;
+
background: -o-linear-gradient(top, #4d7fb8 0%,#4571a0 100%); /* Opera 11.10+ */
-
}
+
background: -ms-linear-gradient(top, #4d7fb8 0%,#4571a0 100%); /* IE10+ */
-
#nav li:nth-of-type(4):hover ~ #lavalamp {
+
background: linear-gradient(to bottom, #4d7fb8 0%,#4571a0 100%); /* W3C */
-
    left: 335px;
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d7fb8', endColorstr='#4571a0',GradientType=0 ); /* IE6-9 */
-
}
+
-
#nav li:nth-of-type(5):hover ~ #lavalamp {
+
-
    left: 440px;
+
-
}
+
-
#nav li:nth-of-type(6):hover ~ #lavalamp {
+
-
    left: 467px;
+
-
}
+
-
#nav li:nth-of-type(7):hover ~ #lavalamp {
+
-
    left: 557px;
+
-
}
+
-
#nav li:nth-of-type(8):hover ~ #lavalamp {
+
-
    left: 647px;
+
-
}
+
-
/* the input field */
+
cursor: pointer;
 +
}
-
</style>
+
ul.expmenu > li ul li:not(.selected):hover
 +
{
 +
background: #e7e7e7; /* Old browsers */
-
<style type="text/css">
+
cursor: pointer;
-
.container{
+
}
 +
ul.expmenu > li ul li:not(.selected):active
 +
{
 +
background: #f1f1f1; /* Old browsers */
-
}
+
cursor: pointer;
-
.firstHeading {
+
}
-
width: 0px;  
+
/**
-
        height: 0px;
+
*  END FREEBIE STYLES
-
margin: -38px auto;
+
*/
-
padding-top: 0px;
+
-
margin-bottom: 0px;
+
-
font-family: Georgia, Times, "Times New Roman", serif;
+
-
}
+
-
/*returnTop*/
+
/**
-
p#back-to-top{
+
* Not important styles
-
    position:fixed;
+
*/
-
    display:none;
+
body
-
    bottom:50px;
+
{  
-
    right:30px;
+
color: #b1b1b1;
-
}
+
background: #e1e1e1; /* Old browsers */
-
p#back-to-top a{
+
-
    text-align:center;
+
-
    text-decoration:none;
+
-
    color:#d1d1d1;
+
-
    display:block;
+
-
    width:112px;
+
-
    /*使用CSS3中的transition属性给跳转链接中的文字添加渐变效果*/
+
-
    -moz-transition:color 1s;
+
-
    -webkit-transition:color 1s;
+
-
    -o-transition:color 1s;
+
-
}
+
-
p#back-to-top a:hover{
+
-
    color:#979797;
+
-
}
+
-
p#back-to-top a span{
+
-
    background:transparent url(https://static.igem.org/mediawiki/2014/3/3c/Sjtu_software_img100.png) no-repeat -25px -290px;
+
-
    border-radius:6px;
+
-
    display:block;
+
-
    height:40px;
+
-
    width:112px;
+
-
    margin-bottom:5px;
+
-
    /*使用CSS3中的transition属性给<span>标签背景颜色添加渐变效果*/
+
-
    -moz-transition:background 1s;
+
-
    -webkit-transition:background 1s;
+
-
    -o-transition:background 1s;
+
-
}
+
-
#back-to-top a:hover span{
+
-
    background:transparent url(https://static.igem.org/mediawiki/2014/3/3c/Sjtu_software_img100.png) no-repeat -25px -290px;
+
-
}
+
-
</style>
+
-
</p>
+
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+
font-family: "museo500";
-
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+
}
-
 
+
ul#pagination-freebie { display: table; padding-right: 20px; margin: 20px auto; list-style: none; }
-
 
+
ul#pagination-freebie:last-child { padding-right: 0; }
-
 
+
ul#pagination-freebie li { float: left; margin-bottom: 20px }
-
 
+
ul#pagination-freebie li:last-child { margin-right: 0; }
-
  <script>
+
-
jQuery(function(){
+
-
+
-
jQuery('#camera_wrap_1').camera({
+
-
thumbnails: true
+
-
});
+
-
});
+
-
</script>
+
-
  </head>
+
-
<body class="background">
+
 +
div#text { text-align: center; font-size: 48px; width: 610px; margin: 0 auto; margin-top: 50px; margin-top: 80px; }
 +
div#smalltext { text-align: center; font-size: 15px; width: 600px; margin: 0 auto; }
 +
div#content { display: table; margin: 0 auto; padding: 30px; }
 +
</style>

Latest revision as of 08:01, 12 October 2014


    • Messages
    • User Controls
    • Screen Settings
    • Search