(3 intermediate revisions by the same user not shown) | |||
Line 505: | Line 505: | ||
/**********************************************************************************************************************************************************************************************************************************************/ | /**********************************************************************************************************************************************************************************************************************************************/ | ||
+ | |||
+ | |||
+ | |||
Line 517: | Line 520: | ||
/* this div will contain the side menu */ | /* this div will contain the side menu */ | ||
− | + | #sideMenu { | |
width: 170px; | width: 170px; | ||
position: absolute; | position: absolute; | ||
Line 537: | Line 540: | ||
/* for all lists created within the sideMenu container - no spacing between top or bottom */ | /* for all lists created within the sideMenu container - no spacing between top or bottom */ | ||
− | # | + | #sideMenu ul { |
margin-top:0px; | margin-top:0px; | ||
margin-bottom: 0px; | margin-bottom: 0px; | ||
Line 543: | Line 546: | ||
/* al links within side menu have no decoration */ | /* al links within side menu have no decoration */ | ||
− | # | + | #sideMenu .sideMenu a:hover { |
text-decoration:none; | text-decoration:none; | ||
} | } | ||
Line 553: | Line 556: | ||
} | } | ||
− | # | + | #sideMenu #home_logo:hover { |
opacity: 0.4; | opacity: 0.4; | ||
} | } | ||
Line 562: | Line 565: | ||
/*styling for the Main menu*/ | /*styling for the Main menu*/ | ||
− | # | + | #sideMenu #MainPage_menu ul li { |
width: 183px; | width: 183px; | ||
margin-left: -30px; | margin-left: -30px; | ||
Line 571: | Line 574: | ||
/*main menu button */ | /*main menu button */ | ||
− | + | #sideMenu .mainMenu_Title { | |
width: 152px; | width: 152px; | ||
float:left; | float:left; | ||
Line 592: | Line 595: | ||
/* toggle button in the main Menu */ | /* toggle button in the main Menu */ | ||
− | + | #sideMenu .mainMenu_toggle { | |
width: 24px; | width: 24px; | ||
text-align: center; | text-align: center; | ||
Line 615: | Line 618: | ||
/*hover styling for main menu item and main menu toggle */ | /*hover styling for main menu item and main menu toggle */ | ||
− | + | #sideMenu .mainMenu_Title:hover, | |
− | + | #sideMenu .mainMenu_toggle:hover { | |
border: solid 1px #5da88a; | border: solid 1px #5da88a; | ||
Line 630: | Line 633: | ||
/* lists inside the toggle */ | /* lists inside the toggle */ | ||
− | + | #sideMenu #MainPage_menu ul li li { | |
width: 183px; | width: 183px; | ||
Line 647: | Line 650: | ||
/* hover for the lists inside the toggle */ | /* hover for the lists inside the toggle */ | ||
− | + | #sideMenu #MainPage_menu ul li li:hover { | |
border: solid 1px #5da88a; | border: solid 1px #5da88a; | ||
background: #5da88a; | background: #5da88a; | ||
Line 666: | Line 669: | ||
/* This switches between menus " ▶ " */ | /* This switches between menus " ▶ " */ | ||
− | # | + | #sideMenu .switch_Menus { |
width:30px; | width:30px; | ||
font-size: 18px; | font-size: 18px; | ||
Line 676: | Line 679: | ||
/* This holds the title of the menu "NAME OF HUB MENU " */ | /* This holds the title of the menu "NAME OF HUB MENU " */ | ||
− | # | + | #sideMenu .sideMenuTitle { |
width:140px; | width:140px; | ||
margin-left: 0px; | margin-left: 0px; | ||
Line 685: | Line 688: | ||
/* This holds the expand all / collapse all button (+) (-) */ | /* This holds the expand all / collapse all button (+) (-) */ | ||
− | # | + | #sideMenu .expand_subMenus { |
width:30px; | width:30px; | ||
font-size: 20px; | font-size: 20px; | ||
Line 693: | Line 696: | ||
/* declares the height and color that three elements have in common */ | /* declares the height and color that three elements have in common */ | ||
− | # | + | #sideMenu .sideMenuTitle, |
+ | #sideMenu .expand_subMenus, | ||
+ | #sideMenu .switch_Menus { | ||
height:30px; | height:30px; | ||
padding-top:10px; | padding-top:10px; | ||
Line 706: | Line 711: | ||
/* declares hover state, background turns orange and font becomes white */ | /* declares hover state, background turns orange and font becomes white */ | ||
− | # | + | #sideMenu .sideMenuTitle:hover, |
+ | #sideMenu .expand_subMenus:hover, | ||
+ | #sideMenu .switch_Menus:hover { | ||
background-color:#f17530; | background-color:#f17530; | ||
color:white; | color:white; | ||
Line 719: | Line 726: | ||
/* h4 titles used in hub menus change to turquoise */ | /* h4 titles used in hub menus change to turquoise */ | ||
− | # | + | #sideMenu h4 { |
color: #5ba88a; | color: #5ba88a; | ||
} | } | ||
/* toggle ▼*/ | /* toggle ▼*/ | ||
− | # | + | #sideMenu .subMenu_toggle { |
float:right; | float:right; | ||
cursor:pointer; | cursor:pointer; | ||
Line 733: | Line 740: | ||
/* remove indentation in not numbered lists */ | /* remove indentation in not numbered lists */ | ||
− | # | + | #sideMenu ul { |
margin-left: 15px; | margin-left: 15px; | ||
list-style:disc; | list-style:disc; | ||
Line 739: | Line 746: | ||
/* remove indentation in numbered lists */ | /* remove indentation in numbered lists */ | ||
− | # | + | #sideMenu ol { |
margin-left: 17px; | margin-left: 17px; | ||
} | } | ||
/* declare the color of links in both types of lists */ | /* declare the color of links in both types of lists */ | ||
− | # | + | #sideMenu ul a , #sideMenu ol a { |
font-weight:bold; | font-weight:bold; | ||
color: #4e606e; | color: #4e606e; | ||
Line 750: | Line 757: | ||
/* declare the color of links in hover state in both types of lists */ | /* 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; | color:#f27631; | ||
} | } | ||
Line 759: | Line 766: | ||
/* styling for nested lists */ | /* styling for nested lists */ | ||
− | # | + | #sideMenu ul ul { |
margin-left: 15px; | margin-left: 15px; | ||
list-style: none; | list-style: none; | ||
Line 766: | Line 773: | ||
/* styling for links in nested lists */ | /* styling for links in nested lists */ | ||
− | # | + | #sideMenu ul ul a { |
color: black; | color: black; | ||
font-weight:normal; | font-weight:normal; | ||
Line 772: | Line 779: | ||
/*styling for hover state of links in nested lists */ | /*styling for hover state of links in nested lists */ | ||
− | # | + | #sideMenu ul ul a:hover { |
color:#f27631; | color:#f27631; | ||
cursor:pointer; | cursor:pointer; | ||
Line 779: | Line 786: | ||
</style> | </style> | ||
− | |||
− | |||
− | |||
Line 800: | Line 804: | ||
<!-----------------------------------------------------------Menu ---------------------------------------------------------------> | <!-----------------------------------------------------------Menu ---------------------------------------------------------------> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<!---------------------------------------------------------------------------------------------------------------------------------> | <!---------------------------------------------------------------------------------------------------------------------------------> |
Latest revision as of 20:16, 1 December 2015
×