From bcc3af4b2ae64221a461283ce2c9d36a3c133d57 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 17 Jun 2013 20:56:02 -0700 Subject: [PATCH] Fixes #7599: Improved print styles for a few key components * 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 | 11 +++++++++++ less/print.less | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index a99125994f..0966a9854c 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -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; + } } * { diff --git a/less/print.less b/less/print.less index ec71acbbd6..64c1ff9fa9 100644 --- a/less/print.less +++ b/less/print.less @@ -71,4 +71,15 @@ .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; + } }