print.css

Same filename in this branch
  1. 8.9.x core/misc/print.css
  2. 8.9.x core/themes/seven/css/base/print.css
  3. 8.9.x core/themes/bartik/css/print.css
  4. 8.9.x core/themes/stable/css/core/print.css
Same filename in other branches
  1. 7.x misc/print.css
  2. 7.x themes/garland/print.css
  3. 7.x themes/bartik/css/print.css
  4. 9 core/misc/print.css
  5. 9 core/themes/stable9/css/core/print.css
  6. 9 core/themes/seven/css/base/print.css
  7. 9 core/themes/claro/css/base/print.css
  8. 9 core/themes/bartik/css/print.css
  9. 9 core/themes/stable/css/core/print.css
  10. 10 core/misc/print.css
  11. 10 core/themes/stable9/css/core/print.css
  12. 10 core/themes/claro/css/base/print.css
  13. 11.x core/misc/print.css
  14. 11.x core/themes/stable9/css/core/print.css
  15. 11.x core/themes/claro/css/base/print.css
/*
 * DO NOT EDIT THIS FILE.
 * See the following change record for more information,
 * https://www.drupal.org/node/2815083
 * @preserve
 */
@media print {
  * {
    color: #000 !important; /* Black prints faster: h5bp.com/s */
    background-color: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  body {
    padding-top: 0;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group; /* h5bp.com/t */
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
  a,
  .link {
    color: #000;
  }
  .button,
  .button--primary {
    background: none !important;
  }
  .messages {
    border-width: 1px;
    border-color: #999;
  }
  .is-collapse-enabled .tabs {
    max-height: 999em;
  }
  .is-horizontal .tabs__tab {
    margin: 0 4px !important;
    border-radius: 4px 4px 0 0 !important;
  }
  .dropbutton-multiple .dropbutton .secondary-action {
    display: block;
  }
  .js .dropbutton-widget,
  .js td .dropbutton-widget /* Splitbuttons */ {
    position: relative;
  }
  .js .dropbutton .dropbutton-toggle {
    display: none;
  }
  .js .dropbutton-multiple .dropbutton-widget {
    border-radius: 4px;
    background: none;
  }
  input.form-autocomplete,
  input.form-text,
  input.form-tel,
  input.form-email,
  input.form-url,
  input.form-search,
  input.form-number,
  input.form-color,
  input.form-file,
  textarea.form-textarea,
  select.form-select {
    border-width: 1px;
  }
}

File

core/themes/claro/css/base/print.css

View source
  1. /*
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/2815083
  5. * @preserve
  6. */
  7. @media print {
  8. * {
  9. color: #000 !important; /* Black prints faster: h5bp.com/s */
  10. background-color: transparent !important;
  11. box-shadow: none !important;
  12. text-shadow: none !important;
  13. }
  14. body {
  15. padding-top: 0;
  16. }
  17. pre,
  18. blockquote {
  19. border: 1px solid #999;
  20. page-break-inside: avoid;
  21. }
  22. thead {
  23. display: table-header-group; /* h5bp.com/t */
  24. }
  25. tr,
  26. img {
  27. page-break-inside: avoid;
  28. }
  29. img {
  30. max-width: 100% !important;
  31. }
  32. p,
  33. h2,
  34. h3 {
  35. orphans: 3;
  36. widows: 3;
  37. }
  38. h2,
  39. h3 {
  40. page-break-after: avoid;
  41. }
  42. a,
  43. .link {
  44. color: #000;
  45. }
  46. .button,
  47. .button--primary {
  48. background: none !important;
  49. }
  50. .messages {
  51. border-width: 1px;
  52. border-color: #999;
  53. }
  54. .is-collapse-enabled .tabs {
  55. max-height: 999em;
  56. }
  57. .is-horizontal .tabs__tab {
  58. margin: 0 4px !important;
  59. border-radius: 4px 4px 0 0 !important;
  60. }
  61. .dropbutton-multiple .dropbutton .secondary-action {
  62. display: block;
  63. }
  64. .js .dropbutton-widget,
  65. .js td .dropbutton-widget /* Splitbuttons */ {
  66. position: relative;
  67. }
  68. .js .dropbutton .dropbutton-toggle {
  69. display: none;
  70. }
  71. .js .dropbutton-multiple .dropbutton-widget {
  72. border-radius: 4px;
  73. background: none;
  74. }
  75. input.form-autocomplete,
  76. input.form-text,
  77. input.form-tel,
  78. input.form-email,
  79. input.form-url,
  80. input.form-search,
  81. input.form-number,
  82. input.form-color,
  83. input.form-file,
  84. textarea.form-textarea,
  85. select.form-select {
  86. border-width: 1px;
  87. }
  88. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.