mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
fix position bottom buttons on mobile, add long lang in bigger screen for selector
This commit is contained in:
parent
85344e8422
commit
9cbca21aeb
@ -3,10 +3,16 @@
|
||||
id="lang_button_popup{{ idSuffix }}"
|
||||
class="lang-button"
|
||||
(click)="openDialogLang()"
|
||||
[attr.aria-label]="'LANGUAGES_SHORT.' + currentLang.toUpperCase() | translate"
|
||||
[attr.aria-label]="'LANGUAGES.' + currentLang.toUpperCase() | translate"
|
||||
>
|
||||
<i class="fa fa-language"></i>
|
||||
{{ 'LANGUAGES_SHORT.' + currentLang.toUpperCase() | translate }}
|
||||
|
||||
<span class="short-lang is-hidden-tablet">
|
||||
{{ 'LANGUAGES_SHORT.' + currentLang.toUpperCase() | translate }}
|
||||
</span>
|
||||
<span class="long-lang is-hidden-mobile">
|
||||
{{ 'LANGUAGES.' + currentLang.toUpperCase() | translate }}
|
||||
</span>
|
||||
</button>
|
||||
<p-dialog
|
||||
[modal]="true"
|
||||
|
@ -11,17 +11,22 @@
|
||||
}
|
||||
|
||||
#lang_button_popup {
|
||||
background: transparent !important;
|
||||
background: transparent;
|
||||
margin-right: 0.5rem;
|
||||
&:hover {
|
||||
background: $secondary_color;
|
||||
color: $white;
|
||||
|
||||
.fa {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.language-selector-container {
|
||||
cursor: pointer;
|
||||
color: $primary-color;
|
||||
|
||||
&:hover {
|
||||
color: $secondary_color;
|
||||
}
|
||||
|
||||
i {
|
||||
color: $primary-color;
|
||||
}
|
||||
|
@ -71,6 +71,7 @@ a span.ui-steps-number {
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
right: 0;
|
||||
left: 0;
|
||||
padding: 1rem 0.5rem;
|
||||
|
||||
.button {
|
||||
|
Loading…
Reference in New Issue
Block a user