[svn r38440] Made that the blue links are colored from the stylesheet.
--HG-- branch : trunk
This commit is contained in:
parent
a6fd3c241e
commit
8a60d6ee5c
|
@ -74,10 +74,11 @@ class H(html):
|
||||||
super(H.FunctionDescription, self).__init__(fd, ds, fi)
|
super(H.FunctionDescription, self).__init__(fd, ds, fi)
|
||||||
|
|
||||||
class FunctionDef(html.h2):
|
class FunctionDef(html.h2):
|
||||||
style = html.Style(cursor='pointer', color='blue')
|
style = html.Style(cursor='pointer')
|
||||||
def __init__(self, name, argdesc, **kwargs):
|
def __init__(self, name, argdesc, **kwargs):
|
||||||
|
class_ = kwargs.pop('class_', 'funcdef')
|
||||||
super(H.FunctionDef, self).__init__('def %s%s:' % (name, argdesc),
|
super(H.FunctionDef, self).__init__('def %s%s:' % (name, argdesc),
|
||||||
**kwargs)
|
class_=class_, **kwargs)
|
||||||
|
|
||||||
class FunctionInfo(html.div):
|
class FunctionInfo(html.div):
|
||||||
def __init__(self, valuedesc, csource, callstack, **kwargs):
|
def __init__(self, valuedesc, csource, callstack, **kwargs):
|
||||||
|
|
|
@ -44,6 +44,10 @@ h2 {
|
||||||
padding-top: 0.5em;
|
padding-top: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h2.funcdef {
|
||||||
|
color: blue;
|
||||||
|
}
|
||||||
|
|
||||||
.code a {
|
.code a {
|
||||||
color: blue;
|
color: blue;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
|
Loading…
Reference in New Issue