Back to home page

EIC code displayed by LXR

 
 

    


Warning, /iDDS/monitor/data/scss/bootstrap/_images.scss is written in an unsupported language. File is not indexed.

0001 // Responsive images (ensure images don't scale beyond their parents)
0002 //
0003 // This is purposefully opt-in via an explicit class rather than being the default for all `<img>`s.
0004 // We previously tried the "images are responsive by default" approach in Bootstrap v2,
0005 // and abandoned it in Bootstrap v3 because it breaks lots of third-party widgets (including Google Maps)
0006 // which weren't expecting the images within themselves to be involuntarily resized.
0007 // See also https://github.com/twbs/bootstrap/issues/18178
0008 .img-fluid {
0009   @include img-fluid();
0010 }
0011 
0012 
0013 // Image thumbnails
0014 .img-thumbnail {
0015   padding: $thumbnail-padding;
0016   background-color: $thumbnail-bg;
0017   border: $thumbnail-border-width solid $thumbnail-border-color;
0018   @include border-radius($thumbnail-border-radius);
0019   @include box-shadow($thumbnail-box-shadow);
0020 
0021   // Keep them at most 100% wide
0022   @include img-fluid();
0023 }
0024 
0025 //
0026 // Figures
0027 //
0028 
0029 .figure {
0030   // Ensures the caption's text aligns with the image.
0031   display: inline-block;
0032 }
0033 
0034 .figure-img {
0035   margin-bottom: $spacer / 2;
0036   line-height: 1;
0037 }
0038 
0039 .figure-caption {
0040   @include font-size($figure-caption-font-size);
0041   color: $figure-caption-color;
0042 }