feat: update to Angular 8, Nebular 4 (#2114)

This commit is contained in:
Dmitry Nehaychik 2019-07-02 16:18:09 +03:00 committed by Sergey Andrievskiy
parent 537e6a77b0
commit e9600b4a07
323 changed files with 7421 additions and 14161 deletions

View file

@ -2,12 +2,6 @@
@include nb-install-component() {
nb-card-body {
display: flex;
flex-direction: column;
padding: 0;
}
.picture {
background-position: center;
background-size: cover;
@ -18,48 +12,28 @@
}
.details {
padding: 1.25rem 1.25rem 0;
padding: nb-theme(card-padding);
}
.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)});
}
.description {
text-align: justify;
}
nb-card-footer {
display: flex;
justify-content: space-around;
padding: 0.75rem 0;
border: none;
align-items: center;
}
a {
text-decoration: none;
color: nb-theme(color-fg);
.link-icon {
font-size: 1.75rem;
}
&:hover {
color: nb-theme(color-fg-heading);
}
nb-icon {
font-size: 1.55rem;
i {
font-size: 1.75rem;
}
::ng-deep svg {
vertical-align: top;
}
}
}