graphPrint.css 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321
  1. /**
  2. * Print stylesheet for Graph Pages Only
  3. * @version 1.0
  4. * @lastmodified 02/08/2019
  5. */
  6. @media print {
  7. @page {
  8. size: A4 portrait;
  9. margin: 5mm 0 5mm 0;
  10. }
  11. html, body {
  12. margin: 0;
  13. padding: 0;
  14. background: #fff;
  15. }
  16. .page {
  17. padding: 0 10mm;
  18. box-sizing: border-box;
  19. }
  20. body {
  21. min-width: 992px !important;
  22. font-size: 0.75em;
  23. }
  24. .container {
  25. min-width: 992px !important;
  26. }
  27. .pagebreak {
  28. page-break-before: always;
  29. break-before: page;
  30. }
  31. .graph th td {
  32. border-bottom: 1px solid #e1e1e1 !important;
  33. border-width:0 1px 1px 0 !important;
  34. }
  35. hr {
  36. page-break-after: avoid;
  37. display:none;
  38. height:1px;
  39. border:0;
  40. padding:0
  41. }
  42. .nav-header {
  43. float: left;
  44. margin: 0
  45. }
  46. .graph-header {
  47. padding: 5px 0 5px 0;
  48. font-weight: bold;
  49. font-size: 20px;
  50. color: black;
  51. }
  52. .progress {
  53. border-radius: 0;
  54. }
  55. .no-pad-menu {
  56. padding: 0;
  57. margin-bottom: 0;
  58. background: transparent !important
  59. }
  60. .ratios {
  61. width: 100%;
  62. }
  63. .ratios-header {
  64. width: 100%;
  65. background: #2b2b2b;
  66. color: white;
  67. }
  68. .chart {
  69. width: 100%;
  70. color: black;
  71. }
  72. .chart-header {
  73. padding: 10px 0 10px 40px;
  74. font-weight: bold;
  75. font-size: 15px;
  76. color: #ffffff;
  77. line-height: 20px;
  78. width: 100%;
  79. background: #2b2b2b;
  80. }
  81. .sub-chart-plant {
  82. padding: 10px 0 10px 0;
  83. line-height: 26px;
  84. }
  85. .sub-chart-plant, th, td.graph-border {
  86. padding: 10px 0 10px 0;
  87. }
  88. .chart-header-sub {
  89. width: 100%;
  90. background: #afafaf;
  91. color: #ffffff;
  92. margin: 0px;
  93. padding: 0px;
  94. }
  95. .sub-chart td {
  96. padding: 3px 0 3ch 0;
  97. page-break-after: avoid;
  98. }
  99. .text-left {
  100. padding-left: 5px;
  101. }
  102. .analysis-footer {
  103. padding: 20px 20px 0 20px;
  104. }
  105. .stripe-1 {
  106. color: #4e4e4e;
  107. background: repeating-linear-gradient( 45deg, #ffffff, #ffffff 4px, #f7f7f7 2px, #f7f7f7 6px );
  108. background: -moz-repeating-linear-gradient( 45deg, #ffffff, #ffffff 4px, #f7f7f7 2px, #f7f7f7 6px );
  109. }
  110. /* BAR GRAPH COLOURS */
  111. .lightgreenGraph {
  112. background: #5cb85c;
  113. }
  114. .lightgreen {
  115. color: white;
  116. background-image: -webkit-linear-gradient(left, #ebf1de, #5cb85c);
  117. background-image: -moz-linear-gradient(left, #ebf1de, #5cb85c);
  118. background-image: -o-linear-gradient(left, #ebf1de, #5cb85c);
  119. background-image: -ms-linear-gradient(left, #ebf1de, #5cb85c);
  120. background-image: linear-gradient(left, #ebf1de, #5cb85c);
  121. }
  122. .lightredGraph {
  123. background: #9a3634;
  124. }
  125. .lightred {
  126. color: white;
  127. background-image: -webkit-linear-gradient(left, #f3dddc, #9a3634);
  128. background-image: -moz-linear-gradient(left, #f3dddc, #9a3634);
  129. background-image: -o-linear-gradient(left, #f3dddc, #9a3634);
  130. background-image: -ms-linear-gradient(left, #f3dddc, #9a3634);
  131. background-image: linear-gradient(left, #f3dddc, #9a3634);
  132. }
  133. .lightpurpleGraph {
  134. background: #16365c;
  135. }
  136. .lightpurple {
  137. color: white;
  138. background-image: -webkit-linear-gradient(left, #ebf1de, #16365c);
  139. background-image: -moz-linear-gradient(left, #ebf1de, #16365c);
  140. background-image: -o-linear-gradient(left, #ebf1de, #16365c);
  141. background-image: -ms-linear-gradient(left, #ebf1de, #16365c);
  142. background-image: linear-gradient(left, #ebf1de, #16365c);
  143. }
  144. .lightblueGraph {
  145. background: #366092;
  146. }
  147. .lightblue {
  148. color: white;
  149. background-image: -webkit-linear-gradient(left, #dde7f2, #366092);
  150. background-image: -moz-linear-gradient(left, #dde7f2, #366092);
  151. background-image: -o-linear-gradient(left, #dde7f2, #366092);
  152. background-image: -ms-linear-gradient(left, #dde7f2, #366092);
  153. background-image: linear-gradient(left, #dde7f2, #366092);
  154. }
  155. .lightorangeGraph {
  156. background: #ffa500;
  157. }
  158. .lightorange {
  159. color: white;
  160. background-image: -webkit-linear-gradient(left, #fcdda4, #ffa500);
  161. background-image: -moz-linear-gradient(left, #fcdda4, #ffa500);
  162. background-image: -o-linear-gradient(left, #fcdda4, #ffa500);
  163. background-image: -ms-linear-gradient(left, #fcdda4, #ffa500);
  164. background-image: linear-gradient(left, #fcdda4, #ffa500);
  165. }
  166. .lightgreyGraph {
  167. background: #afafaf;
  168. }
  169. .lightgrey {
  170. color: white;
  171. background-image: -webkit-linear-gradient(left, #d2d2d2, #afafaf);
  172. background-image: -moz-linear-gradient(left, #d2d2d2, #afafaf);
  173. background-image: -o-linear-gradient(left, #d2d2d2, #afafaf);
  174. background-image: -ms-linear-gradient(left, #d2d2d2, #afafaf);
  175. background-image: linear-gradient(left, #d2d2d2, #afafaf);
  176. }
  177. .nutrient-balance {
  178. background-color: #b7ffb6;
  179. }
  180. .ratio-balance {
  181. /*background-color: #efefef;*/
  182. font-weight: bold;
  183. }
  184. .odd {
  185. background-color: #efefef;
  186. }
  187. .title {
  188. width: 100%;
  189. }
  190. .title, .left, th, td {
  191. padding: 3px 10px 0 0;
  192. text-align: left;
  193. }
  194. .title, .right, th, td {
  195. padding: 3px 10px 0 0;
  196. text-align: right;
  197. }
  198. tr.sub-chart td table {
  199. margin-bottom: 0px;
  200. }
  201. .progress.thin, tr.progress.thin {
  202. height: 20px;
  203. }
  204. .progress, tr.progress {
  205. background: #f2f4f8;
  206. height: 17px;
  207. overflow: hidden;
  208. background-color: #f5f5f5;
  209. }
  210. .progress-bar, td.progress-bar {
  211. height: 15px;
  212. }
  213. .progress-bar-success, td.progress-bar-success {
  214. background-color: #5cb85c;
  215. }
  216. .progress-bar-warning, td.progress-bar-warning {
  217. background-color: #f0ad4e;
  218. }
  219. .progress-bar-danger, td.progress-bar-danger {
  220. background-color: #d9534f;
  221. }
  222. .col{
  223. flex:1
  224. }
  225. [class*='col']{
  226. padding:0 20px;
  227. position:relative
  228. }
  229. .col-100{
  230. width:100%
  231. }
  232. .col-50{
  233. width:50%
  234. }
  235. .col-33{
  236. width:33.33%
  237. }
  238. .col-66{
  239. width:66.66%
  240. }
  241. .col-25{
  242. width:25%
  243. }
  244. .col-75{
  245. width:75%
  246. }
  247. .col-20{
  248. width:20%
  249. }
  250. .col-40{
  251. width:40%
  252. }
  253. .col-60{
  254. width:60%
  255. }
  256. .col-80{
  257. width:80%
  258. }
  259. .col-15{
  260. width:15.66%
  261. }
  262. .col-16{
  263. width:16.66%
  264. }
  265. .col-14{
  266. width:14.66%
  267. }
  268. .col-18{
  269. width:18.66%
  270. }
  271. .col-12{
  272. width:12.5%
  273. }
  274. .col-10{
  275. width:10%
  276. }
  277. .col-30{
  278. width:30%
  279. }
  280. .col-70{
  281. width:70%
  282. }
  283. .col-90{
  284. width:90%
  285. }
  286. .col-md-3{
  287. width:25%
  288. }
  289. .col-md-9{
  290. width:75%
  291. }
  292. }