Skip to content

Commit

Permalink
1. optimize logo size
Browse files Browse the repository at this point in the history
2. change search input's with from 350px to 375px
3. add switch language icon
  • Loading branch information
lepdou committed Oct 31, 2021
1 parent 02a4df5 commit 2c56deb
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions apollo-portal/src/main/resources/static/styles/common-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1099,6 +1099,10 @@ table th {
font-size: 14px;
}

#app-search-list {
width: 375px;
}

/*backTop component style*/
.back-top {
position: fixed;
Expand All @@ -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
}
7 changes: 4 additions & 3 deletions apollo-portal/src/main/resources/static/views/common/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
ng-show="viewMode == 2 && showSideBar"
ng-click="showSideBar = !showSideBar">
<a class="navbar-brand logo" href="{{ '/' | prefixPath }}">
<img src="{{ '/img/logo-simple.png' | prefixPath }}" style="height:45px; margin-top: -13px">
<img class="logo" src="{{ '/img/logo-simple.png' | prefixPath }}">
</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<div class="collapse navbar-collapse">

<ul class="nav navbar-nav navbar-right">
<li>
Expand All @@ -43,6 +43,7 @@
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
<img class="nav-switch-lang" style="" src="{{ '/img/language.png' | prefixPath }}">
<span class="glyphicon .glyphicon-glyphicon-font"></span>&nbsp;Language<span class="caret"></span></a>

<ul class="dropdown-menu">
Expand Down Expand Up @@ -90,7 +91,7 @@

<div class="navbar-form navbar-right form-inline" role="search">
<div class="form-group app-search-list">
<select id="app-search-list" style="width: 350px"></select>
<select id="app-search-list"></select>
</div>
</div>
</div>
Expand Down

0 comments on commit 2c56deb

Please sign in to comment.