Difference between revisions of "Template:Bielefeld-CeBiTec/header"

Line 241: Line 241:
 
line-height: 1.5em;
 
line-height: 1.5em;
 
}
 
}
 +
@media (max-width: 1400px) {
 +
    .navbar-header {
 +
        float: none;
 +
    }
 +
    .navbar-left,.navbar-right {
 +
        float: none !important;
 +
    }
 +
    .navbar-toggle {
 +
        display: block;
 +
    }
 +
    .navbar-collapse {
 +
        border-top: 1px solid transparent;
 +
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
 +
    }
 +
    .navbar-fixed-top {
 +
border-width: 0 0 1px;
 +
}
 +
    .navbar-collapse.collapse {
 +
        display: none!important;
 +
    }
 +
    .navbar-nav {
 +
        float: none!important;
 +
margin-top: 7.5px;
 +
}
 +
.navbar-nav>li {
 +
        float: none;
 +
    }
 +
    .navbar-nav>li>a {
 +
        padding-top: 10px;
 +
        padding-bottom: 10px;
 +
    }
 +
    .collapse.in{
 +
  display:block !important;
 +
}
 +
.nomobile {
 +
display: none;
 +
}
 +
 +
#pagenav {
 +
display: none;
 +
}
 +
.navImage{
 +
display:none;
 +
}
 +
}
 +
 +
@media (min-width: 1401px) {
 +
.navbar-header {
 +
display: none;
 +
}
 +
 +
 +
/*2 dropdown*/
  
 +
.dropdown-submenu {
 +
    position:relative;
 +
}
 +
.dropdown-submenu>.dropdown-menu {
 +
    top:0;
 +
    left:100%;
 +
    margin-top:-6px;
 +
    margin-left:-1px;
 +
    -webkit-border-radius:0 6px 6px 6px;
 +
    -moz-border-radius:0 6px 6px 6px;
 +
    border-radius:0 6px 6px 6px;
 +
}
 +
.dropdown-submenu:hover>.dropdown-menu, .dropdown-submenu:focus>.dropdown-menu, .dropdown-submenu:active>.dropdown-menu {
 +
    display:block;
 +
}
 +
.dropdown-submenu>a:after {
 +
    display:block;
 +
    content:" ";
 +
    float:right;
 +
    width:0;
 +
    height:0;
 +
    border-color:transparent;
 +
    border-style:solid;
 +
    border-width:5px 0 5px 5px;
 +
    border-left-color:#cccccc;
 +
    margin-top:5px;
 +
    margin-right:-10px;
 +
}
 +
.dropdown-submenu:hover>a:after, .dropdown-submenu:focus>a:after,.dropdown-submenu:active>a:after {
 +
    border-left-color:#ffffff;
 +
}
 +
.dropdown-submenu.pull-left {
 +
    float:none;
 +
}
 +
.dropdown-submenu.pull-left>.dropdown-menu {
 +
    left:-100%;
 +
    margin-left:10px;
 +
    -webkit-border-radius:6px 0 6px 6px;
 +
    -moz-border-radius:6px 0 6px 6px;
 +
    border-radius:6px 0 6px 6px;
 +
}
  
  
Line 294: Line 388:
 
<ul class="dropdown-menu dropdown-content">
 
<ul class="dropdown-menu dropdown-content">
 
<li><a href="https://2016.igem.org/Team:Bielefeld-CeBiTec/Description">Description</a></li>
 
<li><a href="https://2016.igem.org/Team:Bielefeld-CeBiTec/Description">Description</a></li>
<li><a href="https://2016.igem.org/Team:Bielefeld-CeBiTec/Project/Library">Library</a></li>
+
<li class="navbar_button dropdown dropdown-submenu">
 +
<a href="https://2016.igem.org/Team:Bielefeld-CeBiTec/Project/Library">Library</a>
 +
<ul class="dropdown-menu dropdown-content">
 +
<li><a href="https://2016.igem.org/Team:Bielefeld-CeBiTec/Project/Library">Overview</a></li>
 +
</ul>
 +
 +
</li>
 
<li><a href="https://2016.igem.org/Team:Bielefeld-CeBiTec/Project/Mutation">Mutation</a></li>
 
<li><a href="https://2016.igem.org/Team:Bielefeld-CeBiTec/Project/Mutation">Mutation</a></li>
 
<li><a href="https://2016.igem.org/Team:Bielefeld-CeBiTec/Project/Selection">Selection</a></li>
 
<li><a href="https://2016.igem.org/Team:Bielefeld-CeBiTec/Project/Selection">Selection</a></li>

Revision as of 13:29, 15 October 2016