Edcref: and finally apply a cool style

Now the edc ref is decently readable
This commit is contained in:
Davide Andreoli 2014-08-08 02:30:18 +02:00
parent a8a7158801
commit 34c75a29f6
3 changed files with 58 additions and 6 deletions

View File

@ -1709,15 +1709,16 @@ GENERATE_LEGEND = YES
DOT_CLEANUP = YES
# Aliases used by edcref
ALIASES = block="<tr><td class=\"block\"><b>"
ALIASES += context="</b></td><td class=\"context\" colspan=2>\code"
ALIASES += description="\endcode</td></tr><tr><td>&nbsp;</td><td class=\"description\" colspan=2>"
ALIASES += endblock="</td></tr>"
ALIASES += property="<tr><td>&nbsp;</td><td><table class=\"edcref\" border=\"0\"><tr><td class=\"property\"><tt>"
ALIASES += property="<tr><td>&nbsp;</td><td><table class=\"edcref_prop\" border=\"0\"><tr><td class=\"property\"><tt>"
ALIASES += parameters="</tt></td><td class=\"parameters\"><tt>"
ALIASES += effect="</tt></td></tr><tr><td>&nbsp;</td><td class=\"effect\">"
ALIASES += endproperty="</td></tr></table></td></tr>"
ALIASES += edcsection{2}="<tr class=\"section\"><td class=\"section\" colspan=\"2\">\anchor sec_\1 \ref sec_quickaccess \"\2\"</td></tr>"
ALIASES += edcsection{2}="</table><table class=\"edcref\"><tr class=\"section\"><td class=\"section\" colspan=\"2\">\anchor sec_\1 \ref sec_quickaccess \"\2\"</td></tr>"
ALIASES += edcsubsection{2}="<tr class=\"subsection\"><td class=\"subsection\" colspan=\"2\">\anchor sec_\1 \ref sec_quickaccess \"\2\"</td></tr>"
# Aliases used by luaref

View File

@ -954,16 +954,57 @@ dl.citelist dd {
text-shadow: 0px 1px 0px #cccccc;
}
/* EdcRef page specific styles */
table.edcref {
border-collapse:collapse;
border: 1px solid #AAAAAA;
margin-bottom: 30px;
}
table.edcref td.section a {
font-size: 2.0em;
}
table.edcref td.subsection {
background-color: #EEEEEE;
border: 1px solid #AAAAAA;
}
table.edcref td.subsection a {
font-size: 1.5em;
}
table.edcref td {
vertical-align: top;
}
table.edcref td.property, table.edcref td.parameters {
font-weight: bold;
table.edcref .fragment {
width: 90%;
padding-top: 10px;
padding-left: 3px;
margin-right: 100px;
border: 1px solid #AAAAAA;
margin-top: 10px;
margin-bottom: 10px;
background-color: #F6F6F6;
}
table.edcref td.description {
padding-right: 95px;
}
table.edcref td.property, table.edcref td.parameters {
font-weight: bold;
background-color: #DDDDDD;
border-top: 1px solid #AAAAAA;
padding: 2px;
}
table.edcref_prop {
width: 90%;
border-collapse:collapse;
border: 1px solid #AAAAAA;
box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
}

View File

@ -13,6 +13,7 @@
code sample of the block
\@description
the block's description
\@since X.X
\@endblock
\@property
@ -21,6 +22,7 @@
property's parameter list
\@effect
the property description (lol)
\@since X.X
\@endproperty
*/
@ -757,6 +759,10 @@ New_Statement_Handler statement_handlers[] =
PROGRAM_STATEMENTS("collections.group")
};
/**
@edcsection{lazedc,LazEDC}
*/
/**
@edcsubsection{lazedc,LazEDC}
*/
@ -1492,7 +1498,7 @@ _edje_program_copy(Edje_Program *ep, Edje_Program *ep2)
}
@description
The "externals" block is used to list each external module file that will be used in others
programs.
programs.
@endblock
@property
@ -2425,6 +2431,10 @@ st_styles_style_tag(void)
@edcsection{collections,Collections Blocks}
*/
/**
@edcsubsection{collections,Collections Blocks}
*/
/**
@page edcref
@block