mirror of
https://gitee.com/ulthon/layui-ul.git
synced 2026-07-09 21:52:48 +08:00
优化头部退出按钮样式
This commit is contained in:
1
source/scss/header/_index.scss
Normal file
1
source/scss/header/_index.scss
Normal file
@@ -0,0 +1 @@
|
|||||||
|
@import './ul-header';
|
||||||
44
source/scss/header/_ul-header.scss
Normal file
44
source/scss/header/_ul-header.scss
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
/* 头部开始 */
|
||||||
|
.ul-header {
|
||||||
|
background-color: #fff;
|
||||||
|
box-shadow : 0 3px 5px #999;
|
||||||
|
padding : 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ul-header-main {
|
||||||
|
display : flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items : center;
|
||||||
|
margin : 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ul-header-logo {
|
||||||
|
max-height: 48px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ul-header-user {
|
||||||
|
display : flex;
|
||||||
|
align-items : center;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ul-header-user-avatar {
|
||||||
|
background-image : url("/static/images/avatar.png");
|
||||||
|
width : 45px;
|
||||||
|
height : 45px;
|
||||||
|
background-size : cover;
|
||||||
|
background-position: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ul-header-user-options {
|
||||||
|
display : flex;
|
||||||
|
align-items: center;
|
||||||
|
color : #999;
|
||||||
|
font-size : 12px;
|
||||||
|
cursor : pointer;
|
||||||
|
margin-top : 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ul-header-user-info {
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
@@ -8,53 +8,7 @@
|
|||||||
@import './jumbotron/index';
|
@import './jumbotron/index';
|
||||||
@import './footer/index';
|
@import './footer/index';
|
||||||
@import './desciptions/index';
|
@import './desciptions/index';
|
||||||
|
@import './header/_index';
|
||||||
|
|
||||||
/* 头部开始 */
|
|
||||||
.ul-header {
|
|
||||||
background-color: #fff;
|
|
||||||
box-shadow : 0 3px 5px #999;
|
|
||||||
padding : 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ul-header-main {
|
|
||||||
display : flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items : center;
|
|
||||||
margin : 0 auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ul-header-logo {
|
|
||||||
max-height: 48px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ul-header-user {
|
|
||||||
display : flex;
|
|
||||||
align-items : center;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ul-header-user-avatar {
|
|
||||||
background-image : url("/static/images/avatar.png");
|
|
||||||
width : 45px;
|
|
||||||
height : 45px;
|
|
||||||
background-size : cover;
|
|
||||||
background-position: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ul-header-user-options {
|
|
||||||
display : flex;
|
|
||||||
align-items: center;
|
|
||||||
color : #999;
|
|
||||||
font-size : 12px;
|
|
||||||
cursor : pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ul-header-user-info {
|
|
||||||
margin-left: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* 链接导航开始 */
|
/* 链接导航开始 */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user