graphPrint.css 7.8 KB

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