This is the html:
<body ng-app="secret">
<div id="mainBar">
<div id="mainBarWrapper">
<div id="siteLogo">
<img src="images/mimiLogo.png" alt="mimi"/>
</div>
<div>
<ul id="navBar">
<li><a ui-sref="login">Login</a></li>
<li> | </li>
<li><a ui-sref="signUp">Sign Up</a></li>
</ul>
</div>
</div>
</div>
<div ui-view></div>
</body>
This is all the css that seems relevant:
ul#navBar {
float: right;
padding: 0;
margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 10px;
list-style: none;
position: relative;
top:-10px;
z-index: 1000;
color: white;
font-size: 13px;
}
ul#navBar li {
margin-top: 0;
margin-bottom: 0;
margin-left: 1px;
margin-right: 0;
padding-top:20px;
padding-left: -5px;
text-align: center;
position: relative; /*positions the submenu within the ul*/
float: left;
cursor: pointer;
z-index: 1000;
height: 29px;
-webkit-transition: all 0.2s;
-moz-transition: all 0.2s;
-ms-transition: all 0.2s;
-o-transition: all 0.2s;
transition: all 0.2s;
}
ul#navBar a {
text-decoration: none;
}
ul#navBar a:hover {
color: #000;
}
ul#navBar a:visited {
color: #fff;
}
I am trying to get the a elements to have an hover effect when I hover over them. The ul#navBar a:hover { color: #000; } does not work. I am not sure why.