Team:Imperial/Templates:custom css

From 2014.igem.org

(Difference between revisions)
 
(78 intermediate revisions not shown)
Line 5: Line 5:
/* HIDE
/* HIDE
Search Controls
Search Controls
-
Page title */
+
Page title, footerbox */
#p-logo,
#p-logo,
#search-controls,
#search-controls,
 +
#footer-box,
.firstHeading {
.firstHeading {
     display: none;
     display: none;
}
}
-
h1, h2, h3, h4, h5, h6 {
 
-
  color: #36a9e1;
 
-
}
 
-
/* Remove default top header */
+
#top-section { /*styling for default menu bar*/
-
#top-section {
+
     background-color: rgba(0, 128, 128, 0.1);
-
     background-color: rgba(54, 169, 225, 0.1);
+
     border: none;
     border: none;
     height:20px;
     height:20px;
Line 30: Line 27:
}
}
-
#top-section:hover {
+
#top-section:hover { /*changes menu bar colour on hove*/
-
     background: #36A9E1;
+
     background: #008080;
}
}
-
/* Edit and user menu */
+
 
-
#menubar {
+
#menubar { /* Edit menubar link styles */
     top: 0 !important;
     top: 0 !important;
     font-size: 0.7em;
     font-size: 0.7em;
Line 45: Line 42:
}
}
-
/* Highlight with background colour on hover */
+
 
-
#top-section:hover #menubar li a {
+
#top-section:hover #menubar li a { /* Highlight with background colour on hover */
     color: #FFF;
     color: #FFF;
}
}
Line 58: Line 55:
#menubar li a:hover,
#menubar li a:hover,
#menubar li a:focus {
#menubar li a:focus {
-
     color: #A3C4E9;
+
     color: #805500;
     text-decoration: none;
     text-decoration: none;
}
}
Line 76: Line 73:
}
}
-
 
Line 84: Line 80:
     background: #ffffff;
     background: #ffffff;
}
}
 +
/* -----------------------Header--------------- */
-
/* Wikimedia related links at base of page */
+
.header h1{
-
 
+
display:inline-block;
-
 
+
position: relative;
-
#footer-box {
+
-
    border:none;
+
-
    margin: 30px auto;
+
-
    width: 100%;
+
-
    background-color: #aeaeae;
+
-
    padding: 3em 0 5em 0;
+
-
 
+
}
}
-
#footer {
 
-
    text-align: center;
 
-
}
 
-
#footer-box #f-poweredbyico,
+
}/*--------------------Custom Navbar-------------------------*/
-
#footer-box #f-copyrightico {
+
.navbar-custom {
-
    float: none;
+
  background-color: #008080;
-
    display: inline-block;
+
  border-color: #005f5f;
-
    vertical-align: middle;
+
-
    margin-bottom: 10px;
+
}
}
-
 
+
.navbar-custom .navbar-brand {
-
#footer-box #f-copyrightico {
+
  color: #ffffff;
-
 
+
}
}
-
 
+
.navbar-custom .navbar-brand:hover,
-
#footer-box #f-list {
+
.navbar-custom .navbar-brand:focus {
-
    float: none;
+
  color: #e6e6e6;
-
    display: block;
+
  background-color: transparent;
-
    width: 100%;
+
-
    margin: 0;
+
-
    padding: 0;
+
}
}
-
 
+
.navbar-custom .navbar-text {
-
 
+
-
#footer-box #f-list li {
+
-
    text-transform: uppercase;
+
-
    padding: 0 .75em;
+
-
    margin: 0;
+
-
}
+
-
 
+
-
#footer-box #f-list li a:link,
+
-
#footer-box #f-list li a:visited {
+
-
    color: #CCC;
+
-
    font-size: 0.7em;
+
-
}
+
-
 
+
-
#footer-box #f-list li a:hover,
+
-
#footer-box #f-list li a:focus {
+
-
    color: #36A9E1;
+
-
    text-decoration: none;
+
-
}
+
-
 
+
-
/* ---------------- Navigation ---------------- */
+
-
@charset "UTF-8";
+
-
ul.navigation-menu {
+
-
  list-style-type: none;
+
-
  list-style-image: none;
+
-
  width: 965px;
+
-
  height: 50px;
+
-
  text-align: center;
+
-
  display: inline-block;
+
-
  margin: 0 -9999999px 1em -9999999px;
+
-
  padding: 0 9999999px 0 9999999px;
+
-
  position: relative;
+
-
  font-family: Helvetica, Arial, sans-serif;
+
   color: #ffffff;
   color: #ffffff;
-
 
-
    background-color: #36a9e1;
 
-
    background-image: url(https://static.igem.org/mediawiki/2013/4/43/Nav_bg.png);
 
-
    background-repeat: repeat-x;
 
-
    background-position: top;
 
-
 
-
}
 
-
ul.navigation-menu * {
 
-
  cursor: pointer;
 
}
}
-
ul.navigation-menu ul {
+
.navbar-custom .navbar-nav > li:last-child > a {
-
  list-style-type: none;
+
   border-right: 1px solid #005f5f;
-
  list-style-image: none;
+
-
   opacity: 0;
+
-
  position: relative;
+
-
  z-index: -999;
+
}
}
-
ul.navigation-menu a:link,
+
.navbar-custom .navbar-nav > li > a {
-
ul.navigation-menu a:visited {
+
-
  text-decoration: none;
+
   color: #ffffff;
   color: #ffffff;
-
   display: inline-block;
+
   border-left: 1px solid #005f5f;
-
  width: 100%;
+
-
  height: 100%;
+
}
}
-
ul.navigation-menu > li {
+
.navbar-custom .navbar-nav > li > a:hover,
-
  display: block;
+
.navbar-custom .navbar-nav > li > a:focus {
-
  float: left;
+
   color: #c0c0c0;
-
  line-height: 50px;
+
   background-color: transparent;
-
  height: 50px;
+
-
  text-align: center;
+
-
   width: 191px;
+
-
  padding: 0;
+
-
  margin: 0;
+
-
  border-right: 1px solid #2b87b4;
+
-
   border-left: 1px solid rgba(255, 255, 255, 0.5);
+
-
  -webkit-transition: all 300ms ease;
+
-
  -moz-transition: all 300ms ease;
+
-
  -ms-transition: all 300ms ease;
+
-
  -o-transition: all 300ms ease;
+
-
  transition: all 300ms ease;
+
}
}
-
ul.navigation-menu > li:first-of-type {
+
.navbar-custom .navbar-nav > .active > a,
-
   border-left: 1px solid white;
+
.navbar-custom .navbar-nav > .active > a:hover,
 +
.navbar-custom .navbar-nav > .active > a:focus {
 +
   color: #c0c0c0;
 +
  background-color: #005f5f;
}
}
-
ul.navigation-menu > li:last-of-type {
+
.navbar-custom .navbar-nav > .disabled > a,
-
   border-right: 1px solid white;
+
.navbar-custom .navbar-nav > .disabled > a:hover,
 +
.navbar-custom .navbar-nav > .disabled > a:focus {
 +
   color: #cccccc;
 +
  background-color: transparent;
}
}
-
ul.navigation-menu > li > ul {
+
.navbar-custom .navbar-toggle {
-
   -webkit-transition: all 300ms ease;
+
   border-color: #dddddd;
-
  -moz-transition: all 300ms ease;
+
-
  -ms-transition: all 300ms ease;
+
-
  -o-transition: all 300ms ease;
+
-
  transition: all 300ms ease;
+
-
  list-style-type: none;
+
-
  list-style-image: none;
+
-
  text-align: center;
+
-
  padding: 0;
+
-
  margin: 0;
+
-
  height: 0;
+
}
}
-
ul.navigation-menu > li > ul > li {
+
.navbar-custom .navbar-toggle:hover,
-
  display: block;
+
.navbar-custom .navbar-toggle:focus {
-
  opacity: 0;
+
   background-color: #dddddd;
-
  padding: 0;
+
-
  margin: 0;
+
-
  height: 0;
+
-
  -webkit-transition: all 300ms ease;
+
-
  -moz-transition: all 300ms ease;
+
-
   -ms-transition: all 300ms ease;
+
-
  -o-transition: all 300ms ease;
+
-
  transition: all 300ms ease;
+
}
}
-
ul.navigation-menu > li:hover {
+
.navbar-custom .navbar-toggle .icon-bar {
-
   background-color: #a3c4e9;
+
   background-color: #cccccc;
}
}
-
ul.navigation-menu > li:hover > ul {
+
.navbar-custom .navbar-collapse,
-
  -webkit-transition: all 300ms ease;
+
.navbar-custom .navbar-form {
-
  -moz-transition: all 300ms ease;
+
   border-color: #005c5c;
-
  -ms-transition: all 300ms ease;
+
-
  -o-transition: all 300ms ease;
+
-
  transition: all 300ms ease;
+
-
  position: relative;
+
-
  z-index: 9999;
+
-
  height: auto;
+
-
  opacity: 1;
+
-
   border-bottom-left-radius: 5px;
+
-
  border-bottom-right-radius: 5px;
+
-
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
+
-
  background: #36a9e1;
+
}
}
-
ul.navigation-menu > li:hover > ul > li {
+
.navbar-custom .navbar-nav > .dropdown > a:hover .caret,
-
  opacity: 1;
+
.navbar-custom .navbar-nav > .dropdown > a:focus .caret {
-
   border-bottom: 1px solid #2b87b4;
+
   border-top-color: #c0c0c0;
-
   box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
+
   border-bottom-color: #c0c0c0;
-
  height: 50px;
+
-
  line-height: 50px;
+
}
}
-
ul.navigation-menu > li:hover > ul > li:first-child {
+
.navbar-custom .navbar-nav > .open > a,
-
   box-shadow: none;
+
.navbar-custom .navbar-nav > .open > a:hover,
 +
.navbar-custom .navbar-nav > .open > a:focus {
 +
   background-color: #005f5f;
 +
  color: #c0c0c0;
}
}
-
ul.navigation-menu > li:hover > ul > li:last-child {
+
.navbar-custom .navbar-nav > .open > a .caret,
-
   border-bottom: none;
+
.navbar-custom .navbar-nav > .open > a:hover .caret,
 +
.navbar-custom .navbar-nav > .open > a:focus .caret {
 +
  border-top-color: #c0c0c0;
 +
   border-bottom-color: #c0c0c0;
}
}
-
ul.navigation-menu > li:hover > ul > li:hover {
+
.navbar-custom .navbar-nav > .dropdown > a .caret {
-
   background-color: #a3c4e9;
+
   border-top-color: #ffffff;
 +
  border-bottom-color: #ffffff;
}
}
-
ul.navigation-menu > li:hover > ul > li:active {
+
@media (max-width: 767) {
-
   background-color: #93b4d9;
+
  .navbar-custom .navbar-nav .open .dropdown-menu > li > a {
 +
    color: #ffffff;
 +
  }
 +
  .navbar-custom .navbar-nav .open .dropdown-menu > li > a:hover,
 +
  .navbar-custom .navbar-nav .open .dropdown-menu > li > a:focus {
 +
    color: #c0c0c0;
 +
    background-color: transparent;
 +
   }
 +
  .navbar-custom .navbar-nav .open .dropdown-menu > .active > a,
 +
  .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:hover,
 +
  .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:focus {
 +
    color: #c0c0c0;
 +
    background-color: #005f5f;
 +
  }
 +
  .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a,
 +
  .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:hover,
 +
  .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:focus {
 +
    color: #cccccc;
 +
    background-color: transparent;
 +
  }
}
}
-
ul.navigation-menu > li:hover > ul > li > ul {
+
.navbar-custom .navbar-link {
-
   -webkit-transition: all 300ms ease;
+
   color: #ffffff;
-
  -moz-transition: all 300ms ease;
+
-
  -ms-transition: all 300ms ease;
+
-
  -o-transition: all 300ms ease;
+
-
  transition: all 300ms ease;
+
-
  list-style-type: none;
+
-
  list-style-image: none;
+
-
  text-align: center;
+
-
  padding: 0;
+
-
  margin: 0;
+
-
  position: relative;
+
-
  left: 191px;
+
-
  top: -50px;
+
-
  opacity: 1;
+
}
}
-
ul.navigation-menu > li:hover > ul > li > ul:before {
+
.navbar-custom .navbar-link:hover {
-
   content: "»";
+
   color: #c0c0c0;
-
  display: block;
+
-
  position: absolute;
+
-
  left: -20px;
+
-
  text-align: right;
+
-
  line-height: 50px;
+
}
}
-
ul.navigation-menu > li:hover > ul > li > ul > li {
+
 
-
  -webkit-transition: all 300ms ease;
+
/*--------------------------More custom stuff---------------------------*/
-
  -moz-transition: all 300ms ease;
+
 
-
  -ms-transition: all 300ms ease;
+
body {
-
  -o-transition: all 300ms ease;
+
  background-color:#FFFFFF;
-
  transition: all 300ms ease;
+
  }
-
  width: 0;
+
 
-
  width: 0;
+
  body,#globalWrapper {
-
  opacity: 0;
+
  font-size: 14px;
-
  padding: 0;
+
  font-family: 'Noto Sans', sans-serif;
-
  margin: 0;
+
 
-
}
+
-
ul.navigation-menu > li:hover > ul > li > ul.left {
+
-
  left: 0;
+
-
  right: 191px;
+
-
}
+
-
ul.navigation-menu > li:hover > ul > li:hover > ul {
+
-
  height: auto;
+
-
  width: 191px;
+
-
  opacity: 1;
+
-
  border-top-right-radius: 5px;
+
-
  border-bottom-left-radius: 5px;
+
-
  border-bottom-right-radius: 5px;
+
-
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.5);
+
-
  background: #36a9e1;
+
-
  z-index: 9999999;
+
-
}
+
-
ul.navigation-menu > li:hover > ul > li:hover > ul > li {
+
-
  width: 191px;
+
-
  height: 50px;
+
-
  line-height: 50px;
+
-
  opacity: 1;
+
-
  border-bottom: 1px solid #2b87b4;
+
-
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
+
-
}
+
-
ul.navigation-menu > li:hover > ul > li:hover > ul > li:first-child {
+
-
  box-shadow: none;
+
-
  border-top-right-radius: 5px;
+
-
}
+
-
ul.navigation-menu > li:hover > ul > li:hover > ul > li:last-child {
+
-
  border-bottom: none;
+
-
  border-bottom-left-radius: 5px;
+
-
  border-bottom-right-radius: 5px;
+
-
}
+
-
ul.navigation-menu > li:hover > ul > li:hover > ul > li:hover {
+
-
  background-color: #a3c4e9;
+
-
}
+
-
ul.navigation-menu > li:active {
+
-
  background-color: #93b4d9;
+
}
}
 +
 
 +
  h1,h2,h3,h4 {
 +
  color: #008080;
 +
  background: #ffffff;
 +
  font-weight: bold;
 +
  margin: 0 0 0 0;
 +
  border-bottom: none;
 +
  }
 +
 +
p {
 +
  padding: 5px 20px 0px 20px;
 +
  }

Latest revision as of 08:08, 1 August 2014

/* ---------------- WikiMedia Elements / Page Structure---------------- */

  1. content { border: none; }

/* HIDE Search Controls Page title, footerbox */

  1. p-logo,
  2. search-controls,
  3. footer-box,

.firstHeading {

   display: none;

}


  1. top-section { /*styling for default menu bar*/
   background-color: rgba(0, 128, 128, 0.1);
   border: none;
   height:20px;
   margin-top: 0;
   margin-bottom: 20px;
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;

}

  1. top-section:hover { /*changes menu bar colour on hove*/
   background: #008080;

}


  1. menubar { /* Edit menubar link styles */
   top: 0 !important;
   font-size: 0.7em;

}

  1. menubar li,
  2. menubar li a:link {
   text-transform: uppercase;

}


  1. top-section:hover #menubar li a { /* Highlight with background colour on hover */
   color: #FFF;

}

  1. menubar li a:link,
  2. menubar li a:visited {
   color: #DDD;
   background-color: transparent;

}

  1. menubar li a:hover,
  2. menubar li a:focus {
   color: #805500;
   text-decoration: none;

}

/* Edit */

  1. menubar.left-menu{

}

  1. menubar.left-menu:hover {
   background-color: transparent;

}


/* User */

  1. menubar.right-menu {

}


/* ? */

  1. catlinks {
   border:none;
   background: #ffffff;

} /* -----------------------Header--------------- */

.header h1{ display:inline-block; position: relative; }


}/*--------------------Custom Navbar-------------------------*/ .navbar-custom {

 background-color: #008080;
 border-color: #005f5f;

} .navbar-custom .navbar-brand {

 color: #ffffff;

} .navbar-custom .navbar-brand:hover, .navbar-custom .navbar-brand:focus {

 color: #e6e6e6;
 background-color: transparent;

} .navbar-custom .navbar-text {

 color: #ffffff;

} .navbar-custom .navbar-nav > li:last-child > a {

 border-right: 1px solid #005f5f;

} .navbar-custom .navbar-nav > li > a {

 color: #ffffff;
 border-left: 1px solid #005f5f;

} .navbar-custom .navbar-nav > li > a:hover, .navbar-custom .navbar-nav > li > a:focus {

 color: #c0c0c0;
 background-color: transparent;

} .navbar-custom .navbar-nav > .active > a, .navbar-custom .navbar-nav > .active > a:hover, .navbar-custom .navbar-nav > .active > a:focus {

 color: #c0c0c0;
 background-color: #005f5f;

} .navbar-custom .navbar-nav > .disabled > a, .navbar-custom .navbar-nav > .disabled > a:hover, .navbar-custom .navbar-nav > .disabled > a:focus {

 color: #cccccc;
 background-color: transparent;

} .navbar-custom .navbar-toggle {

 border-color: #dddddd;

} .navbar-custom .navbar-toggle:hover, .navbar-custom .navbar-toggle:focus {

 background-color: #dddddd;

} .navbar-custom .navbar-toggle .icon-bar {

 background-color: #cccccc;

} .navbar-custom .navbar-collapse, .navbar-custom .navbar-form {

 border-color: #005c5c;

} .navbar-custom .navbar-nav > .dropdown > a:hover .caret, .navbar-custom .navbar-nav > .dropdown > a:focus .caret {

 border-top-color: #c0c0c0;
 border-bottom-color: #c0c0c0;

} .navbar-custom .navbar-nav > .open > a, .navbar-custom .navbar-nav > .open > a:hover, .navbar-custom .navbar-nav > .open > a:focus {

 background-color: #005f5f;
 color: #c0c0c0;

} .navbar-custom .navbar-nav > .open > a .caret, .navbar-custom .navbar-nav > .open > a:hover .caret, .navbar-custom .navbar-nav > .open > a:focus .caret {

 border-top-color: #c0c0c0;
 border-bottom-color: #c0c0c0;

} .navbar-custom .navbar-nav > .dropdown > a .caret {

 border-top-color: #ffffff;
 border-bottom-color: #ffffff;

} @media (max-width: 767) {

 .navbar-custom .navbar-nav .open .dropdown-menu > li > a {
   color: #ffffff;
 }
 .navbar-custom .navbar-nav .open .dropdown-menu > li > a:hover,
 .navbar-custom .navbar-nav .open .dropdown-menu > li > a:focus {
   color: #c0c0c0;
   background-color: transparent;
 }
 .navbar-custom .navbar-nav .open .dropdown-menu > .active > a,
 .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:hover,
 .navbar-custom .navbar-nav .open .dropdown-menu > .active > a:focus {
   color: #c0c0c0;
   background-color: #005f5f;
 }
 .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a,
 .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:hover,
 .navbar-custom .navbar-nav .open .dropdown-menu > .disabled > a:focus {
   color: #cccccc;
   background-color: transparent;
 }

} .navbar-custom .navbar-link {

 color: #ffffff;

} .navbar-custom .navbar-link:hover {

 color: #c0c0c0;

}

/*--------------------------More custom stuff---------------------------*/

body {

  background-color:#FFFFFF;
  }
  body,#globalWrapper {
  font-size: 14px;
  font-family: 'Noto Sans', sans-serif;

}

  h1,h2,h3,h4 {
  color: #008080;
  background: #ffffff;
  font-weight: bold;
  margin: 0 0 0 0;
  border-bottom: none;
  }
p {
  padding: 5px 20px 0px 20px;
  }