Changeset 90:ae439159d833

Show
Ignore:
Timestamp:
02/08/12 10:16:39 (12 years ago)
Author:
František Kučera <franta-hg@…>
Branch:
default
Message:

#15 Tabulky: čísla budou zarovnaná doprava

Files:
3 modified

Legend:

Unmodified
Added
Removed
  • vstup/css/styl.css

    r86 r90  
    88a img { 
    99        border: none; 
     10} 
     11 
     12a:hover { 
     13        text-shadow: 1px 1px 1px #eee; 
     14} 
     15a[href^="https://"]:hover { 
     16        text-shadow: 1px 1px 1px #6f6; 
     17} 
     18a[href^="http://"]:hover { 
     19        text-shadow: 1px 1px 1px #66f; 
    1020} 
    1121 
     
    4555#nabídka a:hover { 
    4656        color: #77bed2; 
     57        text-shadow: none; 
    4758} 
    4859 
     
    117128        padding-right: 6px; 
    118129} 
     130td.číslo { 
     131        text-align: right; 
     132} 
    119133thead tr { 
    120134        background: grey; 
  • šablona/funkce/src/cz/frantovo/xmlWebGenerator/makra/Diagram.java

    r87 r90  
    9696                         */ 
    9797                        PrintStream vstupProcesu = new PrintStream(p.getOutputStream()); 
    98                         vstupProcesu.print(zdroják.toString()); 
     98                        vstupProcesu.print(zdroják); 
    9999                        vstupProcesu.close(); 
    100100 
  • šablona/makra/tabulka.xsl

    r71 r90  
    6969                                                        <xsl:for-each select="tokenize(., $oddělovač)"> 
    7070                                                                <xsl:if test="normalize-space(.)"> 
    71                                                                         <td><xsl:value-of select="normalize-space(.)"/></td> 
     71                                                                        <xsl:element name="td"> 
     72                                                                                <xsl:if test="number(normalize-space(.))"> 
     73                                                                                        <xsl:attribute name="class">číslo</xsl:attribute> 
     74                                                                                </xsl:if> 
     75                                                                                <xsl:value-of select="normalize-space(.)"/> 
     76                                                                        </xsl:element> 
    7277                                                                </xsl:if> 
    7378                                                        </xsl:for-each>