mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-03-03 20:30:15 +01:00
60 lines
1.2 KiB
SCSS
60 lines
1.2 KiB
SCSS
@import '../../../@theme/styles/themes';
|
|
|
|
@include nb-install-component() {
|
|
|
|
.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;
|
|
max-height: 50%;
|
|
}
|
|
|
|
.details {
|
|
padding: 1.25rem 1.25rem 0;
|
|
|
|
.title {
|
|
font-family: nb-theme(font-secondary);
|
|
font-weight: nb-theme(font-weight-bold);
|
|
color: nb-theme(color-fg-heading);
|
|
font-size: 1.5rem;
|
|
margin-bottom: 1rem;
|
|
|
|
@include nb-for-theme(cosmic) {
|
|
font-weight: nb-theme(font-weight-bolder);
|
|
}
|
|
}
|
|
|
|
.description {
|
|
text-align: justify;
|
|
color: nb-theme(color-fg-text);
|
|
font-weight: nb-theme(font-weight-light);
|
|
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-height: calc(1rem * 8 * #{nb-theme(line-height)});
|
|
}
|
|
}
|
|
|
|
.links {
|
|
display: flex;
|
|
justify-content: space-around;
|
|
padding: 0.75rem 0;
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: nb-theme(color-fg);
|
|
|
|
&:hover {
|
|
color: nb-theme(color-fg-heading);
|
|
}
|
|
|
|
i {
|
|
font-size: 1.75rem;
|
|
}
|
|
}
|
|
}
|
|
}
|