Team:Groningen/Templates/Navigationbar

From 2013.igem.org

(Difference between revisions)
 
(62 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
 
-
 
<style>
<style>
-
body {
+
.accordion,
-
  background: #e5e5e7;
+
.accordion ul,
-
}
+
.accordion li,
-
nav {
+
.accordion a,
-
font-family: Helvetica, Arial, "Lucida Grande", sans-serif;
+
.accordion span {
-
  line-height: 1.5;
+
    margin: 0;
-
  width: 160px;
+
    padding: 0;
-
  -webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
+
    border: none;
-
    -moz-box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
+
    outline: none;
-
          box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
+
}
}
   
   
-
.menu-item {
+
.accordion li {
-
  background: #fff;
+
    list-style: none;
-
  width: 160px;  
+
}
}
-
/*Menu Header Styles*/
+
.accordion li > a {
-
.menu-item h4 {
+
    display: block;
-
  border-bottom: 1px solid rgba(0,0,0,0.3);
+
    height:32px;
-
  border-top: 1px solid rgba(255,255,255,0.2);
+
    border-bottom: 1px solid rgba(0,0,0,0.3);
-
  color: #fff;
+
    border-top: 1px solid rgba(255,255,255,0.2);
-
  font-size: 15px;
+
    line-height: 1.5;
-
  font-weight: 500;
+
    position: relative;
-
  padding: 7px 12px;
+
    width: 130px;
-
 
+
    font-size: 15px;
 +
    font-weight: 500;
 +
    padding: 7px 12px;
 +
    /*padding: 0 10px 0 40px;*/
 +
 +
    color: #fdfdfd;
 +
    font: normal bold 12px/18px Arial, sans-serif;
 +
    text-decoration: none;
 +
    text-shadow: 0px 1px 0px rgba(0,0,0, .35);
 +
   /*Gradient Heb deze site gebruikt om dit te maken: http://www.colorzilla.com/gradient-editor/*/
   /*Gradient Heb deze site gebruikt om dit te maken: http://www.colorzilla.com/gradient-editor/*/
background: rgb(0,71,171); /* Old browsers */
background: rgb(0,71,171); /* Old browsers */
Line 40: Line 45:
}
}
-
.menu-item:hover ul {
 
-
  height: 132px;
 
-
}
 
-
#menu-item-1:hover ul {
+
.sub-menu li a {
-
height: 32px;
+
    color: #797979;
 +
    text-shadow: 1px 1px 0px rgba(255,255,255, .2);
 +
 +
    background: #e5e5e5;
 +
    border-bottom: 1px solid #c9c9c9;
 +
 +
    -webkit-box-shadow: inset 0px 1px 0px 0px rgba(255,255,255, .1), 0px 1px 0px 0px rgba(0,0,0, .1);
 +
    -moz-box-shadow: inset 0px 1px 0px 0px rgba(255,255,255, .1), 0px 1px 0px 0px rgba(0,0,0, .1);
 +
    box-shadow: inset 0px 1px 0px 0px rgba(255,255,255, .1), 0px 1px 0px 0px rgba(0,0,0, .1);
}
}
-
#menu-item-2:hover ul {
+
-
height: 63px;
+
.sub-menu li:last-child a { border: none; }
 +
 +
.sub-menu li > a span {
 +
    color: #797979;
 +
    text-shadow: 1px 1px 0px rgba(255,255,255, .2);
 +
    background: transparent;
 +
    border: 1px solid #c9c9c9;
 +
 +
    -webkit-box-shadow: none;
 +
    -moz-box-shadow: none;
 +
    box-shadow: none;
}
}
-
#menu-item-3:hover ul {
+
-
height: 93px;
+
.sub-menu em {
-
}
+
    position: absolute;
-
#menu-item-4:hover ul {
+
    top: 0;
-
height: 127px;
+
    left: 0;
-
}
+
    margin-left: 14px;
-
#menu-item-5:hover ul {
+
    color: #a6a6a6;
-
height: 153px;
+
    font: normal 10px/32px Arial, sans-serif;
-
}
+
-
#menu-item-6:hover ul {
+
-
height: 183px;
+
}
}
-
 
+
.accordion > li:hover > a{
-
.menu-item h4:hover {
+
  background: rgb(0,71,171); /* Old browsers */
-
background: rgb(0,71,171); /* Old browsers */
+
background: -moz-linear-gradient(left, rgba(0,71,171,1) 100%, rgba(125,185,232,1) 100%); /* FF3.6+ */
background: -moz-linear-gradient(left, rgba(0,71,171,1) 100%, rgba(125,185,232,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(100%,rgba(0,71,171,1)), color-stop(100%,rgba(125,185,232,1))); /* Chrome,Safari4+ */
background: -webkit-gradient(linear, left top, right top, color-stop(100%,rgba(0,71,171,1)), color-stop(100%,rgba(125,185,232,1))); /* Chrome,Safari4+ */
Line 76: Line 92:
   background: #F68924;
   background: #F68924;
/* IE6-9 */
/* IE6-9 */
-
}
 
-
 
-
 
-
 
-
/*ul Styles*/
 
-
.menu-item ul {
 
-
  background: #fff;
 
-
  font-size: 13px;
 
-
  line-height: 30px;
 
-
  height: 0px;
 
-
  list-style-type: none;
 
-
  overflow: hidden;
 
-
  padding: 0px;
 
-
 
 
-
  /*Animation*/
 
-
  -webkit-transition: height 1s ease;
 
-
    -moz-transition: height 1s ease;
 
-
      -o-transition: height 1s ease;
 
-
      -ms-transition: height 1s ease;
 
-
          transition: height 1s ease;
 
}
}
-
.menu-item ul a {
+
.accordion > li:target > a {
-
  margin-left: 20px;
+
    color: #fff;
-
  text-decoration: none;
+
   
-
  color: black;
+
/* IE6-9 */}
-
  display: block;
+
-
  width: 160px;
+
.accordion > li:hover > a span,
 +
.accordion > li:target > a span {
 +
    color: #fdfdfd;
 +
    text-shadow: 0px 1px 0px rgba(0,0,0, .35);
 +
    background: #3e5706;
}
}
   
   
-
/*li Styles*/
+
.sub-menu li:hover a { background: #F68924; }
-
.menu-item li {
+
 
-
  border-bottom: 1px solid #eee;
+
.accordion li > .sub-menu {
 +
    height: 0;
 +
    overflow: hidden;
 +
 +
    -webkit-transition: all .2s ease-in-out;
 +
    -moz-transition: all .2s ease-in-out;
 +
    -o-transition: all .2s ease-in-out;
 +
    -ms-transition: all .2s ease-in-out;
 +
    transition: all .2s ease-in-out;
}
}
   
   
-
.menu-item li:hover {
+
.accordion li:target > .sub-menu {
-
  background: #F68924;
+
    height:100%;
}
}
-
/*First Item Styles*/
 
-
.alpha p {
 
-
    font-size: 13px;
 
-
    padding: 8px 12px;
 
-
    color: #aaa;
 
-
}
 
-
.menu-item h4 a {
 
-
  color: white;
 
-
  display: block;
 
-
  text-decoration: none;
 
-
  width: 160px;
 
-
}
 
</style>
</style>
-
 
<nav>
<nav>
-
    <div class="menu-item alpha">
 
-
      <h4><a href="https://2013.igem.org/Team:Groningen">Home</a></h4>
 
-
 
 
-
    </div>
 
-
     
 
-
    <div class="menu-item" id="menu-item-4">
 
-
      <h4><a href="https://2013.igem.org/Team:Groningen/Navigation/Team" >Team</a></h4>
 
-
      <ul>
 
-
        <li><a href="https://igem.org/Team.cgi?id=1085" target="_blank" >Official profile</a></li>
 
-
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Acknowledgements">Acknowledgements</a></li>
 
-
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Attributions">Attributions</a></li>
 
-
        <li><a href="https://2013.igem.org/Team:Groningen/photos">Gallery</a></li>
 
-
      </ul>
+
<ul class="accordion">
-
    </div>
+
-
     
+
<li id="one" class="files"><a href="https://2013.igem.org/Team:Groningen">Home</a>
-
    <div class="menu-item" id="menu-item-4">
+
-
      <h4><a href="https://2013.igem.org/Team:Groningen/Navigation/Project">Project</a></h4>
+
<li id="two" class="files" class="navigation"><a href="#two">Team</a>
-
      <ul>
+
-
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Silk">Silk</a></li>
+
  <ul class="sub-menu" >
-
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/SilkSecretion">Silk Secretion</a></li>
+
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Team#two">Team</a></li>
-
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Motility">Coating Mechanism</a></li>
+
         <li><a href="https://igem.org/Team.cgi?id=1085" target="_blank"  >Official profile</a></li>
-
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Biofilm">Backbone</a></li>
+
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Acknowledgements#two" >Acknowledgements</a></li>
-
      </ul>
+
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Attributions#two" >Attributions</a></li>
-
    </div>
+
         <li><a href="https://2013.igem.org/Team:Groningen/photos#two" >Gallery</a></li>
-
<div class="menu-item" id="menu-item-2">
+
  </ul>
-
      <h4>Wet Lab</a></h4>
+
</li>
-
      <ul>
+
-
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/experiments">Experiments</a></li>
+
-
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Protocols">Protocols</a></li>  
+
-
      </ul>
+
-
    </div>
+
-
     
+
-
    <div class="menu-item" id="menu-item-2">
+
-
      <h4><a href="https://2013.igem.org/Team:Groningen/Navigation/Modeling">Modeling</a></h4>
+
-
      <ul>
+
-
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Codonoptimization">Codon optimization</a></li>
+
-
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Heatmotility"">Heat Motility</a></li>
+
-
      </ul>
+
-
    </div>
+
-
<div class="menu-item">
+
<li id="three" class="files" class="navigation"><a href="#three" >Spider silk</a>
-
      <h4><a href="https://2013.igem.org/Team:Groningen/Navigation/Notebook">Labjournal</a></h4>
+
-
    </div>    
+
<ul class="sub-menu" >
 +
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Silk#three" >Overview</a></li>
 +
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Background#three" >Background</a></li>
 +
  </ul>
 +
</li>
-
<div class="menu-item">
+
<li id="four" class="sign" class="navigation"><a href="#four">Project</a>
-
      <h4><a href="https://2013.igem.org/Team:Groningen/Navigation/Parts">Submitted Parts</a></h4>
+
<ul class="sub-menu" >
-
    </div>  
+
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Project#four" >Introduction</a></li>
 +
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Construct#four" >Backbone</a></li>
 +
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/SilkAssemblyShop#four" >Silk Assembly Shop</a></li>
 +
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Motility#four" >Stay Warm, Stay Close</a></li>
 +
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/SilkSecretion#four" >The Future</a></li>
 +
  </ul>
 +
</li>
 +
 +
<li id="five" class="sign" class="navigation"><a href="#five" target="_self">Wet Lab</a>
 +
<ul class="sub-menu">
 +
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/experiments#five" target="_self">Experiments</a></li>
 +
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Protocols#five" target="_self">Protocols</a></li>
 +
  </ul>
 +
</li>
-
    <div class="menu-item" id="menu-item-5">
+
<li id="six" class="sign" class="navigation"><a href="#six" target="_top">Modeling</a>
-
      <h4><a href="https://2013.igem.org/Team:Groningen/Navigation/Outreach">Outreach</a></h4>
+
<ul class="sub-menu">
-
      <ul>
+
-
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/noas">Night of <br>Art & Science</a></li>
+
-
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Indiansummer">Indian summer</a></li>
+
-
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/summerschool">Summerschool</a></li>
+
-
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Symposia">Symposia</a></li>
+
-
      </ul>
+
-
    </div>
+
-
   
+
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Heatmotility#six" >Heat Motility</a></li>
 +
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Codonoptimization#six" >Codon optimization</a></li>
-
   
+
  </ul>
-
<div class="menu-item" id="menu-item-2">
+
</li>
-
      <h4><a href="https://2013.igem.org/Team:Groningen/Navigation/Achievements">Achievements</a></h4>
+
 
-
      <ul>
+
<li id="seven" class="sign"><a href="https://2013.igem.org/Team:Groningen/Navigation/Notebook">Labjournal</a></li>
-
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Medals">Medal fulfillment</a></li>
+
 
-
         <!--<li><a href="https://2013.igem.org/Team:Groningen/Navigation/Parts">Submitted parts</a></li>-->
+
<li id="eight" class="sign"><a href="https://2013.igem.org/Team:Groningen/Navigation/Parts">Submitted Parts</a></li>
-
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/PartsCollaboration">Collaboration</a></li>
+
 
-
      </ul>
+
<li id="nine" class="sign" class="navigation"><a href="#nine" target="_top">Outreach</a>
-
    </div>
+
<ul class="sub-menu" >
-
<div class="menu-item">
+
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/noas#nine" >Night of <br>Art & Science</a></li>
-
      <h4><a href="https://2013.igem.org/Team:Groningen/Navigation/Safety">Safety</a></h4>
+
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Indiansummer#nine" >Indian summer</a></li>
-
    </div>
+
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/summerschool#nine" >Summerschool</a></li>
 +
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Symposia#nine" >Symposia</a></li>
 +
  </ul>
 +
</li>
 +
 
 +
<li id="ten" class="sign" class="navigation"><a href="#ten" target="_top">Achievements</a>
 +
<ul class="sub-menu">
 +
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Medals#ten" >Medal fulfillment</a></li>
 +
         <li><a href="https://2013.igem.org/Team:Groningen/Navigation/PartsCollaboration#ten" >Collaboration</a></li>
 +
  </ul>
 +
</li>
 +
 
 +
<li id="eleven" class="sign"><a href="https://2013.igem.org/Team:Groningen/Navigation/Safety">Safety</a></li>
 +
 
 +
<li id="twelve" class="sign" class="navigation"><a href="#twelve" >Sponsors</a>
 +
<ul class="sub-menu">
 +
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Sponsors#twelve">Sponsors</a></li>
 +
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Donations#twelve" >How to donate</a></li>
 +
  </ul>
 +
</li>
 +
 
 +
<li id="eleven" class="sign"><a <a href="https://2013.igem.org/Team:Groningen/Navigation/Contact">Contact</a></li>
-
<div class="menu-item" id="menu-item-1">
 
-
      <h4>Wiki</h4>
 
-
      <ul>
 
-
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/BasicWikiFAQ">Add page FAQ</a></li>
 
-
      </ul>
 
-
    </div>
 
-
<div class="menu-item" id="menu-item-1">
 
-
      <h4><a href="https://2013.igem.org/Team:Groningen/Navigation/Sponsors"</a>Sponsors</h4>
 
-
      <ul>
 
-
        <li><a href="https://2013.igem.org/Team:Groningen/Navigation/Donations">How to donate</a></li>
 
-
      </ul>
 
-
    </div>
 
-
<div class="menu-item">
 
-
      <h4><a href="https://2013.igem.org/Team:Groningen/Navigation/Contact">Contact</a></h4>
 
-
    </div>
 
</nav>
</nav>
 +
 +
</html>

Latest revision as of 03:05, 5 October 2013