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
0
Merge Requests
0
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
Tatuya Kamada
gitlab-ce
Commits
1a57601d
Commit
1a57601d
authored
Apr 18, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated print style
Closes #14201
parent
e9f20f59
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
13 deletions
+33
-13
app/assets/stylesheets/print.scss
app/assets/stylesheets/print.scss
+32
-12
app/views/projects/notes/_notes_with_form.html.haml
app/views/projects/notes/_notes_with_form.html.haml
+1
-1
No files found.
app/assets/stylesheets/print.scss
View file @
1a57601d
/* 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
,
.wiki
h2
,
.wiki
h3
,
.wiki
h4
,
.wiki
h5
,
.wiki
h6
{
margin-top
:
17px
;
}
.wiki
h1
{
font-size
:
30px
;}
.wiki
h1
{
font-size
:
30px
;}
.wiki
h2
{
font-size
:
22px
;}
.wiki
h2
{
font-size
:
22px
;}
.wiki
h3
{
font-size
:
18px
;
font-weight
:
bold
;
}
.wiki
h3
{
font-size
:
18px
;
font-weight
:
bold
;
}
.sidebar-wrapper
{
display
:
none
;
}
header
,
.nav
{
display
:
none
;
}
nav
,
.btn
{
display
:
none
;
}
nav
.main-nav
,
nav
.navbar-collapse
,
nav
.navbar-collapse.collapse
,
.profiler-results
,
.tree-ref-holder
,
.tree-holder
.breadcrumb
,
.blob-commit-info
,
.file-title
,
.file-holder
,
.sidebar-wrapper
,
.nav
,
.btn
,
ul
.notes-form
,
.merge-request-ci-status
.ci-status-link
:after
,
.issuable-gutter-toggle
,
.gutter-toggle
,
.issuable-details
.content-block-small
,
.edit-link
,
.note-action-button
{
display
:
none
!
important
;
}
.page-gutter
{
padding-top
:
0
;
padding-left
:
0
;
}
.right-sidebar
{
top
:
0
;
}
app/views/projects/notes/_notes_with_form.html.haml
View file @
1a57601d
%ul
#notes-list
.notes.main-notes-list.timeline
%ul
#notes-list
.notes.main-notes-list.timeline
=
render
"projects/notes/notes"
=
render
"projects/notes/notes"
%ul
.notes.timeline
%ul
.notes.
notes-form.
timeline
%li
.timeline-entry
%li
.timeline-entry
-
if
can?
current_user
,
:create_note
,
@project
-
if
can?
current_user
,
:create_note
,
@project
.timeline-icon.hidden-xs.hidden-sm
.timeline-icon.hidden-xs.hidden-sm
...
...
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