From 9b27a8360021b772c133a72d9de5e23ee8fdde4e Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Fri, 4 Dec 2015 10:55:47 +0100 Subject: [PATCH] CSS: Add box-shadow mixin --- public/css/icinga/mixins.less | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public/css/icinga/mixins.less b/public/css/icinga/mixins.less index fe04d7778..01a2c1890 100644 --- a/public/css/icinga/mixins.less +++ b/public/css/icinga/mixins.less @@ -6,6 +6,12 @@ box-sizing: @sizing; } +.box-shadow(@x: 0.2em; @y: 0.2em; @blur: 0.2em; @spread: 0; @color: rgba(83, 83, 83, 0.25)) { + -webkit-box-shadow: @arguments; + -moz-box-shadow: @arguments; + box-shadow: @arguments; +} + .button() { .rounded-corners(3px); background-color: @body-bg-color;