web/data/uiprops.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 06 Jul 2010 09:41:19 +0200
changeset 5897 0c6f2f866202
parent 5853 89ad81d6972d
child 5939 a33402c1aa79
permissions -rw-r--r--
[migration] fix rename_entity_type to an existant entity type: get back relation from the old entity type non existant on the target type
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5444
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     1
"""define default ui properties"""
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     2
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     3
# CSS stylesheets to include systematically in HTML headers
5482
8c8c6d3f3b3a [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
     4
# use the following line if you *need* to keep the old stylesheet
8c8c6d3f3b3a [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
     5
#STYLESHEETS =       [data('cubicweb.old.css')]
5445
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
     6
STYLESHEETS =       [data('cubicweb.reset.css'),
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
     7
                     data('cubicweb.css'), ]
5445
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
     8
STYLESHEETS_IE =    [data('cubicweb.ie.css')]
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
     9
STYLESHEETS_PRINT = [data('cubicweb.print.css')]
5444
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    10
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    11
# Javascripts files to include systematically in HTML headers
5445
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    12
JAVASCRIPTS = [data('jquery.js'),
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    13
               data('jquery.corner.js'),
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    14
               data('jquery.json.js'),
5658
7b9553a9db65 [ajax] refactor/cleanup low-level ajax functions
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 5483
diff changeset
    15
               data('cubicweb.js'),
5445
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    16
               data('cubicweb.compat.js'),
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    17
               data('cubicweb.python.js'),
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    18
               data('cubicweb.htmlhelpers.js')]
5444
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    19
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    20
# where is installed fckeditor
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    21
FCKEDITOR_PATH = '/usr/share/fckeditor/'
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    22
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    23
# favicon and logo for the instance
5445
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    24
FAVICON = data('favicon.ico')
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    25
LOGO = data('logo.png')
5444
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    26
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    27
# rss logo (link to get the rss view of a selection)
5445
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    28
RSS_LOGO = data('rss.png')
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    29
RSS_LOGO_16 = data('feed-icon16x16.png')
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    30
RSS_LOGO_32 = data('feed-icon32x32.png')
5444
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    31
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    32
# XXX cleanup resources below, some of them are probably not used
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    33
# (at least entity types icons...)
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    34
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    35
# images
5445
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    36
HELP = data('help.png')
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    37
SEARCH_GO = data('go.png')
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    38
PUCE_UP = data('puce_up.png')
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    39
PUCE_DOWN = data('puce_down.png')
5444
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    40
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    41
# button icons
5445
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    42
OK_ICON = data('ok.png')
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    43
CANCEL_ICON = data('cancel.png')
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    44
APPLY_ICON = data('plus.png')
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    45
TRASH_ICON = data('trash_can_small.png')
5444
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    46
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    47
# icons for entity types
5445
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    48
BOOKMARK_ICON = data('icon_bookmark.gif')
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    49
EMAILADDRESS_ICON = data('icon_emailaddress.gif')
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    50
EUSER_ICON = data('icon_euser.gif')
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    51
STATE_ICON = data('icon_state.gif')
5444
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    52
f7fdb5dd82f6 [webconfig] introduce property sheets. Use them to replace external_resources
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
    53
# other icons
5445
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    54
CALENDAR_ICON = data('calendar.gif')
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    55
CANCEL_EMAIL_ICON = data('sendcancel.png')
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    56
SEND_EMAIL_ICON = data('sendok.png')
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    57
DOWNLOAD_ICON = data('download.gif')
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    58
UPLOAD_ICON = data('upload.gif')
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    59
GMARKER_ICON = data('gmap_blue_marker.png')
4467ed43d97d [web] use uiprops value to compile css transparently, handlig cache and reloading in debug mode
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5444
diff changeset
    60
UP_ICON = data('up.gif')
5479
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    61
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    62
# colors, fonts, etc
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    63
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    64
# default (body, html)
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    65
defaultColor = '#000'
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
    66
defaultFontFamily = "'Bitstream Vera Sans','Lucida Grande','Lucida Sans Unicode','Geneva','Verdana',sans-serif"
5479
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    67
defaultSize = '12px'
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    68
defaultLineHeight = '1.5'
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    69
defaultLineHeightEm = defaultLineHeight + 'em'
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    70
baseRhythmBg = 'rhythm18.png'
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    71
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
    72
inputHeight = '1.3em'
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
    73
inputPadding = 'O.2em'
5479
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    74
# XXX
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    75
defaultLayoutMargin = '8px'
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    76
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    77
# header
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    78
headerBgColor = '#ff7700'
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    79
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    80
# h
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
    81
h1FontSize = '1.5em' # 18px
5479
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    82
h1Padding = '0 0 0.14em 0 '
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    83
h1Margin = '0.8em 0 0.5em'
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
    84
h1Color = '#000'
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
    85
h1BorderBottomStyle = '0.06em solid %s' % h1Color
5479
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    86
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    87
h2FontSize = '1.33333em'
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    88
h2Padding = '0.4em 0 0.35em 0'
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    89
h2Margin = '0'
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    90
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    91
h3FontSize = '1.16667em'
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    92
h3Padding = '0.5em 0 0.57em 0'
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    93
h3Margin = '0'
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    94
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    95
# links
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
    96
aColor = '#e6820e'
5479
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    97
aActiveColor = aVisitedColor = aLinkColor = aColor
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
    98
5853
89ad81d6972d [css] make body bg color configurable
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
    99
5479
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
   100
# page frame
5853
89ad81d6972d [css] make body bg color configurable
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5819
diff changeset
   101
pageBgColor = '#e2e2e2'
5479
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
   102
pageContentBorderColor = '#ccc'
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
   103
pageContentBgColor = '#fff'
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
   104
pageContentPadding = '1em'
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
   105
pageMinHeight = '800px'
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
   106
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   107
# boxes
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   108
boxTitleBgColor = headerBgColor
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   109
boxBodyBgColor = '#efefde'
5479
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
   110
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
   111
# action, search, sideBoxes
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
   112
actionBoxTitleBgColor = '#cfceb7'
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   113
sideBoxBodyBgColor = '#f8f8ee'
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   114
sideBoxColor = '#555544'
5479
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
   115
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   116
# table listing & co
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   117
listingBorderColor = '#ccc'
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   118
listingHeaderBgColor = '#efefef'
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   119
listingHihligthedBgColor = '#fbfbfb'
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   120
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   121
# puce
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   122
bulletDownImg = 'url("puce_down.png") 98% 6px no-repeat'
5479
6ba3587c5cda [css] start using uiprops in cubicweb.css
Katia Saurfelt <katia.saurfelt@logilab.fr>
parents: 5445
diff changeset
   123
5819
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   124
#forms
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   125
formHeaderBgColor = listingHeaderBgColor
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   126
helperColor = '#555'
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   127
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   128
# button
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   129
buttonBorderColor = '#edecd2'
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   130
buttonBgColor = '#fffff8'
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   131
buttonBgImg = 'url("button.png") repeat-x 50% 50%'
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   132
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   133
# messages
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   134
msgBgColor = '#f8f8ee'
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   135
infoMsgBgImg = 'url("information.png") 5px center no-repeat'
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   136
errorMsgBgImg = 'url("error.png") 100% 50% no-repeat'
1017163825c7 [css] more css rework, need visual test in compat/new modes
katia
parents: 5658
diff changeset
   137
errorMsgColor = '#ed0d0d'