Use foundation variables to set caption color
This way we can simplify the code a bit since Foundation automatically chooses the text color of the caption so there's enough contrast with the background color defined in `$orbit-caption-background`.
This commit is contained in:
@@ -43,6 +43,7 @@ $small-font-size: rem-calc(14) !default;
|
||||
$abbr-underline: none !default;
|
||||
|
||||
$orbit-bullet-diameter: 0.8rem !default;
|
||||
$orbit-caption-background: #eee;
|
||||
|
||||
$show-header-for-stacked: true !default;
|
||||
|
||||
|
||||
@@ -1461,11 +1461,6 @@
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.orbit-caption {
|
||||
background: #eee;
|
||||
color: $text;
|
||||
}
|
||||
|
||||
.orbit-next,
|
||||
.orbit-previous {
|
||||
background: rgba(34, 34, 34, 0.25);
|
||||
|
||||
Reference in New Issue
Block a user