Skip to content
Snippets Groups Projects
Commit 12e3fff4 authored by Fabian Gruenwald's avatar Fabian Gruenwald
Browse files

Insert frame for the English language selection in the footer

frame switches now to the currently selected language box

[Ticket: #129]
parent 4c746670
No related merge requests found
......@@ -98,10 +98,14 @@
<mat-menu #langMenu="matMenu"
[overlapTrigger]="false">
<button (click)="useLanguage('de')"
class="focus_item"
[ngClass]="{
'focus_item':getLanguage()==='de',
'unfocus_item':getLanguage()!=='de'}"
mat-menu-item>{{ 'footer.german' | translate }}</button>
<button (click)="useLanguage('en')"
class="focus_item"
[ngClass]="{
'focus_item':getLanguage()==='en',
'unfocus_item':getLanguage()!=='en'}"
mat-menu-item>{{ 'footer.english' | translate }}</button>
</mat-menu>
......
......@@ -206,6 +206,10 @@ mat-icon {
color: var(--background);
}
.focus_item:focus {
.focus_item {
border: 1px solid var(--on-surface);
}
.unfocus_item {
border: none;
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment