mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
Fixing default theme #587
This commit is contained in:
parent
92ff423794
commit
287620a7c3
@ -57,7 +57,7 @@
|
||||
</ng-container>
|
||||
<li class="nav-item d-xl-block d-none">
|
||||
<span>
|
||||
<app-language #languageSelector class="navbar-btn" [isDark]="true"></app-language>
|
||||
<app-language #languageSelector class="navbar-btn" ></app-language>
|
||||
</span>
|
||||
</li>
|
||||
<li class="nav-item divider-vertical d-xl-block d-none">
|
||||
@ -66,7 +66,7 @@
|
||||
<div class="btn-group" dropdown #dropdown="bs-dropdown" placement="bottom"
|
||||
[autoClose]="false" container="body">
|
||||
<button id="button-alignment" dropdownToggle
|
||||
type="button" class="btn btn-dark dropdown-toggle"
|
||||
type="button" class="btn btn-tertiary dropdown-toggle"
|
||||
aria-controls="dropdown-alignment">
|
||||
<span class="oi oi-menu"></span>
|
||||
<span *ngIf="isAdmin() && notificationService.numberOfNotifications>0"
|
||||
@ -81,7 +81,7 @@
|
||||
<ng-container *ngIf="authenticationRequired && user.value">
|
||||
<span class="oi oi-person"></span>{{user.value.name}}
|
||||
</ng-container>
|
||||
<app-language class="navbar-btn d-inline-block" [isDark]="false"></app-language>
|
||||
<app-language class="navbar-btn d-inline-block"></app-language>
|
||||
</div>
|
||||
</li>
|
||||
<li class="nav-item d-xl-none" *ngIf="showShare">
|
||||
|
@ -1,13 +1,3 @@
|
||||
.dropdown-menu {
|
||||
min-width: auto;
|
||||
}
|
||||
|
||||
.dark {
|
||||
background-color: #000;
|
||||
color: rgba(255, 255, 255, 0.55);
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
.dark:hover {
|
||||
border-color: #adadad;
|
||||
}
|
||||
|
@ -1,12 +1,11 @@
|
||||
<div class="dropdown" dropdown #dropdown="bs-dropdown">
|
||||
<button dropdownToggle
|
||||
class="btn btn-secondary dropdown-toggle"
|
||||
class="btn btn-tertiary dropdown-toggle"
|
||||
type="button"
|
||||
id="language"
|
||||
data-toggle="dropdown"
|
||||
aria-haspopup="true"
|
||||
aria-expanded="true"
|
||||
[ngClass]="isDark?'dark':''">
|
||||
aria-expanded="true">
|
||||
<ng-container *ngIf="current != null">
|
||||
{{current}}
|
||||
</ng-container>
|
||||
|
@ -10,7 +10,6 @@ import {BsDropdownDirective} from 'ngx-bootstrap/dropdown';
|
||||
styleUrls: ['./language.component.css'],
|
||||
})
|
||||
export class LanguageComponent {
|
||||
@Input() isDark: boolean;
|
||||
languages: string[] = [];
|
||||
current: string = null;
|
||||
urlBase = Config.Server.urlBase;
|
||||
|
Loading…
Reference in New Issue
Block a user