Team:SJTU-Software2/test

From 2014.igem.org

(Difference between revisions)
 
(247 intermediate revisions not shown)
Line 1: Line 1:
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
{{CSS/Main}}
 +
<html>
-
<HTML>
+
<!--main content -->
-
    <HEAD>
+
<p>
-
 
+
<style type="text/css"> body {background-image:url(https://static.igem.org/mediawiki/2014/5/57/Sjtu_software_background.jpg); background-repeat:no-repeat; background-attachment:fixed} </style>
-
        <title>WebForm5</title>
+
<script type="text/javascript" src="https://2014.igem.org/Team:SJTU-Software/182min.js%20?action=raw&ctype=text/js"></script>
-
 
+
<script type="text/javascript" src="https://2014.igem.org/Team:SJTU-Software/toolsmin.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>/* Root = Horizontal, Secondary = Vertical */
+
-
 
+
-
ul#navmenu-h {
+
-
 
+
-
  margin: 0;
+
-
 
+
-
  border: 0 none;
+
-
 
+
-
  padding: 0;
+
-
 
+
-
  width: 500px; /*For KHTML*/
+
-
 
+
-
  list-style: none;
+
-
 
+
-
  height: 24px;
+
 +
.slider
 +
{
 +
    background: #d5d5d5;
 +
    height: 7px;
 +
    position: relative;
 +
    cursor: pointer;
 +
    width: 100%;
 +
    clear: right;
 +
    top: 0px;
 +
    -moz-border-radius: 5px;
 +
    -webkit-border-radius: 5px;
 +
    -moz-box-shadow: inset 0 0 8px #000;
 +
    margin: 10px 0 10px 0;
}
}
 +
/* progress bar (enabled with progress: true) */
 +
.progress
 +
{
 +
    height: 7px;
 +
    position: relative;
 +
    background: #5389c5; /* Old browsers */
 +
background: -moz-linear-gradient(top, #5389c5 0%, #4775a9 100%); /* FF3.6+ */
 +
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5389c5), color-stop(100%,#4775a9)); /* Chrome,Safari4+ */
 +
background: -webkit-linear-gradient(top, #5389c5 0%,#4775a9 100%); /* Chrome10+,Safari5.1+ */
 +
background: -o-linear-gradient(top, #5389c5 0%,#4775a9 100%); /* Opera 11.10+ */
 +
background: -ms-linear-gradient(top, #5389c5 0%,#4775a9 100%); /* IE10+ */
 +
background: linear-gradient(to bottom, #5389c5 0%,#4775a9 100%); /* W3C */
 +
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5389c5', endColorstr='#4775a9',GradientType=0 ); /* IE6-9 */
 +
    -moz-border-radius: 5px;
 +
    -webkit-border-radius: 5px;
 +
    top: 0px;
 +
    border: 1px solid #4b7bb1;
-
 
+
    -moz-box-shadow: inset 0 .7px 0 0 rgba(255, 255, 255, 0.3);
-
ul#navmenu-h li {
+
-webkit-box-shadow: inset 0 .7px 0 0 rgba(255, 255, 255, 0.3);
-
 
+
box-shadow: inset 0 .7px 0 0 rgba(255, 255, 255, 0.3);
-
  margin: 0;
+
-
 
+
-
  border: 0 none;
+
-
 
+
-
  padding: 0;
+
-
 
+
-
  float: left; /*For Gecko*/
+
-
 
+
-
  display: inline;
+
-
 
+
-
  list-style: none;
+
-
 
+
-
  position: relative;
+
-
 
+
-
  height: 24px;
+
-
 
+
}
}
-
 
+
/* drag handle */
-
 
+
.handle
-
ul#navmenu-h ul {
+
{
-
 
+
    background: url(../images/handle.png) repeat-x center;
-
  margin: 0;
+
    height: 16px;
-
 
+
    width: 16px;
-
  border: 0 none;
+
    top: -5px;
-
 
+
    position: absolute;
-
  padding: 0;
+
    display: block;
-
 
+
    margin-top: 1px;
-
  width: 160px;
+
    cursor: pointer;
-
 
+
-
  list-style: none;
+
-
 
+
-
  display: none;
+
-
 
+
-
  position: absolute;
+
-
 
+
-
  top: 24px;
+
-
 
+
-
  left: 0;
+
}
}
-
 
+
/* the input field */
-
 
+
.range
-
ul#navmenu-h ul:after /*From IE 7 lack of compliance*/{
+
{
-
 
+
    display: none;
-
  clear: both;
+
-
 
+
-
  display: block;
+
-
 
+
-
  font: 1px/0px serif;
+
-
 
+
-
  content: ".";
+
-
 
+
-
  height: 0;
+
-
 
+
-
  visibility: hidden;
+
-
 
+
}
}
 +
/*
 +
* CSS Expandable Menu
 +
* @author: Francisco Neves
 +
*/
 +
/** 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; }
 +
/**
 +
*  START FREEBIE STYLES
 +
*/
-
ul#navmenu-h ul li {
+
/*! Font Faces */
 +
@font-face{  
 +
font-family: 'museo500';
 +
    src: url('../fonts/MuseoSans_500-webfont.eot');
 +
    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;
 +
}
-
  width: 160px;
+
/*! Freebie Skelet */
 +
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);
-
  float: left; /*For IE 7 lack of compliance*/
+
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); }
-
  display: block !important;
+
/* 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 */
-
  display: inline; /*For IE*/
+
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;
 +
}
 +
/**
 +
*  END FREEBIE STYLES
 +
*/
 +
-
/* Root Menu */
+
/**
 +
* Not important styles
 +
*/
 +
body
 +
{
 +
color: #b1b1b1;
 +
background: #e1e1e1; /* Old browsers */
-
ul#navmenu-h a {
+
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; }
-
  border: 1px solid #FFF;
+
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>
-
  border-right-color: #CCC;
 
-
  border-bottom-color: #CCC;
+
<div align="center">
 +
    <div class="container2" style="height:700px;width:71%;background-color:#FFFFFF;">
 +
          <div align=left>
 +
          <div  class="container2" style="height:700px;width:30%;background-color:#00FF00;float:left; display:inline" >
 +
          <div id="content">
 +
<ul id="expmenu-freebie">
 +
<li>
 +
<!-- Start Freebie -->
 +
<ul class="expmenu">
 +
<li>
 +
<div class="header">
 +
<span class="label" style="background-image: url(images/messages.png);">Messages</span>
 +
<span class="arrow up"></span>
 +
</div>
 +
<ul class="menu">
 +
<li>Notification Settings</li>
 +
<li class="selected">Email Alerts</li>
 +
<li>Privacy Settings</li>
 +
</ul>
 +
</li>
 +
<li>
 +
<div class="header">
 +
<span class="label" style="background-image: url(images/user.png);">User Controls</span>
 +
<span class="arrow up"></span>
 +
</div>
 +
<ul class="menu">
 +
<li><input type="range" name="range" min="0" max="100" value="35" style="width: 100%;" /></li>
 +
</ul>
 +
</li>
 +
<li>
 +
<div class="header">
 +
<span class="label" style="background-image: url(images/pc.png);">Screen Settings</span>
 +
<span class="arrow down"></span>
 +
</div>
 +
<ul class="menu" style="display:none">
 +
<li>Your settings</li>
 +
</ul>
 +
</li>
 +
<li>
 +
<div class="header">
 +
<span class="label" style="background-image: url(images/search.png);">Search</span>
 +
</div>
 +
</li>
 +
</ul>
 +
<!-- End Freebie -->
 +
</li>
 +
</ul>
 +
  </div>
 +
          </div>
 +
         
 +
           
 +
          <div  class="container2" style="height:700px;width:70%;background-color:#FFFF00;float:left; display:inline" >
 +
          </div>         
 +
          </div>
 +
    </div>
-
  padding: 0 6px;
+
</div>    
 +
   
-
  float: none !important; /*For Opera*/
+
   
-
  float: left; /*For IE*/
 
-
  display: block;
 
-
 
-
  background: #EEE;
 
-
 
-
  color: #666;
 
-
 
-
  font: bold 10px/22px Verdana, Arial, Helvetica, sans-serif;
 
-
 
-
  text-decoration: none;
 
-
 
-
  height: auto !important;
 
-
 
-
  height: 1%; /*For IE*/
 
-
 
-
}
 
-
 
-
 
-
 
-
/* Root Menu Hover Persistence */
 
-
 
-
ul#navmenu-h a:hover,
 
-
 
-
ul#navmenu-h li:hover a,
 
-
 
-
ul#navmenu-h li.iehover a {
 
-
 
-
  background: #CCC;
 
-
 
-
  color: #FFF;
 
-
 
-
}
 
-
 
-
 
-
 
-
/* 2nd Menu */
 
-
 
-
ul#navmenu-h li:hover li a,
 
-
 
-
ul#navmenu-h li.iehover li a {
 
-
 
-
  float: none;
 
-
 
-
  background: #EEE;
 
-
 
-
  color: #666;
 
-
 
-
}
 
-
 
-
 
-
 
-
/* 2nd Menu Hover Persistence */
 
-
 
-
ul#navmenu-h li:hover li a:hover,
 
-
 
-
ul#navmenu-h li:hover li:hover a,
 
-
 
-
ul#navmenu-h li.iehover li a:hover,
 
-
 
-
ul#navmenu-h li.iehover li.iehover a {
 
-
 
-
  background: #CCC;
 
-
 
-
  color: #FFF;
 
-
 
-
}
 
-
 
-
 
-
 
-
/* 3rd Menu */
 
-
 
-
ul#navmenu-h li:hover li:hover li a,
 
-
 
-
ul#navmenu-h li.iehover li.iehover li a {
 
-
 
-
  background: #EEE;
 
-
 
-
  color: #666;
 
-
 
-
}
 
-
 
-
 
-
 
-
/* 3rd Menu Hover Persistence */
 
-
 
-
ul#navmenu-h li:hover li:hover li a:hover,
 
-
 
-
ul#navmenu-h li:hover li:hover li:hover a,
 
-
 
-
ul#navmenu-h li.iehover li.iehover li a:hover,
 
-
 
-
ul#navmenu-h li.iehover li.iehover li.iehover a {
 
-
 
-
  background: #CCC;
 
-
 
-
  color: #FFF;
 
-
 
-
}
 
-
 
-
 
-
 
-
/* 4th Menu */
 
-
 
-
ul#navmenu-h li:hover li:hover li:hover li a,
 
-
 
-
ul#navmenu-h li.iehover li.iehover li.iehover li a {
 
-
 
-
  background: #EEE;
 
-
 
-
  color: #666;
 
-
 
-
}
 
-
 
-
 
-
 
-
/* 4th Menu Hover */
 
-
 
-
ul#navmenu-h li:hover li:hover li:hover li a:hover,
 
-
 
-
ul#navmenu-h li.iehover li.iehover li.iehover li a:hover {
 
-
 
-
  background: #CCC;
 
-
 
-
  color: #FFF;
 
-
 
-
}
 
-
 
-
 
-
 
-
ul#navmenu-h ul ul,
 
-
 
-
ul#navmenu-h ul ul ul {
 
-
 
-
  display: none;
 
-
 
-
  position: absolute;
 
-
 
-
  top: 0;
 
-
 
-
  left: 160px;
 
-
 
-
}
 
-
 
-
 
-
 
-
/* Do Not Move - Must Come Before display:block for Gecko */
 
-
 
-
ul#navmenu-h li:hover ul ul,
 
-
 
-
ul#navmenu-h li:hover ul ul ul,
 
-
 
-
ul#navmenu-h li.iehover ul ul,
 
-
 
-
ul#navmenu-h li.iehover ul ul ul {
 
-
 
-
  display: none;
 
-
 
-
}
 
-
 
-
 
-
 
-
ul#navmenu-h li:hover ul,
 
-
 
-
ul#navmenu-h ul li:hover ul,
 
-
 
-
ul#navmenu-h ul ul li:hover ul,
 
-
 
-
ul#navmenu-h li.iehover ul,
 
-
 
-
ul#navmenu-h ul li.iehover ul,
 
-
 
-
ul#navmenu-h ul ul li.iehover ul {
 
-
 
-
  display: block;
 
-
 
-
}
 
-
 
-
 
-
 
-
</style><script language="javascript">
 
-
 
-
navHover = function() {
 
-
 
-
    var lis = document.getElementById("navmenu-h").getElementsByTagName("LI");
 
-
 
-
    for (var i=0; i<lis.length; i++) {
 
-
 
-
        lis[i].onmouseover=function() {
 
-
 
-
            this.className+=" iehover";
 
-
 
-
        }
 
-
 
-
        lis[i].onmouseout=function() {
 
-
 
-
            this.className=this.className.replace(new RegExp(" iehover\\b"),
 
-
 
-
 
-
 
-
"");
 
-
 
-
        }
 
-
 
-
    }
 
-
 
-
}
 
-
 
-
if (window.attachEvent) window.attachEvent("onload", navHover);
 
-
 
-
        </script>
 
-
 
-
    </HEAD>
 
-
 
-
    <body>
 
-
 
-
  <ul id="navmenu-h">
 
-
 
-
  <li><a href="#">Root nav item1</a>
 
-
 
-
  <ul>
 
-
 
-
  <li><a href="#">Sub nav item1</a></li>
 
-
 
-
<li><a href="#">Sub nav item1-2</a></li>
 
-
 
-
  </ul>
 
-
 
-
  </li>
 
-
 
-
<li><a href="#">Root nav item2</a>
 
-
 
-
  <ul>
 
-
 
-
  <li><a href="#">Sub nav item2</a></li>
 
-
 
-
<li><a href="#">Sub nav item2-2</a></li>
 
-
 
-
  </ul>
 
-
 
-
  </li>
 
-
 
-
<li><a href="#">Root nav item3</a>
 
-
 
-
  <ul>
 
-
 
-
  <li><a href="#">Sub nav item3</a></li>
 
-
 
-
<li><a href="#">Sub nav item3-2</a></li>
 
-
 
-
  </ul>
 
-
 
-
  </li>
 
-
 
-
  </ul>
 
</body>
</body>
-
 
</html>
</html>

Latest revision as of 08:01, 12 October 2014


    • Messages
    • User Controls
    • Screen Settings
    • Search