Team:SJTU-Software2/test

From 2014.igem.org

(Difference between revisions)
 
(2 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 117: Line 65:
}
}
 +
/* the input field */
 +
.range
 +
{
 +
    display: none;
 +
}
 +
/*
 +
* CSS Expandable Menu
 +
* @author: Francisco Neves
 +
*/
-
</style>
+
/** Reset */
 +
* { 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; }
-
<style type="text/css">
+
/**
-
.container{
+
*  START FREEBIE STYLES
 +
*/
-
}
+
/*! Font Faces */
-
.firstHeading {
+
@font-face{  
-
width: 0px;  
+
font-family: 'museo500';
-
        height: 0px;
+
    src: url('../fonts/MuseoSans_500-webfont.eot');
-
margin: -38px auto;
+
    src: url('../fonts/MuseoSans_500-webfont.eot?#iefix') format('embedded-opentype'),
-
padding-top: 0px;
+
        url('../fonts/MuseoSans_500-webfont.woff') format('woff'),
-
margin-bottom: 0px;
+
        url('../fonts/MuseoSans_500-webfont.ttf') format('truetype'),
-
font-family: Georgia, Times, "Times New Roman", serif;  
+
        url('../fonts/MuseoSans_500-webfont.svg#museo_sans_500regular') format('svg');
-
}
+
    font-weight: normal;
 +
    font-style: normal;
 +
}
-
/*returnTop*/
+
/*! Freebie Skelet */
-
p#back-to-top{
+
ul.expmenu { width: 200px; }
-
    position:fixed;
+
ul.expmenu * { list-style: none; }
-
    display:none;
+
ul.expmenu > li > div.header { padding: 12px; border-bottom: 1px #396e9f solid; }
-
    bottom:50px;
+
ul.expmenu > li:last-child > div.header { border-bottom: none; }
-
    right:30px;
+
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; }
-
p#back-to-top a{
+
ul.expmenu > li ul li.selected { background-color: #f4f4f4; }
-
    text-align:center;
+
ul.expmenu div.header
-
    text-decoration:none;
+
{
-
    color:#d1d1d1;
+
color: #203f61;
-
    display:block;
+
text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.2);
-
    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" />
+
background: #4d7fb8; /* Old browsers */
-
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+
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 */
-
  <script>
+
cursor: pointer;
-
jQuery(function(){
+
}
-
+
ul.expmenu > li ul li:not(.selected):active
-
jQuery('#camera_wrap_1').camera({
+
{
-
thumbnails: true
+
background: #f1f1f1; /* Old browsers */
-
});
+
-
});
+
-
</script>
+
-
  </head>
+
-
<body class="background">
+
 +
cursor: pointer;
 +
}
 +
/**
 +
*  END FREEBIE STYLES
 +
*/
 +
 +
 +
/**
 +
* Not important styles
 +
*/
 +
body
 +
{
 +
color: #b1b1b1;
 +
background: #e1e1e1; /* Old browsers */
 +
 +
font-family: "museo500";
 +
}
 +
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; }
 +
 +
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