forked from tykayn/funky-framadate-front
no border on some buttons, popup
This commit is contained in:
parent
9fa7704473
commit
ed6b3794bf
@ -53,7 +53,7 @@
|
|||||||
<div class="top">
|
<div class="top">
|
||||||
<button
|
<button
|
||||||
id="close_dialog"
|
id="close_dialog"
|
||||||
class="button no-outline cancel-button-reject pull-right"
|
class="button no-outline cancel-button-reject pull-right has-no-border"
|
||||||
(click)="focusOnCancelButton()"
|
(click)="focusOnCancelButton()"
|
||||||
>
|
>
|
||||||
{{ 'SENTENCES.Close' | translate }} <img class="icon fa" src="assets/icons/x_blue.svg" />
|
{{ 'SENTENCES.Close' | translate }} <img class="icon fa" src="assets/icons/x_blue.svg" />
|
||||||
|
@ -86,7 +86,7 @@
|
|||||||
<div class="column is-narrow">
|
<div class="column is-narrow">
|
||||||
<button
|
<button
|
||||||
id="close_dialog"
|
id="close_dialog"
|
||||||
class="button cancel-button-reject pull-right has-text-right"
|
class="button cancel-button-reject pull-right has-text-right has-no-border"
|
||||||
(click)="closeModalAndFocusOnOpenModalButton()"
|
(click)="closeModalAndFocusOnOpenModalButton()"
|
||||||
>
|
>
|
||||||
{{ 'SENTENCES.Close' | translate }} <img class="icon fa" src="assets/icons/x_blue.svg" />
|
{{ 'SENTENCES.Close' | translate }} <img class="icon fa" src="assets/icons/x_blue.svg" />
|
||||||
|
@ -120,7 +120,7 @@
|
|||||||
<div class="top">
|
<div class="top">
|
||||||
<button
|
<button
|
||||||
id="close_dialog"
|
id="close_dialog"
|
||||||
class="button cancel-button-reject pull-right img-marged-left"
|
class="button cancel-button-reject pull-right img-marged-left has-no-border"
|
||||||
(click)="focusOnCancelButton()"
|
(click)="focusOnCancelButton()"
|
||||||
>
|
>
|
||||||
{{ 'SENTENCES.Close' | translate }}
|
{{ 'SENTENCES.Close' | translate }}
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
<div class="top">
|
<div class="top">
|
||||||
<button
|
<button
|
||||||
id="close_dialog{{ idSuffix }}"
|
id="close_dialog{{ idSuffix }}"
|
||||||
class="button cancel-button-reject pull-right img-marged-left"
|
class="button cancel-button-reject pull-right img-marged-left has-no-border"
|
||||||
lang="{{ currentLang }}"
|
lang="{{ currentLang }}"
|
||||||
(click)="focusOnCancelButton()"
|
(click)="focusOnCancelButton()"
|
||||||
>
|
>
|
||||||
@ -53,7 +53,7 @@
|
|||||||
<div *ngFor="let language of availableLanguages" (click)="language_to_apply = language">
|
<div *ngFor="let language of availableLanguages" (click)="language_to_apply = language">
|
||||||
<label
|
<label
|
||||||
[attr.for]="'#lang_' + language"
|
[attr.for]="'#lang_' + language"
|
||||||
class="lang-element button"
|
class="lang-element button has-text-left"
|
||||||
[ngClass]="{
|
[ngClass]="{
|
||||||
'is-primary': language_to_apply === language,
|
'is-primary': language_to_apply === language,
|
||||||
'is-current': language === currentLang
|
'is-current': language === currentLang
|
||||||
|
@ -35,11 +35,11 @@
|
|||||||
.lang-element {
|
.lang-element {
|
||||||
float: left;
|
float: left;
|
||||||
margin: 0.5em;
|
margin: 0.5em;
|
||||||
min-width: 8em;
|
|
||||||
border: 0;
|
border: 0;
|
||||||
border-radius: 2rem;
|
border-radius: 2rem;
|
||||||
padding: 0.5rem 0.25rem;
|
padding: 0.5rem 0.25rem;
|
||||||
padding-right: 1rem;
|
padding-right: 1rem;
|
||||||
|
min-width: 12em;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: $primary_color;
|
background: $primary_color;
|
||||||
|
@ -17,7 +17,7 @@ export class LanguageSelectorComponent implements OnInit {
|
|||||||
public availableLanguages: any = ['FR', 'EN', 'ES'];
|
public availableLanguages: any = ['FR', 'EN', 'ES'];
|
||||||
language: string;
|
language: string;
|
||||||
language_to_apply: string;
|
language_to_apply: string;
|
||||||
display_lang_dialog: boolean = true;
|
display_lang_dialog: boolean = false;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
private languageService: LanguageService,
|
private languageService: LanguageService,
|
||||||
|
@ -96,6 +96,9 @@ textarea {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 10px 30px;
|
padding: 10px 30px;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
&.has-no-border {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user