Advertisement
Guest User

Untitled

a guest
Jan 15th, 2022
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.71 KB | None | 0 0
  1. @page {
  2. margin: 0;
  3. }
  4.  
  5. * {
  6. width: auto;
  7. height: auto;
  8. margin: 0;
  9. padding: 0;
  10. font-family: 'Open Sans', sans-serif;
  11. font-size: 100%;
  12. line-height: 100%;
  13. box-sizing: border-box;
  14. }
  15.  
  16. html,
  17. body {
  18. width: 100%;
  19. font-family: 'Open Sans', sans-serif;
  20. }
  21.  
  22. #document {
  23. padding: 20px 20px 0px 20px;
  24. position: relative;
  25. }
  26.  
  27. body,
  28. p,
  29. h2 {
  30. font-family: 'Open Sans', sans-serif !important;
  31. }
  32.  
  33. /* Header */
  34.  
  35. header {
  36. margin-bottom: 30px;
  37. }
  38.  
  39. #distributore,
  40. #fattura-a,
  41. #spedisci-a {
  42. border: 2px solid rgba(0, 0, 0, 1);
  43. width: 200px;
  44. float: right;
  45. }
  46.  
  47. #distributore {
  48. float: left;
  49. }
  50.  
  51. #fattura-a {
  52. margin-right: 20px;
  53. }
  54.  
  55. #distributore p,
  56. #fattura-a p,
  57. #spedisci-a p {
  58. border-bottom: 1px solid rgba(0, 0, 0, 1);
  59. padding: 5px 10px 5px 10px;
  60. font-size: 0.5em;
  61. font-weight: 300;
  62. text-transform: uppercase;
  63. }
  64.  
  65. #distributore p:last-child,
  66. #fattura-a p:last-child,
  67. #spedisci-a p:last-child {
  68. border: 0;
  69. }
  70.  
  71. #title {
  72. font-size: 2.2em;
  73. font-weight: 700;
  74. text-align: center;
  75. text-transform: uppercase;
  76. }
  77.  
  78. /* Products table */
  79.  
  80. table {
  81. width: 100%;
  82. max-width: 100%;
  83. margin: 70px 0px 30px 0px;
  84. border-spacing: 0;
  85. border-collapse: collapse;
  86. page-break-inside: always;
  87. }
  88.  
  89. table thead tr {
  90. border-top: 2px solid rgba(0, 0, 0, 1);
  91. border-right: 2px solid rgba(0, 0, 0, 1);
  92. border-left: 2px solid rgba(0, 0, 0, 1);
  93. }
  94.  
  95. table tbody tr {
  96. border-right: 2px solid rgba(0, 0, 0, 1);
  97. border-left: 2px solid rgba(0, 0, 0, 1);
  98. }
  99.  
  100. table tr th,
  101. table tr td {
  102. border: 1px solid rgba(0, 0, 0, 1);
  103. padding: 6px 0px 6px 0px;
  104. font-size: 0.5em;
  105. font-weight: 300;
  106. text-align: left;
  107. text-transform: uppercase;
  108. }
  109.  
  110. table thead tr th {
  111. background-color: rgba(249, 240, 1, 1);
  112. font-weight: 700;
  113. }
  114.  
  115. table tfoot tr th {
  116. border: 0;
  117. border-top: 2px solid rgba(0, 0, 0, 1);
  118. background-color: rgba(255, 255, 255, 1);
  119. }
  120.  
  121. table tr th.thumb,
  122. table tr td.thumb {
  123. width: 50px;
  124. padding: 0;
  125. }
  126.  
  127. table tr td.thumb img {
  128. width: 50px;
  129. height: 50px;
  130. }
  131.  
  132. table tr th.code,
  133. table tr td.code {
  134. width: 80px;
  135. padding-right: 10px;
  136. padding-left: 10px;
  137. }
  138.  
  139. table tr th.desc,
  140. table tr td.desc {
  141. width: calc(100% - 470px);
  142. padding-left: 10px;
  143. }
  144.  
  145. table tr th.size,
  146. table tr td.size {
  147. width: 30px;
  148. text-align: center;
  149. }
  150.  
  151. table tr th.qty,
  152. table tr td.qty,
  153. table tr th.whs,
  154. table tr td.whs,
  155. table tr th.rrp,
  156. table tr td.rrp {
  157. width: 45px;
  158. text-align: center;
  159. }
  160.  
  161. table tr th.qty,
  162. table tr td.qty {
  163. width: 40px;
  164. }
  165.  
  166. table tr th.total,
  167. table tr td.total {
  168. width: 60px;
  169. text-align: center;
  170. }
  171.  
  172. table tfoot tr th.qty,
  173. table tfoot tr th.total {
  174. border: 2px solid rgba(0, 0, 0, 1);
  175. border-top: 2px solid rgba(0, 0, 0, 1);
  176. background-color: rgba(249, 240, 1, 1);
  177. font-weight: 700;
  178. }
  179.  
  180. /* Order details */
  181.  
  182. #details {
  183. border: 2px solid rgba(0, 0, 0, 1);
  184. width: 450px;
  185. padding: 20px;
  186. float: right;
  187. }
  188.  
  189. #order {
  190. border: 0;
  191. border-collapse: collapse;
  192. width: 100%;
  193. margin: 20px 0px 0px 0px;
  194. }
  195.  
  196. #order tr {
  197. border: 0;
  198. }
  199.  
  200. #order tr td {
  201. border: 0;
  202. padding: 5px 0px 5px 0px;
  203. font-size: 0.7em;
  204. text-transform: initial;
  205. vertical-align: top;
  206. }
  207.  
  208. #order tr td.right {
  209. text-align: right;
  210. }
  211.  
  212. /* Terms & Conditions */
  213.  
  214. #terms {
  215. width: 70%;
  216. margin: 0 auto 50px auto;
  217. }
  218.  
  219. #terms p {
  220. margin-bottom: 15px;
  221. font-size: 1.05em;
  222. line-height: 1.5;
  223. }
  224.  
  225. #terms p:last-child {
  226. margin-bottom: 0;
  227. }
  228.  
  229. /* Footer */
  230.  
  231. footer {
  232. width: 100%;
  233. position: fixed;
  234. right: 0;
  235. bottom: 64px;
  236. left: 0;
  237. }
  238.  
  239. footer p {
  240. margin-bottom: 10px;
  241. font-size: 0.6em;
  242. text-align: center;
  243. }
  244.  
  245. footer p:last-child {
  246. margin-bottom: 0;
  247. }
  248.  
  249. #pagination {
  250. font-size: 0.6em;
  251. position: absolute;
  252. right: 20px;
  253. bottom: 20px;
  254. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement