2017-09-01 07:29:50 -04:00
|
|
|
// Common styles for "user-info" component
|
|
|
|
.user-info {
|
|
|
|
display: inline-block;
|
|
|
|
clear: both;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
|
|
|
|
.user-image {
|
|
|
|
float: left;
|
|
|
|
padding-right: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-detail {
|
|
|
|
float: left;
|
|
|
|
width: 70%;
|
|
|
|
padding-left: 5px;
|
2018-03-02 12:42:02 -05:00
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
font-size: $font-down-1;
|
|
|
|
}
|
2017-09-01 07:29:50 -04:00
|
|
|
|
|
|
|
.name-line {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.username a {
|
|
|
|
font-weight: bold;
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-high, $secondary-low);
|
2017-09-01 07:29:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.name {
|
|
|
|
margin-left: 5px;
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-high, $secondary-low);
|
2017-09-01 07:29:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
margin-top: 3px;
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2017-09-01 07:29:50 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.small {
|
|
|
|
width: 333px;
|
2017-12-11 15:40:04 -05:00
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
width: 100%;
|
|
|
|
}
|
2017-09-01 07:29:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.medium {
|
|
|
|
min-height: 60px;
|
|
|
|
|
|
|
|
.username, .name {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.name {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.badge-info {
|
|
|
|
min-height: 80px;
|
2018-03-02 12:42:02 -05:00
|
|
|
min-width: 250px;
|
2017-09-01 07:29:50 -04:00
|
|
|
|
|
|
|
.granted-on {
|
2017-10-10 16:07:46 -04:00
|
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
2017-09-01 07:29:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.post-link {
|
|
|
|
display: block;
|
|
|
|
margin-top: 0.2em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|