Skip to content
GitLab
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
cbdb043e
Commit
cbdb043e
authored
9 years ago
by
Chris Rebert
Browse files
Options
Download
Email Patches
Plain Diff
Extract $carousel-caption{-sm-up}-width variables
[skip sauce] [skip validator]
parent
79c955f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_carousel.scss
+4
-4
scss/_carousel.scss
scss/_variables.scss
+2
-0
scss/_variables.scss
with
6 additions
and
4 deletions
+6
-4
scss/_carousel.scss
+
4
-
4
View file @
cbdb043e
...
...
@@ -200,9 +200,9 @@
.carousel-caption
{
position
:
absolute
;
right
:
15%
;
right
:
((
100%
-
$carousel-caption-width
)
/
2
)
;
bottom
:
20px
;
left
:
15%
;
left
:
((
100%
-
$carousel-caption-width
)
/
2
)
;
z-index
:
10
;
padding-top
:
20px
;
padding-bottom
:
20px
;
...
...
@@ -240,8 +240,8 @@
// Show and left align the captions
.carousel-caption
{
right
:
20%
;
left
:
20%
;
right
:
((
100%
-
$carousel-caption-sm-up-width
)
/
2
)
;
left
:
((
100%
-
$carousel-caption-sm-up-width
)
/
2
)
;
padding-bottom
:
30px
;
}
...
...
This diff is collapsed.
Click to expand it.
scss/_variables.scss
+
2
-
0
View file @
cbdb043e
...
...
@@ -769,6 +769,8 @@ $carousel-control-font-size: 20px !default;
$carousel-indicator-active-bg
:
#fff
!
default
;
$carousel-indicator-border-color
:
#fff
!
default
;
$carousel-caption-width
:
70%
!
default
;
$carousel-caption-sm-up-width
:
60%
!
default
;
$carousel-caption-color
:
#fff
!
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