Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
0fe9148b
Commit
0fe9148b
authored
12 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
Fixes
#6190
: Add print utility classes
parent
6a9cd513
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
docs/assets/css/bootstrap-responsive.css
+13
-0
docs/assets/css/bootstrap-responsive.css
docs/assets/js/bootstrap-popover.js
+3
-3
docs/assets/js/bootstrap-popover.js
docs/assets/js/bootstrap-tooltip.js
+1
-1
docs/assets/js/bootstrap-tooltip.js
docs/assets/js/bootstrap.js
+5
-4
docs/assets/js/bootstrap.js
docs/assets/js/bootstrap.min.js
+1
-1
docs/assets/js/bootstrap.min.js
less/responsive-utilities.less
+9
-0
less/responsive-utilities.less
with
32 additions
and
9 deletions
+32
-9
docs/assets/css/bootstrap-responsive.css
+
13
-
0
View file @
0fe9148b
...
...
@@ -95,6 +95,19 @@
}
}
.visible-print
{
display
:
none
!important
;
}
@media
print
{
.visible-print
{
display
:
inherit
!important
;
}
.hidden-print
{
display
:
none
!important
;
}
}
@media
(
min-width
:
1200px
)
{
.row
{
margin-left
:
-30px
;
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap-popover.js
+
3
-
3
View file @
0fe9148b
...
...
@@ -58,8 +58,8 @@
,
$e
=
this
.
$element
,
o
=
this
.
options
content
=
$e
.
attr
(
'
data-
content
'
)
||
(
typeof
o
.
content
==
'
function
'
?
o
.
content
.
call
(
$e
[
0
])
:
o
.
content
)
content
=
(
typeof
o
.
content
==
'
function
'
?
o
.
content
.
call
(
$e
[
0
])
:
o
.
content
)
||
$e
.
attr
(
'
data-
content
'
)
return
content
}
...
...
@@ -111,4 +111,4 @@
return
this
}
}(
window
.
jQuery
);
\ No newline at end of file
}(
window
.
jQuery
);
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap-tooltip.js
+
1
-
1
View file @
0fe9148b
...
...
@@ -67,7 +67,7 @@
}
,
getOptions
:
function
(
options
)
{
options
=
$
.
extend
({},
$
.
fn
[
this
.
type
].
defaults
,
options
,
this
.
$element
.
data
())
options
=
$
.
extend
({},
$
.
fn
[
this
.
type
].
defaults
,
this
.
$element
.
data
()
,
options
)
if
(
options
.
delay
&&
typeof
options
.
delay
==
'
number
'
)
{
options
.
delay
=
{
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap.js
+
5
-
4
View file @
0fe9148b
...
...
@@ -1109,7 +1109,7 @@
}
,
getOptions
:
function
(
options
)
{
options
=
$
.
extend
({},
$
.
fn
[
this
.
type
].
defaults
,
options
,
this
.
$element
.
data
())
options
=
$
.
extend
({},
$
.
fn
[
this
.
type
].
defaults
,
this
.
$element
.
data
()
,
options
)
if
(
options
.
delay
&&
typeof
options
.
delay
==
'
number
'
)
{
options
.
delay
=
{
...
...
@@ -1406,8 +1406,8 @@
,
$e
=
this
.
$element
,
o
=
this
.
options
content
=
$e
.
attr
(
'
data-
content
'
)
||
(
typeof
o
.
content
==
'
function
'
?
o
.
content
.
call
(
$e
[
0
])
:
o
.
content
)
content
=
(
typeof
o
.
content
==
'
function
'
?
o
.
content
.
call
(
$e
[
0
])
:
o
.
content
)
||
$e
.
attr
(
'
data-
content
'
)
return
content
}
...
...
@@ -1459,7 +1459,8 @@
return
this
}
}(
window
.
jQuery
);
/* =============================================================
}(
window
.
jQuery
);
/* =============================================================
* bootstrap-scrollspy.js v2.3.0
* http://twitter.github.com/bootstrap/javascript.html#scrollspy
* =============================================================
...
...
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap.min.js
+
1
-
1
View file @
0fe9148b
This diff is collapsed.
Click to expand it.
less/responsive-utilities.less
+
9
-
0
View file @
0fe9148b
...
...
@@ -48,3 +48,12 @@
// Hide
.hidden-phone { display: none !important; }
}
// Print utilities
.visible-print { display: none !important; }
.hidden-print { }
@media print {
.visible-print { display: inherit !important; }
.hidden-print { display: none !important; }
}
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
Menu
Explore
Projects
Groups
Snippets