_print.scss 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  1. // stylelint-disable declaration-no-important, selector-no-qualifying-type
  2. // Source: https://github.com/h5bp/main.css/blob/master/src/_print.css
  3. // ==========================================================================
  4. // Print styles.
  5. // Inlined to avoid the additional HTTP request:
  6. // https://www.phpied.com/delay-loading-your-print-css/
  7. // ==========================================================================
  8. @if $enable-print-styles {
  9. @media print {
  10. *,
  11. *::before,
  12. *::after {
  13. // Bootstrap specific; comment out `color` and `background`
  14. //color: $black !important; // Black prints faster
  15. text-shadow: none !important;
  16. //background: transparent !important;
  17. box-shadow: none !important;
  18. }
  19. a {
  20. &:not(.btn) {
  21. text-decoration: underline;
  22. }
  23. }
  24. // Bootstrap specific; comment the following selector out
  25. //a[href]::after {
  26. // content: " (" attr(href) ")";
  27. //}
  28. abbr[title]::after {
  29. content: " (" attr(title) ")";
  30. }
  31. // Bootstrap specific; comment the following selector out
  32. //
  33. // Don't show links that are fragment identifiers,
  34. // or use the `javascript:` pseudo protocol
  35. //
  36. //a[href^="#"]::after,
  37. //a[href^="javascript:"]::after {
  38. // content: "";
  39. //}
  40. pre {
  41. white-space: pre-wrap !important;
  42. }
  43. pre,
  44. blockquote {
  45. border: $border-width solid $gray-500; // Bootstrap custom code; using `$border-width` instead of 1px
  46. page-break-inside: avoid;
  47. }
  48. //
  49. // Printing Tables:
  50. // https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
  51. //
  52. thead {
  53. display: table-header-group;
  54. }
  55. tr,
  56. img {
  57. page-break-inside: avoid;
  58. }
  59. p,
  60. h2,
  61. h3 {
  62. orphans: 3;
  63. widows: 3;
  64. }
  65. h2,
  66. h3 {
  67. page-break-after: avoid;
  68. }
  69. // Bootstrap specific changes start
  70. // Specify a size and min-width to make printing closer across browsers.
  71. // We don't set margin here because it breaks `size` in Chrome. We also
  72. // don't use `!important` on `size` as it breaks in Chrome.
  73. @page {
  74. size: $print-page-size;
  75. margin: 11mm 10mm 17mm 17mm;
  76. }
  77. body {
  78. min-width: $print-body-min-width !important;
  79. }
  80. .container {
  81. min-width: $print-body-min-width !important;
  82. }
  83. // Bootstrap components
  84. .navbar {
  85. display: none;
  86. }
  87. .badge {
  88. border: $border-width solid $black;
  89. }
  90. .table {
  91. border-collapse: collapse !important;
  92. td,
  93. th {
  94. background-color: $white !important;
  95. }
  96. }
  97. .table-bordered {
  98. th,
  99. td {
  100. border: 1px solid $gray-300 !important;
  101. }
  102. }
  103. .table-dark {
  104. color: inherit;
  105. th,
  106. td,
  107. thead th,
  108. tbody + tbody {
  109. border-color: $table-border-color;
  110. }
  111. }
  112. .table .thead-dark th {
  113. color: inherit;
  114. border-color: $table-border-color;
  115. }
  116. #footer {
  117. position: fixed;
  118. width: 100%;
  119. bottom: 0;
  120. left: 0;
  121. right: 0;
  122. text-align: center;
  123. color: #979595;
  124. padding-bottom: -15px;
  125. }
  126. .BA-Header {
  127. margin-left: auto;
  128. margin-right: auto;
  129. text-align: center;
  130. font-family: "Times New Roman", Times, serif;
  131. }
  132. .BA-logo{
  133. width: 30%;
  134. margin-bottom: 10px;
  135. }
  136. .BA-body p{
  137. font-family: "Times New Roman", Times, serif;
  138. font-size: 15px;
  139. text-indent: 15px;
  140. page-break-after: avoid;
  141. }
  142. //////////////////////////////////////////////////
  143. .table-a th {
  144. border: 1px solid #C0C0C0;
  145. padding: 5px;
  146. background: #F0F0F0;
  147. text-align: center;
  148. font-size: small;
  149. vertical-align: top;
  150. }
  151. .table-a td {
  152. border: 1px solid #C0C0C0;
  153. padding: 5px;
  154. word-wrap: break-word;
  155. max-width: 215px;
  156. font-size: 0.8rem;
  157. vertical-align: top;
  158. }
  159. .table-a{
  160. border-collapse: collapse;
  161. table-layout: fixed;
  162. margin-left: auto;
  163. margin-right: auto;
  164. vertical-align: top;
  165. }
  166. .BA-body ol{
  167. margin-top: 1px;
  168. text-indent: 0px;
  169. }
  170. //////////////////////////////////////////////////
  171. #ttd{
  172. width: 600px;
  173. margin-left: auto;
  174. margin-right: auto;
  175. display: flex;
  176. flex-wrap: wrap;
  177. .ttd-div{
  178. width: 50%;
  179. border: 1px solid #C0C0C0;
  180. }
  181. .sign-ttd{
  182. width:100% ;
  183. height: 150px;
  184. margin-right: auto;
  185. margin-left: auto;
  186. }
  187. .sign-nama{
  188. background-color: rgb(206, 206, 206);
  189. text-align: center;
  190. padding: 2px;
  191. word-wrap: break-word;
  192. color: black;
  193. }
  194. }
  195. .header-ttd{
  196. background-color: #C0C0C0;
  197. text-align: center;
  198. color: black;
  199. margin-left: auto;
  200. margin-right: auto;
  201. max-width: 600px;
  202. }
  203. }
  204. .table-b td {
  205. // border: 1px solid #C0C0C0;
  206. // padding: 5px;
  207. word-wrap: break-word;
  208. vertical-align: top;
  209. text-align: left;
  210. max-width: 40%;
  211. font-size: 0.8rem;
  212. padding-top: 8px;
  213. padding-bottom: 8px;
  214. }
  215. .table-b{
  216. // border-collapse: collapse;
  217. word-wrap: break-word;
  218. table-layout: fixed;
  219. margin-left: auto;
  220. margin-right: auto;
  221. }
  222. }