mirror of
https://gitee.com/ulthon/layui-ul.git
synced 2026-07-09 05:32:49 +08:00
将侧边栏头像使用新的方式实现
This commit is contained in:
29
source/components/list/ul-avatar-sidebar-list/_index.scss
Normal file
29
source/components/list/ul-avatar-sidebar-list/_index.scss
Normal file
@@ -0,0 +1,29 @@
|
||||
.ul-avatar-sidebar-list {
|
||||
|
||||
.ul-avatar-sidebar-list-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.ul-avatar-sidebar-list-item-img {
|
||||
width: 58px;
|
||||
height: 58px;
|
||||
border-radius: 58px;
|
||||
background-image: url("/static/images/avatar.png");
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
|
||||
}
|
||||
|
||||
.ul-avatar-sidebar-list-item-info {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.ul-avatar-sidebar-list-item-intro {
|
||||
font-size: 12px;
|
||||
color: #999;
|
||||
line-height: 2;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user