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
54c645e3
Commit
54c645e3
authored
Aug 15, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweak transition
parent
fd509cb3
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
110 additions
and
6 deletions
+110
-6
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+4
-4
docs/assets/js/bootstrap.js
docs/assets/js/bootstrap.js
+104
-0
docs/assets/js/bootstrap.min.js
docs/assets/js/bootstrap.min.js
+1
-1
less/thumbnails.less
less/thumbnails.less
+1
-1
No files found.
docs/assets/css/bootstrap.css
View file @
54c645e3
...
@@ -5059,10 +5059,10 @@ input[type="submit"].btn.btn-mini {
...
@@ -5059,10 +5059,10 @@ input[type="submit"].btn.btn-mini {
-webkit-box-shadow
:
0
1px
3px
rgba
(
0
,
0
,
0
,
0.055
);
-webkit-box-shadow
:
0
1px
3px
rgba
(
0
,
0
,
0
,
0.055
);
-moz-box-shadow
:
0
1px
3px
rgba
(
0
,
0
,
0
,
0.055
);
-moz-box-shadow
:
0
1px
3px
rgba
(
0
,
0
,
0
,
0.055
);
box-shadow
:
0
1px
3px
rgba
(
0
,
0
,
0
,
0.055
);
box-shadow
:
0
1px
3px
rgba
(
0
,
0
,
0
,
0.055
);
-webkit-transition
:
all
0.2s
linear
;
-webkit-transition
:
all
0.2s
ease-in-out
;
-moz-transition
:
all
0.2s
linear
;
-moz-transition
:
all
0.2s
ease-in-out
;
-o-transition
:
all
0.2s
linear
;
-o-transition
:
all
0.2s
ease-in-out
;
transition
:
all
0.2s
linear
;
transition
:
all
0.2s
ease-in-out
;
}
}
a
.thumbnail
:hover
{
a
.thumbnail
:hover
{
...
...
docs/assets/js/bootstrap.js
View file @
54c645e3
...
@@ -1918,3 +1918,107 @@
...
@@ -1918,3 +1918,107 @@
})
})
}(
window
.
jQuery
);
}(
window
.
jQuery
);
/* ==========================================================
* bootstrap-affix.js v2.1.0
* http://twitter.github.com/bootstrap/javascript.html#affix
* ==========================================================
* Copyright 2012 Twitter, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ========================================================== */
!
function
(
$
)
{
"
use strict
"
;
// jshint ;_;
/* AFFIX CLASS DEFINITION
* ====================== */
var
Affix
=
function
(
element
,
options
)
{
this
.
options
=
$
.
extend
({},
$
.
fn
.
affix
.
defaults
,
options
)
this
.
$window
=
$
(
window
).
on
(
'
scroll.affix.data-api
'
,
$
.
proxy
(
this
.
checkPosition
,
this
))
this
.
$element
=
$
(
element
)
this
.
checkPosition
()
}
Affix
.
prototype
.
checkPosition
=
function
()
{
if
(
!
this
.
$element
.
is
(
'
:visible
'
))
return
var
scrollHeight
=
$
(
document
).
height
()
,
scrollTop
=
this
.
$window
.
scrollTop
()
,
position
=
this
.
$element
.
offset
()
,
offset
=
this
.
options
.
offset
,
offsetBottom
=
offset
.
bottom
,
offsetTop
=
offset
.
top
,
reset
=
'
affix affix-top affix-bottom
'
,
affix
if
(
typeof
offset
!=
'
object
'
)
offsetBottom
=
offsetTop
=
offset
if
(
typeof
offsetTop
==
'
function
'
)
offsetTop
=
offset
.
top
()
if
(
typeof
offsetBottom
==
'
function
'
)
offsetBottom
=
offset
.
bottom
()
affix
=
this
.
unpin
!=
null
&&
(
scrollTop
+
this
.
unpin
<=
position
.
top
)
?
false
:
offsetBottom
!=
null
&&
(
position
.
top
+
this
.
$element
.
height
()
>=
scrollHeight
-
offsetBottom
)
?
'
bottom
'
:
offsetTop
!=
null
&&
scrollTop
<=
offsetTop
?
'
top
'
:
false
if
(
this
.
affixed
===
affix
)
return
this
.
affixed
=
affix
this
.
unpin
=
affix
==
'
bottom
'
?
position
.
top
-
scrollTop
:
null
this
.
$element
.
removeClass
(
reset
).
addClass
(
'
affix
'
+
(
affix
?
'
-
'
+
affix
:
''
))
}
/* AFFIX PLUGIN DEFINITION
* ======================= */
$
.
fn
.
affix
=
function
(
option
)
{
return
this
.
each
(
function
()
{
var
$this
=
$
(
this
)
,
data
=
$this
.
data
(
'
affix
'
)
,
options
=
typeof
option
==
'
object
'
&&
option
if
(
!
data
)
$this
.
data
(
'
affix
'
,
(
data
=
new
Affix
(
this
,
options
)))
if
(
typeof
option
==
'
string
'
)
data
[
option
]()
})
}
$
.
fn
.
affix
.
Constructor
=
Affix
$
.
fn
.
affix
.
defaults
=
{
offset
:
0
}
/* AFFIX DATA-API
* ============== */
$
(
window
).
on
(
'
load
'
,
function
()
{
$
(
'
[data-spy="affix"]
'
).
each
(
function
()
{
var
$spy
=
$
(
this
)
,
data
=
$spy
.
data
()
data
.
offset
=
data
.
offset
||
{}
data
.
offsetBottom
&&
(
data
.
offset
.
bottom
=
data
.
offsetBottom
)
data
.
offsetTop
&&
(
data
.
offset
.
top
=
data
.
offsetTop
)
$spy
.
affix
(
data
)
})
})
}(
window
.
jQuery
);
\ No newline at end of file
docs/assets/js/bootstrap.min.js
View file @
54c645e3
This diff is collapsed.
Click to expand it.
less/thumbnails.less
View file @
54c645e3
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
border: 1px solid #ddd;
border: 1px solid #ddd;
.border-radius(4px);
.border-radius(4px);
.box-shadow(0 1px 3px rgba(0,0,0,.055));
.box-shadow(0 1px 3px rgba(0,0,0,.055));
.transition(all .2s
linear
);
.transition(all .2s
ease-in-out
);
}
}
// Add a hover state for linked versions only
// Add a hover state for linked versions only
a.thumbnail:hover {
a.thumbnail:hover {
...
...
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