Fix style of language menu

This commit is contained in:
Pig Fang 2019-05-03 15:15:10 +08:00
parent 9197b8b095
commit c2906ecc4f
5 changed files with 10 additions and 8 deletions

View File

@ -56,3 +56,10 @@ body, h1, h2, h3, h4, h5, h6
.main-header .navbar .user-menu .user-image .main-header .navbar .user-menu .user-image
border-radius 10% border-radius 10%
#language-menu li
a
color #777
a:hover
background-color #e1e3e9
color #333

View File

@ -26,13 +26,6 @@ body
a.btn.btn-login:hover, a.btn.btn-login:focus a.btn.btn-login:hover, a.btn.btn-login:focus
background-color #006acc !important background-color #006acc !important
li.locale
a
color #777
a:hover
background-color #e1e3e9
color #333
.navbar-brand .navbar-brand
font-family Minecraft, 'Segoe UI', 'Microsoft Yahei', 'Microsoft Jhenghei', sans-serif font-family Minecraft, 'Segoe UI', 'Microsoft Yahei', 'Microsoft Jhenghei', sans-serif
border-right 0 border-right 0

View File

@ -1,3 +1,4 @@
## Fixed ## Fixed
- Fixed possible error on update page. - Fixed possible error on update page.
- Fixed style of language menu.

View File

@ -1,3 +1,4 @@
## 修复 ## 修复
- 修复升级页面可能的出错 - 修复升级页面可能的出错
- 修复语言选择菜单的样式

View File

@ -5,7 +5,7 @@
<span class="description-text">{{ config('locales.'.App::getLocale(), config('locales.'.config('app.fallback_locale')))['short_name'] }}</span> <span class="description-text">{{ config('locales.'.App::getLocale(), config('locales.'.config('app.fallback_locale')))['short_name'] }}</span>
<span class="caret"></span> <span class="caret"></span>
</a> </a>
<ul class="dropdown-menu" role="menu"> <ul class="dropdown-menu" role="menu" id="language-menu">
@foreach(config('locales') as $code => $langInfo) @foreach(config('locales') as $code => $langInfo)
@if (!isset($langInfo['alias'])) @if (!isset($langInfo['alias']))
<?php <?php