annotate sat_templates/default/static/invitation.css @ 153:b84d20af0ed3

macros (field, form, textbox): general improvments: - use a generic "field" macro for most fields - added "required" class on input labels if suitable - extra kw args are used as input field attributes. Same thing for forms - better handling of id if label is missing - added blog_text macro in textbox for basic text blog input - textbox is more customisable (class and textarea class can be specified)
author Goffi <goffi@goffi.org>
date Thu, 21 Jun 2018 01:09:00 +0200
parents 33c7ce833d3f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 }