1
1
mirror of https://github.com/primer/css.git synced 2024-12-24 22:53:58 +03:00
css/modules/primer-avatars/lib/avatar-parent-child.scss

17 lines
380 B
SCSS
Raw Normal View History

2017-05-11 07:56:23 +03:00
// .avatar-parent-child is when you see a small avatar at the bottom right
// corner of a larger avatar.
//
// No Styleguide version
.avatar-parent-child {
position: relative;
}
.avatar-child {
position: absolute;
right: -15%;
bottom: -9%;
background-color: $bg-white; // For transparent backgrounds
border-radius: 2px;
box-shadow: -2px -2px 0 rgba($white, 0.8);
}