current
Last change
on this file was
fd6da93,
checked in by Borja Lopez <borja@…>, 5 years ago
|
(#56) Add support for different locale/language:
- Let users choose their lang/locale in the edit profile page
- Set the currently selected locale as a cookie (following pyramid
docs on how to set the locale using the default locale negotiator)
- Save the locale setting for each user as an attribute on the User
model
- Set the proper locale as a cookie on login
- Unset the locale cookie on logout
Default available locales for now are en (english) and es (spanish)
|
-
Property mode set to
100644
|
File size:
763 bytes
|
Line | |
---|
1 | /* Generic default forms */ |
---|
2 | form{ |
---|
3 | width: 100%; |
---|
4 | } |
---|
5 | |
---|
6 | legend { |
---|
7 | display: none; |
---|
8 | } |
---|
9 | |
---|
10 | fieldset { |
---|
11 | border: none; |
---|
12 | padding: 0; |
---|
13 | } |
---|
14 | |
---|
15 | fieldset > div, |
---|
16 | fieldset > p { |
---|
17 | margin-bottom: 1.5em; |
---|
18 | } |
---|
19 | |
---|
20 | label { |
---|
21 | display: block; |
---|
22 | font-size: 13px; |
---|
23 | margin-bottom: .25em; |
---|
24 | } |
---|
25 | input { |
---|
26 | width: 100%; |
---|
27 | padding: .5em .75em; |
---|
28 | border: 1px solid transparent; |
---|
29 | border-radius: 2px; |
---|
30 | } |
---|
31 | |
---|
32 | .ow-forms { |
---|
33 | label { |
---|
34 | display: block; |
---|
35 | margin-bottom: .35em; |
---|
36 | color: @color-main-medium; |
---|
37 | } |
---|
38 | textarea { |
---|
39 | resize: vertical; |
---|
40 | height: 200px; |
---|
41 | } |
---|
42 | textarea, |
---|
43 | input { |
---|
44 | width: 100%; |
---|
45 | padding: .65em; |
---|
46 | border-radius: 4px; |
---|
47 | border: 1px solid @color-main-light; |
---|
48 | } |
---|
49 | select { |
---|
50 | width: 100%; |
---|
51 | } |
---|
52 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.