wells.less 1.01 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
/* ------------------------------------------------------------------------------
*
*  # Wells component
*
*  Overrides for wells bootstrap component
*
*  Version: 1.1
*  Latest update: Mar 10, 2016
*
* ---------------------------------------------------------------------------- */


// Base class
// -------------------------

.well {
    margin-bottom: 0;
    padding: @panel-body-padding;
    .box-shadow(none);

    // White background
    &-white {
        background-color: #fff;
    }

    // Border radius fix
    &[class*=border-top-] {
        .border-top-radius(0);
    }
    &[class*=border-bottom-] {
        .border-bottom-radius(0);
    }
    &[class*=border-left-] {
        .border-left-radius(0);
    }
    &[class*=border-right-] {
        .border-right-radius(0);
    }
}


// Sizes
// -------------------------

// Large
.well-lg {
    padding: (@panel-body-padding + 5);
    border-radius: @border-radius-base;
}

// Small
.well-sm {
    padding: (@panel-body-padding - 5);
    border-radius: @border-radius-base;
}