Template:Team:Macquarie Australia/css/TopNavBar

From 2014.igem.org

Revision as of 03:46, 24 September 2014 by Mitch j (Talk | contribs)
  1. TopBar {

background: #4c4c4c; /* Old browsers */ /* IE9 SVG, needs conditional override of 'filter' to 'none' */ background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMTAwJSI+CiAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjNGM0YzRjIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiMxMTExMTEiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMiUiIHN0b3AtY29sb3I9IiM1OTU5NTkiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIyNSUiIHN0b3AtY29sb3I9IiM2NjY2NjYiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIzOSUiIHN0b3AtY29sb3I9IiM0NzQ3NDciIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSI5MSUiIHN0b3AtY29sb3I9IiMxYzFjMWMiIHN0b3Atb3BhY2l0eT0iMSIvPgogICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjMmIyYjJiIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzJjMmMyYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMxMzEzMTMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); background: -moz-linear-gradient(-45deg, #4c4c4c 0%, #111111 0%, #595959 12%, #666666 25%, #474747 39%, #1c1c1c 91%, #2b2b2b 100%, #2c2c2c 100%, #131313 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#4c4c4c), color-stop(0%,#111111), color-stop(12%,#595959), color-stop(25%,#666666), color-stop(39%,#474747), color-stop(91%,#1c1c1c), color-stop(100%,#2b2b2b), color-stop(100%,#2c2c2c), color-stop(100%,#131313)); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(-45deg, #4c4c4c 0%,#111111 0%,#595959 12%,#666666 25%,#474747 39%,#1c1c1c 91%,#2b2b2b 100%,#2c2c2c 100%,#131313 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(-45deg, #4c4c4c 0%,#111111 0%,#595959 12%,#666666 25%,#474747 39%,#1c1c1c 91%,#2b2b2b 100%,#2c2c2c 100%,#131313 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(-45deg, #4c4c4c 0%,#111111 0%,#595959 12%,#666666 25%,#474747 39%,#1c1c1c 91%,#2b2b2b 100%,#2c2c2c 100%,#131313 100%); /* IE10+ */ background: linear-gradient(135deg, #4c4c4c 0%,#111111 0%,#595959 12%,#666666 25%,#474747 39%,#1c1c1c 91%,#2b2b2b 100%,#2c2c2c 100%,#131313 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313',GradientType=1 ); /* IE6-8 fallback on horizontal gradient */ width: 100%; min-width: 766px; height: 89px; z-index: 10; position: fixed; text-align: center; top: 25px; }

  1. TopBar #TopLvlNavLink {

display: none; }

  1. TopBar ul {

background: #231F20; list-style: none; position: relative; display: inline-table; padding: 0; margin: 0; }

  1. TopBar ul:after {

content: ""; clear: both; display: block; }

  1. TopBar li {

float: left; width: 124px; text-align: center; }

  1. TopBar li:hover > a {

font-weight: bold; }

  1. TopBar a {

display: block; width: 100%; height: 100%; padding: 15px 0; color: #FFFFFF; text-decoration: none; font: 16px 'Comic Sans MS'; }

  1. TopBar > #TopLvlNav > li > a {

padding: 29px 0; }

  1. TopBar ul ul {

display: none; background: #231F20; padding: 0 10px; position: absolute; top: 95%; z-index: 10; margin-left: -10px; }

  1. TopBar ul li:hover > ul {

display: block; }

  1. TopBar ul ul li {

float: none; position: relative; }

  1. TopBar ul ul a {

font-size: 16px; }

  1. TopBar ul ul ul {

position: absolute; left: 100%; top: 0; margin: 0; }

  1. TopBar #LogoItem {

padding: 8px 0; }

  1. TopBarCollapse {

position: fixed; width: 120px; height: 60px; top: 25px; background: orange; z-index: 10; }

  1. TopBarCollapse #TopLvlNavLink {

display: block; width: 100%; height: 100%; }

  1. TopBarCollapse:after {

content: ""; clear: both; display: block; }

  1. TopBarCollapse ul {

display: none; list-style: none; padding: 0; }

  1. TopBarCollapse ul:after {

content: ""; clear: both; display: block; }

  1. TopBarCollapse li {

float: left; display: block; clear: both; width: 120px; padding: 0; background: green; }

  1. TopBarCollapse li:hover {

background: pink; }

  1. TopBarCollapse a {

color: #FFFFFF; display: block; text-decoration: none; padding: 10px 15px; }

  1. TopBarCollapse #LogoItem {

display: none !important; }