woocommerce-smallscreen-grid-rtl.css 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. /**
  2. * woocommerce-smallscreen-grid.scss
  3. * Optimises the default WooCommerce frontend layout when viewed on smaller screens.
  4. */
  5. /**
  6. * Imports
  7. */
  8. /**
  9. * Deprecated
  10. * Fallback for bourbon equivalent
  11. */
  12. /**
  13. * Deprecated
  14. * Vendor prefix no longer required.
  15. */
  16. /**
  17. * Deprecated
  18. * Vendor prefix no longer required.
  19. */
  20. /**
  21. * Deprecated
  22. * Vendor prefix no longer required.
  23. */
  24. /**
  25. * Deprecated
  26. * Vendor prefix no longer required.
  27. */
  28. /**
  29. * Deprecated
  30. * Vendor prefix no longer required.
  31. */
  32. /**
  33. * Deprecated
  34. * Vendor prefix no longer required.
  35. */
  36. /**
  37. * Deprecated
  38. * Vendor prefix no longer required.
  39. */
  40. /**
  41. * Deprecated
  42. * Vendor prefix no longer required.
  43. */
  44. /**
  45. * Deprecated
  46. * Vendor prefix no longer required.
  47. */
  48. /**
  49. * Deprecated
  50. * Vendor prefix no longer required.
  51. */
  52. /**
  53. * Deprecated
  54. * Vendor prefix no longer required.
  55. */
  56. /**
  57. * Deprecated
  58. * Use bourbon mixin instead `@include transform(scale(1.5));`
  59. */
  60. /**
  61. * Deprecated
  62. * Use bourbon mixin instead `@include box-sizing(border-box);`
  63. */
  64. /**
  65. * Objects
  66. */
  67. /**
  68. * WooCommerce CSS Variables
  69. */
  70. /**
  71. * Style begins
  72. */
  73. .woocommerce,
  74. .woocommerce-page {
  75. /**
  76. * General layout
  77. */
  78. /**
  79. * Cart
  80. */
  81. /**
  82. * Checkout
  83. */
  84. /**
  85. * Account
  86. */
  87. }
  88. .woocommerce table.shop_table_responsive thead,
  89. .woocommerce-page table.shop_table_responsive thead {
  90. display: none;
  91. }
  92. .woocommerce table.shop_table_responsive tbody tr:first-child td:first-child,
  93. .woocommerce-page table.shop_table_responsive tbody tr:first-child td:first-child {
  94. border-top: 0;
  95. }
  96. .woocommerce table.shop_table_responsive tbody th,
  97. .woocommerce-page table.shop_table_responsive tbody th {
  98. display: none;
  99. }
  100. .woocommerce table.shop_table_responsive tr,
  101. .woocommerce-page table.shop_table_responsive tr {
  102. display: block;
  103. }
  104. .woocommerce table.shop_table_responsive tr td,
  105. .woocommerce-page table.shop_table_responsive tr td {
  106. display: block;
  107. text-align: left !important;
  108. }
  109. .woocommerce table.shop_table_responsive tr td.order-actions,
  110. .woocommerce-page table.shop_table_responsive tr td.order-actions {
  111. text-align: right !important;
  112. }
  113. .woocommerce table.shop_table_responsive tr td::before,
  114. .woocommerce-page table.shop_table_responsive tr td::before {
  115. content: attr(data-title) ": ";
  116. font-weight: 700;
  117. float: right;
  118. }
  119. .woocommerce table.shop_table_responsive tr td.product-remove::before, .woocommerce table.shop_table_responsive tr td.actions::before,
  120. .woocommerce-page table.shop_table_responsive tr td.product-remove::before,
  121. .woocommerce-page table.shop_table_responsive tr td.actions::before {
  122. display: none;
  123. }
  124. .woocommerce table.shop_table_responsive tr td .shipping-calculator-form,
  125. .woocommerce-page table.shop_table_responsive tr td .shipping-calculator-form {
  126. text-align: right;
  127. }
  128. .woocommerce table.my_account_orders tr td.order-actions,
  129. .woocommerce-page table.my_account_orders tr td.order-actions {
  130. text-align: right;
  131. }
  132. .woocommerce table.my_account_orders tr td.order-actions::before,
  133. .woocommerce-page table.my_account_orders tr td.order-actions::before {
  134. display: none;
  135. }
  136. .woocommerce table.my_account_orders tr td.order-actions .button,
  137. .woocommerce-page table.my_account_orders tr td.order-actions .button {
  138. float: none;
  139. margin: 0.125em 0 0.125em 0.25em;
  140. }
  141. .woocommerce .col2-set .col-1,
  142. .woocommerce .col2-set .col-2,
  143. .woocommerce-page .col2-set .col-1,
  144. .woocommerce-page .col2-set .col-2 {
  145. float: none;
  146. width: 100%;
  147. }
  148. .woocommerce table.cart .product-thumbnail,
  149. .woocommerce #content table.cart .product-thumbnail,
  150. .woocommerce-page table.cart .product-thumbnail,
  151. .woocommerce-page #content table.cart .product-thumbnail {
  152. display: none;
  153. }
  154. .woocommerce table.cart td.actions,
  155. .woocommerce #content table.cart td.actions,
  156. .woocommerce-page table.cart td.actions,
  157. .woocommerce-page #content table.cart td.actions {
  158. text-align: right;
  159. }
  160. .woocommerce table.cart td.actions .coupon,
  161. .woocommerce #content table.cart td.actions .coupon,
  162. .woocommerce-page table.cart td.actions .coupon,
  163. .woocommerce-page #content table.cart td.actions .coupon {
  164. *zoom: 1;
  165. padding-bottom: 0.5em;
  166. }
  167. .woocommerce table.cart td.actions .coupon::before, .woocommerce table.cart td.actions .coupon::after,
  168. .woocommerce #content table.cart td.actions .coupon::before,
  169. .woocommerce #content table.cart td.actions .coupon::after,
  170. .woocommerce-page table.cart td.actions .coupon::before,
  171. .woocommerce-page table.cart td.actions .coupon::after,
  172. .woocommerce-page #content table.cart td.actions .coupon::before,
  173. .woocommerce-page #content table.cart td.actions .coupon::after {
  174. content: ' ';
  175. display: table;
  176. }
  177. .woocommerce table.cart td.actions .coupon::after,
  178. .woocommerce #content table.cart td.actions .coupon::after,
  179. .woocommerce-page table.cart td.actions .coupon::after,
  180. .woocommerce-page #content table.cart td.actions .coupon::after {
  181. clear: both;
  182. }
  183. .woocommerce table.cart td.actions .coupon input,
  184. .woocommerce table.cart td.actions .coupon .button,
  185. .woocommerce table.cart td.actions .coupon .input-text,
  186. .woocommerce #content table.cart td.actions .coupon input,
  187. .woocommerce #content table.cart td.actions .coupon .button,
  188. .woocommerce #content table.cart td.actions .coupon .input-text,
  189. .woocommerce-page table.cart td.actions .coupon input,
  190. .woocommerce-page table.cart td.actions .coupon .button,
  191. .woocommerce-page table.cart td.actions .coupon .input-text,
  192. .woocommerce-page #content table.cart td.actions .coupon input,
  193. .woocommerce-page #content table.cart td.actions .coupon .button,
  194. .woocommerce-page #content table.cart td.actions .coupon .input-text {
  195. width: 48%;
  196. box-sizing: border-box;
  197. }
  198. .woocommerce table.cart td.actions .coupon .input-text + .button,
  199. .woocommerce table.cart td.actions .coupon .button.alt,
  200. .woocommerce #content table.cart td.actions .coupon .input-text + .button,
  201. .woocommerce #content table.cart td.actions .coupon .button.alt,
  202. .woocommerce-page table.cart td.actions .coupon .input-text + .button,
  203. .woocommerce-page table.cart td.actions .coupon .button.alt,
  204. .woocommerce-page #content table.cart td.actions .coupon .input-text + .button,
  205. .woocommerce-page #content table.cart td.actions .coupon .button.alt {
  206. float: left;
  207. }
  208. .woocommerce .cart-collaterals .cart_totals,
  209. .woocommerce .cart-collaterals .shipping_calculator,
  210. .woocommerce .cart-collaterals .cross-sells,
  211. .woocommerce-page .cart-collaterals .cart_totals,
  212. .woocommerce-page .cart-collaterals .shipping_calculator,
  213. .woocommerce-page .cart-collaterals .cross-sells {
  214. width: 100%;
  215. float: none;
  216. text-align: right;
  217. }
  218. .woocommerce.woocommerce-checkout form.login .form-row,
  219. .woocommerce-page.woocommerce-checkout form.login .form-row {
  220. width: 100%;
  221. float: none;
  222. }
  223. .woocommerce #payment .terms,
  224. .woocommerce-page #payment .terms {
  225. text-align: right;
  226. padding: 0;
  227. }
  228. .woocommerce #payment #place_order,
  229. .woocommerce-page #payment #place_order {
  230. float: none;
  231. width: 100%;
  232. box-sizing: border-box;
  233. margin-bottom: 1em;
  234. }
  235. .woocommerce .lost_reset_password .form-row-first,
  236. .woocommerce .lost_reset_password .form-row-last,
  237. .woocommerce-page .lost_reset_password .form-row-first,
  238. .woocommerce-page .lost_reset_password .form-row-last {
  239. width: 100%;
  240. float: none;
  241. margin-left: 0;
  242. }
  243. .woocommerce-account .woocommerce-MyAccount-navigation,
  244. .woocommerce-account .woocommerce-MyAccount-content {
  245. float: none;
  246. width: 100%;
  247. }