X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=testing%2FCansWebInterface%2Fstatic%2Fexp-menu.css;fp=testing%2FCansWebInterface%2Fstatic%2Fexp-menu.css;h=6d1cbd2f8e9663a0433e8e98174953dbb9133841;hb=4a7e2a370cfc471bb80266a3b04b612a88509638;hp=0000000000000000000000000000000000000000;hpb=b7f8477c788435d80a71530b09f0d34f6dfa1247;p=matches%2FMCTX3420.git diff --git a/testing/CansWebInterface/static/exp-menu.css b/testing/CansWebInterface/static/exp-menu.css new file mode 100644 index 0000000..6d1cbd2 --- /dev/null +++ b/testing/CansWebInterface/static/exp-menu.css @@ -0,0 +1,89 @@ +/* + Document : nav-menu + Created on : 21/09/2013, 8:33:30 PM + Author : Jeremy Tan Ammended By James Rosher + Description: + Navigation menu styling. + Background colour: #2A2A2A + Highlight colour: #f2f2f2 + Normal text colour: #bbbbbb +*/ + +/** Easing **/ +.exp-menu { + transition: all 0.2s ease 0s; +} + +/** Main menu list styling **/ +.exp-menu ul { + list-style: none outside none; + margin: 0; + padding-left: 0; + text-align: center; +} + +/** Menu item styling **/ +.exp-menu li { + display: inline-block; + position: relative; +} + +/** Link styling **/ +.exp-menu a { + background-color: #3090C7; + border-radius: 2px; + border: 1px solid #F0FFFF; + color: #FFFFFF; + display: inline-block; + margin: 0.1em; + padding: 0.2em 2em; + text-decoration: none; + transition: all 0.2s ease 0s; +} + +/** Highlight currently hovered-over item **/ +.exp-menu li:hover > a { + background-color: #87AFC7; + color: #2a2a2a; +} + +/** Display submenu when hovering over list item **/ +.exp-menu ul li:hover > ul { + display: block; +} + +/** Submenu styling **/ +.exp-menu ul ul { + background-color: #2A2A2A; + border-radius: 2px; + box-shadow: 1px 1px 1px #2A2A2A; + display: none; + left: 0; + padding: 0.25em 0.5em; + position: absolute; + text-align: center; + z-index: 10; +} + +/** Submenu link styling **/ +.exp-menu ul ul a { + width: 11em; + padding: 0.25em 0.5em; +} + +/** + Style of menu: +
+ +
+*/ \ No newline at end of file