print.scss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. #app > *:not(.content):not(.active),
  2. #app > .hide {
  3. display: none;
  4. }
  5. .table {
  6. border: 1px solid hsl(0, 0%, 90%);
  7. }
  8. .table thead tr {
  9. border-bottom: 1px solid hsl(0, 0%, 90%);
  10. }
  11. html {
  12. height: auto;
  13. }
  14. body,
  15. .content {
  16. background: none;
  17. color: black;
  18. }
  19. // Disable flex to allow multi page prints in Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=939897
  20. body,
  21. #app,
  22. #app > .content.active,
  23. .tabsSidebar-holder,
  24. main {
  25. display: block;
  26. }
  27. #app {
  28. min-width: 0;
  29. }
  30. /*
  31. Dashboard
  32. =========
  33. */
  34. .dashboard + .sidebar {
  35. display: none;
  36. }
  37. /*
  38. Ticket Overviews
  39. =================
  40. */
  41. .bulkAction,
  42. .overviews .checkbox-replacement,
  43. .overviews .overview-header,
  44. .table-checkbox,
  45. .sidebar,
  46. .page-header-meta .btn {
  47. display: none;
  48. }
  49. .main {
  50. padding: 0;
  51. }
  52. h1,
  53. .popover-notificationsHeader .popover-title,
  54. .ticket-title-update,
  55. h2,
  56. h3,
  57. h4,
  58. h5,
  59. h6 {
  60. color: inherit;
  61. }
  62. .table {
  63. border: none;
  64. color: black;
  65. > thead > tr > th {
  66. background: none;
  67. color: inherit;
  68. }
  69. }
  70. td a {
  71. color: black;
  72. font-weight: 500;
  73. }
  74. .table-col-resize {
  75. display: none;
  76. }
  77. th.js-tableHead:not([data-column-key='icon']) {
  78. width: auto !important;
  79. }
  80. .icon-task-state.open {
  81. fill: gray;
  82. }
  83. /*
  84. Ticket Zoom
  85. ===========
  86. */
  87. .ticketZoom-controls,
  88. .scrollPageHeader,
  89. .article-new,
  90. .article-actions,
  91. .tabsSidebar,
  92. .attributeBar,
  93. .textBubble-overflowContainer {
  94. display: none;
  95. }
  96. .tabsSidebar-sidebarSpacer {
  97. margin: 0;
  98. transition: none;
  99. }
  100. .textBubble-content {
  101. height: auto !important;
  102. }
  103. .tabsSidebar-tabsSpacer {
  104. padding: 0 !important;
  105. overflow: visible;
  106. }
  107. .ticketZoom {
  108. background: none;
  109. }
  110. .ticket-article,
  111. .article-new {
  112. max-width: none;
  113. padding-left: 0;
  114. padding-right: 0;
  115. }
  116. .ticket-article {
  117. a[href]::after {
  118. content: none !important;
  119. }
  120. }
  121. .textBubble {
  122. padding: 20px;
  123. border: 1px solid !important;
  124. background: white !important;
  125. }
  126. .bubble-arrow::after {
  127. background: white !important;
  128. border-color: black !important;
  129. }
  130. .article-meta {
  131. color: black;
  132. background: none;
  133. border: 1px dashed hsl(240, 2%, 60%);
  134. padding: 11px 10px 1px;
  135. &.top {
  136. border-bottom-width: 0;
  137. }
  138. &.bottom {
  139. border-top-width: 0;
  140. padding-top: 7px;
  141. padding-bottom: 3px;
  142. }
  143. &-clip {
  144. height: auto !important;
  145. }
  146. &-icon {
  147. fill: currentColor;
  148. }
  149. }
  150. .article-meta-links {
  151. display: none;
  152. }
  153. .article-content {
  154. color: inherit;
  155. }
  156. .article-content-meta {
  157. opacity: 1 !important;
  158. display: block !important;
  159. transform: none !important;
  160. position: static;
  161. }
  162. .attachments.attachments--list {
  163. border-color: currentColor !important;
  164. }
  165. .avatar {
  166. border: 1px solid black;
  167. &:not(.avatar--unique) {
  168. &::before {
  169. content: attr(data-initials);
  170. position: absolute;
  171. left: 0;
  172. top: 0;
  173. width: 100%;
  174. height: 100%;
  175. text-align: center;
  176. font-size: 13px;
  177. line-height: 40px;
  178. }
  179. &.size-30::before {
  180. font-size: 10px;
  181. line-height: 32px;
  182. }
  183. &.size-50::before {
  184. font-size: 16px;
  185. line-height: 52px;
  186. }
  187. &.size-80::before {
  188. font-size: 26px;
  189. line-height: 84px;
  190. }
  191. }
  192. }
  193. /*
  194. Modal
  195. =====
  196. */
  197. .modal-open {
  198. > *:not(.modal) {
  199. display: none !important;
  200. }
  201. }
  202. .modal {
  203. width: auto !important;
  204. position: static;
  205. padding: 0 !important;
  206. }
  207. .modal-backdrop {
  208. display: none;
  209. }
  210. .modal-dialog {
  211. box-shadow: none !important;
  212. max-width: none !important;
  213. margin: 0;
  214. }
  215. .modal-content {
  216. border: none;
  217. }
  218. .modal-close {
  219. display: none;
  220. }
  221. .modal-footer {
  222. display: none;
  223. }
  224. .modal-body {
  225. padding: 0;
  226. }