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
ee0b3b2f
Commit
ee0b3b2f
authored
9 years ago
by
Chris Rebert
Browse files
Options
Download
Plain Diff
Merge pull request #19235 from twbs/carousel-control-sm-up-width
Extract $carousel-control-sm-up-width variable
parents
b6b9d420
9f85c6e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_carousel.scss
+6
-6
scss/_carousel.scss
scss/_variables.scss
+1
-0
scss/_variables.scss
with
7 additions
and
6 deletions
+7
-6
scss/_carousel.scss
+
6
-
6
View file @
ee0b3b2f
...
@@ -225,16 +225,16 @@
...
@@ -225,16 +225,16 @@
.carousel-control
{
.carousel-control
{
.icon-prev
,
.icon-prev
,
.icon-next
{
.icon-next
{
width
:
30px
;
width
:
$carousel-control-sm-up-size
;
height
:
30px
;
height
:
$carousel-control-sm-up-size
;
margin-top
:
-
15px
;
margin-top
:
-
(
$carousel-control-sm-up-size
/
2
)
;
font-size
:
30px
;
font-size
:
$carousel-control-sm-up-size
;
}
}
.icon-prev
{
.icon-prev
{
margin-left
:
-
15px
;
margin-left
:
-
(
$carousel-control-sm-up-size
/
2
)
;
}
}
.icon-next
{
.icon-next
{
margin-right
:
-
15px
;
margin-right
:
-
(
$carousel-control-sm-up-size
/
2
)
;
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
scss/_variables.scss
+
1
-
0
View file @
ee0b3b2f
...
@@ -760,6 +760,7 @@ $carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default;
...
@@ -760,6 +760,7 @@ $carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default;
$carousel-control-color
:
#fff
!
default
;
$carousel-control-color
:
#fff
!
default
;
$carousel-control-width
:
15%
!
default
;
$carousel-control-width
:
15%
!
default
;
$carousel-control-sm-up-size
:
30px
!
default
;
$carousel-control-opacity
:
.5
!
default
;
$carousel-control-opacity
:
.5
!
default
;
$carousel-control-font-size
:
20px
!
default
;
$carousel-control-font-size
:
20px
!
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