print.scss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. #app > *:not(.content, .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. .is-internal .internal-border {
  127. background: none;
  128. }
  129. .is-internal .textBubble {
  130. border: 5px dashed gray !important;
  131. }
  132. .bubble-arrow::after {
  133. background: white !important;
  134. border-color: black !important;
  135. }
  136. .article-meta {
  137. color: black;
  138. background: none;
  139. border: 1px dashed hsl(240, 2%, 60%);
  140. padding: 11px 10px 1px;
  141. &.top {
  142. border-bottom-width: 0;
  143. }
  144. &.bottom {
  145. border-top-width: 0;
  146. padding-top: 7px;
  147. padding-bottom: 3px;
  148. }
  149. &-clip {
  150. height: auto !important;
  151. }
  152. &-icon {
  153. fill: currentColor;
  154. }
  155. }
  156. .article-meta-links {
  157. display: none;
  158. }
  159. .article-content {
  160. color: inherit;
  161. }
  162. .article-content-meta {
  163. opacity: 1 !important;
  164. display: block !important;
  165. transform: none !important;
  166. position: static;
  167. }
  168. .attachments.attachments--list {
  169. border-color: currentColor !important;
  170. }
  171. .avatar {
  172. border: 1px solid black;
  173. &:not(.avatar--unique) {
  174. &::before {
  175. content: attr(data-initials);
  176. position: absolute;
  177. left: 0;
  178. top: 0;
  179. width: 100%;
  180. height: 100%;
  181. text-align: center;
  182. font-size: 13px;
  183. line-height: 40px;
  184. }
  185. &.size-30::before {
  186. font-size: 10px;
  187. line-height: 32px;
  188. }
  189. &.size-50::before {
  190. font-size: 16px;
  191. line-height: 52px;
  192. }
  193. &.size-80::before {
  194. font-size: 26px;
  195. line-height: 84px;
  196. }
  197. }
  198. }
  199. /*
  200. Modal
  201. =====
  202. */
  203. .modal-open {
  204. > *:not(.modal) {
  205. display: none !important;
  206. }
  207. }
  208. .modal {
  209. width: auto !important;
  210. position: static;
  211. padding: 0 !important;
  212. }
  213. .modal-backdrop {
  214. display: none;
  215. }
  216. .modal-dialog {
  217. box-shadow: none !important;
  218. max-width: none !important;
  219. margin: 0;
  220. }
  221. .modal-content {
  222. border: none;
  223. }
  224. .modal-close {
  225. display: none;
  226. }
  227. .modal-footer {
  228. display: none;
  229. }
  230. .modal-body {
  231. padding: 0;
  232. }