Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
285393fb
Commit
285393fb
authored
Aug 19, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-enable glyphicons in carousel controls and then remove redundant CSS from example
parent
dbd749c2
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
10 deletions
+14
-10
dist/css/bootstrap.css
dist/css/bootstrap.css
+7
-1
dist/css/bootstrap.min.css
dist/css/bootstrap.min.css
+1
-1
examples/carousel/carousel.css
examples/carousel/carousel.css
+0
-7
less/carousel.less
less/carousel.less
+6
-1
No files found.
dist/css/bootstrap.css
View file @
285393fb
...
@@ -6092,12 +6092,18 @@ button.close {
...
@@ -6092,12 +6092,18 @@ button.close {
}
}
.carousel-control
.icon-prev
,
.carousel-control
.icon-prev
,
.carousel-control
.icon-next
{
.carousel-control
.icon-next
,
.carousel-control
.glyphicon-chevron-left
,
.carousel-control
.glyphicon-chevron-right
{
position
:
absolute
;
position
:
absolute
;
top
:
50%
;
top
:
50%
;
left
:
50%
;
left
:
50%
;
z-index
:
5
;
z-index
:
5
;
display
:
inline-block
;
display
:
inline-block
;
}
.carousel-control
.icon-prev
,
.carousel-control
.icon-next
{
width
:
20px
;
width
:
20px
;
height
:
20px
;
height
:
20px
;
margin-top
:
-10px
;
margin-top
:
-10px
;
...
...
dist/css/bootstrap.min.css
View file @
285393fb
This source diff could not be displayed because it is too large. You can
view the blob
instead.
examples/carousel/carousel.css
View file @
285393fb
...
@@ -18,13 +18,6 @@ body {
...
@@ -18,13 +18,6 @@ body {
z-index
:
15
;
z-index
:
15
;
}
}
/* Vertically aligns left and right chevrons. */
.carousel-control
>
.glyphicon-chevron-left
,
.carousel-control
>
.glyphicon-chevron-right
{
position
:
absolute
;
display
:
inline-block
;
top
:
50%
;
}
/* CUSTOMIZE THE CAROUSEL
/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
-------------------------------------------------- */
...
...
less/carousel.less
View file @
285393fb
...
@@ -98,12 +98,17 @@
...
@@ -98,12 +98,17 @@
// Toggles
// Toggles
.icon-prev,
.icon-prev,
.icon-next {
.icon-next,
.glyphicon-chevron-left,
.glyphicon-chevron-right {
position: absolute;
position: absolute;
top: 50%;
top: 50%;
left: 50%;
left: 50%;
z-index: 5;
z-index: 5;
display: inline-block;
display: inline-block;
}
.icon-prev,
.icon-next {
width: 20px;
width: 20px;
height: 20px;
height: 20px;
margin-top: -10px;
margin-top: -10px;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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