Permalink
Browse files

Some basic print stylesheets

  • Loading branch information...
1 parent 1a39779 commit 0123a6cc94241c4a230bd56f9f98aa9a3aba0a39 @dcramer dcramer committed Oct 10, 2012
Showing with 37 additions and 0 deletions.
  1. +17 −0 src/sentry.less
  2. +19 −0 src/sentry/static/sentry/styles/global.css
  3. +1 −0 src/sentry/static/sentry/styles/global.min.css
View
17 src/sentry.less
@@ -917,4 +917,21 @@ legend {
.description {
p { font-size: 13px; }
}
+}
+
+
+@media print {
+ body {
+ color: @black;
+ }
+ header {
+ display: none;
+ }
+ .sidebar, .toolbar {
+ display: none;
+ }
+ .content {
+ padding: 0 !important;
+ }
+ #CModal, footer { display: none; }
}
View
19 src/sentry/static/sentry/styles/global.css
@@ -4762,3 +4762,22 @@ legend {
.plugin-meta .description p {
font-size: 13px;
}
+@media print {
+ body {
+ color: #000000;
+ }
+ header {
+ display: none;
+ }
+ .sidebar,
+ .toolbar {
+ display: none;
+ }
+ .content {
+ padding: 0 !important;
+ }
+ #CModal,
+ footer {
+ display: none;
+ }
+}
View
1 src/sentry/static/sentry/styles/global.min.css
@@ -783,3 +783,4 @@ legend{margin-bottom:18px;}
[class*="icon-"]{background-image:url(../images/glyphicons-halflings.png);}
.icon-white{background-image:url(../images/glyphicons-halflings-white.png);}
.plugin-meta .description p{font-size:13px;}
+@media print{body{color:#000000;} header{display:none;} .sidebar,.toolbar{display:none;} .content{padding:0 !important;} #CModal,footer{display:none;}}

0 comments on commit 0123a6c

Please sign in to comment.