debian-mirror-gitlab/app/assets/stylesheets/framework/avatar.scss

57 lines
1.9 KiB
SCSS
Raw Normal View History

2014-09-02 18:07:02 +05:30
.avatar {
float: left;
margin-right: 12px;
width: 40px;
2015-04-26 12:48:37 +05:30
height: 40px;
padding: 0;
@include border-radius($avatar_radius);
2016-09-13 17:45:13 +05:30
border: 1px solid rgba(0, 0, 0, .1);
2014-09-02 18:07:02 +05:30
&.avatar-inline {
float: none;
2015-04-26 12:48:37 +05:30
margin-left: 4px;
margin-bottom: 2px;
2014-09-02 18:07:02 +05:30
2015-04-26 12:48:37 +05:30
&.s16 { margin-right: 4px; }
&.s24 { margin-right: 4px; }
}
2016-09-13 17:45:13 +05:30
&.avatar-tile {
2016-06-02 11:05:42 +05:30
@include border-radius(0);
2016-09-13 17:45:13 +05:30
border: none;
2014-09-02 18:07:02 +05:30
}
&.s16 { width: 16px; height: 16px; margin-right: 6px; }
2016-08-24 12:49:21 +05:30
&.s20 { width: 20px; height: 20px; margin-right: 7px; }
2014-09-02 18:07:02 +05:30
&.s24 { width: 24px; height: 24px; margin-right: 8px; }
&.s26 { width: 26px; height: 26px; margin-right: 8px; }
&.s32 { width: 32px; height: 32px; margin-right: 10px; }
2015-09-25 12:07:36 +05:30
&.s36 { width: 36px; height: 36px; margin-right: 10px; }
2016-04-02 18:10:28 +05:30
&.s40 { width: 40px; height: 40px; margin-right: 10px; }
2015-09-25 12:07:36 +05:30
&.s46 { width: 46px; height: 46px; margin-right: 15px; }
&.s48 { width: 48px; height: 48px; margin-right: 10px; }
2014-09-02 18:07:02 +05:30
&.s60 { width: 60px; height: 60px; margin-right: 12px; }
2016-06-02 11:05:42 +05:30
&.s70 { width: 70px; height: 70px; margin-right: 14px; }
2014-09-02 18:07:02 +05:30
&.s90 { width: 90px; height: 90px; margin-right: 15px; }
2015-10-24 18:46:33 +05:30
&.s110 { width: 110px; height: 110px; margin-right: 15px; }
2015-09-25 12:07:36 +05:30
&.s140 { width: 140px; height: 140px; margin-right: 20px; }
2014-09-02 18:07:02 +05:30
&.s160 { width: 160px; height: 160px; margin-right: 20px; }
}
2015-04-26 12:48:37 +05:30
.identicon {
text-align: center;
vertical-align: top;
&.s16 { font-size: 12px; line-height: 1.33; }
&.s24 { font-size: 14px; line-height: 1.8; }
&.s26 { font-size: 20px; line-height: 1.33; }
2016-09-13 17:45:13 +05:30
&.s32 { font-size: 20px; line-height: 30px; }
&.s40 { font-size: 16px; line-height: 38px; }
&.s60 { font-size: 32px; line-height: 58px; }
&.s70 { font-size: 34px; line-height: 68px; }
&.s90 { font-size: 36px; line-height: 88px; }
&.s110 { font-size: 40px; line-height: 108px; font-weight: 300; }
&.s140 { font-size: 72px; line-height: 138px; }
&.s160 { font-size: 96px; line-height: 158px; }
2015-04-26 12:48:37 +05:30
}