Sha256: 036bd71c112b7334d949bf9e56b14355c9cdebc53d75f3676da5e2f2c6546b60
Contents?: true
Size: 1.3 KB
Versions: 1
Compression:
Stored size: 1.3 KB
Contents
// Table of Contents // ================================================== // Reset // Groups // Avatars // Media Queries // Reset // ================================================== audio, canvas, video { display: inline-block; } audio:not([controls]) { display: none; height: 0; } img, svg:not(:root) { max-width: 100%; } img { border: 0; border-radius: border-radius(b); display: block; height: auto; width: auto; vertical-align: middle; } svg:not(:root) { fill: currentColor; overflow: hidden; } // Groups // ================================================== .img-group { > * { display: inline-block; margin-right: -20px; } > *:last-child { margin-right: 0; } } // Avatars // ================================================== .img-avatar { @include transition(border-color 300ms ease-in-out); border: 2px solid color(dark-haze); display: inline-block; padding: 2px; img { border-radius: inherit; } &.dark { border-color: color(dark-slate); } } @if ($pseudo-elements) { @each $name, $color in $colors { .img-avatar-hover-#{$name} { &:hover, &:active, &:focus { border-color: $color; } } } } // Media Queries // ================================================== @media only screen and (max-width: 812px) { .img-responsive { max-width: 60%; } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
active_frontend-16.1.7 | vendor/assets/stylesheets/blocks/_multimedia.scss |