Skip to content

Commit

Permalink
CSS: Use button mixin for a.button
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Sep 30, 2015
1 parent 9c7d93e commit a12482f
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions public/css/icinga/main.less
Expand Up @@ -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;
}
Expand Down

0 comments on commit a12482f

Please sign in to comment.