aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/sass/_mixins.scss
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2016-06-21 09:24:56 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-07-06 13:04:13 +0100
commitf4dad7e4982d339f0bf50f647755a4e13a2768c4 (patch)
treef178826d3386da1d93aea540fc9d45bdf739f0f7 /web/cobrands/sass/_mixins.scss
parente591e68dae22695c688590d4b866f3158f4f2604 (diff)
Remove default box-shadow from .content and aside
Fixes #1419. We also standardize on using `@include box-shadow()` where possible, and clearing out lots of now unnecessary box-shadow resets.
Diffstat (limited to 'web/cobrands/sass/_mixins.scss')
-rw-r--r--web/cobrands/sass/_mixins.scss14
1 files changed, 7 insertions, 7 deletions
diff --git a/web/cobrands/sass/_mixins.scss b/web/cobrands/sass/_mixins.scss
index 71f9b95a3..5bbbc19eb 100644
--- a/web/cobrands/sass/_mixins.scss
+++ b/web/cobrands/sass/_mixins.scss
@@ -71,16 +71,16 @@ $right: right;
@include experimental(border-radius, $radius, -moz, -webkit, not -o, not -ms, official);
}
-@mixin box-shadow($shadow) {
- @include experimental(box-shadow, $shadow, -moz, -webkit, not -o, not -ms, official);
+@mixin box-shadow($shadows...) {
+ @include experimental(box-shadow, $shadows, -moz, -webkit, not -o, not -ms, official);
}
@mixin experimental($property, $value, $moz: true, $webkit: true, $o: true, $ms: true, $official: true) {
- @if $webkit { -webkit-#{$property} : $value; }
- @if $moz { -moz-#{$property} : $value; }
- @if $ms { -ms-#{$property} : $value; }
- @if $o { -o-#{$property} : $value; }
- @if $official { #{$property} : $value; }
+ @if $webkit { -webkit-#{$property} : #{$value}; }
+ @if $moz { -moz-#{$property} : #{$value}; }
+ @if $ms { -ms-#{$property} : #{$value}; }
+ @if $o { -o-#{$property} : #{$value}; }
+ @if $official { #{$property} : #{$value}; }
}
@mixin inline-block($alignment: middle) {