From c659d89ee34355f1337d1daeb226c6332c68bf9e Mon Sep 17 00:00:00 2001 From: augushong Date: Tue, 23 Aug 2022 10:36:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=A4=B4=E9=83=A8=E9=80=80?= =?UTF-8?q?=E5=87=BA=E6=8C=89=E9=92=AE=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/scss/header/_index.scss | 1 + source/scss/header/_ul-header.scss | 44 +++++++++++++++++++++++++++ source/scss/layui-ul.scss | 48 +----------------------------- 3 files changed, 46 insertions(+), 47 deletions(-) create mode 100644 source/scss/header/_index.scss create mode 100644 source/scss/header/_ul-header.scss diff --git a/source/scss/header/_index.scss b/source/scss/header/_index.scss new file mode 100644 index 0000000..8fd39f2 --- /dev/null +++ b/source/scss/header/_index.scss @@ -0,0 +1 @@ +@import './ul-header'; \ No newline at end of file diff --git a/source/scss/header/_ul-header.scss b/source/scss/header/_ul-header.scss new file mode 100644 index 0000000..b6d9e24 --- /dev/null +++ b/source/scss/header/_ul-header.scss @@ -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; +} \ No newline at end of file diff --git a/source/scss/layui-ul.scss b/source/scss/layui-ul.scss index c8c24b6..10530dc 100644 --- a/source/scss/layui-ul.scss +++ b/source/scss/layui-ul.scss @@ -8,53 +8,7 @@ @import './jumbotron/index'; @import './footer/index'; @import './desciptions/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; -} - - +@import './header/_index'; /* 链接导航开始 */