AdminLTE/build/scss/_social-widgets.scss

94 lines
1.4 KiB
SCSS
Raw Normal View History

//
// Component: Social Widgets
//
2015-10-31 22:00:16 +01:00
//General widget style
2018-03-17 18:07:55 +01:00
.card-widget {
border: 0;
2015-10-31 22:00:16 +01:00
position: relative;
}
//User Widget Style 1
.widget-user {
2015-10-31 22:00:16 +01:00
//User name container
.widget-user-header {
2018-03-17 18:07:55 +01:00
@if $enable-rounded {
@include border-top-radius($border-radius);
}
2019-08-31 10:25:58 +02:00
height: 135px;
padding: 1rem;
text-align: center;
2015-10-31 22:00:16 +01:00
}
2015-10-31 22:00:16 +01:00
//User name
.widget-user-username {
font-size: 25px;
font-weight: 300;
2019-08-31 10:25:58 +02:00
margin-bottom: 0;
margin-top: 0;
text-shadow: 0 1px 1px rgba($black, .2);
2015-10-31 22:00:16 +01:00
}
2015-10-31 22:00:16 +01:00
//User single line description
.widget-user-desc {
margin-top: 0;
}
2015-10-31 22:00:16 +01:00
//User image container
.widget-user-image {
left: 50%;
margin-left: -45px;
position: absolute;
2019-09-01 11:15:42 +02:00
top: 80px;
2015-10-31 22:00:16 +01:00
> img {
2018-03-17 18:07:55 +01:00
border: 3px solid $white;
height: auto;
width: 90px;
2015-10-31 22:00:16 +01:00
}
}
2018-03-17 18:07:55 +01:00
.card-footer {
2019-09-01 11:15:42 +02:00
padding-top: 50px;
2015-10-31 22:00:16 +01:00
}
}
//User Widget Style 2
.widget-user-2 {
2015-10-31 22:00:16 +01:00
//User name container
.widget-user-header {
2018-03-17 18:07:55 +01:00
@include border-top-radius($border-radius);
padding: 1rem;
2015-10-31 22:00:16 +01:00
}
2015-10-31 22:00:16 +01:00
//User name
.widget-user-username {
font-size: 25px;
font-weight: 300;
margin-bottom: 5px;
margin-top: 5px;
2015-10-31 22:00:16 +01:00
}
2015-10-31 22:00:16 +01:00
//User single line description
.widget-user-desc {
margin-top: 0;
}
2015-10-31 22:00:16 +01:00
.widget-user-username,
.widget-user-desc {
margin-left: 75px;
}
2015-10-31 22:00:16 +01:00
//User image container
.widget-user-image {
> img {
float: left;
height: auto;
width: 65px;
2015-10-31 22:00:16 +01:00
}
}
}