Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
46e8f1a3
Commit
46e8f1a3
authored
5 years ago
by
astrahov
Committed by
Martijn Cuppens
5 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Variable carousel indicator opacity (#29468)
parent
0a3aa08b
2 merge requests
!31948
Examples/Floating-labels: fix bad behavior with autofill
,
!30064
test
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_carousel.scss
+2
-2
scss/_carousel.scss
scss/_variables.scss
+2
-0
scss/_variables.scss
with
4 additions
and
2 deletions
+4
-2
scss/_carousel.scss
+
2
-
2
View file @
46e8f1a3
...
...
@@ -171,12 +171,12 @@
// Use transparent borders to increase the hit area by 10px on top and bottom.
border-top
:
$carousel-indicator-hit-area-height
solid
transparent
;
border-bottom
:
$carousel-indicator-hit-area-height
solid
transparent
;
opacity
:
.5
;
opacity
:
$carousel-indicator-opacity
;
@include
transition
(
$carousel-indicator-transition
);
}
.active
{
opacity
:
1
;
opacity
:
$carousel-indicator-active-opacity
;
}
}
...
...
This diff is collapsed.
Click to expand it.
scss/_variables.scss
+
2
-
0
View file @
46e8f1a3
...
...
@@ -1070,7 +1070,9 @@ $carousel-indicator-width: 30px !default;
$carousel-indicator-height
:
3px
!
default
;
$carousel-indicator-hit-area-height
:
10px
!
default
;
$carousel-indicator-spacer
:
3px
!
default
;
$carousel-indicator-opacity
:
.5
!
default
;
$carousel-indicator-active-bg
:
$white
!
default
;
$carousel-indicator-active-opacity
:
1
!
default
;
$carousel-indicator-transition
:
opacity
.6s
ease
!
default
;
$carousel-caption-width
:
70%
!
default
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets