aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-06-17 20:56:02 -0700
committerMark Otto <[email protected]>2013-06-17 20:56:02 -0700
commitbcc3af4b2ae64221a461283ce2c9d36a3c133d57 (patch)
tree633b5e36ce24c37c238a432a2fc48168d14f8eec
parent37f4a25be436e8b25004d22541809032d8354600 (diff)
downloadbootstrap-bcc3af4b2ae64221a461283ce2c9d36a3c133d57.tar.xz
bootstrap-bcc3af4b2ae64221a461283ce2c9d36a3c133d57.zip
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)
-rw-r--r--docs/assets/css/bootstrap.css11
-rw-r--r--less/print.less11
2 files changed, 22 insertions, 0 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index a99125994..0966a9854 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 ec71acbbd..64c1ff9fa 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;
+ }
}