~loco-django-dev/loco-django/trunk

« back to all changes in this revision

Viewing changes to locodjango/templates/default/media/css/forms.css

  • Committer: NerdyNick
  • Date: 2007-10-26 04:52:01 UTC
  • Revision ID: nerdynick@gmail.com-20071026045201-4hrnxmnpddf46s63
Improved the Navigation system
        Now supports categories
        PageCategory 1 is the default menu system
        The first page in the default menu is the default page for the website
        A RequestContext variable has been added containing a dictionary of all categories and there pages
                Check locodjango.navigation.views.siteMenu for an example of how to push it into your template
                Check /template/default/sitemenu.htm for example usage of the links dictionary in a template
                Note: You will need to follow the same render_to_string shortcut for all views in order to keep you navigation on all pages
OpenID support has been started
Default template media has been included into the /template/default/media folder.
        A Symbolic link or apache virtual directory will need to be added to your apache root directory for the site

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@import url('base.css');
 
2
@import url('widgets.css');
 
3
 
 
4
/* FORM ROWS */
 
5
.form-row { overflow:hidden; padding:8px 12px; font-size:11px; border-bottom:1px solid #eee; }
 
6
.form-row img, .form-row input { vertical-align:middle; }
 
7
form .form-row p { padding-left:0; font-size:11px; }
 
8
 
 
9
/* FORM LABELS */
 
10
form h4 { margin:0 !important; padding:0 !important; border:none !important; }
 
11
label { font-weight:normal !important; color:#666; font-size:12px; }
 
12
label.inline { margin-left:20px; }
 
13
.required label, label.required { font-weight:bold !important; color:#333 !important; }
 
14
 
 
15
/* RADIO BUTTONS */
 
16
form ul.radiolist li { list-style-type:none; }
 
17
form ul.radiolist label { float:none; display:inline; }
 
18
form ul.inline { margin-left:0; padding:0; }
 
19
form ul.inline li { float:left; padding-right:7px; }
 
20
 
 
21
/* ALIGNED FIELDSETS */
 
22
.aligned label { display:block; padding:0 1em 3px 0; float:left; width:8em; }
 
23
.aligned label.inline { display:inline; float:none; }
 
24
.colMS .aligned .vLargeTextField, .colMS .aligned .vXMLLargeTextField { width:350px; }
 
25
form .aligned p, form .aligned ul { margin-left:7em; padding-left:30px; }
 
26
form .aligned table p { margin-left:0; padding-left:0; }
 
27
form .aligned p.help { padding-left:38px; }
 
28
.aligned .vCheckboxLabel { float:none !important; display:inline; padding-left:4px; }
 
29
.colM .aligned .vLargeTextField, .colM .aligned .vXMLLargeTextField { width:610px; }
 
30
.checkbox-row p.help { margin-left:0; padding-left:0 !important; }
 
31
 
 
32
/* WIDE FIELDSETS */
 
33
.wide label { width:15em !important; }
 
34
form .wide p { margin-left:15em; }
 
35
form .wide p.help { padding-left:38px; }
 
36
.colM fieldset.wide .vLargeTextField, .colM fieldset.wide .vXMLLargeTextField { width:450px; }
 
37
 
 
38
/* COLLAPSED FIELDSETS */
 
39
fieldset.collapsed * { display:none; }
 
40
fieldset.collapsed h2, fieldset.collapsed { display:block !important; }
 
41
fieldset.collapsed h2 { background-image:url(../img/admin/nav-bg.gif); background-position:bottom left; color:#999; }
 
42
fieldset.collapsed .collapse-toggle { padding:3px 5px !important; background:transparent; display:inline !important;}
 
43
 
 
44
/* MONOSPACE TEXTAREAS */
 
45
fieldset.monospace textarea { font-family:"Bitstream Vera Sans Mono",Monaco,"Courier New",Courier,monospace; }
 
46
 
 
47
/* SUBMIT ROW */
 
48
.submit-row { padding:5px 7px; text-align:right; background:white url(../img/admin/nav-bg.gif) 0 100% repeat-x; border:1px solid #ccc; margin:5px 0; }
 
49
.submit-row input { margin:0 0 0 5px; }
 
50
.submit-row p { margin-top:0.3em; }
 
51
.submit-row .deletelink { background:url(../img/admin/icon_deletelink.gif) 0 50% no-repeat; padding-left:14px; }
 
52
 
 
53
/* CUSTOM FORM FIELDS */
 
54
.vSelectMultipleField { vertical-align:top !important; }
 
55
.vCheckboxField { border:none; }
 
56
.vDateField, .vTimeField { margin-right:2px; }
 
57
.vURLField { width:30em; }
 
58
.vLargeTextField, .vXMLLargeTextField { width:48em; }
 
59
.flatpages-flatpage #id_content { height:40.2em; }
 
60
.module table .vPositiveSmallIntegerField { width:2.2em; }