You are here

pdf.css in Commerce Billy 7

body {
  font-family: Arial, sans-serif;
  font-size: 16px;
}
.header {
  width: 100%;
  height: 100px;
}
.header img {
  width: 88px;
  position: absolute;
}
.text {
  position: absolute;
  top: 300px;
}
.invoice-header {
  font-size: 14px;
  color: #646464;
  text-align: right;
}
.invoice-footer {
  border-top: 1px solid #646464;
  width: 100%;
  font-size: 14px;
  color: #646464;
  text-align: center;
  padding-top: 4px;
}

.invoice-text {
  margin-top: 50px;
}

.customer .field-label,
.customer .field__label {
  display: none;
}
.customer .field-name-field-customer-lastname,
.customer .field--name-field-customer-lastname {
  display: none;
}

.invoice-number {
  position: absolute;
  top: 350px;
}
.order-id {
  position: absolute;
  top: 370px;
}
.invoice-header-date {
  margin-top: 25px;
  margin-left: 550px;
  text-align: right;
}
.line-items {
  margin-top: 200px;
}
.invoice-footer {
  position: absolute;
  bottom: 0;
}
.view-commerce-line-item-table table {
  width: 100%;
  line-height: 1.2em;
  border-collapse: collapse;
}
.view-commerce-line-item-table thead {
  border-bottom: 2px solid black;
}
.view-commerce-line-item-table th {
  text-align: right;
}
.view-commerce-line-item-table td {
  text-align: right;
  height: 30px;
}
.view-commerce-line-item-table .views-field-commerce-total {
  text-align: right;
  padding-right: 5px;
  width: 200px;
}
.view-commerce-line-item-table .views-field-line-item-title {
  text-align: left;
  width: 300px;
}

.order-total table {
  width: 100%;
  border-top: 2px solid black;
  font-weight: bold;
}
td.component-title {
  text-align: right;
}
td.component-total {
  text-align: right;
  width: 200px;
}

.contextual-links-wrapper {
  display: none;
}

.invoice-canceled .order-total table {
  border: 2px solid black;
  margin-top: 100px;
}

File

modules/commerce_billy_pdf/css/pdf.css
View source
  1. body {
  2. font-family: Arial, sans-serif;
  3. font-size: 16px;
  4. }
  5. .header {
  6. width: 100%;
  7. height: 100px;
  8. }
  9. .header img {
  10. width: 88px;
  11. position: absolute;
  12. }
  13. .text {
  14. position: absolute;
  15. top: 300px;
  16. }
  17. .invoice-header {
  18. font-size: 14px;
  19. color: #646464;
  20. text-align: right;
  21. }
  22. .invoice-footer {
  23. border-top: 1px solid #646464;
  24. width: 100%;
  25. font-size: 14px;
  26. color: #646464;
  27. text-align: center;
  28. padding-top: 4px;
  29. }
  30. .invoice-text {
  31. margin-top: 50px;
  32. }
  33. .customer .field-label,
  34. .customer .field__label {
  35. display: none;
  36. }
  37. .customer .field-name-field-customer-lastname,
  38. .customer .field--name-field-customer-lastname {
  39. display: none;
  40. }
  41. .invoice-number {
  42. position: absolute;
  43. top: 350px;
  44. }
  45. .order-id {
  46. position: absolute;
  47. top: 370px;
  48. }
  49. .invoice-header-date {
  50. margin-top: 25px;
  51. margin-left: 550px;
  52. text-align: right;
  53. }
  54. .line-items {
  55. margin-top: 200px;
  56. }
  57. .invoice-footer {
  58. position: absolute;
  59. bottom: 0;
  60. }
  61. .view-commerce-line-item-table table {
  62. width: 100%;
  63. line-height: 1.2em;
  64. border-collapse: collapse;
  65. }
  66. .view-commerce-line-item-table thead {
  67. border-bottom: 2px solid black;
  68. }
  69. .view-commerce-line-item-table th {
  70. text-align: right;
  71. }
  72. .view-commerce-line-item-table td {
  73. text-align: right;
  74. height: 30px;
  75. }
  76. .view-commerce-line-item-table .views-field-commerce-total {
  77. text-align: right;
  78. padding-right: 5px;
  79. width: 200px;
  80. }
  81. .view-commerce-line-item-table .views-field-line-item-title {
  82. text-align: left;
  83. width: 300px;
  84. }
  85. .order-total table {
  86. width: 100%;
  87. border-top: 2px solid black;
  88. font-weight: bold;
  89. }
  90. td.component-title {
  91. text-align: right;
  92. }
  93. td.component-total {
  94. text-align: right;
  95. width: 200px;
  96. }
  97. .contextual-links-wrapper {
  98. display: none;
  99. }
  100. .invoice-canceled .order-total table {
  101. border: 2px solid black;
  102. margin-top: 100px;
  103. }