Skip to content
Code-Schnipsel Gruppen Projekte
mini-basket.css 2,28 KiB
Newer Older
  • Learn to ignore specific revisions
  • /** mini basket
     ===================================== */
    .wrapper {
        padding-top: 10em;
    }
    
    .quiqqer-order-basket-small-container {
    
        background: #ffffff;
        border: 1px solid #ddd;
        box-shadow: 0 7px 22px -5px rgba(48, 60, 72, 0.2);
    
        left: auto !important;
    
        margin: 0 auto; /* test */
    
        max-height: calc(100vh - 130px); /* header height + top bar height */
        overflow-y: auto;
    
        padding: 15px !important;
    
        width: 350px;
    }
    
    body.header-fixed .quiqqer-order-basket-small-container {
        max-height: calc(100vh - 80px); /* only header height */
    
    }
    
    .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 h2 {
        font-size: 1.1em;
        font-weight: 500;
        line-height: 100%;
    
    }
    
    .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 {
        margin-top: 1em;
    
    }
    
    .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-buttons {
        margin-top: 15px;
    
    }
    
    .quiqqer-order-basket-small-total-sum td {
        border-top: 1px dashed #ddd;
        font-weight: 500;
    }