Instantly share code, notes, and snippets.
Created
August 18, 2015 20:29
-
Save austinklenk/c7f90651e0c3552c4465 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Sidebar Start */ | |
.sidebar { | |
background-color: #293343; | |
width: 80px; | |
height: 100%; | |
position: fixed; | |
top: 0px; | |
left: 0px; | |
z-index: 1000; | |
border-right: 4px solid #f84444; | |
} | |
.logo{ | |
text-align: center; | |
padding-top: 15px; | |
padding-bottom: 15px; | |
margin-bottom: 15px; | |
font-size: 24px; | |
color: #fff !important; | |
width: 100%; | |
background-color: #293343; | |
} | |
ul.user-links { | |
bottom: 0px !important; | |
position: relative; | |
left: 0px; | |
} | |
.user-links { | |
position: relative; | |
} | |
.side-links { | |
letter-spacing: 1px; | |
width: 100%; | |
margin-right: 3px; | |
} | |
#tc-menu { | |
position: relative; | |
} | |
/* Sidebar End */ | |
/* Navigation Start */ | |
.nav { | |
margin-top: -15px; | |
} | |
ul { | |
margin-left: -40px; | |
position: relative; | |
} | |
a.side-links:hover { | |
background-color: #f84444 !important; | |
} | |
a.logo:hover { | |
background-color: transparent; | |
} | |
#tc-menu { | |
padding: 0; | |
margin: 0; | |
border: 0; | |
line-height: 1; | |
} | |
#tc-menu ul, | |
#tc-menu ul li, | |
#tc-menu ul ul { | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
} | |
#tc-menu ul { | |
position: relative; | |
z-index: 597; | |
float: left; | |
} | |
#tc-menu ul li { | |
float: left; | |
min-height: 1px; | |
line-height: 1em; | |
vertical-align: middle; | |
position: relative; | |
} | |
#tc-menu ul li.hover, | |
#tc-menu ul li:hover { | |
position: relative; | |
z-index: 599; | |
cursor: default; | |
} | |
#tc-menu ul ul { | |
visibility: visible; | |
position: absolute; | |
top: 100%; | |
left: 0px; | |
z-index: 598; | |
width: 100%; | |
} | |
#tc-menu ul ul li { | |
float: none; | |
} | |
#tc-menu ul ul ul { | |
top: -2px; | |
right: 0; | |
} | |
#tc-menu ul li:hover > ul { | |
visibility: visible; | |
} | |
#tc-menu ul ul { | |
top: 1px; | |
left: 99%; | |
} | |
#tc-menu ul li { | |
float: none; | |
} | |
#tc-menu ul ul { | |
margin-top: 1px; | |
} | |
#tc-menu ul ul li { | |
font-weight: normal; | |
} | |
/* Custom CSS Styles */ | |
#tc-menu { | |
width: 100%; | |
background-color: #293343; | |
font-family: 'Titillium Web', sans-serif; | |
font-size: 18px; | |
} | |
#tc-menu:before { | |
content: ''; | |
display: block; | |
} | |
#tc-menu:after { | |
content: ''; | |
display: table; | |
clear: both; | |
} | |
#tc-menu a { | |
display: block; | |
padding: 15px 20px; | |
color: #ffffff; | |
text-decoration: none; | |
} | |
#tc-menu > ul { | |
width: 100%; | |
} | |
#tc-menu ul ul { | |
width: 100%; | |
} | |
#tc-menu > ul > li > a { | |
border-right: 4px solid #000 !important; | |
color: #fff | |
} | |
#tc-menu > ul > li > a:hover { | |
color: #f84444 !important; | |
} | |
#tc-menu > ul > li.active a { | |
background: #f84444; | |
} | |
#tc-menu > ul > li a:hover, | |
#tc-menu > ul > li:hover a { | |
background: #f84444; | |
} | |
#tc-menu li { | |
position: relative; | |
} | |
#tc-menu ul li.has-sub > a:after { | |
content: '+'; | |
position: absolute; | |
top: 50%; | |
right: 15px; | |
margin-top: -6px; | |
} | |
#tc-menu ul ul li.first { | |
-webkit-border-radius: 0 3px 0 0; | |
-moz-border-radius: 0 3px 0 0; | |
border-radius: 0 3px 0 0; | |
} | |
#tc-menu ul ul li.last { | |
-webkit-border-radius: 0 0 3px 0; | |
-moz-border-radius: 0 0 3px 0; | |
border-radius: 0 0 3px 0; | |
border-bottom: 0; | |
} | |
#tc-menu ul ul { | |
-webkit-border-radius: 0 3px 3px 0; | |
-moz-border-radius: 0 3px 3px 0; | |
border-radius: 0 3px 3px 0; | |
} | |
#tc-menu ul ul { | |
border: 1px solid #0082e7; | |
} | |
#tc-menu ul ul a { | |
font-size: 12px; | |
color: #ffffff; | |
} | |
#tc-menu ul ul a:hover { | |
color: #ffffff; | |
} | |
#tc-menu ul ul li { | |
border-bottom: 1px solid #0082e7; | |
} | |
#tc-menu ul ul li:hover > a { | |
background: #4eb1ff !important; | |
color: #ffffff; | |
} | |
#tc-menu.align-right > ul > li > a { | |
border-left: 4px solid #1b9bff; | |
border-right: none; | |
} | |
#tc-menu.align-right { | |
float: right; | |
} | |
#tc-menu.align-right li { | |
text-align: right; | |
} | |
#tc-menu.align-right ul li.has-sub > a:before { | |
content: '+'; | |
position: absolute; | |
top: 50%; | |
left: 15px; | |
margin-top: -6px; | |
} | |
#tc-menu.align-right ul li.has-sub > a:after { | |
content: none; | |
} | |
#tc-menu.align-right ul ul { | |
visibility: hidden; | |
position: absolute; | |
top: 0; | |
left: -100%; | |
z-index: 598; | |
width: 100%; | |
} | |
#tc-menu.align-right ul ul li.first { | |
-webkit-border-radius: 3px 0 0 0; | |
-moz-border-radius: 3px 0 0 0; | |
border-radius: 3px 0 0 0; | |
} | |
#tc-menu.align-right ul ul li.last { | |
-webkit-border-radius: 0 0 0 3px; | |
-moz-border-radius: 0 0 0 3px; | |
border-radius: 0 0 0 3px; | |
} | |
#tc-menu.align-right ul ul { | |
-webkit-border-radius: 3px 0 0 3px; | |
-moz-border-radius: 3px 0 0 3px; | |
border-radius: 3px 0 0 3px; | |
} | |
/* Navigation End */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment