]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fixes #7599: Improved print styles for a few key components
authorMark Otto <otto@github.com>
Tue, 18 Jun 2013 03:56:02 +0000 (20:56 -0700)
committerMark Otto <otto@github.com>
Tue, 18 Jun 2013 03:56:02 +0000 (20:56 -0700)
* Updates `.table` to always enforce a solid white background
* Update button groups and dropdowns to always use black carets
* Add a 1px solid black border to labels (in the future we should add a
border to these perhaps for better printing)

docs/assets/css/bootstrap.css
less/print.less

index a99125994f7b8208248a75ea7d221c7539cc4651..0966a9854c54395e34a2e0a897f45d8cba802b50 100644 (file)
@@ -266,6 +266,17 @@ table {
   .navbar {
     display: none;
   }
+  .table td,
+  .table th {
+    background-color: #fff !important;
+  }
+  .btn > .caret,
+  .dropup > .btn > .caret {
+    border-top-color: #000 !important;
+  }
+  .label {
+    border: 1px solid #000;
+  }
 }
 
 * {
index ec71acbbd63671d03afaffcc6b7fda9cbd37e31e..64c1ff9fa919997b38e7e26b0de59415fd64d780 100644 (file)
   .navbar {
     display: none;
   }
+  .table td,
+  .table th {
+    background-color: #fff !important;
+  }
+  .btn > .caret,
+  .dropup > .btn > .caret {
+    border-top-color: #000 !important;
+  }
+  .label {
+    border: 1px solid #000;
+  }
 }