(Undo revision 39 by Sifuentes anita (talk)) |
|||
Line 3: | Line 3: | ||
/* Clear the default wiki settings */ | /* Clear the default wiki settings */ | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
/*-- Make page full width and remove borders */ | /*-- Make page full width and remove borders */ | ||
− | #globalWrapper, | + | #globalWrapper, { |
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
− | border: | + | border: none; |
background-color: transparent; | background-color: transparent; | ||
margin: 0px; | margin: 0px; | ||
Line 26: | Line 22: | ||
} | } | ||
+ | /*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; | ||
+ | } | ||
+ | |||
+ | /*First heading styling */ | ||
+ | .firstHeading { | ||
+ | padding-top: 20px; | ||
+ | border-bottom: none; | ||
+ | margin-left: 15px; | ||
+ | |||
+ | } | ||
Line 33: | Line 53: | ||
} | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /*STYLING BELLOW " #HQ_page " will apply only to pages created by HQ members */ | ||
Line 38: | Line 64: | ||
/*LAYOUT CLASSES */ | /*LAYOUT CLASSES */ | ||
/**************************************************************************************************************************************************************************************************************************************************/ | /**************************************************************************************************************************************************************************************************************************************************/ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/* Full width div */ | /* Full width div */ | ||
− | .oneColumn { | + | #HQ_page .oneColumn { |
− | width: | + | 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: | + | width: 444px; |
float:left; | float:left; | ||
− | padding:15px; | + | padding: 15px; |
} | } | ||
/* one third width div */ | /* one third width div */ | ||
− | .threeColumns { | + | #HQ_page .threeColumns { |
− | width: | + | width: 285px; |
− | float:left; | + | float: left; |
− | padding:15px; | + | padding: 15px; |
} | } | ||
/* one fourth width div */ | /* one fourth width div */ | ||
− | .fourColumns { | + | #HQ_page .fourColumns { |
− | width: | + | width: 206px; |
float:left; | float:left; | ||
− | padding:15px; | + | padding: 15px; |
} | } | ||
− | /*Clear | + | /*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; | ||
+ | } | ||
− | |||
− | /* | + | /*CLASSES */ |
+ | /**********************************************************************************************************************************************************************************************************************************************/ | ||
− | |||
− | |||
− | |||
− | |||
− | + | /* EFFECTS / VARIANTS FOR LAYOUT CLASSES */ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | /*highlight a div on hover*/ | |
− | + | #HQ_page .highlight { | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
/*animate transition */ | /*animate transition */ | ||
-webkit-transition: background 0.2s linear; | -webkit-transition: background 0.2s linear; | ||
Line 130: | Line 127: | ||
} | } | ||
− | + | /* change the color on hover */ | |
− | /*hover | + | #HQ_page .highlight:hover { |
− | . | + | |
background-color:#ebeea9; | background-color:#ebeea9; | ||
cursor:pointer; | cursor:pointer; | ||
Line 138: | Line 134: | ||
− | /* | + | /* declare a medium gray line around the div*/ |
− | + | #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; | ||
+ | } | ||
− | + | #HQ_page .photo_container p{ | |
− | + | padding: 0px 15px; | |
+ | font-size: 11px; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | /* declares that a div is an alert box */ | |
− | + | #HQ_page .alert_box{ | |
− | + | background-color: pink; | |
− | + | border: 1px solid red; | |
− | + | color:red; | |
− | + | font-weight:bold; | |
− | + | 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; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
/**************************************************************************************************************************************/ | /**************************************************************************************************************************************/ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | /*Buttons for all of the pages */ | |
− | + | #HQ_page .button { | |
− | + | min-width: 25%; | |
− | + | max-width: 50%; | |
− | /* | + | border: 3px solid #f58631; |
− | + | color: #f58631; | |
− | + | background-color: #FFF; | |
− | + | height: 30px; | |
− | + | font-size: 15px; | |
− | + | text-align: center; | |
− | + | border-radius: 5px; | |
− | + | padding: 10px 5px 0px 5px; | |
− | + | margin: auto; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
/*animate transition */ | /*animate transition */ | ||
Line 230: | Line 210: | ||
-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; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | /* | + | /*Class for creating a news post, this is used in the Main Page and in the Archived news page */ |
− | # | + | #HQ_page .newsItem { |
− | + | border: 1px solid #cccccc; | |
+ | margin: 0px 5px 5px 5px; | ||
+ | padding: 5px 15px 5px 15px; | ||
+ | border-radius: 5px; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | /*Style the date inside a news post */ | |
− | + | #HQ_page .newsDate { | |
− | + | font-style: italic; | |
− | + | display: inline-block; | |
− | + | color: #383838; | |
− | + | float: right; | |
− | + | padding-top: 5px; | |
− | + | padding-right: 15px; | |
− | + | ||
− | + | ||
− | /* | + | |
− | + | ||
− | + | ||
− | # | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | color: # | + | |
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | /* ( ? ) 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; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | /*For the pop why class, changes the color on hover */ | ||
+ | #HQ_page .pop_why:hover { | ||
+ | color: #fff; | ||
+ | background-color:#f58631; | ||
+ | } | ||
− | /* | + | /*For the pop why class,creates the close button X */ |
− | . | + | #HQ_page .pop_close { |
− | + | font-size: 25px; | |
− | + | border: 3px solid #f58631; | |
− | + | 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; | ||
+ | } | ||
− | + | /*For the pop why class, div that holds the content being loaded */ | |
− | background-color:# | + | #HQ_page .pop_why_box { |
− | + | 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; | ||
+ | } | ||
− | |||
− | |||
− | /* | + | /*creates a div that covers the content - if clicked closes the pop why */ |
− | + | #HQ_page .pop_why_cover { | |
− | + | display:none; | |
− | + | z-index: 100; | |
− | + | margin-top: -65px; | |
+ | margin-left: -40px; | ||
+ | width: 980px; | ||
+ | height: 2100px; | ||
+ | float:left; | ||
+ | position: absolute; | ||
+ | opacity: 0.5; | ||
+ | background-color: #b2b2b2; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
+ | /*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 */ | |
− | + | -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; | ||
} | } | ||
− | + | #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 363: | ||
/*VISUAL STYLING*/ | /*VISUAL STYLING*/ | ||
− | / | + | /**********************************************************************************************************************************************************************************************************************************************/ |
/* TEXT */ | /* TEXT */ | ||
/* styling for text in all the pages */ | /* styling for text in all the pages */ | ||
− | # | + | #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 387: | ||
/* styling for all the headers in all the pages */ | /* styling for all the headers in all the pages */ | ||
− | # | + | #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; | ||
− | |||
} | } | ||
/*Define color for h1 titles (black) */ | /*Define color for h1 titles (black) */ | ||
− | + | #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 405: | ||
/*Define color for h2 titles (turquoise) */ | /*Define color for h2 titles (turquoise) */ | ||
− | + | #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 | + | /*Define color for h3 titles (navy)*/ |
− | + | ||
+ | #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) */ | ||
− | + | #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 455: | ||
/*Defines the color of links*/ | /*Defines the color of links*/ | ||
− | + | #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 467: | ||
/* Styling links on hover- links are different in menus */ | /* Styling links on hover- links are different in menus */ | ||
− | + | #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 479: | ||
/*Styling for all the tables */ | /*Styling for all the tables */ | ||
− | # | + | #HQ_page table { |
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
Line 445: | Line 491: | ||
/*Styling cells inside all of the tables */ | /*Styling cells inside all of the tables */ | ||
− | # | + | #HQ_page td { |
padding: 10px; | padding: 10px; | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
Line 453: | Line 499: | ||
/*Styling table headers for all the tables */ | /*Styling table headers for all the tables */ | ||
− | # | + | #HQ_page th { |
background-color:#f2f2f2; | background-color:#f2f2f2; | ||
padding: 10px; | padding: 10px; | ||
Line 462: | Line 508: | ||
} | } | ||
+ | /**********************************************************************************************************************************************************************************************************************************************/ | ||
Line 470: | Line 517: | ||
− | /* | + | /*MENU */ |
− | + | /**************************************************************************************************************************************************************************************************************************************************/ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | /* this div will contain the side menu */ | |
− | + | #HQ_page .sideMenu { | |
− | + | width: 170px; | |
− | + | position: absolute; | |
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | top:20px; | ||
+ | left: 1020px; | ||
+ | z-index: 10; | ||
+ | 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 */ | ||
+ | #HQ_page .sideMenu ul { | ||
+ | margin-top:0px; | ||
+ | margin-bottom: 0px; | ||
+ | } | ||
+ | /* al links within side menu have no decoration */ | ||
+ | #HQ_page .sideMenu a:hover { | ||
+ | text-decoration:none; | ||
+ | } | ||
− | + | /* 2016 logo for top part of all menus */ | |
− | + | #HQ_page #home_logo { | |
− | + | margin-bottom:10px; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
+ | #HQ_page #home_logo:hover { | ||
+ | opacity: 0.4; | ||
+ | } | ||
+ | /**************************************************************************************************************************************/ | ||
+ | /*MAIN MENU STYLING*/ | ||
+ | /*styling for the Main menu*/ | ||
+ | #HQ_page #MainPage_menu ul li { | ||
+ | width: 183px; | ||
+ | margin-left: -30px; | ||
+ | margin-bottom: 0px; | ||
+ | list-style:none; | ||
+ | } | ||
− | |||
+ | /*main menu button */ | ||
+ | #HQ_page .mainMenu_Title { | ||
+ | width: 152px; | ||
+ | float:left; | ||
− | + | padding-left:15px; | |
− | + | padding-top: 10px; | |
− | padding: 10px; | + | padding-bottom: 10px; |
− | + | ||
− | + | border: solid 1px #f2f2f2; | |
− | + | font-size: 14px; | |
− | + | ||
− | + | /*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; | ||
} | } | ||
− | /* | + | /* toggle button in the main Menu */ |
+ | #HQ_page .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 */ | |
+ | -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; | ||
+ | } | ||
− | |||
+ | /*hover styling for main menu item and main menu toggle */ | ||
+ | #HQ_page .mainMenu_Title:hover, | ||
+ | #HQ_page .mainMenu_toggle:hover { | ||
+ | border: solid 1px #5da88a; | ||
+ | background: #5da88a; | ||
+ | color:white; | ||
− | + | } | |
− | |||
− | + | /*MAIN MENU LIST UNDER TOGGLES (NESTED LISTS) */ | |
− | |||
+ | /* lists inside the toggle */ | ||
+ | #HQ_page #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; | ||
+ | } | ||
− | # | + | /* hover for the lists inside the toggle */ |
− | + | #HQ_page #MainPage_menu ul li li:hover { | |
− | background | + | border: solid 1px #5da88a; |
− | + | 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 " ▶ " */ | ||
+ | #HQ_page .switch_Menus { | ||
+ | width:30px; | ||
+ | font-size: 18px; | ||
margin-left:-15px; | margin-left:-15px; | ||
− | + | display:block; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | |||
+ | /* This holds the title of the menu "NAME OF HUB MENU " */ | ||
+ | #HQ_page .sideMenuTitle { | ||
+ | width:140px; | ||
+ | margin-left: 0px; | ||
+ | font-size: 16px; | ||
+ | } | ||
− | # | + | |
− | background-color: #f17530; | + | |
+ | /* This holds the expand all / collapse all button (+) (-) */ | ||
+ | #HQ_page .expand_subMenus { | ||
+ | width:30px; | ||
+ | font-size: 20px; | ||
+ | margin-right:-15px; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* declares the height and color that three elements have in common */ | ||
+ | #HQ_page .sideMenuTitle, #HQ_page .expand_subMenus, #HQ_page .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 */ | ||
+ | #HQ_page .sideMenuTitle:hover, #HQ_page .expand_subMenus:hover, #HQ_page .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 */ | ||
+ | #HQ_page .sideMenu h4 { | ||
+ | color: #5ba88a; | ||
+ | } | ||
+ | |||
+ | /* toggle ▼*/ | ||
+ | #HQ_page .subMenu_toggle { | ||
+ | float:right; | ||
+ | cursor:pointer; | ||
+ | } | ||
+ | |||
+ | |||
+ | /*First layer of lists (LIST ITEMS) */ | ||
+ | |||
+ | /* remove indentation in not numbered lists */ | ||
+ | #HQ_page .sideMenu ul { | ||
+ | margin-left: 15px; | ||
+ | list-style:disc; | ||
+ | } | ||
+ | |||
+ | /* remove indentation in numbered lists */ | ||
+ | #HQ_page .sideMenu ol { | ||
+ | margin-left: 17px; | ||
+ | } | ||
+ | |||
+ | /* declare the color of links in both types of lists */ | ||
+ | #HQ_page .sideMenu ul a , #HQ_page .sideMenu ol a { | ||
+ | font-weight:bold; | ||
+ | color: #4e606e; | ||
+ | } | ||
+ | |||
+ | /* declare the color of links in hover state in both types of lists */ | ||
+ | #HQ_page .sideMenu ul a:hover, #HQ_page .sideMenu ol a:hover { | ||
+ | color:#f27631; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | /*Second layer of lists (SUBMENUS) */ | ||
+ | |||
+ | /* styling for nested lists */ | ||
+ | #HQ_page .sideMenu ul ul { | ||
+ | margin-left: 15px; | ||
+ | list-style: none; | ||
+ | color: #4e606e; | ||
+ | } | ||
+ | |||
+ | /* styling for links in nested lists */ | ||
+ | #HQ_page .sideMenu ul ul a { | ||
+ | color: black; | ||
+ | font-weight:normal; | ||
+ | } | ||
+ | |||
+ | /*styling for hover state of links in nested lists */ | ||
+ | #HQ_page .sideMenu ul ul a:hover { | ||
+ | color:#f27631; | ||
+ | cursor:pointer; | ||
+ | } | ||
Line 590: | Line 786: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </div> | + | |
+ | <!----------------------------------------------------------- Declares that pages under this template will use HQ styling ---------------------------------------------------------------> | ||
+ | <div id="HQ_page"> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <!-----------------------------------------------------------Menu ---------------------------------------------------------------> | ||
+ | |||
+ | <div class="sideMenu"> | ||
+ | |||
+ | <a href="https://2015.igem.org/Demo_mainpage"> | ||
+ | <div id="home_logo" > | ||
+ | <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; height:5px;"></div> | ||
+ | |||
+ | <div id="menuDisplay"> <!- Menu will be loaded here -> | ||
+ | |||
+ | </div> | ||
+ | </div> | ||
+ | |||
+ | <!---------------------------------------------------------------------------------------------------------------------------------> | ||
+ | |||
+ | |||
+ | <!------------------------------------------ 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> | ||
+ | <!---------------------------------------------------------------------------------------------------------------------------------> | ||
+ | |||
+ | |||
− | |||
</html> | </html> |
Revision as of 18:18, 30 November 2015