made login button green

pull/653/head
Justin Richer 2014-07-20 22:06:09 -07:00
parent 62a43165f0
commit dc4fd404ad
2 changed files with 30 additions and 7 deletions

View File

@ -93,7 +93,7 @@
</security:authorize>
<security:authorize access="!hasRole('ROLE_USER')">
<li>
<a id="userButton" href="login" data-toggle="collapse" data-target=".nav-collapse"><i class="icon-lock icon-white"></i> Log in</a>
<a id="loginButton" href="login" data-toggle="collapse" data-target=".nav-collapse"><i class="icon-lock icon-white"></i> Log in</a>
</li>
</security:authorize>
</ul>

View File

@ -27,9 +27,8 @@ h1,label {
/* login button */
.navbar #userButton {
background-color: #006dcc;
background-image: linear-gradient(to bottom, #0088cc, #0044cc);
.navbar #userButton,
.navbar #loginButton {
background-repeat: repeat-x;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
color: #ffffff;
@ -38,22 +37,46 @@ h1,label {
font-size: 0.9em;
}
.navbar #userButton:focus, .navbar #userButton:hover {
background-color: #0044cc;
.navbar #userButton {
background-color: #006dcc;
background-image: linear-gradient(to bottom, #0088cc, #0044cc);
}
.navbar #loginButton {
background-color: #5bb75b;
background-image: linear-gradient(to bottom, #62c462, #51a351);
}
.navbar #userButton:focus, .navbar #userButton:hover,
.navbar #loginButton:focus, .navbar #loginButton:hover {
color: #ffffff;
background-position: 0 -15px;
text-decoration: none;
transition: background-position 0.1s linear 0s;
}
.navbar #userButton:active {
.navbar #userButton:focus, .navbar #userButton:hover {
background-color: #0044cc;
}
.navbar #loginButton:focus, .navbar #loginButton:hover {
background-color: #51a351;
}
.navbar #userButton:active,
.navbar #loginButton:active {
color: #ffffff;
background-image: none;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
outline: 0 none;
}
.navbar #userButton:active {
background-color: #0044cc;
}
.navbar #loginButton:active {
background-color: #51a351;
}
.navbar #userButton .caret {
border-bottom-color: #ffffff;
border-top-color: #ffffff;