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
f9744ff5
Commit
f9744ff5
authored
Apr 24, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make component animations work cross browsers with opacity mixin, restore float on thumbnails > li
parent
e659dc7e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
8 deletions
+12
-8
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+7
-4
less/component-animations.less
less/component-animations.less
+4
-4
less/thumbnails.less
less/thumbnails.less
+1
-0
No files found.
docs/assets/css/bootstrap.css
View file @
f9744ff5
...
@@ -2499,6 +2499,7 @@ table .span24 {
...
@@ -2499,6 +2499,7 @@ table .span24 {
.fade
{
.fade
{
opacity
:
0
;
opacity
:
0
;
filter
:
alpha
(
opacity
=
0
);
-webkit-transition
:
opacity
0.15s
linear
;
-webkit-transition
:
opacity
0.15s
linear
;
-moz-transition
:
opacity
0.15s
linear
;
-moz-transition
:
opacity
0.15s
linear
;
-ms-transition
:
opacity
0.15s
linear
;
-ms-transition
:
opacity
0.15s
linear
;
...
@@ -2508,6 +2509,7 @@ table .span24 {
...
@@ -2508,6 +2509,7 @@ table .span24 {
.fade.in
{
.fade.in
{
opacity
:
1
;
opacity
:
1
;
filter
:
alpha
(
opacity
=
100
);
}
}
.collapse
{
.collapse
{
...
@@ -4445,6 +4447,7 @@ input[type="submit"].btn.btn-mini {
...
@@ -4445,6 +4447,7 @@ input[type="submit"].btn.btn-mini {
}
}
.thumbnails
>
li
{
.thumbnails
>
li
{
float
:
left
;
margin-bottom
:
18px
;
margin-bottom
:
18px
;
}
}
...
@@ -4647,15 +4650,15 @@ a.badge:hover {
...
@@ -4647,15 +4650,15 @@ a.badge:hover {
-webkit-box-shadow
:
inset
0
-1px
0
rgba
(
0
,
0
,
0
,
0.15
);
-webkit-box-shadow
:
inset
0
-1px
0
rgba
(
0
,
0
,
0
,
0.15
);
-moz-box-shadow
:
inset
0
-1px
0
rgba
(
0
,
0
,
0
,
0.15
);
-moz-box-shadow
:
inset
0
-1px
0
rgba
(
0
,
0
,
0
,
0.15
);
box-shadow
:
inset
0
-1px
0
rgba
(
0
,
0
,
0
,
0.15
);
box-shadow
:
inset
0
-1px
0
rgba
(
0
,
0
,
0
,
0.15
);
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
-ms-box-sizing
:
border-box
;
box-sizing
:
border-box
;
-webkit-transition
:
width
0.6s
ease
;
-webkit-transition
:
width
0.6s
ease
;
-moz-transition
:
width
0.6s
ease
;
-moz-transition
:
width
0.6s
ease
;
-ms-transition
:
width
0.6s
ease
;
-ms-transition
:
width
0.6s
ease
;
-o-transition
:
width
0.6s
ease
;
-o-transition
:
width
0.6s
ease
;
transition
:
width
0.6s
ease
;
transition
:
width
0.6s
ease
;
-webkit-box-sizing
:
border-box
;
-moz-box-sizing
:
border-box
;
-ms-box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
.progress-striped
.bar
{
.progress-striped
.bar
{
...
...
less/component-animations.less
View file @
f9744ff5
...
@@ -2,17 +2,17 @@
...
@@ -2,17 +2,17 @@
// --------------------
// --------------------
.fade {
.fade {
opacity: 0
;
.opacity(0)
;
.transition(opacity .15s linear);
.transition(opacity .15s linear);
&.in {
&.in {
opacity: 1
;
.opacity(100)
;
}
}
}
}
.collapse {
.collapse {
position:relative;
position:
relative;
height: 0;
height: 0;
overflow:hidden;
overflow:
hidden;
.transition(height .35s ease);
.transition(height .35s ease);
&.in {
&.in {
height: auto;
height: auto;
...
...
less/thumbnails.less
View file @
f9744ff5
...
@@ -14,6 +14,7 @@
...
@@ -14,6 +14,7 @@
// Float li to make thumbnails appear in a row
// Float li to make thumbnails appear in a row
.thumbnails > li {
.thumbnails > li {
float: left; // Explicity set the float since we don't require .span* classes
margin-bottom: @baseLineHeight;
margin-bottom: @baseLineHeight;
}
}
...
...
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