mirror of
https://gitee.com/ulthon/layui-ul.git
synced 2026-07-09 05:32:49 +08:00
feat: 迁移带图片和边框的导航.
This commit is contained in:
41
source/components/nav/ul-nav-poster/_index.scss
Normal file
41
source/components/nav/ul-nav-poster/_index.scss
Normal file
@@ -0,0 +1,41 @@
|
||||
|
||||
.ul-nav-poster {
|
||||
padding : 5px;
|
||||
border : 1px solid #ddd;
|
||||
border-top-width: 3px;
|
||||
}
|
||||
|
||||
.ul-nav-poster-item {
|
||||
display : flex;
|
||||
justify-content: space-between;
|
||||
align-items : center;
|
||||
cursor : pointer;
|
||||
}
|
||||
|
||||
.ul-nav-poster-left {
|
||||
display : flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.ul-nav-post-title {
|
||||
color : #333;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.ul-nav-poster-desc {
|
||||
color : #999;
|
||||
font-size : 12px;
|
||||
font-weight: 100;
|
||||
}
|
||||
|
||||
.ul-nav-poster-img {
|
||||
width : 38px;
|
||||
height : 38px;
|
||||
margin : 5px;
|
||||
background-size : cover;
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
.ul-nav-poster-item:not(:last-child) {
|
||||
border-bottom: 1px dashed #ddd;
|
||||
}
|
||||
Reference in New Issue
Block a user