made login button green
parent
62a43165f0
commit
dc4fd404ad
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue