Team:ZJU-China/template/project-menu

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
-
<html>
+
.ac-container{
-
<style type="text/css">
+
width: 260px;
-
.flagcounter {
+
text-align: left;
-
text-align: center;
+
}
-
margin-top: 50px;
+
.ac-container label{
-
margin-bottom: 50px;
+
font-family: "Comic Sans MS", cursive;
-
}
+
padding: 5px 20px;
-
.ac-container a {
+
position: relative;
-
color:#333;
+
z-index: 20;
-
}
+
display: block;
-
.ac-container a:hover {
+
height: 30px;
-
color:#666;
+
cursor: pointer;
-
}
+
color: #777;
-
#container-wrapper {
+
text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
-
background-image: url(https://static.igem.org/mediawiki/2013/7/71/Project_menu_background.jpg);
+
line-height: 33px;
-
}
+
font-size: 19px;
-
</style>
+
background: #ffffff;
-
<div class="sidebar1">
+
background: -moz-linear-gradient(top, #ffffff 1%, #eaeaea 100%);
-
      <section class="ac-container">
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#ffffff), color-stop(100%,#eaeaea));
-
        <div>
+
background: -webkit-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
-
            <input id="ac-1" name="accordion-1" type="radio" </html>{{{GhostSensor|}}}<html> />
+
background: -o-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
-
            <label for="ac-1">Ghost Sensor</label>
+
background: -ms-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
-
            <article class="ac-small">
+
background: linear-gradient(top, #ffffff 1%,#eaeaea 100%);
-
              <p>
+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaeaea',GradientType=0 );
-
                <a href="https://2013.igem.org/Team:ZJU-China/Project/GhostSensor/Background">Background</a>
+
box-shadow:
-
<a href="https://2013.igem.org/Team:ZJU-China/Project/GhostSensor/Design">Design</a>
+
0px 0px 0px 1px rgba(155,155,155,0.3),
-
<a href="https://2013.igem.org/Team:ZJU-China/Project/GhostSensor/Results">Results</a>
+
1px 0px 0px 0px rgba(255,255,255,0.9) inset,
-
              </p>
+
0px 2px 2px rgba(0,0,0,0.1);
-
            </article>
+
}
-
        </div>
+
.ac-container label:hover{
-
        <div>
+
background: #fff;
-
            <input id="ac-2" name="accordion-1" type="radio" </html>{{{ElvesCooperation|}}}<html> />
+
}
-
            <label for="ac-2">Elves' Cooperation</label>
+
.ac-container input:checked + label,
-
            <article class="ac-small">
+
.ac-container input:checked + label:hover{
-
              <p>
+
background: #c6e1ec;
-
                <a href="https://2013.igem.org/Team:ZJU-China/Project/ElvesCooperation/Background">Background</a>
+
color: #3d7489;
-
<a href="https://2013.igem.org/Team:ZJU-China/Project/ElvesCooperation/Design">Design</a>
+
text-shadow: 0px 1px 1px rgba(255,255,255, 0.6);
-
<a href="https://2013.igem.org/Team:ZJU-China/Project/ElvesCooperation/Results">Results</a>
+
box-shadow:  
-
<a href="https://2013.igem.org/Team:ZJU-China/Project/Collaboration/Perspectives">Perspectives</a>
+
0px 0px 0px 1px rgba(155,155,155,0.3),
-
              </p>
+
0px 2px 2px rgba(0,0,0,0.1);
-
            </article>
+
}
-
        </div>
+
.ac-container label:hover:after,
-
        <div>
+
.ac-container input:checked + label:hover:after{
-
            <input id="ac-3" name="accordion-1" type="radio" </html>{{{Standardization|}}}<html> />
+
content: '';
-
            <label for="ac-3">Standardization</label>
+
position: absolute;
-
            <article class="ac-small">
+
width: 24px;
-
              <p>
+
height: 24px;
-
                <a href="https://2013.igem.org/Team:ZJU-China/Project/Standardization/Background">Background</a>
+
right: 13px;
-
<a href="https://2013.igem.org/Team:ZJU-China/Project/Standardization/Design">Design</a>
+
top: 7px;
-
<a href="https://2013.igem.org/Team:ZJU-China/Project/Standardization/Results">Results</a>
+
background: transparent url(https://static.igem.org/mediawiki/2013/c/cf/Arrow_down_accordion.png) no-repeat center center;
-
              </p>
+
}
-
            </article>
+
.ac-container input:checked + label:hover:after{
-
        </div>
+
background-image: url(https://static.igem.org/mediawiki/2013/9/96/Arrow_up_accordion.png);
-
        <div>
+
}
-
            <input id="ac-4" name="accordion-1" type="radio" </html>{{{Parts|}}}<html> />
+
.ac-container input{
-
            <label for="ac-4">Parts</label>
+
display: none;
-
            <article class="ac-large">
+
}
-
              <p>
+
.ac-container article{
-
<a href="https://2013.igem.org/Team:ZJU-China/Project/Parts/Overview">Overview</a>
+
background: rgba(255, 255, 255, 0.5);
-
                <a href="http://parts.igem.org/wiki/index.php?title=Part:BBa_K1054000">BBa_K1054000</a>
+
margin-top: -1px;
-
<a href="http://parts.igem.org/wiki/index.php?title=Part:BBa_K1054001">BBa_K1054001</a>
+
overflow: hidden;
-
<a href="http://parts.igem.org/wiki/index.php?title=Part:BBa_K1054002">BBa_K1054002</a>
+
height: 0px;
-
<a href="http://parts.igem.org/wiki/index.php?title=Part:BBa_K1054003">BBa_K1054003</a>
+
position: relative;
-
<a href="http://parts.igem.org/wiki/index.php?title=Part:BBa_K1054007">BBa_K1054007</a>
+
z-index: 10;
-
<a href="http://parts.igem.org/wiki/index.php?title=Part:BBa_K1054008">BBa_K1054008</a>
+
-webkit-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
-
<a href="http://parts.igem.org/wiki/index.php?title=Part:BBa_K1054009">BBa_K1054009</a>
+
-moz-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
-
<a href="http://parts.igem.org/wiki/index.php?title=Part:BBa_K1054010">BBa_K1054010</a>
+
-o-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
-
<a href="http://parts.igem.org/wiki/index.php?title=Part:BBa_K1054011">BBa_K1054011</a>
+
-ms-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
-
<a href="http://parts.igem.org/wiki/index.php?title=Part:BBa_K1054012">BBa_K1054012</a>
+
transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
-
<a href="http://parts.igem.org/wiki/index.php?title=Part:BBa_K1054013">BBa_K1054013</a>
+
}
-
<a href="http://parts.igem.org/wiki/index.php?title=Part:BBa_K1054014">BBa_K1054014</a>
+
.ac-container article p{
-
<a href="http://parts.igem.org/wiki/index.php?title=Part:BBa_K1054015">BBa_K1054015</a>
+
font-style: italic;
-
<a href="http://parts.igem.org/wiki/index.php?title=Part:BBa_K1054016">BBa_K1054016</a>
+
color: #777;
-
<a href="http://parts.igem.org/wiki/index.php?title=Part:BBa_K1054017">BBa_K1054017</a>
+
line-height: 23px;
-
<a href="http://parts.igem.org/wiki/index.php?title=Part:BBa_K1054018">BBa_K1054018</a>
+
font-size: 14px;
-
<a href="http://parts.igem.org/wiki/index.php?title=Part:BBa_K1054019">BBa_K1054019</a>
+
padding: 20px;
-
<a href="http://parts.igem.org/wiki/index.php?title=Part:BBa_K1054020">BBa_K1054020</a>
+
text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
-
<a href="http://parts.igem.org/wiki/index.php?title=Part:BBa_K1054021">BBa_K1054021</a>
+
}
-
<a href="http://parts.igem.org/wiki/index.php?title=Part:BBa_K1054022">BBa_K1054022</a>
+
.ac-container input:checked ~ article{
-
<a href="http://parts.igem.org/wiki/index.php?title=Part:BBa_K1054023">BBa_K1054023</a>
+
-webkit-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
-
              </p>
+
-moz-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
-
            </article>
+
-o-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
-
        </div>
+
-ms-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
-
<div>
+
transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
-
            <input id="ac-5" name="accordion-5" type="radio" </html>{{{Collaboration|}}}<html> />
+
box-shadow: 0px 0px 0px 1px rgba(155,155,155,0.3);
-
            <label for="ac-5">Collaboration</label>
+
}
-
            <article class="ac-small">
+
.ac-container input:checked ~ article.ac-small{
-
              <p>
+
height: 140px;
-
                <a href="https://2013.igem.org/Team:ZJU-China/Project/Collaboration/Background">Background</a>
+
}
-
<a href="https://2013.igem.org/Team:ZJU-China/Project/Collaboration/Design">Design</a>
+
.ac-container input:checked ~ article.ac-medium{
-
<a href="https://2013.igem.org/Team:ZJU-China/Project/Collaboration/Results">Results</a>
+
height: 180px;
-
              </p>
+
}
-
            </article>
+
.ac-container input:checked ~ article.ac-large{
-
        </div>
+
height: 650px;
-
<div>
+
}
-
            <input id="ac-5" name="accordion-1" type="radio" </html>{{{Safety|}}}<html> />
+
.ac-container a {
-
            <label for="ac-5">Safety</label>
+
font-family: Cambria, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
-
            <article class="ac-small">
+
text-decoration: none;
-
              <p>
+
display: block;
-
                <a href="https://2013.igem.org/Team:ZJU-China/Project/Safety/CaCO3Shell">CaCO<sub>3</sub> Shell</a>
+
font-weight: normal;
-
<a href="https://2013.igem.org/Team:ZJU-China/Project/Safety/EcoliSuicide"><i>E.coli</i> Suicide</a>
+
margin: 4px;
-
<a href="https://2013.igem.org/Team:ZJU-China/Project/Safety/SafetyForm">Safety Form</a>
+
font-size: 18px;
-
              </p>
+
}
-
            </article>
+
-
        </div>
+
-
      </section>
+
-
      <div class="flagcounter"><a href="http://info.flagcounter.com/Nqab"><img src="http://s03.flagcounter.com/count/Nqab/bg_FFFFFF/txt_000000/border_CCCCCC/columns_2/maxflags_20/viewers_0/labels_1/pageviews_1/flags_0/" alt="Flag Counter" border="0"></a></div>
+
-
    </div>
+
-
</html>
+

Revision as of 16:53, 24 September 2013

.ac-container{ width: 260px; text-align: left; } .ac-container label{ font-family: "Comic Sans MS", cursive; padding: 5px 20px; position: relative; z-index: 20; display: block; height: 30px; cursor: pointer; color: #777; text-shadow: 1px 1px 1px rgba(255,255,255,0.8); line-height: 33px; font-size: 19px; background: #ffffff; background: -moz-linear-gradient(top, #ffffff 1%, #eaeaea 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#ffffff), color-stop(100%,#eaeaea)); background: -webkit-linear-gradient(top, #ffffff 1%,#eaeaea 100%); background: -o-linear-gradient(top, #ffffff 1%,#eaeaea 100%); background: -ms-linear-gradient(top, #ffffff 1%,#eaeaea 100%); background: linear-gradient(top, #ffffff 1%,#eaeaea 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaeaea',GradientType=0 ); box-shadow: 0px 0px 0px 1px rgba(155,155,155,0.3), 1px 0px 0px 0px rgba(255,255,255,0.9) inset, 0px 2px 2px rgba(0,0,0,0.1); } .ac-container label:hover{ background: #fff; } .ac-container input:checked + label, .ac-container input:checked + label:hover{ background: #c6e1ec; color: #3d7489; text-shadow: 0px 1px 1px rgba(255,255,255, 0.6); box-shadow: 0px 0px 0px 1px rgba(155,155,155,0.3), 0px 2px 2px rgba(0,0,0,0.1); } .ac-container label:hover:after, .ac-container input:checked + label:hover:after{ content: ; position: absolute; width: 24px; height: 24px; right: 13px; top: 7px; background: transparent url(Arrow_down_accordion.png) no-repeat center center; } .ac-container input:checked + label:hover:after{ background-image: url(Arrow_up_accordion.png); } .ac-container input{ display: none; } .ac-container article{ background: rgba(255, 255, 255, 0.5); margin-top: -1px; overflow: hidden; height: 0px; position: relative; z-index: 10; -webkit-transition: height 0.3s ease-in-out, box-shadow 0.6s linear; -moz-transition: height 0.3s ease-in-out, box-shadow 0.6s linear; -o-transition: height 0.3s ease-in-out, box-shadow 0.6s linear; -ms-transition: height 0.3s ease-in-out, box-shadow 0.6s linear; transition: height 0.3s ease-in-out, box-shadow 0.6s linear; } .ac-container article p{ font-style: italic; color: #777; line-height: 23px; font-size: 14px; padding: 20px; text-shadow: 1px 1px 1px rgba(255,255,255,0.8); } .ac-container input:checked ~ article{ -webkit-transition: height 0.5s ease-in-out, box-shadow 0.1s linear; -moz-transition: height 0.5s ease-in-out, box-shadow 0.1s linear; -o-transition: height 0.5s ease-in-out, box-shadow 0.1s linear; -ms-transition: height 0.5s ease-in-out, box-shadow 0.1s linear; transition: height 0.5s ease-in-out, box-shadow 0.1s linear; box-shadow: 0px 0px 0px 1px rgba(155,155,155,0.3); } .ac-container input:checked ~ article.ac-small{ height: 140px; } .ac-container input:checked ~ article.ac-medium{ height: 180px; } .ac-container input:checked ~ article.ac-large{ height: 650px; } .ac-container a { font-family: Cambria, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif; text-decoration: none; display: block; font-weight: normal; margin: 4px; font-size: 18px; }