BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
d337d27e
Commit
d337d27e
authored
Apr 18, 2016
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'print-style' into 'master'
Print style [test.pdf](/uploads/0dab5c1b2d0c4d0cd7e8930e9b660a9f/test.pdf) Closes #14201 See merge request !3784
parents
4d5d6194
167fa5c4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
13 deletions
+34
-13
CHANGELOG
CHANGELOG
+1
-0
print.scss
app/assets/stylesheets/print.scss
+32
-12
_notes_with_form.html.haml
app/views/projects/notes/_notes_with_form.html.haml
+1
-1
No files found.
CHANGELOG
View file @
d337d27e
...
...
@@ -80,6 +80,7 @@ v 8.7.0 (unreleased)
- Add encrypted credentials for imported projects and migrate old ones
- Author and participants are displayed first on users autocompletion
- Show number sign on external issue reference text (Florent Baldino)
- Updated print style for issues
v 8.6.6
- Expire the exists cache before deletion to ensure project dir actually exists (Stan Hu). !3413
...
...
app/assets/stylesheets/print.scss
View file @
d337d27e
/* 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
;
}
.sidebar-wrapper
{
display
:
none
;
}
.nav
{
display
:
none
;
}
.btn
{
display
:
none
;
}
header
,
nav
,
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 @
d337d27e
%ul
#notes-list
.notes.main-notes-list.timeline
=
render
"projects/notes/notes"
%ul
.notes.timeline
%ul
.notes.
notes-form.
timeline
%li
.timeline-entry
-
if
can?
current_user
,
:create_note
,
@project
.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