From 6c56a138c17dc9aff9d175d20645eb176d2e024b Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 03 三月 2021 19:03:18 +0800 Subject: [PATCH] 2021-03-03 --- src/pc/components/navbar/normal-navbar/index.scss | 39 +++++++++++++++++++++++++++++++++------ 1 files changed, 33 insertions(+), 6 deletions(-) diff --git a/src/pc/components/navbar/normal-navbar/index.scss b/src/pc/components/navbar/normal-navbar/index.scss index 6346310..bdba21d 100644 --- a/src/pc/components/navbar/normal-navbar/index.scss +++ b/src/pc/components/navbar/normal-navbar/index.scss @@ -1,12 +1,36 @@ -.menu-data-card-edit-box { - position: relative; +.normal-navbar-edit-box { + position: fixed; + top: 0px; + left: 0px; + width: 100%; box-sizing: border-box; background: #ffffff; background-position: center center; background-repeat: no-repeat; background-size: cover; - min-height: 20px; + min-height: 50px; + z-index: 2; + .navbar-wrap { + margin: 0 auto; + display: flex; + + .logo { + display: inline-block; + img { + max-width: 100%; + max-height: 100%; + } + } + .menu { + flex: 1; + display: inline-block; + } + .link { + flex: 1; + display: inline-block; + } + } .card-control { position: absolute; top: 0px; @@ -21,7 +45,7 @@ position: absolute; z-index: 2; font-size: 16px; - right: 1px; + right: 25px; top: 1px; cursor: pointer; padding: 5px; @@ -76,12 +100,15 @@ } } } -.menu-data-card-edit-box::after { +.normal-navbar-edit-box::after { display: block; content: ' '; clear: both; } -.menu-data-card-edit-box:hover { +.normal-navbar-edit-box:hover { z-index: 1; box-shadow: 0px 0px 4px #1890ff; } +.top-menu-popover { + padding-top: 0!important; +} \ No newline at end of file -- Gitblit v1.8.0