Sha256: e007c8e28d922d2b7dbdf4b7b2b5bef0fbb1b4eed3f16548d4f8f4ecd133301e
Contents?: true
Size: 1.52 KB
Versions: 1
Compression:
Stored size: 1.52 KB
Contents
.card-image { overflow: visible; .floor-fade { position: absolute; top: 45%; right: 0; bottom: 0; left: 0; background: $gradient-floor-fade; } .roof-fade { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: $gradient-roof-fade; } .card-header { position: relative; border-bottom: 0; padding: 0; .card-title { position: absolute; bottom: 0.8rem; left: 1rem; margin: 0; line-height: 1.2; color: white; } .card-label { font-size: 0.6875rem; } .card-label-top { position: absolute; top: 1rem; left: 1rem; } } &.cover-image { .card-title { position: relative; bottom: inherit; left: inherit; padding: 1rem; } .card-body { position: relative; padding: 1rem; } .card-label { position: relative; top: inherit; bottom: inherit; left: inherit; margin-left: 1rem; } .cover-content:before { display: block; position: absolute; background: rgba(0, 0, 0, 0.2); width: 100%; height: 100%; content: ''; } } &.card-image-avatar { .card-header { display: flex; align-items: center; flex-direction: column; justify-content: center; padding: 2rem; h4 { position: relative; bottom: inherit; left: inherit; } } } .image-offset { margin-top: -70px; } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kiso_themes-1.0.2 | lib/sass/kiso_themes/_core/cards/_card_images.scss |