Skip to content
Snippets Groups Projects

Issue #3420433: Add base template for medium teaser view mode

Files
8
+ 117
0
@@ -318,6 +318,123 @@
margin-top: 0;
}
.teaser--medium .teaser--wrapper {
position: relative;
height: 100%;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
margin-bottom: 0;
padding: 20px;
border: 1px solid #cecece;
}
.teaser--medium .teaser--wrapper.card {
-webkit-box-shadow: none;
box-shadow: none;
}
.teaser--medium .teaser--medium__media > svg {
position: absolute;
}
.teaser--medium .teaser--medium__media .teaser--medium__type-icon {
width: 18px;
height: 18px;
top: 15px;
left: 15px;
fill: #343434;
}
.teaser--medium .teaser_logo {
margin: 0 0 20px;
}
.teaser--medium .teaser_logo,
.teaser--medium .teaser_logo img {
width: 108px;
height: 108px;
border-radius: 50%;
}
.teaser--medium .teaser_logo img {
-o-object-fit: cover;
object-fit: cover;
}
.teaser--medium .teaser--medium__user-number {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
margin-bottom: 12px;
}
.teaser--medium .teaser--medium__user-number .user-icon {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
padding: 1px 8px 1px 1px;
border: 1px solid #cecece;
border-radius: 16px;
font-size: .875rem;
font-weight: 600;
line-height: 20px;
}
.teaser--medium .teaser--medium__user-number .user-icon .icon {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
width: 20px;
height: 20px;
margin-right: 4px;
border-radius: 50%;
background-color: #cecece;
}
.teaser--medium .teaser--medium__user-number .user-icon .icon svg {
width: 12px;
height: 12px;
}
.teaser--medium .teaser--medium__user-number .member-joined {
margin-left: 12px;
width: 16px;
height: 16px;
}
.teaser--medium .teaser--medium__title {
text-align: center;
}
.teaser--medium .teaser--medium__title a {
font-weight: 600;
line-height: 24px;
color: #343434;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
}
.teaser--medium .teaser--medium__title a:hover, .teaser--medium .teaser--medium__title a:focus {
text-decoration: underline;
}
.share-button {
-webkit-box-flex: 0;
-ms-flex: 0 0 100%;
Loading