graphPrint.css 6.8 KB

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