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
4f926671
Commit
4f926671
authored
6 years ago
by
Martijn Cuppens
Committed by
Mark Otto
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Carousel indicators transition (#26902)
parent
bbee4143
2 merge requests
!28721
Hot test
,
!27561
Adds font-weight-medium to font weight classes
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_carousel.scss
+4
-2
scss/_carousel.scss
scss/_variables.scss
+1
-0
scss/_variables.scss
with
5 additions
and
2 deletions
+5
-2
scss/_carousel.scss
+
4
-
2
View file @
4f926671
...
@@ -190,7 +190,9 @@
...
@@ -190,7 +190,9 @@
margin-left
:
$carousel-indicator-spacer
;
margin-left
:
$carousel-indicator-spacer
;
text-indent
:
-999px
;
text-indent
:
-999px
;
cursor
:
pointer
;
cursor
:
pointer
;
background-color
:
rgba
(
$carousel-indicator-active-bg
,
.5
);
background-color
:
$carousel-indicator-active-bg
;
opacity
:
.5
;
@include
transition
(
$carousel-indicator-transition
);
// Use pseudo classes to increase the hit area by 10px on top and bottom.
// Use pseudo classes to increase the hit area by 10px on top and bottom.
&
::before
{
&
::before
{
...
@@ -214,7 +216,7 @@
...
@@ -214,7 +216,7 @@
}
}
.active
{
.active
{
background-color
:
$carousel-indicator-active-bg
;
opacity
:
1
;
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
scss/_variables.scss
+
1
-
0
View file @
4f926671
...
@@ -917,6 +917,7 @@ $carousel-indicator-width: 30px !default;
...
@@ -917,6 +917,7 @@ $carousel-indicator-width: 30px !default;
$carousel-indicator-height
:
3px
!
default
;
$carousel-indicator-height
:
3px
!
default
;
$carousel-indicator-spacer
:
3px
!
default
;
$carousel-indicator-spacer
:
3px
!
default
;
$carousel-indicator-active-bg
:
$white
!
default
;
$carousel-indicator-active-bg
:
$white
!
default
;
$carousel-indicator-transition
:
opacity
.6s
ease
!
default
;
$carousel-caption-width
:
70%
!
default
;
$carousel-caption-width
:
70%
!
default
;
$carousel-caption-color
:
$white
!
default
;
$carousel-caption-color
:
$white
!
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