mirror of
https://github.com/tabler/tabler.git
synced 2026-08-01 16:04:37 +04:00
Profile components
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user