Difference between revisions of "Template:Austin UTexas"

(Prototype team template page)
 
Line 107: Line 107:
 
 
 
/**************************************************************** MENU ***************************************************************/
 
/**************************************************************** MENU ***************************************************************/
/* Wrapper for the menu */
+
.menu-wrap {
.igem_2017_menu_wrapper {  
+
    width:100%;
width: 15%;  
+
    background:#FFF;
height:100vh;  
+
    position:relative;
position:fixed;
+
}
right:0%;
+
 +
.menu {
 +
    margin-top:-6px;
 +
    padding:0;
 +
    position: fixed;
 +
    z-index:1;
 +
    left: 0px;
 +
    width:100%;
 +
    background:#FFF;
 +
}
 +
 +
.menu li {
 +
    margin:0px;
 +
    list-style:none;
 +
}
 +
 +
.menu a {
 +
    transition:all linear 0.15s;
 +
    padding:10px;
 +
    color:#BDBDBD;
 +
}
 +
 +
.menu li:hover > a, .menu .current-item > a {
 +
    text-decoration:none;
 +
    color:#000000;
 +
}
 +
 +
.menu .arrow {
 +
    font-size:11px;
 +
    line-height:0%;
 +
}
 +
 +
/*----- Top Level -----*/
 +
menu > ul {
 +
    white-space: nowrap;
 +
}
 +
 
 +
 
 +
.menu > ul > li {
 +
    margin-top:-5px;
 +
    float:left;
 +
    display:inline-block;
 +
    position:relative;
 +
    font-size:12px;
 +
}
 +
 +
.menu > ul > li > a {
 +
      display: inline-block;
 +
      float: none;
 +
}
 +
 +
.menu > ul > li:hover > a, .menu > ul > .current-item > a {
 +
    background:#DF7F3E;
 +
}
 +
 +
/*----- Bottom Level -----*/
 +
.menu li:hover ul {
 +
    display:block;
 +
}
 +
 +
.sub-menu {
 +
    width:200%;
 +
    padding:0px 0px;
 +
    position:absolute;
 +
    top:90%;
 +
    left:0px;
 +
    transition:opacity linear 0.15s;
 +
    box-shadow:0px 2px 3px rgba(0,0,0,0.2);
 +
    background:#2e2728;
 +
    display:none;
 +
    z-index:1;
 +
}
 +
 +
.sub-menu li {
 +
    display:block;
 +
    font-size:13px;
 +
}
 +
 +
.sub-menu li a {
 +
    padding:10px 10px;
 +
    display:block;
 +
}
 +
 +
.sub-menu li a:hover, .sub-menu .current-item a {
 +
    text-color:#000000;
 +
    background:#DF7F3E;
 +
}
 +
 
 +
 
 +
 
 +
 
 +
/* Wrapper for the menu */
 +
.menu_wrapper {  
 +
width:100%;  
 +
                margin-top:-10px;
 +
                margin-left:-20px;
 +
height:0px;  
 +
position:fixed;  
 
padding:0px;
 
padding:0px;
float:right;  
+
display:inline;
border-left: 1px solid #d3d3d3;  
+
                list-style: none;
background-color:#dddddd;  
+
              box-shadow:0px 1px 3px rgba(0,0,0,0.2);
text-align:left;
+
}
font-family:Tahoma, Geneva, sans-serif;  
+
 
overflow-y: auto;
+
 
overflow-x: hidden;
+
/* styling for the menu items */
 +
.menu_item {
 +
                background-color:#f2f2f2;
 +
width:11%;
 +
                float:left;
 +
margin:0px 0px 0px 0px;
 +
                padding-top: 10px;
 +
                padding-bottom: 10px;  
 +
border-bottom: 1px solid #d3d3d3;  
 +
font-weight:bold;
 +
                text-align: center;
 +
color:#000000;  
 +
cursor: pointer;
 +
                list-style: none;  
 +
}
 +
 
 +
/* when hovering on a menu item */
 +
.menu_item:hover {
 +
color:#000000;
 +
background-color: #DF7F3E;
 
}
 
}
  
/* this hides the scrollbar to keep view consistency */
+
/* decoration icon for the menu buttons*/
.igem_2017_menu_wrappe::-webkit-scrollbar {
+
.icon {
display: none;  
+
float:left; 
 +
font-size:12px;
 +
font-weight:bold;  
 
}
 
}
 
 
+
/* this is the icon for when the content is collapsed */
/* styling for links in the menu, removes the line under text */
+
.plus::before {
.igem_2017_menu_wrapper a {
+
content:"✊";
text-decoration: none;  
+
                color:#CF5300;
 
}
 
}
 +
/* this is the icon for when the content is expanded */
 +
.less::before {
 +
content: "✌";
 +
                color:#CF5300;
 +
}
  
 
+
/* styling for the ul that creates the buttons */
/* styling for the images in the menu */
+
ul.menu_items {
.igem_2017_menu_wrapper img {  
+
width:100%;
width: 100%;
+
margin-left:0px;
 +
padding:0px;
 +
list-style: none;  
 
}
 
}
  
/* styling for the menu buttons */
+
/* styling for the li that are the menu items */
.igem_2017_menu_wrapper .menu_button {  
+
.menu_items li {  
width: 100%;  
+
width:100%;
padding: 10px 0px 10px 15px;  
+
margin-top: 0px;  
float:left;  
+
padding: 0px 0px 0px 0px ;  
border-bottom: 1px solid #d3d3d3;
+
display:block;
font-size: 12px;  
+
border-bottom: 1px solid #d3d3d3
font-weight: bold;  
+
font-weight:bold;
color: #5e5f5f;  
+
text-decoration:none;  
cursor: pointer;
+
color:#000000;
 +
                text-align:left;
 +
list-style-type:none;  
 +
cursor:pointer;  
 +
-webkit-transition: all 0.4s ease;
 +
-moz-transition: all 0.4s ease;
 +
-ms-transition: all 0.4s ease;
 +
-o-transition: all 0.4s ease; transition: all 0.4s ease; 
 
}
 
}
  
 
+
.menu_item a {
.igem_2017_menu_wrapper .menu_bottom_padding {  
+
width: 100%;
width: 100%;  
+
margin-left: -20px;
height: 30px;
+
padding: 11px 90px 12px 20px;
float:left;
+
text-decoration: none;
 +
color:black;
 
}
 
}
  
.menu_button.direct_to_page {  
+
/* When hovering on a menu item */
padding-left: 36px;
+
.menu_items li:hover {  
 +
background-color:#ff9900;
 +
color: #000000;
 
}
 
}
  
 +
/* styling for the submenus */
 +
.submenu {
 +
width:100%;
 +
display: none; 
 +
font-weight:bold;
 +
cursor:pointer;
  
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon {
 
width:10%;
 
float:left;
 
 
}
 
}
  
.igem_2017_menu_wrapper .menu_button .expand_collapse_icon::before {
+
/* moving the margin for the submenu ul list */
content: "+"; 
+
ul.submenu {  
}
+
width: 100%;
+
margin: 10px 0px -11px 0px;
.open::before {
+
list-style: none;
content: "-" !important; 
+
}
+
+
+
+
/* styling for the menu buttons on hover */
+
.igem_2017_menu_wrapper .menu_button:hover, .igem_2017_menu_wrapper .submenu_button:hover ,  .submenu_button.current_page:hover {  
+
background-color: #3399ff;
+
text-decoration: none;
+
color:#ffffff;  
+
 
}
 
}
  
/* styling for the menu button when it is the current page */
+
/*styling for the submenu buttons */
.current_page {  
+
.submenu li {  
background-color:#7fc1f7  !important;
+
width: 100%;
color:#5e5f5f !important;
+
margin-left: 10px;
 +
margin-bottom: 0px;
 +
                list-style-type: none;
 
}
 
}
  
  
/* styling for the submenu buttons */
+
/* hover state for the submenu buttons */
.igem_2017_menu_wrapper .submenu_button {  
+
.submenu li a {
 
width: 100%;  
 
width: 100%;  
padding: 10px 0px 10px 34px;  
+
padding: 5px 10px;  
float:left;
+
display: inline-block;
background-color:#f2f2f2;  
+
border-bottom: 1px solid #d3d3d3;
border-bottom: 1px solid #d3d3d3;  
+
background-color:white;  
font-size: 12px;  
+
text-decoration:none;
color: #5e5f5f;  
+
color:#000000;  
cursor: pointer;
+
 
}
 
}
  
/* wrapper for the submenu items, they are hidden by default*/
+
.submenu li a:hover  {
.igem_2017_menu_wrapper .submenu_wrapper {  
+
background-color:#000000;
display:none;
+
color: #CF5300;
 
}
 
}
  
/* when the page size is bigger than 800px, this show/hide control is hidden by default */
+
 
.igem_2017_menu_wrapper #display_menu_control {
+
/* When the screen is smaller than 680px, the menu has the option to hide/show - this button controls that */
display:none;
+
.collapsable_menu_control {  
text-align:center;
+
width:100%;
 +
padding: 15px 0px;
 +
display:none;
 +
background-color:#000000;  
 +
text-align:center
 +
font-weight:bold;
 +
color:#CF5300;
 +
cursor:pointer;
 +
-webkit-transition: all 0.4s ease;
 +
-moz-transition: all 0.4s ease;
 +
-ms-transition: all 0.4s ease;
 +
-o-transition: all 0.4s ease;
 +
transition: all 0.4s ease;  
 
}
 
}
 
  
/***************************************************** CONTENT OF THE PAGE ****************************************************/
+
/* when hovering on that button */
 
+
.collapsable_menu_control:hover {  
/* Wrapper for the content */
+
background-color: #CF5300;
.igem_2017_content_wrapper {
+
color:#000000;
width: 81%;
+
margin: 2%;
+
display:block;
+
float:left;
+
background-color:white;  
+
font-family:Tahoma, Geneva, sans-serif;  
+
 
}
 
}
 +
  
  

Revision as of 06:34, 11 July 2017

Austin_UTexas