CSS: Use button mixin for a.button

refs #5543
This commit is contained in:
Eric Lippmann 2015-09-30 11:13:59 +02:00
parent 9c7d93e55b
commit a12482fcad

View File

@ -99,33 +99,20 @@ table.listing-table {
} }
a.button { a.button {
.rounded-corners(3px); .button();
background-color: @body-bg-color;
border: 2px solid @icinga-blue;
color: @icinga-blue;
cursor: pointer;
display: block; display: block;
font-size: 14px;
height: 35px; height: 35px;
line-height: 20px; line-height: 20px;
padding: @vertical-padding @horizontal-padding;
width: 175px; width: 175px;
-webkit-transition: background 0.3s ease, color 0.3s ease; &:hover {
-moz-transition: background 0.3s ease, color 0.3s ease; text-decoration: none;
-o-transition: background 0.3s ease, color 0.3s ease; }
transition: background 0.3s ease, color 0.3s ease;
* { * {
line-height: inherit; line-height: inherit;
} }
&:hover {
background-color: @icinga-blue;
color: @text-color-inverted;
text-decoration: none;
}
i { i {
font-size: 16px; font-size: 16px;
} }