Mercurial > libervia-templates
annotate sat_templates/templates/default/static/invitation.css @ 183:240bbac435f4
base: implemented language button:
- `component.menu` can now be used with a `{% call %}`, allowing extra HTML to be added after in the <nav> element
- a language dropdown is shown if more than one translation is available, allowing to change page locale
- if javascript is available, only the dropdown is visible, and changing it reload the page with new locale
- if javascript is not available, a submit button is display to change the locale
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 10 Apr 2019 21:05:58 +0200 |
parents | e9f0a4215e46 |
children |
rev | line source |
---|---|
6
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
1 #body { |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
2 display: flex; |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
3 flex-direction: column; |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
4 } |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
5 |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
6 .invitation_header { |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
7 flex: 1 |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
8 } |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
9 |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
10 .invitation_header h1,p { |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
11 text-align: center; |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
12 } |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
13 |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
14 #include_main { |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
15 flex: 9 |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
16 } |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
17 |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
18 #include_main { |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
19 width: 100%; |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
20 margin: 0; |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
21 border: none; |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
22 } |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
23 |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
24 footer { |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
25 /* footer should already be displayed in included page */ |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
26 display: none; |
529fff4473c1
invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
27 } |