Skip to content
Code-Schnipsel Gruppen Projekte
mini-basket.css 3,1 KiB
Newer Older
  • Learn to ignore specific revisions
  • /** mini basket
     ===================================== */
    .quiqqer-order-basket-small-container {
    
        background: #ffffff;
        border: 1px solid #ddd;
        box-shadow: 0 7px 22px -5px rgba(48, 60, 72, 0.2);
    
    Henning Leutz's avatar
    Henning Leutz committed
        display: flex;
        flex-direction: column;
    
        left: auto !important;
    
        margin: 0 auto; /* test */
    
        max-height: calc(100vh - 130px); /* header height + top bar height */
    
    Henning Leutz's avatar
    Henning Leutz committed
        padding: 0 !important;
    
        top: calc(var(--_qui-cologne-header-height, 100px) - 1px) !important; /* -1 because of border width */
    
    Henning Leutz's avatar
    Henning Leutz committed
    .quiqqer-order-basket-small-container > .qui-control {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    
    body.header-fixed .quiqqer-order-basket-small-container {
        max-height: calc(100vh - 80px); /* only header height */
    
    Henning Leutz's avatar
    Henning Leutz committed
    .quiqqer-order-basket-small-articles {
    
    Henning Leutz's avatar
    Henning Leutz committed
        max-height: calc(100vh - 400px);
    
    Henning Leutz's avatar
    Henning Leutz committed
        min-height: 0;
        overflow-y: auto;
        padding: 15px;
    }
    
    
    .quiqqer-order-basket-small-articles-article {
        align-items: flex-start;
    
        margin-bottom: 15px;
        padding-bottom: 15px;
        position: relative;
    
        text-align: left;
    
    }
    
    .quiqqer-order-basket-small-articles-article-image {
        height: 60px;
    
        text-align: center;
    
    }
    
    .quiqqer-order-basket-small-articles-article-image img {
        max-height: 60px;
    
    }
    
    .quiqqer-order-basket-small-articles-article-content {
        width: 100%
    }
    
    .quiqqer-order-basket-small-articles-article-content-header {
    
        font-size: 1.1em;
        font-weight: 500;
        line-height: 100%;
    
    .quiqqer-order-basket-small-articles-article-content-header-url {
        color: inherit;
    }
    
    
    .quiqqer-order-basket-small-articles-article-price-wrapper {
    
        margin-top: 6px;
    }
    
    .quiqqer-order-basket-small-articles-article-price-sum {
        float: right;
    }
    
    .quiqqer-order-basket-small-articles-article-content .fa {
    
        float: right;
        margin-left: 10px;
    
        transition: color 0.15s ease-in-out;
    
    }
    
    .quiqqer-order-basket-small-articles-article-content .fa:hover {
    
    }
    
    /* basket summary */
    .quiqqer-order-basket-small-total {
    
    Henning Leutz's avatar
    Henning Leutz committed
        margin: 1em 15px 0 15px;
        width: calc(100% - 30px);
    
    }
    
    .quiqqer-order-basket-small-total td {
    
        padding-bottom: 4px;
    
    }
    
    .quiqqer-order-basket-small-total td:first-child {
        color: #999;
    
        text-align: left;
    
    }
    
    .quiqqer-order-basket-small-total-sum td:first-child {
        color: inherit;
    }
    
    .quiqqer-order-basket-small-total td:nth-child(2n) {
        text-align: right;
    }
    
    
    .quiqqer-order-basket-small-total-sum td {
        border-top: 1px dashed #ddd;
        font-weight: 500;
    }
    
    
    .quiqqer-order-basket-small-buttons {
    
    Henning Leutz's avatar
    Henning Leutz committed
        margin: 15px;
    
    Henning Leutz's avatar
    Henning Leutz committed
        width: calc(100% - 30px);
    
    .quiqqer-order-basket-small-buttons .open-shopping-cart {
        margin-right: 1rem;
    
    }
    
    /*********************/
    /* payments - paypal */
    /*********************/
    .quiqqer-order-basket-small-container .quiqqer-payment-paypal-express {
    
    Henning Leutz's avatar
    Henning Leutz committed
        margin: 0 15px;
    
    Henning Leutz's avatar
    Henning Leutz committed
        width: calc(100% - 30px);