Beispiel #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
Beispiel #2
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.8)  
     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)
Beispiel #3
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
Beispiel #4
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
Beispiel #5
0
 def css():
     css.prop.background_color   = css.rgb(255,255,255)
     css.prop.padding            = css.inch(0.2);
     css.prop.border             = 'solid rgb(200,200,255) 0.15in'
     css.prop.width              = css.pixel(700)
     css.prop.z_index            = 102
     css.prop.opacity            = 1.0
Beispiel #6
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
Beispiel #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 
Beispiel #8
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)'
Beispiel #9
0
    def __init__(self, parent, title = None, sub = None, confirm = 'Confirm', cancel = 'Cancel'):
        
        Frame.__init__(self, parent = parent)
                
        if title:
            self.msg_title  = MsgBox_title(parent = self, text = title)        
        
        self.msg_frame = MsgBox_frame(parent = self)

        if sub:
            self.msg_sub   = MsgBox_sub(parent = self, text = sub)
    
        self.controls = MsgBox_control(parent = self)
        
        self.confirm  = MsgBox_button(parent = self.controls, text = confirm, handler = self.parent, type = 'confirm')
        
        self.span     = xhtml.span(parent = self.controls, text = ' or ')
        self.span.style.padding_left  = css.inch(0.05)
        self.span.style.padding_right = css.inch(0.05)
        
        self.cancel  = MsgBox_button(parent = self.controls, text = cancel,  handler = self.parent, type = 'cancel')
Beispiel #10
0
 def css():
     css.prop.width = css.inch(3.0)
     css.prop.float = css.values.floats.left
Beispiel #11
0
 def css():
     css.prop.min_height       = css.inch(0.18)
     css.prop.width            = css.inch(4.6)
     css.prop.background_color = css.rgb(255, 100, 30)
     css.prop.float            = css.values.floats.left 
Beispiel #12
0
 def css():
     css.prop.width              = css.inch(11)
     css.prop.min_height         = css.inch(12)
     css.prop.margin             = '0.1in auto'
Beispiel #13
0
 def css():
     css.prop.width = css.percent(99)
     css.prop.min_height = css.inch(4)
     css.prop.height     = css.percent(100)
Beispiel #14
0
 def css():
     css.prop.width            = css.inch(4.5)
     css.prop.background_color = css.rgb(250, 255, 250)
     css.prop.float            = css.values.floats.left
Beispiel #15
0
 def css():
     css.prop.min_height         = css.inch(12)
     css.prop.background_color   = css.rgb(240,240,240)
     css.prop.padding            = css.inch(0.1)
Beispiel #16
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)
Beispiel #17
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)
Beispiel #18
0
 def css():
     css.prop.background_color  = css.rgb(255,245,245)
     css.prop.width             = css.inch(7.4)
     css.prop.min_height        = css.inch(4.0)
     css.prop.margin            = css.pixel(10)
     css.prop.padding           = css.pixel(10)
Beispiel #19
0
 def css():
     css.prop.min_height       = css.inch(0.18)
     css.prop.width            = css.inch(0.35)
     css.prop.background_color = css.rgb(255, 230, 220)
     css.prop.float            = css.values.floats.left 
Beispiel #20
0
 def css():
     css.prop.height           = css.inch(0.4)
     css.prop.padding_bottom   = css.inch(0.25)
Beispiel #21
0
 def css():
     css.prop.width              = css.inch(11)
     css.prop.margin             = '0.1in auto'
Beispiel #22
0
 def css():
     css.prop.padding_left     = sections._left_width
     css.prop.height           = css.inch(0.5)
     css.prop.float            = css.values.floats.left
Beispiel #23
0
 def css():
     css.prop.background_color  = css.rgb(255,255,255)
     css.prop.width             = css.inch(7.8)
     css.prop.margin            = css.inch(0.1)
     css.prop.margin_left       = css.inch(3.1)
Beispiel #24
0
 def css(): 
     css.prop.width = css.inch(6.95)
     css.prop.border         = 'solid red 1px'
     css.prop.overflow       = 'auto'
Beispiel #25
0
 def css():
     css.prop.background_color  = css.rgb(240,240,255)
     css.prop.width             = css.inch(7.65)
     css.prop.height            = css.pixel(34)
     css.prop.margin            = css.pixel(4)
     css.prop.padding           = css.pixel(2)
Beispiel #26
0
 def css():
     css.prop.padding            = css.inch(0.1)
     css.prop.float              = css.values.floats.left
Beispiel #27
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)
Beispiel #28
0
 def css():
     css.prop.width            = css.inch(7.0)
     css.prop.min_height           = css.inch(9)
     css.prop.background_color = css.rgb(245, 255, 245)
Beispiel #29
0
 def css():
     css.prop.background_color  = css.rgb(255,255,255)
     css.prop.width             = css.inch(7.3)
     css.prop.height            = css.inch(4.0)
Beispiel #30
0
 def css():
     css.prop.min_height       = css.inch(0.18)
     css.prop.width            = _left_width
     css.prop.background_color = css.rgb(155, 200, 220)
     css.prop.float            = css.values.floats.left