graphPrint.css 7.1 KB

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