web/data/uiprops.py
changeset 5482 8c8c6d3f3b3a
parent 5445 4467ed43d97d
child 5483 1a30c5a56256
equal deleted inserted replaced
5481:2236b2f57c67 5482:8c8c6d3f3b3a
     1 """define default ui properties"""
     1 """define default ui properties"""
     2 
     2 
     3 # CSS stylesheets to include systematically in HTML headers
     3 # CSS stylesheets to include systematically in HTML headers
       
     4 # use the following line if you *need* to keep the old stylesheet
       
     5 #STYLESHEETS =       [data('cubicweb.old.css')]
     4 STYLESHEETS =       [data('cubicweb.reset.css'),
     6 STYLESHEETS =       [data('cubicweb.reset.css'),
     5                      data('cubicweb.css')]
     7                      data('cubicweb.css')]
     6 STYLESHEETS_IE =    [data('cubicweb.ie.css')]
     8 STYLESHEETS_IE =    [data('cubicweb.ie.css')]
     7 STYLESHEETS_PRINT = [data('cubicweb.print.css')]
     9 STYLESHEETS_PRINT = [data('cubicweb.print.css')]
     8 
    10 
    53 SEND_EMAIL_ICON = data('sendok.png')
    55 SEND_EMAIL_ICON = data('sendok.png')
    54 DOWNLOAD_ICON = data('download.gif')
    56 DOWNLOAD_ICON = data('download.gif')
    55 UPLOAD_ICON = data('upload.gif')
    57 UPLOAD_ICON = data('upload.gif')
    56 GMARKER_ICON = data('gmap_blue_marker.png')
    58 GMARKER_ICON = data('gmap_blue_marker.png')
    57 UP_ICON = data('up.gif')
    59 UP_ICON = data('up.gif')
       
    60 
       
    61 # colors, fonts, etc
       
    62 
       
    63 # default (body, html)
       
    64 defaultColor = '#000'
       
    65 defaultFont = 'Verdana,sans-serif'
       
    66 defaultSize = '12px'
       
    67 defaultLineHeight = '1.5'
       
    68 defaultLineHeightEm = defaultLineHeight + 'em'
       
    69 baseRhythmBg = 'rhythm18.png'
       
    70 
       
    71 # XXX
       
    72 defaultLayoutMargin = '8px'
       
    73 
       
    74 # header
       
    75 headerBgColor = '#ff7700'
       
    76 
       
    77 # h
       
    78 h1FontSize = '1.5em'
       
    79 h1BorderBottomStyle = '0.06em solid black'
       
    80 h1Padding = '0 0 0.14em 0 '
       
    81 h1Margin = '0.8em 0 0.5em'
       
    82 
       
    83 h2FontSize = '1.33333em'
       
    84 h2Padding = '0.4em 0 0.35em 0'
       
    85 h2Margin = '0'
       
    86 
       
    87 h3FontSize = '1.16667em'
       
    88 h3Padding = '0.5em 0 0.57em 0'
       
    89 h3Margin = '0'
       
    90 
       
    91 # links
       
    92 aColor = '#ff4500'
       
    93 aActiveColor = aVisitedColor = aLinkColor = aColor
       
    94 
       
    95 # page frame
       
    96 pageContentBorderColor = '#ccc'
       
    97 pageContentBgColor = '#fff'
       
    98 pageContentPadding = '1em'
       
    99 pageMinHeight = '800px'
       
   100 
       
   101 # button
       
   102 buttonBorderColor = '#edecd2'
       
   103 buttonBgColor = '#fffff8'
       
   104 
       
   105 # action, search, sideBoxes
       
   106 actionBoxTitleBgColor = '#cfceb7'
       
   107 sideBoxBodyBgColor = '#eeedd9'
       
   108 
       
   109 
       
   110 # table listing
       
   111 listingBorderColor = '#878787'