Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
12778fbe
Commit
12778fbe
authored
Mar 25, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6612 from Datacom/feature/print_styles_pr
Print Styles
parents
2677f793
842ad4a4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
app/assets/stylesheets/print.scss
app/assets/stylesheets/print.scss
+13
-0
app/views/layouts/_head.html.haml
app/views/layouts/_head.html.haml
+2
-1
No files found.
app/assets/stylesheets/print.scss
0 → 100644
View file @
12778fbe
/* Generic print styles */
header
,
nav
,
nav
.main-nav
,
nav
.navbar-collapse
,
nav
.navbar-collapse.collapse
{
display
:
none
!
important
;}
.profiler-results
{
display
:
none
;}
/* Styles targeted specifically at printing files */
.tree-ref-holder
,
.tree-holder
.breadcrumb
,
.blob-commit-info
{
display
:
none
;}
.file-title
{
display
:
none
;}
.file-holder
{
border
:
none
;}
.wiki
h1
,
.wiki
h2
,
.wiki
h3
,
.wiki
h4
,
.wiki
h5
,
.wiki
h6
{
margin-top
:
17px
;
}
.wiki
h1
{
font-size
:
30px
;}
.wiki
h2
{
font-size
:
22px
;}
.wiki
h3
{
font-size
:
18px
;
font-weight
:
bold
;
}
app/views/layouts/_head.html.haml
View file @
12778fbe
...
...
@@ -4,7 +4,8 @@
=
"
#{
title
}
| "
if
defined?
(
title
)
GitLab
=
favicon_link_tag
'favicon.ico'
=
stylesheet_link_tag
"application"
=
stylesheet_link_tag
"application"
,
:media
=>
"all"
=
stylesheet_link_tag
"print"
,
:media
=>
"print"
=
javascript_include_tag
"application"
=
csrf_meta_tags
=
include_gon
...
...
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