Advertisement
hmbashar

CSS for Add to Cart Widget

Jan 2nd, 2024
1,013
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.09 KB | None | 0 0
  1. /*----------------------------------------------
  2.  * Add To Cart
  3.  * ---------------------------------------------*/
  4.  .abcbiz-wc-qty-button-holder {
  5.    display: flex;
  6.    gap: 10px;
  7.  }
  8.  
  9. @keyframes abcbizSpin {
  10.    100% {
  11.        transform: rotate(360deg)
  12.    }
  13. }
  14. .abcbiz-wc-qty-button-holder button.abcbiz_cart_loading:after {
  15.    font-family: WooCommerce;
  16.    content: "\e01c";
  17.    vertical-align: top;
  18.    font-weight: 400;
  19.    position: absolute;
  20.    top: 0.818em;
  21.    right: 1em;
  22.    animation: abcbizSpin 2s linear infinite;
  23. }
  24. .abcbiz-wc-qty-button-holder button.abcbiz_cart_loading {
  25.    padding-right: 2.618em !important;
  26.    transition: all 0.5s ease;
  27.    -webkit-transition: all 0.5s ease;
  28. }
  29. #acbbiz-add-to-cart-message .error-message {
  30.    background-color: red;
  31.    color: #fff;
  32.    padding: 10px;
  33.    border-radius: 5px;
  34.    text-align: center;
  35. }
  36. #acbbiz-add-to-cart-message .success-message {
  37.    color: green;
  38.    background-color: #ccffcc;
  39.    padding: 10px;
  40.    border-radius: 5px;
  41.    text-align: center;
  42. }
  43. .woocommerce .abcbiz-wc-qty-button-holder .quantity input {
  44.    width: 90px;
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement