Team:TU Eindhoven/Style:NavPanel

From 2014.igem.org

(Difference between revisions)
 
(162 intermediate revisions not shown)
Line 1: Line 1:
-
/*Start Initialization*/
+
/* Start Initialization */
-
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,dl,dt,dd,ol,nav,ul,nav,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video {
+
#menubar > ul {
-
   margin:0;
+
   margin:5px 0px 0px 0px;
-
  padding:0;
+
-
  border:0;
+
-
  font-size:100%;
+
-
  vertical-align:baseline;
+
}
}
-
article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {
+
/* End Initialization */
-
  display: block;
+
-
}
+
-
ol,ul {
 
-
  list-style:none;
 
-
  margin:0;
 
-
  padding:0;
 
-
}
 
-
blockquote,q {
+
/* Start Removing iGEM Style */
-
  quotes:none;
+
-
}
+
-
 
+
-
blockquote:before,blockquote:after,q:before,q:after {
+
-
  content:'';
+
-
  content:none;
+
-
}
+
-
 
+
-
table {
+
-
  border-collapse:collapse;
+
-
  border-spacing:0;
+
-
}
+
-
 
+
-
/*End Initialization*/
+
-
 
+
-
 
+
-
/* Removing iGEM Style */
+
#searchInput, #contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
#searchInput, #contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
-
   display: none;
+
   display:none;
}
}
#content {
#content {
-
font-family: 'Open Sans', sans-serif;
+
  font-family: 'Open Sans', sans-serif;
-
   width: auto;
+
   width:auto;
   padding:0px;
   padding:0px;
-
   border: none;
+
   border:none;
   background:none;
   background:none;
}
}
#globalWrapper {
#globalWrapper {
-
width: auto;
+
  width:auto;
   padding:0px;
   padding:0px;
}
}
 +
#top-section {
 +
  height:10%;
 +
  width:100%;
 +
  border:none;
 +
  border-top:none;
 +
}
-
/* Customizing standard iGEM navigation panel */
+
/* End Removing iGEM Style */
-
#iGEMLOGO{
 
-
position: absolute;
 
-
right: 10px;
 
-
top: 15px;
 
-
}
 
-
#iGEMLOGO:hover{
 
-
color: #00BAC6;
 
-
        text-decoration: none;
 
-
}
 
-
#top-section{
+
/* Start Customizing iGEM Menubar */
-
  height:10%;
+
-
  width: 100%;
+
-
  border: none;
+
-
 
+
-
  border-top: none;
+
-
}
+
#menubar {
#menubar {
-
   display: table-cell;
+
   display:table-cell;
-
   width:100px;
+
   width:auto;
-
   height: 19px;
+
   height:auto;
   opacity:0;
   opacity:0;
 +
  font-size:14px;
   padding-top:5px;
   padding-top:5px;
   background:none;
   background:none;
-
 
}
}
-
 
#menubar:hover{
#menubar:hover{
-
   display: table-cell;
+
   display:table-cell;
-
   width:100px;
+
   width:auto;
-
   height: auto;
+
   height:auto;
   opacity:1;
   opacity:1;
-
   font-size: 14px;
+
   font-size:14px;
   padding-top:5px;
   padding-top:5px;
   background:none;
   background:none;
Line 98: Line 60:
#menubar.left-menu {
#menubar.left-menu {
-
   padding-left:2%
+
  padding-top:5px;
 +
   padding-left:2%;
}
}
#menubar.right-menu {
#menubar.right-menu {
   text-align: right;
   text-align: right;
-
   padding-right:8%;
+
   padding-right:2%;
   padding-top:5px;
   padding-top:5px;
}
}
Line 131: Line 94:
}
}
-
a
+
/* End Customizing iGEM Menubar */
-
  {text-decoration:none;}
+
-
.txt-rt{text-align:right;}/* text align right */
+
-
.txt-lt{text-align:left;}/* text align left */
+
-
.txt-center{text-align:center;}/* text align center */
+
-
.float-rt{float:right;}/* float right */
+
-
.float-lt{float:left;}/* float left */
+
-
.clear{clear:both;}/* clear float */
+
-
.pos-relative{position:relative;}/* Position Relative */
+
-
.pos-absolute{position:absolute;}/* Position Absolute */
+
-
.vertical-base{ vertical-align:baseline;}/* vertical align baseline */
+
-
.vertical-top{ vertical-align:top;}/* vertical align top */
+
-
.underline{ padding-bottom:5px; border-bottom: 1px solid #eee; margin:0 0 20px 0;}/* Add 5px bottom padding and a underline */
+
-
nav.vertical ul li{ display:block;}/* vertical menu */
+
-
nav.horizontal ul li{ display: inline-block;}/* horizontal menu */
+
-
img{max-width:100%;}
+
-
/*end reset*/
+
-
body {
+
-
  background:  white;
+
-
  font-family: 'Open Sans', sans-serif;
+
-
  font-size: 100%;}
+
-
.header_btm{
 
-
background: url('https://static.igem.org/mediawiki/2014/b/b9/Footer_bg_TU_Eindhoven.png');
+
/* Start Customizing TU Eindhoven Menubar */
-
height: auto;
+
-
}
+
-
.header_sub{
+
-
padding: 2% 8% 2%;
+
-
width:auto;
+
-
}
+
-
 
-
/* start menu */
 
-
 
-
.h_menu{
 
-
float:left;
 
-
 
-
 
-
 
-
}
 
-
.h_menu ul li{
 
-
margin-right:20px;
 
-
float: left;
 
-
 
-
}
 
-
.h_menu ul li.active a{
 
-
color: #00BAC6;
 
-
 
-
}
 
-
.h_menu ul li a{
 
-
display:block;
 
-
padding: 25px 10px;
 
-
text-transform: uppercase;
 
-
font-size: 0.925em;
 
-
color:#c9c9c9;
 
-
font-weight: 600;
 
-
-webkit-transition: all 0.3s ease-in-out;
 
-
-moz-transition: all 0.3s ease-in-out;
 
-
-o-transition: all 0.3s ease-in-out;
 
-
transition: all 0.3s ease-in-out;
 
-
 
-
}
 
-
.h_menu ul li a:hover{
 
-
color: #00BAC6;
 
-
        text-decoration: none;
 
-
 
-
}
 
-
 
-
 
-
/*Start TU Eindhoven 2014 Menu Customization*/
 
#cssmenu {
#cssmenu {
-
  background: url('https://static.igem.org/mediawiki/2014/b/b9/Footer_bg_TU_Eindhoven.png');
+
  background: url('https://static.igem.org/mediawiki/2014/b/b9/Footer_bg_TU_Eindhoven.png');
-
  margin: 0;
+
  margin: 0;
-
  width: auto;
+
  width: auto;
-
  height:auto;
+
  height: auto;
-
  line-height: 1;
+
  line-height: 1;
-
  display: block;
+
  display: block;
-
  padding: 1% 6%;
+
  padding: 1% 3%;
-
  position: relative;
+
  position: relative;
-
  font-family: 'Open Sans', sans-serif;
+
  font-family: 'Open Sans', sans-serif;
-
  z-index:100;
+
  font-size:18px;
 +
  z-index:110;
}
}
 +
#cssmenu ul {
#cssmenu ul {
-
  list-style: none;
+
  list-style: none;
-
  height:auto;
+
  height:auto;
-
  margin: 0;
+
  width:auto;
-
  display: block;
+
  margin:0;
 +
  display: block;
}
}
#cssmenu ul:after,
#cssmenu ul:after,
#cssmenu:after {
#cssmenu:after {
-
  content: " ";
+
  content: " ";
-
  display: block;
+
  display: block;
-
  font-size: 0;
+
  font-size: 0;
-
  height: 0;
+
  height: 0;
-
  clear: both;
+
  clear: both;
-
  visibility: hidden;
+
  visibility: hidden;
}
}
#cssmenu ul li {
#cssmenu ul li {
-
  margin: 0;
+
  margin: 0;
-
  padding: 0% 1%;
+
  padding: 0.8% 0.25% 0% 0.25%;
-
  display: block;
+
  display: block;
-
  position: relative;
+
  position: relative;
 +
  height:66px;
}
}
 +
#cssmenu ul li a {
#cssmenu ul li a {
-
  text-decoration: none;
+
  text-decoration: none;
-
  display: block;
+
  display: block;
-
  margin: 0;
+
  margin: 0;
-
  -webkit-transition: color .4s ease;
+
  -webkit-transition: color .3s ease;
-
  -moz-transition: color .4s ease;
+
  -moz-transition: color .3s ease;
-
  -ms-transition: color .4s ease;
+
  -ms-transition: color .3s ease;
-
  -o-transition: color .4s ease;
+
  -o-transition: color .3s ease;
-
  transition: color .4s ease;
+
  transition: color .3s ease;
-
  -webkit-box-sizing: border-box;
+
  -webkit-box-sizing: border-box;
-
  -moz-box-sizing: border-box;
+
  -moz-box-sizing: border-box;
-
  box-sizing: border-box;
+
  box-sizing: border-box;
}
}
 +
#cssmenu ul li ul {
#cssmenu ul li ul {
-
  position: absolute;
+
  position: absolute;
-
  left: -9999px;
+
  left: -9999px;
-
  top: auto;
+
  top: auto;
-
  z-index:50;
+
  z-index:100;
 +
  background: url('https://static.igem.org/mediawiki/2014/b/b9/Footer_bg_TU_Eindhoven.png');
}
}
 +
#cssmenu ul li ul li {
#cssmenu ul li ul li {
-
  max-height: 0;
+
  max-height: 0;
-
  position: absolute;
+
  position: absolute;
-
  -webkit-transition: max-height 0.3s ease-out;
+
  -webkit-transition: max-height 0.3s ease-out;
-
  -moz-transition: max-height 0.3s ease-out;
+
  -moz-transition: max-height 0.3s ease-out;
-
  -ms-transition: max-height 0.3s ease-out;
+
  -ms-transition: max-height 0.3s ease-out;
-
  -o-transition: max-height 0.3s ease-out;
+
  -o-transition: max-height 0.3s ease-out;
-
  transition: max-height 0.3s ease-out;
+
  transition: max-height 0.3s ease-out;
-
  background: url('https://static.igem.org/mediawiki/2014/b/b9/Footer_bg_TU_Eindhoven.png')
+
}
}
#cssmenu ul li ul li a {
#cssmenu ul li ul li a {
-
  font-size: 0.9em;
+
  font-size: 14px;
-
  font-weight: 400;
+
  font-weight: 400;
-
  text-transform: none;
+
  text-transform: none;
-
  color: #c9c9c9;
+
  color: #c9c9c9;
-
  letter-spacing: 0;
+
  letter-spacing: 0;
-
  display: block;
+
  display: block;
-
  padding: 10% 15%;
+
  padding: 25px 32px;
-
  -webkit-transition: color .4s ease;
+
  -webkit-transition: color .3s ease;
-
  -moz-transition: color .4s ease;
+
  -moz-transition: color .3s ease;
-
  -ms-transition: color .4s ease;
+
  -ms-transition: color .3s ease;
-
  -o-transition: color .4s ease;
+
  -o-transition: color .3s ease;
-
  transition: color .4s ease;
+
  transition: color .3s ease;
-
  -webkit-box-sizing: border-box;
+
  -webkit-box-sizing: border-box;
-
  -moz-box-sizing: border-box;
+
  -moz-box-sizing: border-box;
-
  box-sizing: border-box;
+
  box-sizing: border-box;
}
}
#cssmenu ul li ul li:hover > ul {
#cssmenu ul li ul li:hover > ul {
-
  left: 100%;
+
  left: 100%;
-
  top: 0;
+
  top: 0;
}
}
 +
#cssmenu ul li ul li:hover > ul > li {
#cssmenu ul li ul li:hover > ul > li {
-
  max-height: 72px;
+
  position: relative;
-
  position: relative;
+
  max-height: 72px;
}
}
 +
#cssmenu > ul > li {
#cssmenu > ul > li {
-
  float: left;
+
  float: left;
}
}
 +
#cssmenu.align-center > ul > li {
#cssmenu.align-center > ul > li {
-
  float: none;
+
  float: none;
-
  display: inline-block;
+
  display: inline-block;
}
}
 +
#cssmenu.align-center > ul {
#cssmenu.align-center > ul {
-
  text-align: center;
+
  text-align: center;
}
}
 +
#cssmenu.align-center ul ul {
#cssmenu.align-center ul ul {
-
  text-align: left;
+
  text-align: left;
}
}
 +
#cssmenu.align-right > ul {
#cssmenu.align-right > ul {
-
  float: right;
+
  float: right;
}
}
 +
#cssmenu.align-right > ul > li:hover > ul {
#cssmenu.align-right > ul > li:hover > ul {
-
  left: auto;
+
  left: auto;
-
  right: 0;
+
  right: 0;
}
}
 +
#cssmenu.align-right ul ul li:hover > ul {
#cssmenu.align-right ul ul li:hover > ul {
-
  right: 100%;
+
  right: 100%;
-
  left: auto;
+
  left: auto;
}
}
 +
#cssmenu.align-right ul ul li a {
#cssmenu.align-right ul ul li a {
-
  text-align: right;
+
  text-align: right;
}
}
 +
#cssmenu > ul > li:after {
#cssmenu > ul > li:after {
-
  content: "";
+
  content: "";
-
  display: block;
+
  display: block;
-
  position: absolute;
+
  position: absolute;
-
  width: 100%;
+
  width: 100%;
-
  height: 0;
+
  height: 0;
-
  top: 0;
+
  top: 0;
-
  z-index: 0;
+
  z-index: 0;
-
  background: none;
+
  background: none;
-
  -webkit-transition: height .2s;
+
  -webkit-transition: height .3s;
-
  -moz-transition: height .2s;
+
  -moz-transition: height .3s;
-
  -ms-transition: height .2s;
+
  -ms-transition: height .3s;
-
  -o-transition: height .2s;
+
  -o-transition: height .3s;
-
  transition: height .2s;
+
  transition: height .3s;
}
}
#cssmenu > ul > li > a {
#cssmenu > ul > li > a {
-
  color: #c9c9c9;
+
  color: #c9c9c9;
-
  padding: 15px 20px;
+
  padding: 15px 20px;
-
  font-weight: 700;
+
  font-weight: 700;
-
  letter-spacing: 1px;
+
  letter-spacing: 1px;
-
  text-transform: uppercase;
+
  text-transform: uppercase;
-
  font-size: 1.1em;
+
  z-index: 100;
-
  z-index: 50;
+
  position: relative;
-
  position: relative;
+
}
}
-
#cssmenu > ul > li:hover:after,
+
#cssmenu > ul > li:hover:after, #cssmenu > ul > li:active:after {
-
#cssmenu > ul > li:active:after {
+
  height: 100%;
-
  height: 100%;
+
}
}
-
#cssmenu > ul > li:hover > a,
+
 
-
#cssmenu > ul > li:active > a {
+
#cssmenu > ul > li:hover > a, #cssmenu > ul > li:active > a {
-
  color: #00BAC6;
+
  color: #00BAC6;
}
}
-
#cssmenu > ul > li > ul > li:hover > a,
+
 
-
#cssmenu > ul > li > ul > li:active > a {
+
#cssmenu > ul > li > ul > li:hover > a, #cssmenu > ul > li > ul > li:active > a {
-
  color: #00BAC6;
+
  color: #00BAC6;
}
}
-
#cssmenu > ul > li > ul > li > ul > li:hover > a,
+
 
-
#cssmenu > ul > li > ul > li > ul > li:active > a {
+
#cssmenu > ul > li > ul > li > ul > li:hover > a, #cssmenu > ul > li > ul > li > ul > li:active > a {
-
  color: #00BAC6;
+
  color: #00BAC6;
}
}
 +
 +
#cssmenu > ul > li > ul > li > ul > li > ul> li:hover > a, #cssmenu > ul > li > ul > li > ul > li > ul> li:active > a {
 +
  color: #00BAC6;
 +
}
 +
#cssmenu > ul > li:hover > ul {
#cssmenu > ul > li:hover > ul {
-
  left: 0;
+
  left: 0;
}
}
 +
#cssmenu > ul > li:hover > ul > li {
#cssmenu > ul > li:hover > ul > li {
-
  max-height: 72px;
+
  max-height: 72px;
-
  position: relative;
+
  position: relative;
}
}
 +
#cssmenu #menu-button {
#cssmenu #menu-button {
-
  display: none;
+
  display: none;
}
}
 +
#cssmenu > ul > li > a {
#cssmenu > ul > li > a {
-
  display: block;
+
  display: block;
}
}
 +
#cssmenu > ul > li {
#cssmenu > ul > li {
-
  width: auto;
+
  width:auto;
}
}
 +
#cssmenu > ul > li.has-sub > ul {
#cssmenu > ul > li.has-sub > ul {
-
  width: 150%;
+
  width: 275px;
-
  display: block;
+
  display: block;
}
}
 +
#cssmenu > ul > li.has-sub > ul > li.has-sub > ul {
#cssmenu > ul > li.has-sub > ul > li.has-sub > ul {
-
  width: 100%;
+
  width: 100%;
-
  display: block;
+
  display: block;
}
}
 +
 +
/* End Customizing TU Eindhoven Menubar */

Latest revision as of 05:23, 13 September 2014

/* Start Initialization */

  1. menubar > ul {
  margin:5px 0px 0px 0px;

}

/* End Initialization */


/* Start Removing iGEM Style */

  1. searchInput, #contentSub, #search-controls, .firstHeading, #footer-box, #catlinks, #p-logo {
  display:none;

}

  1. content {
  font-family: 'Open Sans', sans-serif;
  width:auto;
  padding:0px;
  border:none;
  background:none;

}

  1. globalWrapper {
  width:auto;
  padding:0px;

}

  1. top-section {
  height:10%;
  width:100%;
  border:none;
  border-top:none;

}

/* End Removing iGEM Style */


/* Start Customizing iGEM Menubar */

  1. menubar {
  display:table-cell;
  width:auto;
  height:auto;
  opacity:0;
  font-size:14px;
  padding-top:5px;
  background:none;

}

  1. menubar:hover{
  display:table-cell;
  width:auto;
  height:auto;
  opacity:1;
  font-size:14px;
  padding-top:5px;
  background:none;

}

  1. menubar.left-menu {
  padding-top:5px;
  padding-left:2%;

}

  1. menubar.right-menu {
  text-align: right;
  padding-right:2%;
  padding-top:5px;

}

  1. menubar.left-menu a {
  border: none;
  color: #454545;

}

  1. menubar.right-menu a {
  border: none;
  color: #454545;

}

  1. menubar * {
  background: transparent;

}

  1. menubar * a:hover{
  color: #00BAC6;
  text-decoration: none;

}

  1. menubar > ul > li:last-child {
  display: none;

}

/* End Customizing iGEM Menubar */


/* Start Customizing TU Eindhoven Menubar */

  1. cssmenu {
  background: url('https://static.igem.org/mediawiki/2014/b/b9/Footer_bg_TU_Eindhoven.png');
  margin: 0;
  width: auto;
  height: auto;
  line-height: 1;
  display: block;
  padding: 1% 3%;
  position: relative;
  font-family: 'Open Sans', sans-serif;
  font-size:18px;
  z-index:110;

}

  1. cssmenu ul {
  list-style: none;
  height:auto;
  width:auto;
  margin:0;
  display: block;

}

  1. cssmenu ul:after,
  2. cssmenu:after {
  content: " ";
  display: block;
  font-size: 0;
  height: 0;
  clear: both;
  visibility: hidden;

}

  1. cssmenu ul li {
  margin: 0;
  padding: 0.8% 0.25% 0% 0.25%;
  display: block;
  position: relative;
  height:66px;

}

  1. cssmenu ul li a {
  text-decoration: none;
  display: block;
  margin: 0;
  -webkit-transition: color .3s ease;
  -moz-transition: color .3s ease;
  -ms-transition: color .3s ease;
  -o-transition: color .3s ease;
  transition: color .3s ease;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

}

  1. cssmenu ul li ul {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index:100;
  background: url('https://static.igem.org/mediawiki/2014/b/b9/Footer_bg_TU_Eindhoven.png');

}

  1. cssmenu ul li ul li {
  max-height: 0;
  position: absolute;
  -webkit-transition: max-height 0.3s ease-out;
  -moz-transition: max-height 0.3s ease-out;
  -ms-transition: max-height 0.3s ease-out;
  -o-transition: max-height 0.3s ease-out;
  transition: max-height 0.3s ease-out;

}

  1. cssmenu ul li ul li a {
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  color: #c9c9c9;
  letter-spacing: 0;
  display: block;
  padding: 25px 32px;
  -webkit-transition: color .3s ease;
  -moz-transition: color .3s ease;
  -ms-transition: color .3s ease;
  -o-transition: color .3s ease;
  transition: color .3s ease;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

}

  1. cssmenu ul li ul li:hover > ul {
  left: 100%;
  top: 0;

}

  1. cssmenu ul li ul li:hover > ul > li {
  position: relative;
  max-height: 72px;

}

  1. cssmenu > ul > li {
  float: left;

}

  1. cssmenu.align-center > ul > li {
  float: none;
  display: inline-block;

}

  1. cssmenu.align-center > ul {
  text-align: center;

}

  1. cssmenu.align-center ul ul {
  text-align: left;

}

  1. cssmenu.align-right > ul {
  float: right;

}

  1. cssmenu.align-right > ul > li:hover > ul {
  left: auto;
  right: 0;

}

  1. cssmenu.align-right ul ul li:hover > ul {
  right: 100%;
  left: auto;

}

  1. cssmenu.align-right ul ul li a {
  text-align: right;

}

  1. cssmenu > ul > li:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  z-index: 0;
  background: none;
  -webkit-transition: height .3s;
  -moz-transition: height .3s;
  -ms-transition: height .3s;
  -o-transition: height .3s;
  transition: height .3s;

}

  1. cssmenu > ul > li > a {
  color: #c9c9c9;
  padding: 15px 20px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 100;
  position: relative;

}

  1. cssmenu > ul > li:hover:after, #cssmenu > ul > li:active:after {
  height: 100%;

}

  1. cssmenu > ul > li:hover > a, #cssmenu > ul > li:active > a {
  color: #00BAC6;

}

  1. cssmenu > ul > li > ul > li:hover > a, #cssmenu > ul > li > ul > li:active > a {
  color: #00BAC6;

}

  1. cssmenu > ul > li > ul > li > ul > li:hover > a, #cssmenu > ul > li > ul > li > ul > li:active > a {
  color: #00BAC6;

}

  1. cssmenu > ul > li > ul > li > ul > li > ul> li:hover > a, #cssmenu > ul > li > ul > li > ul > li > ul> li:active > a {
  color: #00BAC6;

}

  1. cssmenu > ul > li:hover > ul {
  left: 0;

}

  1. cssmenu > ul > li:hover > ul > li {
  max-height: 72px;
  position: relative;

}

  1. cssmenu #menu-button {
  display: none;

}

  1. cssmenu > ul > li > a {
  display: block;

}

  1. cssmenu > ul > li {
  width:auto;

}

  1. cssmenu > ul > li.has-sub > ul {
  width: 275px;
  display: block;

}

  1. cssmenu > ul > li.has-sub > ul > li.has-sub > ul {
  width: 100%;
  display: block;

}

/* End Customizing TU Eindhoven Menubar */