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
78390d12
Commit
78390d12
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
Fix the carousel after we scoped selectors
parent
cb69aa97
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/css/bootstrap.css
+14
-14
docs/assets/css/bootstrap.css
less/carousel.less
+1
-1
less/carousel.less
with
15 additions
and
15 deletions
+15
-15
docs/assets/css/bootstrap.css
+
14
-
14
View file @
78390d12
...
@@ -5913,7 +5913,7 @@ a.badge:hover {
...
@@ -5913,7 +5913,7 @@ a.badge:hover {
overflow
:
hidden
;
overflow
:
hidden
;
}
}
.carousel
>
.item
{
.carousel
-inner
>
.item
{
position
:
relative
;
position
:
relative
;
display
:
none
;
display
:
none
;
-webkit-transition
:
0.6s
ease-in-out
left
;
-webkit-transition
:
0.6s
ease-in-out
left
;
...
@@ -5922,46 +5922,46 @@ a.badge:hover {
...
@@ -5922,46 +5922,46 @@ a.badge:hover {
transition
:
0.6s
ease-in-out
left
;
transition
:
0.6s
ease-in-out
left
;
}
}
.carousel
>
.item
>
img
{
.carousel
-inner
>
.item
>
img
{
display
:
block
;
display
:
block
;
line-height
:
1
;
line-height
:
1
;
}
}
.carousel
>
.active
,
.carousel
-inner
>
.active
,
.carousel
>
.next
,
.carousel
-inner
>
.next
,
.carousel
>
.prev
{
.carousel
-inner
>
.prev
{
display
:
block
;
display
:
block
;
}
}
.carousel
>
.active
{
.carousel
-inner
>
.active
{
left
:
0
;
left
:
0
;
}
}
.carousel
>
.next
,
.carousel
-inner
>
.next
,
.carousel
>
.prev
{
.carousel
-inner
>
.prev
{
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
width
:
100%
;
width
:
100%
;
}
}
.carousel
>
.next
{
.carousel
-inner
>
.next
{
left
:
100%
;
left
:
100%
;
}
}
.carousel
>
.prev
{
.carousel
-inner
>
.prev
{
left
:
-100%
;
left
:
-100%
;
}
}
.carousel
>
.next.left
,
.carousel
-inner
>
.next.left
,
.carousel
>
.prev.right
{
.carousel
-inner
>
.prev.right
{
left
:
0
;
left
:
0
;
}
}
.carousel
>
.active.left
{
.carousel
-inner
>
.active.left
{
left
:
-100%
;
left
:
-100%
;
}
}
.carousel
>
.active.right
{
.carousel
-inner
>
.active.right
{
left
:
100%
;
left
:
100%
;
}
}
...
...
This diff is collapsed.
Click to expand it.
less/carousel.less
+
1
-
1
View file @
78390d12
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
position: relative;
position: relative;
}
}
.carousel {
.carousel
-inner
{
> .item {
> .item {
display: none;
display: none;
...
...
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