Difference between revisions of "Template:2016Top"

 
(17 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
 
 
/* Clear the default wiki settings */
 
/* Clear the default wiki settings */
+
 
/* Remove footer, catlinks and logos */
+
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .visualClear, .firstHeading{
+
display: none;
+
}
+
 
 
  
 
/*-- Make page full width and remove borders */
 
/*-- Make page full width and remove borders */
#globalWrapper, #content {  
+
#globalWrapper, {  
 
width: 100%;  
 
width: 100%;  
 
height: 100%;
 
height: 100%;
border: 0px;
+
border: none;
 
background-color: transparent;
 
background-color: transparent;
 
margin: 0px;
 
margin: 0px;
Line 25: Line 21:
 
   background-color: #333333;
 
   background-color: #333333;
 
}
 
}
 +
 +
/*Styling for the content box */
 +
#content {
 +
    width: 950px;
 +
      padding:15px;
 +
    border: none;
 +
    color: black;
 +
margin-left: 20px;
 +
    margin-right: auto;
 +
    background-color: #ffffff;
 +
    position: relative;
 +
}
 +
 +
/*First heading styling */
 +
#content H1 {
 +
font-weight: bold;
 +
}
 +
 +
 +
 +
  
  
Line 33: Line 50:
 
}
 
}
  
 +
 +
 +
 +
 +
/*STYLING BELLOW " #HQ_page " will apply only to pages created by HQ members */
  
  
Line 38: Line 60:
 
/*LAYOUT CLASSES */
 
/*LAYOUT CLASSES */
 
/**************************************************************************************************************************************************************************************************************************************************/
 
/**************************************************************************************************************************************************************************************************************************************************/
/* General wrap for the pages*/
 
#contentWrap { 
 
width: 980px;
 
height: auto;
 
float:left;
 
margin-left: 20px;
 
margin-top: -10px;
 
margin-right: auto;
 
background-color: #ffffff;
 
}
 
 
  
 
/* Full width div */
 
/* Full width div */
.oneColumn {
+
#HQ_page .oneColumn {
width: 950px;
+
width: 920px;
 
float:left;
 
float:left;
padding:15px;
+
padding: 15px;
 +
 
 
}
 
}
  
 
/*  half width div  - can be mixed with .fourColumns */
 
/*  half width div  - can be mixed with .fourColumns */
.twoColumns {
+
#HQ_page .twoColumns {
width: 460px;
+
width: 444px;
 
float:left;
 
float:left;
padding:15px;
+
padding: 15px;
 
}
 
}
  
  
 
/* one third width div */
 
/* one third width div */
.threeColumns {
+
#HQ_page .threeColumns {
width: 296.5px;
+
width: 285px;
float:left;
+
float: left;
padding:15px;
+
padding: 15px;
 
}
 
}
  
 
/* one fourth width div */
 
/* one fourth width div */
.fourColumns {
+
#HQ_page .fourColumns {
width: 215px;
+
width: 206px;
 
float:left;
 
float:left;
padding:15px;
+
padding: 15px;
 
}
 
}
  
  
/*Clear class for all the pages, adds spacing too*/
+
/*Clear, adds spacing 10px*/
     .clear {
+
     #HQ_page .clear {
 
         height:10px;
 
         height:10px;
 
         clear: both;
 
         clear: both;
 
     }
 
     }
  
 +
/*Clear class that ads spacing, when creating a title that will be # referenced in a link, place it in this class*/
 +
    #HQ_page .clear_id {
 +
        height:30px;
 +
        clear: both;
 +
    }
  
/**************************************************************************************************************************************/
 
  
/* HIGHLIGHTS */
+
/*CLASSES */
 +
/**********************************************************************************************************************************************************************************************************************************************/
  
  
.threeColumns_feature{
 
width: 296.5px;
 
float:left;
 
padding:15px;
 
  
/*animate transition */
+
/* EFFECTS / VARIANTS FOR LAYOUT CLASSES */
-webkit-transition: background 0.2s linear;
+
-moz-transition: background 0.2s linear;
+
-ms-transition: background 0.2s linear;
+
-o-transition: background 0.2s linear;
+
transition: background 0.2s linear;
+
}
+
  
  
.twoColumns_Highlight {
+
/*highlight a div on hover*/
width: 460px;
+
#HQ_page .highlight {
float:left;
+
padding:15px;
+
background-color: #d3d3d3;
+
}
+
 
+
 
+
 
+
.fourColumns_feature{
+
width: 215px;
+
float:left;
+
padding:15px;
+
font-weight:normal;
+
color:black;
+
 
+
 
/*animate transition */
 
/*animate transition */
 
-webkit-transition: background 0.2s linear;
 
-webkit-transition: background 0.2s linear;
Line 130: Line 123:
 
}
 
}
  
 
+
/* change the color on hover */
/*hover state for feature items */
+
#HQ_page .highlight:hover {
.threeColumns_feature:hover, .fourColumns_feature:hover {
+
 
background-color:#ebeea9;
 
background-color:#ebeea9;
 
cursor:pointer;
 
cursor:pointer;
Line 138: Line 130:
  
  
/**************************************************************************************************************************************************************************************************************************************************/
+
/* declare a medium gray line around the div*/
/*END LAYOUT CLASSES */
+
#HQ_page .full_border {
 +
border: 1px solid #d3d3d3;
 +
}
  
  
 +
/* declare a turquoise dotted border on a div */
 +
#HQ_page .dot_border {
 +
border: 1px dashed #5da88a;
 +
}
  
 +
/* declare a border on the right of a div  */
 +
#HQ_page .right_border {
 +
border-right: 1px solid #f2f2f2;
 +
}
  
 +
/* make the background of a div light gray */
 +
#HQ_page .background_gray {
 +
background-color: #f2f2f2;
 +
}
  
 +
/* remove the padding for a div that contains a picture */
 +
#HQ_page .photo_container {
 +
padding:0px;
 +
margin-right:30px;
 +
}
  
/*MENU */
+
#HQ_page .photo_container p{
/**************************************************************************************************************************************************************************************************************************************************/
+
padding:  0px 15px;
 +
font-size: 11px;
 +
}
  
/*  this div will contain the side menu */
 
.sideMenu {
 
width: 170px;
 
position: absolute;
 
display:none;
 
top:20px;
 
left: 1020px;
 
z-index: 10;
 
  
padding-top: 0px;
+
/* declares that a div is an alert box */
padding-bottom: 15px;
+
#HQ_page .alert_box{
padding-left: 15px;
+
background-color: pink;
padding-right: 15px;
+
border: 1px solid red;
 
+
color:red;
background-color: white;
+
font-weight:bold;
text-align: left;
+
cursor:pointer;
 
}
 
}
  
  
 +
/* styling for the hover of the alert box */
 +
#HQ_page .alert_box:hover{
 +
background-color: red;
 +
border: 1px solid red;
 +
color:white;
 +
font-weight:bold;
 +
}
  
.sideMenu ul{
 
margin-top:0px;
 
margin-bottom: 0px;
 
}
 
  
  
 
/**************************************************************************************************************************************/
 
/**************************************************************************************************************************************/
/*MAIN MENU  STYLING*/
 
  
/*styling for the Main menu*/
 
#mainMenu ul li {
 
width: 183px;
 
 
margin-left: -30px;
 
margin-bottom: 0px;
 
  
list-style:none;
+
/*Buttons for all of the pages */
}
+
        #HQ_page .button {
 
+
            min-width: 25%;
 
+
            max-width: 50%;
/*main menu item */
+
    border: 3px solid #f58631;
.mainMenu_Title {
+
    color: #f58631;
width: 152px;  
+
    background-color: #FFF;
float:left;
+
    height: 30px;
 
+
    font-size: 15px;
padding-left:15px;  
+
    text-align: center;
padding-top: 10px;
+
        border-radius: 5px;
padding-bottom: 10px; 
+
        padding: 10px 5px 0px 5px;
 
+
        margin: auto;
border: solid 1px #f2f2f2;
+
font-size: 14px;
+
 
+
/*animate transition */
+
-webkit-transition: background 0.2s linear;
+
-moz-transition: background 0.2s linear;
+
-ms-transition: background 0.2s linear;
+
-o-transition: background 0.2s linear;
+
transition: background 0.2s linear;
+
}
+
 
+
 
+
/* toggle button in the main Menu */
+
.mainMenu_toggle {
+
width: 24px;
+
text-align: center;
+
float: left;
+
font-size: 12px;
+
margin-right: -17px;
+
margin-left: -14px;
+
padding-left: 5px;
+
padding-bottom: 10px;
+
padding-top: 10px;
+
border: solid 1px #f2f2f2;
+
 
+
  
 
/*animate transition */
 
/*animate transition */
Line 230: Line 206:
 
-o-transition: background 0.2s linear;
 
-o-transition: background 0.2s linear;
 
transition: background 0.2s linear;
 
transition: background 0.2s linear;
}
+
    }      
  
 +
/*For the button class, change background on hover */
 +
        #HQ_page .button:hover {
 +
    background-color: #f58631;
 +
    color: #fff;
 +
    }
  
/*hover styling for main menu item and main menu toggle */
 
.mainMenu_Title:hover, .mainMenu_toggle:hover  {
 
background: #5da88a;
 
color:white;
 
border: solid 1px #5da88a;
 
 
  
/**************************************************************************************************************************************/
 
  
/*MAIN MENU SUB MENUS (NESTED LISTS) */
 
  
/* submenu lists */
+
/*Class for creating a news post, this is used in the Main Page and in the Archived news page */
#mainMenu ul li li {
+
#HQ_page .newsItem {
width: 183px;
+
border: 1px solid #cccccc;
 +
margin: 0px 5px 5px 5px;
 +
padding: 5px 15px 5px 15px;
 +
border-radius: 5px;
 +
}
  
margin-bottom: 0px;
 
margin-left: -15px;
 
padding-left: 15px;
 
padding-top: 5px;
 
padding-bottom:5px;
 
  
cursor: pointer;
 
border: solid 1px #f2f2f2;
 
background-color: white;
 
color: black;
 
font-size: 12px;
 
}
 
  
  
#mainMenu ul li li:hover {
+
/*Style the date inside a news post */
background: #5da88a;
+
#HQ_page .newsDate {
border: solid 1px #5da88a;
+
font-style: italic;  
color:white;
+
display: inline-block;  
}
+
color: #383838;  
 
+
float: right;  
 
+
padding-top: 5px;
 
+
padding-right: 15px;
 
+
 
+
/* For HUB MENUS */
+
 
+
 
+
#home_logo {margin-bottom:10px;  }
+
 
+
#home_logo:hover { opacity: 0.4; }
+
 
+
.sideMenuTitle, .expand_subMenus, .switch_Menus {  
+
height:30px;
+
padding-top:10px;
+
float:left;
+
font-weight:bold;
+
color: #4e606e;  
+
background-color:#e8edaa;  
+
cursor:pointer;  
+
text-align:center;  
+
 
}
 
}
  
  
  
/* This switches between menus  */
 
.switch_Menus {
 
width:30px;
 
font-size: 18px;
 
margin-left:-15px;
 
display:block;
 
}
 
  
  
 +
/* ( ? ) POP WHY - Makes a round div that will call the pop up box*/
 +
#HQ_page .pop_why {
 +
border: 2px solid #f58631;
 +
color: #f58631;
 +
font-weight: bold;
 +
text-align: center;
 +
border-radius: 50%;
 +
float: none;
 +
margin-right: 5px;
 +
margin-left: 5px;
 +
padding-left: 6px;
 +
padding-top: 2px;
 +
padding-right: 6px;
 +
padding-bottom: 2px;
 +
cursor:pointer;
 +
        }
  
/* This holds the title of the menu  */
 
.sideMenuTitle  {
 
width:140px;
 
margin-left: 0px;
 
font-size: 16px;
 
}
 
  
 +
/*For the pop why class, changes the color on hover */
 +
      #HQ_page .pop_why:hover {
 +
        color: #fff;
 +
        background-color:#f58631;
 +
        }
  
  
/* This holds the expand all / collapse all button (+) (-)  */
+
/*For the pop why class,creates the close button X */
.expand_subMenus {
+
#HQ_page .pop_close {
width:30px;
+
        font-size: 25px;
font-size: 20px;
+
        border: 3px solid #f58631;
margin-right:-15px;  
+
        padding: 5px;
}
+
        padding-top: 0px;
 +
        padding-right: 10px;
 +
        color: #f58631;
 +
        border-radius: 5px;
 +
        cursor: pointer;
 +
        font-weight: bold;
 +
        width: 10px;
 +
        height: 18px;
 +
        float: right;
 +
    }
 +
   
  
 +
#HQ_page .pop_close:hover {
 +
    background-color: #f58631;
 +
    color: white;
 +
    }
  
  
.sideMenuTitle:hover, .expand_subMenus:hover, .switch_Menus:hover {
+
/*For the pop why class, div that holds the content being loaded */
background-color:#f17530;  
+
    #HQ_page .pop_why_box {
color:white;
+
display:none;
}
+
left: 250px;
 +
top:0px;
 +
background-color: white;
 +
padding: 15px;
 +
width: 500px;
 +
position: absolute;
 +
border: 3px solid #4e606e;
 +
border-radius: 3px;
 +
z-index: 100;
 +
        }
  
  
  
.sideMenu h4 {color: #5ba88a;}
 
.sideMenu a:hover {text-decoration:none;}
 
  
/*First layer of lists  (LIST ITEMS)  */
+
/*creates a div that covers the content - if clicked closes the pop why */
.sideMenu ul  {margin-left: 15px; list-style:disc; }
+
      #HQ_page .pop_why_cover {
.sideMenu ol  {margin-left: 17px;}
+
display:none;
.sideMenu ul a , .sideMenu ol a{font-weight:bold; color: #4e606e; }
+
z-index: 100;
.sideMenu ul a:hover, .sideMenu ol a:hover { color:#f27631;}
+
    margin-top: -65px;
 +
    margin-left: -40px;
 +
width: 980px;
 +
height: 2100px;
 +
float:left;
 +
position: absolute;
 +
opacity: 0.5;
 +
background-color: #b2b2b2;
 +
        }
  
/*Second layer of lists  (SUBMENUS)  */
 
.sideMenu ul  ul { margin-left: 15px; list-style: none; color: #4e606e;}
 
.sideMenu ul  ul a {color: black; font-weight:normal;}
 
.sideMenu ul  ul a:hover { color:#f27631; cursor:pointer;}
 
  
 +
/*click class for expandable content */
 +
      #HQ_page .click_open {
 +
padding: 10px 15px;
 +
background-color: #f2f2f2;
 +
border: 1px solid #d3d3d3;
 +
border-radius: 3px;
 +
cursor:pointer;
  
 
+
/*animate transition */
.subMenu_toggle {
+
-webkit-transition: background 0.2s linear;
float:right;  
+
-moz-transition: background 0.2s linear;
cursor:pointer;
+
-ms-transition: background 0.2s linear;
 +
-o-transition: background 0.2s linear;
 +
transition: background 0.2s linear;
 
}
 
}
  
  
/**************************************************************************************************************************************************************************************************************************************************/
+
      #HQ_page .click_icon {
 
+
font-size:16px;
 +
float:right;
 +
margin-top:-25px;
 +
      }
  
  
  
 +
/*div that holds the toggle content, hide by default */
 +
      #HQ_page .click_content {
 +
display:none;
 +
      }
  
 +
/**********************************************************************************************************************************************************************************************************************************************/
  
  
Line 361: Line 359:
  
 
/*VISUAL STYLING*/
 
/*VISUAL STYLING*/
/**************************************************************************************************************************************************************************************************************************************************/
+
/**********************************************************************************************************************************************************************************************************************************************/
  
 
/* TEXT */
 
/* TEXT */
  
 
/* styling for text in all the pages */
 
/* styling for text in all the pages */
#contentWrap p {
+
#HQ_page  p {
 
font-family: "Arial", Helvetica, sans-serif;  
 
font-family: "Arial", Helvetica, sans-serif;  
 
font-size: 13px;
 
font-size: 13px;
 
text-align: justify;
 
text-align: justify;
 
}
 
}
 +
 +
 +
 +
/* styling for the hover of the alert box */
 +
#HQ_page .red_text {
 +
color: red;
 +
font-weight:bold;
 +
}
 +
  
 
/**************************************************************************************************************************************/
 
/**************************************************************************************************************************************/
Line 376: Line 383:
  
 
/* styling for all the headers in all the pages */
 
/* styling for all the headers in all the pages */
#contentWrap h1, h2, h3, h4, h5 {  
+
#HQ_page h1, h2, h3, h4, h5 {  
 
font-family: "Arial", Gadget, sans-serif;  
 
font-family: "Arial", Gadget, sans-serif;  
 
border-bottom:none;
 
border-bottom:none;
 
font-weight: bold;
 
font-weight: bold;
color: black;
 
 
}
 
}
  
  
 
/*Define color for  h1 titles (black) */
 
/*Define color for  h1 titles (black) */
#contentWrap h1 {  
+
#HQ_page .oneColumn h1,
 +
#HQ_page .twoColumns h1,
 +
#HQ_page .threeColumns h1,
 +
#HQ_page .fourColumns h1,
 +
#HQ_page .pop_why_content h1 {  
 
color: #000000;
 
color: #000000;
 
}
 
}
Line 391: Line 401:
  
 
/*Define color for  h2  titles  (turquoise) */
 
/*Define color for  h2  titles  (turquoise) */
#contentWrap h2 {  
+
#HQ_page .oneColumn h2,
 +
#HQ_page .twoColumns h2,
 +
#HQ_page .threeColumns h2,
 +
#HQ_page .fourColumns h2,
 +
#HQ_page .pop_why_content h2 {  
 
color: #5da88a;
 
color: #5da88a;
 
}
 
}
  
  
/*Define color for h4 titles  (navy)*/
+
/*Define color for h3 titles  (navy)*/
#contentWrap  h3, h4 {  
+
 
 +
#HQ_page .oneColumn h3,  
 +
#HQ_page .twoColumns h3,
 +
#HQ_page .threeColumns h3,
 +
#HQ_page .fourColumns h3,
 +
#HQ_page .pop_why_content h3 {  
 
color: #4d5f6d;
 
color: #4d5f6d;
 +
}
 +
 +
 +
/*Define color for h4 titles  (red)*/
 +
#HQ_page .oneColumn h4,
 +
#HQ_page .twoColumns h4,
 +
#HQ_page .threeColumns h4,
 +
#HQ_page .fourColumns h4,
 +
#HQ_page .pop_why_content h4 {
 +
color: #e9232f ;
 
}
 
}
  
  
 
/*Define color for h5 h6 titles (black)  */
 
/*Define color for h5 h6 titles (black)  */
#contentWrap h5, h6 {  
+
#HQ_page .oneColumn h5,  
 +
#HQ_page .twoColumns h5,
 +
#HQ_page .threeColumns h5,
 +
#HQ_page .fourColumns h5,
 +
#HQ_page .pop_why_content h5,
 +
#HQ_page .oneColumn h6,
 +
#HQ_page .twoColumns h6,
 +
#HQ_page .threeColumns h6,
 +
#HQ_page .fourColumns h6,
 +
#HQ_page .pop_why_content h6{  
 
color: #000000;
 
color: #000000;
 
}
 
}
Line 413: Line 451:
  
 
/*Defines the color of links*/
 
/*Defines the color of links*/
.oneColumn a, .twoColumns a, .threeColumns a, .fourColumns a {
+
#HQ_page .oneColumn a,  
 +
#HQ_page .twoColumns a,  
 +
#HQ_page .threeColumns a,
 +
#HQ_page .fourColumns a ,
 +
#HQ_page .pop_why_content a{
 
color:#f58631;
 
color:#f58631;
 
font-weight: bold;
 
font-weight: bold;
Line 421: Line 463:
  
 
  /* Styling links on hover- links are different in menus */
 
  /* Styling links on hover- links are different in menus */
.oneColumn a:hover, .twoColumns a:hover, .threeColumns a:hover, .fourColumns a:hover {
+
#HQ_page .oneColumn a:hover,  
 +
#HQ_page .twoColumns a:hover,  
 +
#HQ_page .threeColumns a:hover,  
 +
#HQ_page .fourColumns a:hover,
 +
#HQ_page .pop_why_content a:hover {
 
color: #fbceac;
 
color: #fbceac;
 
     }
 
     }
 
 
 
 
  
 
/**************************************************************************************************************************************/
 
/**************************************************************************************************************************************/
Line 433: Line 475:
  
 
/*Styling for all the tables */
 
/*Styling for all the tables */
         #contentWrap table {
+
         #HQ_page table {
 
border: 1px solid #ccc;
 
border: 1px solid #ccc;
 
border-collapse: collapse;
 
border-collapse: collapse;
Line 445: Line 487:
  
 
/*Styling cells inside all of the tables */
 
/*Styling cells inside all of the tables */
#contentWrap td {
+
#HQ_page td {
 
padding: 10px;
 
padding: 10px;
 
border: 1px solid #ccc;
 
border: 1px solid #ccc;
Line 453: Line 495:
  
 
/*Styling table headers for all the tables */
 
/*Styling table headers for all the tables */
#contentWrap th {
+
#HQ_page th {
 
background-color:#f2f2f2;
 
background-color:#f2f2f2;
 
padding: 10px;
 
padding: 10px;
Line 462: Line 504:
 
}
 
}
  
 +
/**********************************************************************************************************************************************************************************************************************************************/
  
  
Line 470: Line 513:
  
  
/*CLASSES */
 
/*Buttons for all of the pages */
 
        .button {
 
            width: 130px;
 
    border: 2px solid #f58631;
 
    background-color: #FFF;
 
    height: 30px;
 
    text-align: center;
 
        border-radius: 5px;
 
        padding: 10px 5px 0px 5px;
 
        margin: auto;
 
  
/*animate transition */
 
-webkit-transition: background 0.2s linear;
 
-moz-transition: background 0.2s linear;
 
-ms-transition: background 0.2s linear;
 
-o-transition: background 0.2s linear;
 
transition: background 0.2s linear;
 
    }       
 
  
/*For the button class, change background on hover */
 
        .button:hover {
 
    background-color: #f58631;
 
    color: #fff;
 
    }
 
  
 +
/*MENU */
 +
/**************************************************************************************************************************************************************************************************************************************************/
  
 +
/*  this div will contain the side menu */
 +
#sideMenu {
 +
width: 170px;
 +
position: absolute;
  
/*Class for creating a news post, this is used in the Main Page and in the Archived news page */
+
 
.newsItem {
+
top:20px;
border: 1px solid #cccccc;
+
left: 1020px;
margin: 0px 5px 5px 5px;
+
z-index: 10;
padding: 5px 15px 5px 15px;
+
 
border-radius: 5px;
+
padding-top: 0px;
 +
padding-bottom: 15px;
 +
padding-left: 15px;
 +
padding-right: 15px;
 +
 
 +
background-color: white;
 +
text-align: left;
 
}
 
}
  
  
 +
/* for all lists created within the sideMenu container - no spacing between top or bottom */
 +
#sideMenu ul {
 +
margin-top:0px;
 +
margin-bottom: 0px;
 +
}
  
 +
/* al links within side menu have no decoration */
 +
#sideMenu .sideMenu a:hover {
 +
text-decoration:none;
 +
}
  
/*Style the date inside a news post */
+
/* 2016 logo for top part of all menus */  
.newsDate {
+
#HQ_page #home_logo {
font-style: italic;  
+
margin-bottom:10px;
display: inline-block;
+
margin-top:10px;
color: #383838;
+
float: right;
+
padding-top: 5px;
+
padding-right: 15px;
+
 
}
 
}
  
 +
#sideMenu #home_logo:hover {
 +
opacity: 0.4;
 +
}
  
  
 +
/**************************************************************************************************************************************/
 +
/*MAIN MENU  STYLING*/
  
 +
/*styling for the Main menu*/
 +
#sideMenu #MainPage_menu ul li {
 +
width: 183px;
 +
margin-left: -30px;
 +
margin-bottom: 0px;
 +
list-style:none;
 +
}
  
/* highlight classes */
 
  
 +
/*main menu button */
 +
#sideMenu .mainMenu_Title {
 +
width: 152px;
 +
float:left;
  
.highlightBoxB {
+
padding-left:15px;
background-color: #f2f2f2;  
+
padding-top: 10px;  
padding: 10px;
+
padding-bottom: 10px;
width: 85%;  
+
 
margin:auto;
+
border: solid 1px #f2f2f2;
margin-top:10px;
+
font-size: 14px;
margin-bottom:10px;
+
 
border-radius:5px;
+
/*animate transition */
border: 1px solid #ccc;  
+
-webkit-transition: background 0.1s linear;
 +
-moz-transition: background 0.1s linear;
 +
-ms-transition: background 0.1s linear;
 +
-o-transition: background 0.1s linear;
 +
transition: background 0.1s linear;  
 
}
 
}
  
  
/*highlight link */
+
/* toggle button in the main Menu */
 +
#sideMenu .mainMenu_toggle {
 +
width: 24px;
 +
text-align: center;
 +
float: left;
 +
font-size: 12px;
 +
margin-right: -17px;
 +
margin-left: -14px;
 +
padding-left: 5px;
 +
padding-bottom: 10px;
 +
padding-top: 10px;
 +
border: solid 1px #f2f2f2;
 +
 
  
a.redLink { color: red;}
+
/*animate transition */
 +
-webkit-transition: background 0.1s linear;
 +
-moz-transition: background 0.1s linear;
 +
-ms-transition: background 0.1s linear;
 +
-o-transition: background 0.1s linear;
 +
transition: background 0.1s linear;
 +
}
  
a.redLink:hover { color: pink;}
 
  
 +
/*hover styling for main menu item and main menu toggle */
 +
#sideMenu .mainMenu_Title:hover,
 +
  #sideMenu .mainMenu_toggle:hover  {
  
 +
border: solid 1px #5da88a;
 +
background: #5da88a;
 +
color:white;
  
#slideshow {margin-left: -15px; margin-right:-15px;}
+
}
  
#exampleSlider { overflow: hidden; list-style: none; padding: 0; margin: 0;}
 
  
  
.hide_button {width:25px; height:30px;background-color: #f2f2f2;text-align:center;font-weight:bold;padding-top:5px;cursor:pointer; left:975px; top:20px; position:absolute; z-index:50;}
+
/*MAIN MENU LIST UNDER TOGGLES (NESTED LISTS) */
  
.hide_button:hover { background-color:orange; }
 
  
 +
/* lists inside the toggle */
 +
#sideMenu #MainPage_menu ul li li {
 +
width: 183px;
  
 +
margin-bottom: 0px;
 +
margin-left: -15px;
 +
padding-left: 15px;
 +
padding-top: 5px;
 +
padding-bottom:5px;
  
/*
+
cursor: pointer;
 +
border: solid 1px #f2f2f2;
 +
background-color: white;
 +
color: black;
 +
font-size: 12px;
 +
}
  
#returnMainMenu, #returnCurrentMenu, #TitleMainMenu  {  
+
/* hover for the lists inside the toggle */
width:185px;  
+
#sideMenu #MainPage_menu ul li li:hover {
background-color:#f2f2f2;  
+
border: solid 1px #5da88a;
height:30px;  
+
background: #5da88a;
 +
color:white;
 +
}
 +
 
 +
 
 +
 
 +
 
 +
/************************************************/
 +
 
 +
 
 +
 
 +
/* For HUB MENUS */
 +
 
 +
 
 +
/*upper part of hub menus; switching between menus, menu name and collapse/expand all */
 +
 
 +
/* This switches between menus    " ▶ " */
 +
#sideMenu .switch_Menus {
 +
width:30px;
 +
font-size: 18px;
 
margin-left:-15px;  
 
margin-left:-15px;  
padding-top: 10px;
+
display:block;
padding-left: 15px;
+
cursor:pointer; 
+
font-weight:bold;
+
font-size:18px; 
+
color: #4d5f6d;
+
 
}
 
}
  
  
#TitleMainMenu  { background-color: #ebeea9; color:#4d5f6d;  }
 
  
 +
/* This holds the title of the menu  "NAME OF HUB MENU " */
 +
#sideMenu .sideMenuTitle  {
 +
width:140px;
 +
margin-left: 0px;
 +
font-size: 16px;
 +
}
  
#returnMainMenu:hover, #returnCurrentMenu:hover, #TitleMainMenu:hover {  
+
 
background-color: #f17530;
+
 
 +
/* This holds the expand all / collapse all button (+) (-)  */
 +
#sideMenu .expand_subMenus {
 +
width:30px;
 +
font-size: 20px;
 +
margin-right:-15px;
 +
}
 +
 
 +
 
 +
/* declares the height and color that three elements have in common */
 +
#sideMenu .sideMenuTitle,
 +
#sideMenu .expand_subMenus,
 +
#sideMenu .switch_Menus {
 +
height:30px;
 +
padding-top:10px;
 +
float:left;
 +
font-weight:bold;
 +
color: #4e606e;
 +
background-color:#e8edaa;
 +
cursor:pointer;
 +
text-align:center;
 +
}
 +
 
 +
 
 +
/* declares hover state, background turns orange and font becomes white */
 +
#sideMenu .sideMenuTitle:hover,  
 +
#sideMenu .expand_subMenus:hover,
 +
#sideMenu .switch_Menus:hover {  
 +
background-color:#f17530;  
 
color:white;
 
color:white;
 
}
 
}
  
*/
 
  
 +
/************************************************/
 +
 +
/*Lists and nested lists within the hub menu */
 +
 +
 +
 +
/* h4 titles used in hub menus change to turquoise */
 +
#sideMenu h4 {
 +
color: #5ba88a;
 +
}
 +
 +
/* toggle ▼*/
 +
#sideMenu .subMenu_toggle {
 +
float:right;
 +
cursor:pointer;
 +
}
 +
 +
 +
/*First layer of lists  (LIST ITEMS)  */
 +
 +
/* remove indentation in not numbered lists */
 +
#sideMenu ul  {
 +
margin-left: 15px;
 +
list-style:disc;
 +
}
 +
 +
/* remove indentation in numbered lists */
 +
#sideMenu ol  {
 +
margin-left: 17px;
 +
}
 +
 +
/* declare the color of links in both types of lists */
 +
#sideMenu ul a , #sideMenu ol a {
 +
font-weight:bold;
 +
color: #4e606e;
 +
}
 +
 +
/* declare the color of links in hover state  in both types of lists */
 +
#sideMenu ul a:hover, #HQ_page #sideMenu ol a:hover {
 +
color:#f27631;
 +
}
 +
 +
 +
 +
/*Second layer of lists  (SUBMENUS)  */
 +
 +
/* styling for nested lists */
 +
#sideMenu ul  ul {
 +
margin-left: 15px;
 +
list-style: none;
 +
color: #4e606e;
 +
}
 +
 +
/* styling for links in nested lists */
 +
#sideMenu ul  ul a {
 +
color: black;
 +
font-weight:normal;
 +
}
 +
 +
/*styling for hover state of links in nested lists */
 +
#sideMenu ul  ul a:hover {
 +
color:#f27631;
 +
cursor:pointer;
 +
}
  
  
Line 590: Line 790:
  
  
<div id="contentWrap">
 
  
  
<div class="sideMenu">
 
  
<a href="https://2015.igem.org/Demo_mainpage">
+
<!----------------------------------------------------------- Declares that pages under this template will use HQ styling --------------------------------------------------------------->
<div id="home_logo" >
+
<div id="HQ_page">
<img style="float:left;" src="https://static.igem.org/mediawiki/2015/2/2a/Igemlogo_banner.jpg" width="60px">  
+
 
<h1 style="float:left; padding-left:20px; padding-top:20px;"> 2016 </h1>
+
 
</div>
+
 
</a>
+
 
<div style="clear:both;"></div>
+
<!-----------------------------------------------------------Logo --------------------------------------------------------------->
 +
 
 +
 
 +
<!-----------------------------------------------------------Menu --------------------------------------------------------------->
 +
 
 +
 
 +
<!--------------------------------------------------------------------------------------------------------------------------------->
 +
 
 +
 
 +
<!------------------------------------------ Pop why ( ? ) divs - hidden by default ------------------------------------------>
 +
<div class="pop_why_cover">
 +
</div>
 +
 
 +
 
 +
<div class="pop_why_box" > <div class="pop_close">× </div>
 +
<div class="pop_why_content">
 +
<h3> Loading ... </h3>
 +
</div>
 +
</div>
 +
<!--------------------------------------------------------------------------------------------------------------------------------->
 +
 
  
<div id="menuDisplay">
 
  
</div>
 
  
  
</div>
 
  
 
</html>
 
</html>

Latest revision as of 20:16, 1 December 2015

×

Loading ...