1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-01 16:04:37 +04:00

Profile components

This commit is contained in:
mrszympek
2019-05-13 19:29:14 +02:00
parent 73fb916542
commit 09cb8d315d
8 changed files with 322 additions and 7 deletions
+45
View File
@@ -217,3 +217,48 @@ Card Aside
border-bottom-left-radius: 3px;
background: no-repeat center/cover;
}
/*
Card profile
*/
.card-profile {
.card-header {
height: 9rem;
background-size: cover;
}
}
.card-profile-img {
max-width: 6rem;
margin-top: -5rem;
margin-bottom: 1rem;
border: 3px solid #fff;
border-radius: 100%;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
/*
Card list group
*/
.card-list-group {
.card-body + & {
border-top: 1px solid $border-color;
}
.list-group-item {
border-right: 0;
border-left: 0;
border-radius: 0;
padding-left: $card-spacer-x;
padding-right: $card-spacer-x;
&:last-child {
border-bottom: 0;
}
&:first-child {
border-top: 0;
}
}
}