gitlab-org--gitlab-foss/app/assets/stylesheets/generic/avatar.scss
Dmitriy Zaporozhets fccd70c97d
Refactor gerneric css
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-31 14:39:45 +02:00

23 lines
656 B
SCSS

.avatar {
float: left;
margin-right: 12px;
width: 40px;
padding: 1px;
@include border-radius(4px);
&.avatar-inline {
float: none;
margin-left: 3px;
&.s16 { margin-right: 2px; }
&.s24 { margin-right: 2px; }
}
&.s16 { width: 16px; height: 16px; margin-right: 6px; }
&.s24 { width: 24px; height: 24px; margin-right: 8px; }
&.s26 { width: 26px; height: 26px; margin-right: 8px; }
&.s32 { width: 32px; height: 32px; margin-right: 10px; }
&.s60 { width: 60px; height: 60px; margin-right: 12px; }
&.s90 { width: 90px; height: 90px; margin-right: 15px; }
&.s160 { width: 160px; height: 160px; margin-right: 20px; }
}