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
8f06eebe
Commit
8f06eebe
authored
8 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
rename and un-nest icons
parent
c2c4b5ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scss/_carousel.scss
+41
-43
scss/_carousel.scss
with
41 additions
and
43 deletions
+41
-43
scss/_carousel.scss
+
41
-
43
View file @
8f06eebe
...
...
@@ -87,38 +87,38 @@
outline
:
0
;
opacity
:
.9
;
}
}
// Toggles
.
icon-prev
,
.
icon-next
{
position
:
absolute
;
top
:
50%
;
z-index
:
5
;
display
:
inline-block
;
width
:
$carousel-icon-width
;
height
:
$carousel-icon-width
;
margin-top
:
-
(
$carousel-icon-width
/
2
);
font-family
:
serif
;
line-height
:
1
;
}
.
icon-prev
{
left
:
50%
;
margin-left
:
-
(
$carousel-icon-width
/
2
);
}
.
icon-next
{
right
:
50%
;
margin-right
:
-
(
$carousel-icon-width
/
2
);
}
// Toggles
.carousel-control-
icon-prev
,
.carousel-control-
icon-next
{
position
:
absolute
;
top
:
50%
;
z-index
:
5
;
display
:
inline-block
;
width
:
$carousel-icon-width
;
height
:
$carousel-icon-width
;
margin-top
:
-
(
$carousel-icon-width
/
2
);
font-family
:
serif
;
line-height
:
1
;
}
.carousel-control-
icon-prev
{
left
:
50%
;
margin-left
:
-
(
$carousel-icon-width
/
2
);
}
.carousel-control-
icon-next
{
right
:
50%
;
margin-right
:
-
(
$carousel-icon-width
/
2
);
}
.icon-prev
{
&
::before
{
content
:
"\2039"
;
// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
}
.carousel-control-icon-prev
{
&
::before
{
content
:
"\2039"
;
// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
}
.icon-next
{
&
::before
{
content
:
"\203a"
;
// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)
}
}
.carousel-control-icon-next
{
&
::before
{
content
:
"\203a"
;
// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)
}
}
...
...
@@ -198,20 +198,18 @@
@include
media-breakpoint-up
(
sm
)
{
// Scale up the controls a smidge
.carousel-control
{
.icon-prev
,
.icon-next
{
width
:
$carousel-control-sm-up-size
;
height
:
$carousel-control-sm-up-size
;
margin-top
:
-
(
$carousel-control-sm-up-size
/
2
);
font-size
:
$carousel-control-sm-up-size
;
}
.icon-prev
{
margin-left
:
-
(
$carousel-control-sm-up-size
/
2
);
}
.icon-next
{
margin-right
:
-
(
$carousel-control-sm-up-size
/
2
);
}
.carousel-control-icon-prev
,
.carousel-control-icon-next
{
width
:
$carousel-control-sm-up-size
;
height
:
$carousel-control-sm-up-size
;
margin-top
:
-
(
$carousel-control-sm-up-size
/
2
);
font-size
:
$carousel-control-sm-up-size
;
}
.carousel-control-icon-prev
{
margin-left
:
-
(
$carousel-control-sm-up-size
/
2
);
}
.carousel-control-icon-next
{
margin-right
:
-
(
$carousel-control-sm-up-size
/
2
);
}
// Show and left align the captions
...
...
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