Просмотр исходного кода

Remove .noprint from outside of the @media tag

Daniel Sheppard 7 лет назад
Родитель
Сommit
88aeaaffb0
1 измененных файлов с 5 добавлено и 9 удалено
  1. 5 9
      netbox/project-static/css/base.css

+ 5 - 9
netbox/project-static/css/base.css

@@ -49,21 +49,17 @@ footer p {
     }
     }
 }
 }
 
 
-.noprint {
-
-}
-
+/* Printer friendly CSS class and various fixes for printing. */
 @media print {
 @media print {
     body {
     body {
         padding-top: 0px;
         padding-top: 0px;
     }
     }
-    .noprint {
-        display: none !important;
-    }
-
     a[href]:after {
     a[href]:after {
         content: none !important;
         content: none !important;
     }
     }
+    .noprint {
+        display: none !important;
+    }
 }
 }
 
 
 /* Collapse the nav menu on displays less than 960px wide */
 /* Collapse the nav menu on displays less than 960px wide */
@@ -592,4 +588,4 @@ td .progress {
 }
 }
 textarea {
 textarea {
     font-family: Consolas, Lucida Console, monospace;
     font-family: Consolas, Lucida Console, monospace;
-}
+}