mirror of https://github.com/ColorlibHQ/AdminLTE
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
1.4 KiB
93 lines
1.4 KiB
/*
|
|
* Component: Social Widgets
|
|
* -------------------------
|
|
*/
|
|
//General widget style
|
|
.card-widget {
|
|
border: none;
|
|
position: relative;
|
|
}
|
|
|
|
//User Widget Style 1
|
|
.widget-user {
|
|
|
|
//User name container
|
|
.widget-user-header {
|
|
@if $enable-rounded {
|
|
@include border-top-radius($border-radius);
|
|
}
|
|
|
|
height: 120px;
|
|
padding: 1rem;
|
|
}
|
|
|
|
//User name
|
|
.widget-user-username {
|
|
font-size: 25px;
|
|
font-weight: 300;
|
|
margin-bottom: 5px;
|
|
margin-top: 0;
|
|
text-shadow: 0 1px 1px rgba($black, 0.2);
|
|
}
|
|
|
|
//User single line description
|
|
.widget-user-desc {
|
|
margin-top: 0;
|
|
}
|
|
|
|
//User image container
|
|
.widget-user-image {
|
|
left: 50%;
|
|
margin-left: -45px;
|
|
position: absolute;
|
|
top: 65px;
|
|
|
|
> img {
|
|
border: 3px solid $white;
|
|
height: auto;
|
|
width: 90px;
|
|
}
|
|
}
|
|
|
|
.card-footer {
|
|
padding-top: 40px;
|
|
}
|
|
}
|
|
|
|
//User Widget Style 2
|
|
.widget-user-2 {
|
|
|
|
//User name container
|
|
.widget-user-header {
|
|
@include border-top-radius($border-radius);
|
|
padding: 1rem;
|
|
}
|
|
|
|
//User name
|
|
.widget-user-username {
|
|
font-size: 25px;
|
|
font-weight: 300;
|
|
margin-bottom: 5px;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
//User single line description
|
|
.widget-user-desc {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.widget-user-username,
|
|
.widget-user-desc {
|
|
margin-left: 75px;
|
|
}
|
|
|
|
//User image container
|
|
.widget-user-image {
|
|
> img {
|
|
float: left;
|
|
height: auto;
|
|
width: 65px;
|
|
}
|
|
}
|
|
}
|