ecommerce.less 2.73 KB
Newer Older
Luis Gangas committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
/* ------------------------------------------------------------------------------
 *
 *  # Ecommerce stuff
 *
 *  Specific styles for Ecommerce set of pages
 *
 *  Version: 1.0
 *  Latest update: Mar 19, 2017
 *
 * ---------------------------------------------------------------------------- */


// Elements
// ------------------------------

// Size filter
.row-labels {
    margin-bottom: (@line-height-computed / 2);

    // Make labels slightly bigger
    .label {
        display: block;
        padding-top: 4px;
        padding-bottom: 3px;
        margin-bottom: (@line-height-computed / 2);
    }
}

// Color filter
.row-colors {
    margin-bottom: (@line-height-computed / 2);

    > div {
        text-align: center;
        margin-bottom: (@line-height-computed / 2);

        > a {
            position: relative;
            padding: @content-padding-base;
            display: block;
            border-radius: @border-radius-base;
            color: #fff;

            > i {
                position: absolute;
                top: 50%;
                left: 50%;
                margin: -(@icon-font-size / 2) 0 0 -(@icon-font-size / 2);
            }
        }

        > span {
            display: block;
            margin-top: 5px;
            color: @text-muted;
            font-size: @font-size-mini;
        }
    }
}


// Pricing tables
// ------------------------------

// Base
.pricing-table {

    // Price label
    .pricing-table-price {
        font-size: 42px;

        // Currency sign
        > span {
            font-size: 30px;
            margin-right: 5px;
        }
    }

    // List of options
    ul > li {
        padding: @content-padding-base 0;
        border-bottom: 1px solid fade(#000, 10%);
    }
    div[class*=bg-] ul > li {
        border-color: fade(#fff, 20%);
    }
}

// Single panel
.pricing-table-panel {
    .pricing-table-body {
        @pricing-table-two-borders: 1px 0 0 @panel-inner-border, 0 1px 0 @panel-inner-border; // user shadow as a border

        padding: @content-padding-large;
        text-align: center;
        .box-shadow(@pricing-table-two-borders);
    }
}


// Ribbons
// ------------------------------

// Container
.ribbon-container {
    width: 104px;
    height: 106px;
    overflow: hidden;
    position: absolute;
    top: -1px;
    right: -1px;
}

// Corner ribbon
.ribbon {
    text-align: center;
    font-size: @font-size-small;
    line-height: @line-height-small;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    left: -11px;
    top: 25px;
    width: 150px;
    background-color: @color-success-500;
    color: #fff;
    letter-spacing: 0.25px;
    z-index: (@zindex-navbar - 1);
    .rotate(45deg);
    .box-shadow(0 4px 6px fade(#000, 10%));
}