uc_order.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327
  1. /**
  2. * @file
  3. * Styles for uc_order module.
  4. */
  5. .uc-order-action img {
  6. padding: 0 3px;
  7. position: relative;
  8. top: 3px;
  9. }
  10. .view-uc-orders .form-item {
  11. padding-top: 4px;
  12. }
  13. .view-uc-orders #edit-order-id {
  14. width: 10em;
  15. }
  16. .view-uc-orders #edit-delivery-first-name-wrapper,
  17. .view-uc-orders #edit-created-wrapper {
  18. clear: left; /* LTR */
  19. }
  20. .view-uc-orders #edit-created-min-wrapper,
  21. .view-uc-orders #edit-created-max-wrapper {
  22. float: left; /* LTR */
  23. }
  24. .view-uc-orders .form-type-date-select .date-padding {
  25. padding: 0 22px 0 0; /* LTR */
  26. }
  27. .view-uc-orders .form-type-date-select {
  28. padding-top: 0;
  29. }
  30. .view-uc-orders tbody tr:hover {
  31. background-color: #ddd;
  32. }
  33. .view-uc-orders tbody td.views-field-order-total {
  34. text-align: right; /* LTR */
  35. }
  36. .view-uc-orders tbody td.views-field-created {
  37. text-align: center;
  38. }
  39. .order-overview-form {
  40. float: left; /* LTR */
  41. padding: 0 2em 0 0; /* LTR */
  42. }
  43. .order-overview-form .form-item {
  44. margin-bottom: 0;
  45. }
  46. .order-overview-form #uc-order-select-form,
  47. .order-overview-form #uc-order-admin-sort-form {
  48. margin-bottom: 0;
  49. }
  50. .uc-orders-table {
  51. clear: both;
  52. width: 100%;
  53. }
  54. .uc-orders-table thead th {
  55. white-space: nowrap;
  56. }
  57. .uc-orders-table tr.odd:hover,
  58. .uc-orders-table tr.even:hover {
  59. background-color: #ddd;
  60. }
  61. .uc-orders-table img {
  62. float: left; /* LTR */
  63. margin-right: .5em; /* LTR */
  64. }
  65. .order-admin-icons {
  66. margin-left: 2px; /* LTR */
  67. }
  68. .order-admin-icons img {
  69. padding: 0 3px;
  70. position: relative;
  71. top: 3px;
  72. }
  73. .order-pane {
  74. border-color: #bbb;
  75. border-style: solid;
  76. border-width: 1px;
  77. line-height: 1.1em;
  78. margin: .5em;
  79. padding: .5em;
  80. position: relative;
  81. }
  82. .order-pane thead {
  83. background-color: #ddd;
  84. }
  85. .order-pane tbody {
  86. border-top: 0;
  87. }
  88. .order-pane-icons {
  89. position: absolute;
  90. right: .5em; /* LTR */
  91. top: 5px;
  92. }
  93. .order-pane-icons img {
  94. cursor: pointer;
  95. }
  96. .order-pane-title {
  97. font-weight: bold;
  98. padding-bottom: .5em;
  99. }
  100. .pos-left {
  101. float: left; /* LTR */
  102. }
  103. .abs-left {
  104. clear: left; /* LTR */
  105. }
  106. .order-pane.abs-left {
  107. border: 0;
  108. padding: .5em 0;
  109. }
  110. .pos-right {
  111. float: right; /* LTR */
  112. }
  113. .abs-right {
  114. clear: right; /* LTR */
  115. float: right; /* LTR */
  116. }
  117. .text-center {
  118. text-align: center;
  119. }
  120. .full-width {
  121. width: 100%;
  122. }
  123. .order-pane .uc-store-address-field .form-item {
  124. padding: 0;
  125. }
  126. .order-pane .uc-store-address-field .form-item label {
  127. padding: 2px 4px;
  128. width: 12em;
  129. }
  130. .order-pane #edit-add-line-item,
  131. .order-pane #edit-add-line-item .form-item {
  132. float: left; /* LTR */
  133. margin-right: 1em; /* LTR */
  134. padding-top: 0;
  135. }
  136. .order-pane .line-item-table {
  137. width: auto;
  138. }
  139. .order-pane-table th {
  140. padding: 4px 8px;
  141. font-weight: bold;
  142. }
  143. .order-pane-table td {
  144. padding: 4px 8px;
  145. vertical-align: top;
  146. }
  147. .order-pane-table td.qty,
  148. .order-pane-table td.sku {
  149. text-align: center;
  150. white-space: nowrap;
  151. }
  152. .order-pane-table td.product {
  153. width: 80%;
  154. }
  155. .order-pane-table td.cost,
  156. .order-pane-table td.price,
  157. .order-pane-table td.total {
  158. text-align: right; /* LTR */
  159. white-space: nowrap;
  160. }
  161. #order-edit-products .form-remove {
  162. cursor: pointer;
  163. margin-top: 4px;
  164. }
  165. .uc-order-comments td {
  166. vertical-align: top;
  167. }
  168. .uc-order-comments .date,
  169. .uc-order-comments .user,
  170. .uc-order-comments .notified,
  171. .uc-order-comments .status {
  172. text-align: center;
  173. white-space: nowrap;
  174. }
  175. .uc-order-comments .message {
  176. width: 80%;
  177. }
  178. .order-edit-table {
  179. width: auto;
  180. }
  181. .order-edit-table .oet-label {
  182. font-weight: bold;
  183. text-align: right; /* LTR */
  184. }
  185. .order-edit-table .form-item {
  186. display: inline;
  187. }
  188. .address-select-box {
  189. background-color: #ddd;
  190. border: solid 1px #999;
  191. margin-bottom: 1em;
  192. padding-bottom: 1em;
  193. padding-left: 1em; /* LTR */
  194. width: auto;
  195. }
  196. .customer-select-box {
  197. background-color: #ddd;
  198. border: solid 1px #999;
  199. margin-top: 1em;
  200. padding: 1em;
  201. width: auto;
  202. }
  203. .line-item-table {
  204. width: 100%;
  205. }
  206. .line-item-table td {
  207. padding: 2px;
  208. }
  209. .line-item-table .li-title {
  210. font-weight: bold;
  211. text-align: right; /* LTR */
  212. width: 100%;
  213. }
  214. .line-item-table .li-amount {
  215. text-align: right; /* LTR */
  216. white-space: nowrap;
  217. }
  218. .line-item-table .form-item {
  219. display: inline;
  220. }
  221. .order-review-table tbody {
  222. border-top: 0;
  223. }
  224. .order-pane-table .product-description {
  225. font-size: .7em;
  226. }
  227. /* Move to uc_credit.css eventually... */
  228. .order-pane #uc-credit-order-view-form {
  229. margin-bottom: 0;
  230. margin-top: .5em;
  231. }
  232. #uc-credit-order-view-form .form-submit {
  233. margin: 0;
  234. }
  235. .order-pane #uc-order-view-update-form {
  236. margin-bottom: 1em;
  237. }
  238. #uc-order-view-update-form #edit-controls label {
  239. display: inline;
  240. }
  241. #uc-order-view-update-form #edit-controls .form-type-checkbox {
  242. padding-top: 8px;
  243. }
  244. #uc-order-view-update-form #edit-controls .form-submit {
  245. margin: 0;
  246. }
  247. .address-select-box #uc-order-address-book-form {
  248. margin-bottom: 0;
  249. }
  250. .order-pane.abs-left .form-submit {
  251. margin: 0.5em 0.5em 0.5em 0; /* LTR */
  252. }
  253. .order-pane #customer-select form {
  254. margin-bottom: 0;
  255. }
  256. #order-pane-print_button {
  257. border: 1px solid #bbb;
  258. padding: 0.5em 0.5em 0.5em 2em; /* LTR */
  259. background: url("../uc_store/images/print.gif") no-repeat 0.5em 50%;
  260. }