File: cal_monthly_style.xy

package info (click to toggle)
bitpim 0.9.08.dfsg.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 24,228 kB
  • ctags: 45,773
  • sloc: python: 191,894; cpp: 2,074; perl: 600; ansic: 343; sh: 185; makefile: 76; sed: 1
file content (18 lines) | stat: -rw-r--r-- 723 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# This is pure Python code which sets up the styles and provides
# some helper functions

styles={}

styles['table']={ '': ('width', "100%", 'cellpadding', "5", 'cellspacing', "0",
                       'border', "1"),
                  'td': ('valign', 'top')
                  }
styles['day_name']={ 'th': ('width', "14%", 'align', "center"),
                     '+font': ('size', "4"),
                     '+b': () }
styles['month_name']={ 'td': ('width', "100%", 'colspan', "7"),
                       '+font': ('size', "5"),
                                 '+b': () }
styles['date_cell']={ '': ('width', "14%", 'valign', "top") }
styles['date_number']={ '+b': () }
styles['event_item']={ '+font': ('size', "2") }