From 98c0d7beecacdc8ed06b4c2b1274734be3d7ca58 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Fri, 25 Sep 2015 14:42:14 +0200 Subject: [PATCH] CSS: Style a.button (WIP) refs #5543 --- public/css/icinga/main.less | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/public/css/icinga/main.less b/public/css/icinga/main.less index cb5080045..db4f7420c 100644 --- a/public/css/icinga/main.less +++ b/public/css/icinga/main.less @@ -103,3 +103,36 @@ table.listing-table { } } } + +a.button { + .rounded-corners(5px); + background-color: @body-bg-color; + border: 2px solid @icinga-blue; + color: @icinga-blue; + cursor: pointer; + display: block; + font-size: 14px; + height: 40px; + line-height: 22px; + padding: @vertical-padding @horizontal-padding; + width: 200px; + + -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; + + * { + line-height: inherit; + } + + &:hover { + background-color: @icinga-blue; + color: @text-color-inverted; + text-decoration: none; + } + + i { + font-size: 18px; + } +}