-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
25c581e
commit 719115e
Showing
7 changed files
with
120 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
@import 'print/bootstrap-variables'; | ||
@import 'sul-variables'; | ||
@import 'searchworks-mixins'; | ||
@import 'blacklight'; | ||
@import 'searchworks'; | ||
@import 'font-awesome'; | ||
@import '_sul-icons-rails'; | ||
@import 'print/layout'; | ||
@import 'print/styles'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// Bootstrap variables for print sheets | ||
|
||
$font-size-base: 12px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.record-panels.col-md-4{ | ||
@extend .col-xs-4; | ||
} | ||
.record-sections.col-md-8{ | ||
@extend .col-xs-8; | ||
} | ||
#content.col-sm-7.col-md-8 { | ||
@extend .col-xs-12; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
.print-header { | ||
padding-left: 10px; | ||
padding-right: 10px; | ||
text-align: right; | ||
h1 { | ||
font-size: floor(($font-size-base * 1.6)) | ||
} | ||
h2 { | ||
border: none; | ||
font-size: floor(($font-size-base * 1.4)) | ||
} | ||
} | ||
|
||
.breadcrumb.row { | ||
float: left; | ||
} | ||
|
||
#appliedParams { | ||
float:left; | ||
} | ||
|
||
.search_num_of_results { | ||
margin-top: -45px; | ||
} | ||
|
||
// Do not display these elements | ||
.navbar, #topnav, #search-navbar-container, #facets, #sortAndPerPage, .record-toolbar, a.remove, .index-document-functions, footer, #sul-footer-container, #global-footer, .additional-results, .pagination, .record-side-nav, .library-location-heading img, .record-browse-nearby, .tech-details a, a.btn, .gallery-buttons, .preview-button-container, .google-preview { | ||
display: none !important; | ||
} | ||
a[href]:after { | ||
content: ""; | ||
} | ||
|
||
h3.index_title { | ||
a[href]:after { | ||
content: " (" attr(href) ")"; | ||
} | ||
} | ||
|
||
a, a:visited { | ||
text-decoration: none; border-bottom: none; | ||
} | ||
#documents .document, #documents .brief-document, #documents .gallery-document { | ||
border: 0; | ||
border-bottom: 1px solid #ddd; margin: 0; | ||
} | ||
.gallery .gallery-document { | ||
height: 350px; | ||
} | ||
.callnumber-bar { | ||
font-weight: normal; font-size: 1.1em; | ||
} | ||
#appliedParams { | ||
padding: 0; | ||
} | ||
.constraint-value { | ||
border: 0; | ||
} | ||
.accordion-section .snippet { | ||
display: none; | ||
} | ||
.accordion-section .details { | ||
display: block !important; border: 0; | ||
} | ||
.details dl { | ||
margin-bottom: 0; | ||
} | ||
.accordion-section a.header { | ||
text-align: left; padding-left: 0; font-weight: bold; | ||
} | ||
.accordion-section a.header i { | ||
display: none; | ||
} | ||
.panel-library-location .library-location-heading-text { | ||
padding-left: 0; | ||
} | ||
.document h1 { | ||
margin-top: 0; padding-top: 0; | ||
} | ||
.record-sections .section { | ||
padding-bottom: 0; | ||
} | ||
.panel-heading { | ||
padding-left: 0; | ||
} | ||
#masthead { | ||
border: none; | ||
} | ||
#su-content { | ||
padding-bottom: 0!important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<div class='visible-print print-header pull-right'> | ||
<h1>SearchWorks Catalog</h1> | ||
<h2>Stanford University Libraries</h2> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Rails.application.config.assets.precompile += %w( print.css ) |