woocommerce-smallscreen-rtl.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. /**
  2. * woocommerce-smallscreen.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. * Products
  80. */
  81. /**
  82. * Cart
  83. */
  84. /**
  85. * Checkout
  86. */
  87. /**
  88. * Account
  89. */
  90. }
  91. .woocommerce table.shop_table_responsive thead,
  92. .woocommerce-page table.shop_table_responsive thead {
  93. display: none;
  94. }
  95. .woocommerce table.shop_table_responsive tbody tr:first-child td:first-child,
  96. .woocommerce-page table.shop_table_responsive tbody tr:first-child td:first-child {
  97. border-top: 0;
  98. }
  99. .woocommerce table.shop_table_responsive tbody th,
  100. .woocommerce-page table.shop_table_responsive tbody th {
  101. display: none;
  102. }
  103. .woocommerce table.shop_table_responsive tr,
  104. .woocommerce-page table.shop_table_responsive tr {
  105. display: block;
  106. }
  107. .woocommerce table.shop_table_responsive tr td,
  108. .woocommerce-page table.shop_table_responsive tr td {
  109. display: block;
  110. text-align: left !important;
  111. }
  112. .woocommerce table.shop_table_responsive tr td.order-actions,
  113. .woocommerce-page table.shop_table_responsive tr td.order-actions {
  114. text-align: right !important;
  115. }
  116. .woocommerce table.shop_table_responsive tr td::before,
  117. .woocommerce-page table.shop_table_responsive tr td::before {
  118. content: attr(data-title) ": ";
  119. font-weight: 700;
  120. float: right;
  121. }
  122. .woocommerce table.shop_table_responsive tr td.product-remove::before, .woocommerce table.shop_table_responsive tr td.actions::before,
  123. .woocommerce-page table.shop_table_responsive tr td.product-remove::before,
  124. .woocommerce-page table.shop_table_responsive tr td.actions::before {
  125. display: none;
  126. }
  127. .woocommerce table.shop_table_responsive tr td .shipping-calculator-form,
  128. .woocommerce-page table.shop_table_responsive tr td .shipping-calculator-form {
  129. text-align: right;
  130. }
  131. .woocommerce table.my_account_orders tr td.order-actions,
  132. .woocommerce-page table.my_account_orders tr td.order-actions {
  133. text-align: right;
  134. }
  135. .woocommerce table.my_account_orders tr td.order-actions::before,
  136. .woocommerce-page table.my_account_orders tr td.order-actions::before {
  137. display: none;
  138. }
  139. .woocommerce table.my_account_orders tr td.order-actions .button,
  140. .woocommerce-page table.my_account_orders tr td.order-actions .button {
  141. float: none;
  142. margin: 0.125em 0 0.125em 0.25em;
  143. }
  144. .woocommerce .col2-set .col-1,
  145. .woocommerce .col2-set .col-2,
  146. .woocommerce-page .col2-set .col-1,
  147. .woocommerce-page .col2-set .col-2 {
  148. float: none;
  149. width: 100%;
  150. }
  151. .woocommerce ul.products li.product, .woocommerce[class*='columns-'] ul.products li.product,
  152. .woocommerce-page ul.products li.product,
  153. .woocommerce-page[class*='columns-'] ul.products li.product {
  154. display: inline-block;
  155. margin-left: 20px;
  156. vertical-align: top;
  157. clear: none;
  158. }
  159. .woocommerce table.cart .product-thumbnail,
  160. .woocommerce #content table.cart .product-thumbnail,
  161. .woocommerce-page table.cart .product-thumbnail,
  162. .woocommerce-page #content table.cart .product-thumbnail {
  163. display: none;
  164. }
  165. .woocommerce table.cart td.actions,
  166. .woocommerce #content table.cart td.actions,
  167. .woocommerce-page table.cart td.actions,
  168. .woocommerce-page #content table.cart td.actions {
  169. text-align: right;
  170. }
  171. .woocommerce table.cart td.actions .coupon,
  172. .woocommerce #content table.cart td.actions .coupon,
  173. .woocommerce-page table.cart td.actions .coupon,
  174. .woocommerce-page #content table.cart td.actions .coupon {
  175. *zoom: 1;
  176. padding-bottom: 0.5em;
  177. }
  178. .woocommerce table.cart td.actions .coupon::before, .woocommerce table.cart td.actions .coupon::after,
  179. .woocommerce #content table.cart td.actions .coupon::before,
  180. .woocommerce #content table.cart td.actions .coupon::after,
  181. .woocommerce-page table.cart td.actions .coupon::before,
  182. .woocommerce-page table.cart td.actions .coupon::after,
  183. .woocommerce-page #content table.cart td.actions .coupon::before,
  184. .woocommerce-page #content table.cart td.actions .coupon::after {
  185. content: ' ';
  186. display: table;
  187. }
  188. .woocommerce table.cart td.actions .coupon::after,
  189. .woocommerce #content table.cart td.actions .coupon::after,
  190. .woocommerce-page table.cart td.actions .coupon::after,
  191. .woocommerce-page #content table.cart td.actions .coupon::after {
  192. clear: both;
  193. }
  194. .woocommerce table.cart td.actions .coupon input,
  195. .woocommerce table.cart td.actions .coupon .button,
  196. .woocommerce table.cart td.actions .coupon .input-text,
  197. .woocommerce #content table.cart td.actions .coupon input,
  198. .woocommerce #content table.cart td.actions .coupon .button,
  199. .woocommerce #content table.cart td.actions .coupon .input-text,
  200. .woocommerce-page table.cart td.actions .coupon input,
  201. .woocommerce-page table.cart td.actions .coupon .button,
  202. .woocommerce-page table.cart td.actions .coupon .input-text,
  203. .woocommerce-page #content table.cart td.actions .coupon input,
  204. .woocommerce-page #content table.cart td.actions .coupon .button,
  205. .woocommerce-page #content table.cart td.actions .coupon .input-text {
  206. width: 48%;
  207. box-sizing: border-box;
  208. }
  209. .woocommerce table.cart td.actions .coupon .input-text + .button,
  210. .woocommerce table.cart td.actions .coupon .button.alt,
  211. .woocommerce #content table.cart td.actions .coupon .input-text + .button,
  212. .woocommerce #content table.cart td.actions .coupon .button.alt,
  213. .woocommerce-page table.cart td.actions .coupon .input-text + .button,
  214. .woocommerce-page table.cart td.actions .coupon .button.alt,
  215. .woocommerce-page #content table.cart td.actions .coupon .input-text + .button,
  216. .woocommerce-page #content table.cart td.actions .coupon .button.alt {
  217. float: left;
  218. }
  219. .woocommerce .cart-collaterals .cart_totals,
  220. .woocommerce .cart-collaterals .shipping_calculator,
  221. .woocommerce .cart-collaterals .cross-sells,
  222. .woocommerce-page .cart-collaterals .cart_totals,
  223. .woocommerce-page .cart-collaterals .shipping_calculator,
  224. .woocommerce-page .cart-collaterals .cross-sells {
  225. width: 100%;
  226. float: none;
  227. text-align: right;
  228. }
  229. .woocommerce.woocommerce-checkout form.login .form-row,
  230. .woocommerce-page.woocommerce-checkout form.login .form-row {
  231. width: 100%;
  232. float: none;
  233. }
  234. .woocommerce #payment .terms,
  235. .woocommerce-page #payment .terms {
  236. text-align: right;
  237. padding: 0;
  238. }
  239. .woocommerce #payment #place_order,
  240. .woocommerce-page #payment #place_order {
  241. float: none;
  242. width: 100%;
  243. box-sizing: border-box;
  244. margin-bottom: 1em;
  245. }
  246. .woocommerce .lost_reset_password .form-row-first,
  247. .woocommerce .lost_reset_password .form-row-last,
  248. .woocommerce-page .lost_reset_password .form-row-first,
  249. .woocommerce-page .lost_reset_password .form-row-last {
  250. width: 100%;
  251. float: none;
  252. margin-left: 0;
  253. }
  254. .woocommerce-account .woocommerce-MyAccount-navigation,
  255. .woocommerce-account .woocommerce-MyAccount-content {
  256. float: none;
  257. width: 100%;
  258. }