Facebook
From Cobalt Tamarin, 4 Years ago, written in HTML5.
Embed
Download Paste or View Raw
Hits: 63
  1. <style> .qib - container input[type = 'number']: not(#qib_id): not(#qib_id) {
  2.     -moz - appearance: textfield;
  3. }.qib - container input[type = 'number']: not(#qib_id): not(#qib_id)::-webkit - outer - spin - button, .qib - container input[type = 'number']: not(#qib_id): not(#qib_id)::-webkit - inner - spin - button {
  4.     -webkit - appearance: none;
  5.     display: none;
  6.     margin: 0;
  7. }
  8. form.cart button[type = 'submit']: not(#qib_id): not(#qib_id), form.cart.qib - container + div: not(#qib_id): not(#qib_id) {
  9.     display: inline - block;margin: 0;padding - top: 0;padding - bottom: 0;float: none;vertical - align: top;text - align: center;
  10. }
  11. form.cart button[type = 'submit']: not(#qib_id): not(#qib_id): not(_) {
  12.     line - height: 1;
  13. }
  14. form.cart button[type = 'submit']: not(#qib_id): not(#qib_id): not(_): not(_) {
  15.     height: 35 px;text - align: center;
  16. }
  17. form.cart.qib - container + button[type = 'submit']: not(#qib_id): not(#qib_id), form.cart.qib - container + div: not(#qib_id): not(#qib_id): not(_) {
  18.     margin - left: 1 em;
  19. }
  20. form.cart button[type = 'submit']: focus: not(#qib_id): not(#qib_id) {
  21.     outline - width: 2 px;
  22.     outline - offset: -2 px;
  23.     outline - style: solid;
  24. }.qib - container div.quantity: not(#qib_id): not(#qib_id) {
  25.     float: left;line - height: 1;display: inline - block;margin: 0;padding: 0;border: none;border - radius: 0;width: auto;min - height: initial;min - width: initial;max - height: initial;max - width: initial;
  26. }.qib - button: not(#qib_id): not(#qib_id) {
  27.     line - height: 1;
  28.     display: inline - block;
  29.     margin: 0;
  30.     padding: 0;
  31.     box - sizing: border - box;
  32.     height: 35 px;
  33.     width: 30 px;
  34.     color: black;
  35.     background: #e2e2e2;
  36.     border - color: #cac9c9;
  37.     float: left;
  38.     min - height: initial;
  39.     min - width: initial;
  40.     max - height: initial;
  41.     max - width: initial;
  42.     vertical - align: middle;
  43.     font - size: 16 px;
  44.     letter - spacing: 0;
  45.     border - style: solid;
  46.     border - width: 1 px;
  47.     transition: none;
  48.     border - radius: 0;
  49. }.qib - button: focus: not(#qib_id): not(#qib_id) {
  50.     border: 2 px #b3b3aa solid;outline: none;
  51. }.qib - button: hover: not(#qib_id): not(#qib_id) {
  52.     background: #d6d5d5;
  53. }.qib - container.quantity input.qty: not(#qib_id): not(#qib_id) {
  54.     line - height: 1;
  55.     background: none;
  56.     text - align: center;
  57.     vertical - align: middle;
  58.     margin: 0;
  59.     padding: 0;
  60.     box - sizing: border - box;
  61.     height: 35 px;
  62.     width: 45 px;
  63.     min - height: initial;
  64.     min - width: initial;
  65.     max - height: initial;
  66.     max - width: initial;
  67.     box - shadow: none;
  68.     font - size: 15 px;
  69.     border - style: solid;
  70.     border - color: #cac9c9;
  71.     border - width: 1 px 0;
  72.     border - radius: 0;
  73. }.qib - container.quantity input.qty: focus: not(#qib_id): not(#qib_id) {
  74.     border - color: #cac9c9;
  75.     outline: none;
  76.     border - width: 2 px 1 px;
  77.     border - style: solid;
  78. }.woocommerce table.cart td.product - quantity: not(#qib_id): not(#qib_id) {
  79.     white - space: nowrap;
  80. }
  81. @media(min - width: 768 px) {
  82.     .woocommerce table.cart td.product - quantity: not(#qib_id): not(#qib_id) {
  83.         text - align: center;
  84.     }
  85. }
  86. @media(min - width: 768 px) {
  87.     .woocommerce table.cart td.product - quantity.qib - container: not(#qib_id): not(#qib_id) {
  88.         display: flex;justify - content: center;
  89.     }
  90. }.qib - container: not(#qib_id): not(#qib_id) {
  91.     display: inline - block;
  92. }.woocommerce - grouped - product - list - item__quantity: not(#qib_id): not(#qib_id) {
  93.     margin: 0;padding - left: 0;padding - right: 0;text - align: left;
  94. }.woocommerce - grouped - product - list - item__quantity.qib - container: not(#qib_id): not(#qib_id) {
  95.     display: flex;
  96. }.quantity.minus: not(#qib_id): not(#qib_id), .quantity.plus: not(#qib_id): not(#qib_id), .quantity > a: not(#qib_id): not(#qib_id) {
  97.     display: none;
  98. }.products.oceanwp - row.qib - container: not(#qib_id): not(#qib_id) {
  99.     margin - bottom: 8 px;
  100. } </style>