2017-08-29 15:49:52 +03:00
|
|
|
@import '../../../@theme/styles/themes';
|
|
|
|
|
|
|
|
|
|
@include nb-install-component() {
|
|
|
|
|
|
2017-09-12 15:18:25 +03:00
|
|
|
nb-card-body {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-29 15:49:52 +03:00
|
|
|
.picture {
|
|
|
|
|
background-position: center;
|
|
|
|
|
background-size: cover;
|
|
|
|
|
position: relative;
|
|
|
|
|
border-top-left-radius: nb-theme(card-border-radius);
|
|
|
|
|
border-top-right-radius: nb-theme(card-border-radius);
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.details {
|
|
|
|
|
padding: 1.25rem 1.25rem 0;
|
|
|
|
|
|
|
|
|
|
.title {
|
|
|
|
|
font-family: nb-theme(font-secondary);
|
2017-09-01 17:18:02 +03:00
|
|
|
font-weight: nb-theme(font-weight-bold);
|
2017-08-29 15:49:52 +03:00
|
|
|
color: nb-theme(color-fg-heading);
|
|
|
|
|
font-size: 1.5rem;
|
|
|
|
|
margin-bottom: 1rem;
|
2017-09-01 17:18:02 +03:00
|
|
|
|
|
|
|
|
@include nb-for-theme(cosmic) {
|
|
|
|
|
font-weight: nb-theme(font-weight-bolder);
|
|
|
|
|
}
|
2017-08-29 15:49:52 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.description {
|
|
|
|
|
text-align: justify;
|
|
|
|
|
color: nb-theme(color-fg-text);
|
|
|
|
|
font-weight: nb-theme(font-weight-light);
|
2017-09-12 14:30:26 +03:00
|
|
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
max-height: calc(1rem * 8 * #{nb-theme(line-height)});
|
2017-08-29 15:49:52 +03:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-09-12 15:18:25 +03:00
|
|
|
nb-card-footer {
|
2017-08-29 15:49:52 +03:00
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-around;
|
|
|
|
|
padding: 0.75rem 0;
|
2017-09-12 15:18:25 +03:00
|
|
|
border: none;
|
2017-08-29 15:49:52 +03:00
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
color: nb-theme(color-fg);
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
color: nb-theme(color-fg-heading);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
i {
|
|
|
|
|
font-size: 1.75rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|