def css(): css.prop.padding = css.pixel(2) css.prop.height = css.pixel(14) css.prop.background_color = css.rgb(255,255,255) css.prop.color = css.rgb(150,150,150) css.prop.font_weight = css.values.font_weights.x300 css.prop.font_size = css.pixel(8)
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
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)'
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
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
def css(): css.prop.width = css.pixel(24) css.prop.height = css.pixel(24) css.prop.padding = css.pixel(5) css.prop.margin_left = css.pixel(3) css.prop.margin = css.pixel(1) css.prop.background_color = css.rgb(230,230,255) css.prop.border = 'rgb(200, 200, 255) solid 1px' css.prop.background_repeat = 'no-repeat' css.prop.background_position = 'center' css.prop.position = css.values.positions.relative css.prop.pseudo = css.values.pseudos.active css.prop.background_color = css.rgb(175,175,255)
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
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
def css(): css.prop.position = css.values.positions.absolute css.prop.top = '0' css.prop.left = '0' css.prop.opacity = 0.5 css.prop.background_color = css.rgb(25, 25, 25) css.prop.z_index = 101
def highlight(self): for page in (page for page in self.document.pages.children if page is not self): page.unhighlight() self.style.background_color = css.rgb(240, 240, 255) self.style.border = 'solid rgb(200,200,255) 0.02in' self.is_selected = True
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)
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
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)
def __init__(self): xhtml.webpage.__init__(self) self.includes.css <= sys.modules[__name__] self.header = MyDiv(parent = self.body, text = 'CLICK ON ME') self.side_bar = xhtml.div(parent = self.body, text = 'HELLO') self.side_bar.style.background_color = css.rgb(255, 0, 0) self.cont = xhtml.div(parent = self.body)
def css(): css.prop.height = css.pixel(20) css.prop.background_color = css.rgb(230,230,255) css.prop.border_left = 'solid 2px rgb(110,110,255)' css.prop.border_top = 'solid 2px rgb(110,110,255)'
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)
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)
def css(): css.prop.font_style = css.values.font_styles.italic css.prop.width = css.percent(100) css.prop.background_color = css.rgb(245,245,255)
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)
def css(): css.prop.background_color = css.rgb(255, 255, 255)
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)
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)
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)
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)
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)
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)
def css(): css.prop.padding = css.pixel(4) css.prop.pseudo = css.values.pseudos.hover css.prop.background_color = css.rgb(220, 220, 255)
def css(): css.prop.background_color = css.rgb(100, 100, 100) css.prop.height = css.pixel(10) css.prop.width = css.pixel(100)
def onmousedown(self, event): self.style.background_color = css.rgb(0, 255, 0) self.text += 'HI' for i in range(10): div = xhtml.div(parent = self.document.cont, text = 'ME')
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)