示例#1
0
 def css():
     css.prop.width            = css.inch(7.0)
     css.prop.margin_top       = css.inch(0.10)
     css.prop.height           = css.inch(0.3)
     css.prop.border_top       = 'solid 0.01in #BBBBBB'
     css.prop.background_color = css.rgb(255, 245, 245)
     css.prop.font_size        = css.pt(6.5)
     css.prop.letter_spacing   = css.pt(0.25)
     css.prop.color            = "#BBBBBB"
     css.prop.font_family      = css.values.font_families.tahoma
示例#2
0
 def css():
     css.prop.background_color  = css.rgb(245,245,255)
     css.prop.color             = css.rgb(20,20,20)
     css.prop.height            = css.pixel(13)
     css.prop.font_size         = css.pt(6)
     css.prop.width             = css.inch(4.0)
     css.prop.border            = 'solid 1px rgb(210, 210, 255)'
示例#3
0
 def css():
     css.prop.background_color   = css.rgb(255,255,255)
     css.prop.padding            = css.inch(0.1);
     css.prop.font_weight        = css.values.font_weights.x400
     css.prop.color              = css.rgb(80,80,80)
     css.prop.font_size          = css.pt(11)
     css.prop.font_style         = css.values.font_styles.italic
示例#4
0
 def css():
     css.prop.position         = css.values.positions.absolute
     css.prop.background_color = css.values.colors.white
     css.prop.border           = '3px solid rgb(220, 220, 255)'
     css.prop.font_size        = css.pt(8)
     css.prop.font_family      = css.values.font_families.verdana
     css.prop.color            = css.rgb(100,100,100)
     css.prop.font_weight      = css.values.font_weights.x200
     css.prop.font_style       = css.values.font_styles.italic
     css.prop.padding          = css.pixel(4)
示例#5
0
 def css():
     css.prop.background_color  = css.rgb(245,255,245)
     css.prop.width             = css.inch(7.8)
     css.prop.height            = css.pixel(18)
     css.prop.margin            = css.inch(0.1)
     css.prop.margin_left       = css.inch(3.1)
     css.prop.color             = css.rgb(115,115,115)
     css.prop.text_align        = css.values.text_aligns.center
     css.prop.padding_top       = css.pixel(3)
     css.prop.padding_bottom    = css.pixel(3)
     css.prop.font_size         = css.pt(7)
     css.prop.font_style        = css.values.font_styles.italic
示例#6
0
 def css():
     css.prop.background_color = css.rgb(255,255,255)
     css.prop.width             = css.inch(7.8)
     css.prop.height            = css.pixel(200)
     css.prop.margin            = css.inch(0.1)
     css.prop.margin_left       = css.inch(3.1)
     css.prop.background_image  = "url('" + images.anewday_png + "')"
     css.prop.font_family       = css.values.font_families.verdana
     css.prop.color             = css.rgb(255,255,255)
     css.prop.font_weight       = css.values.font_weights.bold
     css.prop.font_size         = css.pt(11)
     css.prop.font_style        = css.values.font_styles.italic
     css.prop.vertical_align    = css.values.vertical_aligns.bottom
示例#7
0
 def css():
     css.prop.border            = 'solid rgb(220,220,255) 2px'
     css.prop.overflow          = 'auto'
     css.prop.background_color  = css.rgb(240,240,255)
     css.prop.height            = css.inch(6)
     css.prop.width             = css.inch(2.4)  
     css.prop.margin            = css.inch(0.1)
     css.prop.float             = css.values.floats.left
     css.prop.position          = css.values.positions.fixed
     css.prop.left              = 'auto'
     css.prop.top               = css.inch(0.20)
     css.prop.padding           = css.pixel(8)
     css.prop.padding_top       = css.pixel(24)
     css.prop.color             = css.rgb(100,100,100)
     css.prop.font_size         = css.pt(9)
     css.prop.font_style        = css.values.font_styles.italic 
示例#8
0
 def css():
     css.prop.color             = css.rgb(80,80,80)
     css.prop.font_size         = css.pt(10)
     css.prop.width             = css.inch(5.4)
     css.prop.padding           = css.pixel(2)
     css.prop.padding_left      = css.pixel(10)
示例#9
0
 def css():
     css.prop.padding            = css.pixel(4)
     css.prop.font_size          = css.pt(10)
     css.prop.font_weight        = css.values.font_weights.x800
     css.prop.color              = css.rgb(0,0,0)
示例#10
0
 def css():
     css.prop.padding            = css.inch(0.1)
     css.prop.font_size          = css.pt(12)
     css.prop.font_weight        = css.values.font_weights.x700
     css.prop.color              = css.rgb(50,50,50)
示例#11
0
 def css():
     css.prop.padding            = css.inch(0.1)
     css.prop.font_size          = css.pt(10)
     css.prop.font_weight        = css.values.font_weights.normal
     css.prop.color              = css.rgb(30,30,30)
示例#12
0
 def css():
     css.prop.font_size        = css.pt(11)
     css.prop.font_weight      = css.values.font_weights.x400
     css.prop.color            = css.rgb(140, 140, 140)
示例#13
0
 def css():
     css.prop.font_size        = css.pt(19)
     css.prop.font_weight      = css.values.font_weights.x500
     css.prop.color            = css.rgb(70, 70, 70)
示例#14
0
    def css(): 

        css.prop.font_size      = css.pt(12)
        css.prop.font_weight    = css.values.font_weights.x300