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
1 changed files with 4 additions and 17 deletions

View File

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