From 53cbc6e59329d110c8ba8d794157caebc31eaf67 Mon Sep 17 00:00:00 2001 From: lepdou Date: Sun, 31 Oct 2021 18:41:48 +0800 Subject: [PATCH] 1. optimize logo's size 2. change search input's with from 350px to 375px 3. add switch language icon --- CHANGES.md | 1 + .../resources/static/styles/common-style.css | 16 ++++++++++++++++ .../main/resources/static/views/common/nav.html | 7 ++++--- 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 468d756a1b1..190c2ed1eb3 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -21,6 +21,7 @@ Apollo 2.0.0 * [Bump version to 2.0.0 and drop java 1.7 support](https://github.com/apolloconfig/apollo/pull/4015) * [Optimize home page style](https://github.com/apolloconfig/apollo/pull/4052) * [Support Java 17](https://github.com/apolloconfig/apollo/pull/4060) +* [Optimize top navbar style](https://github.com/apolloconfig/apollo/pull/4073) ------------------ All issues and pull requests are [here](https://github.com/ctripcorp/apollo/milestone/8?closed=1) diff --git a/apollo-portal/src/main/resources/static/styles/common-style.css b/apollo-portal/src/main/resources/static/styles/common-style.css index a00664bad10..f55e1548c8f 100644 --- a/apollo-portal/src/main/resources/static/styles/common-style.css +++ b/apollo-portal/src/main/resources/static/styles/common-style.css @@ -1099,6 +1099,10 @@ table th { font-size: 14px; } +#app-search-list { + width: 375px; +} + /*backTop component style*/ .back-top { position: fixed; @@ -1125,3 +1129,15 @@ table th { .back-top:active { opacity: .6; } + +.navbar-nav .nav-switch-lang { + width: 12px; + height: 12px; + margin-top: -4px; + margin-right: -5px; +} + +.navbar-header .logo { + height: 35px; + margin-top: -4px +} diff --git a/apollo-portal/src/main/resources/static/views/common/nav.html b/apollo-portal/src/main/resources/static/views/common/nav.html index ec3722c66c2..a2bf43359e9 100644 --- a/apollo-portal/src/main/resources/static/views/common/nav.html +++ b/apollo-portal/src/main/resources/static/views/common/nav.html @@ -30,10 +30,10 @@ ng-show="viewMode == 2 && showSideBar" ng-click="showSideBar = !showSideBar"> -