Welcome to mirror list, hosted at ThFree Co, Russian Federation.

tab2menu.xsl « html « xslt « ikvmforrest-site « skins « documentation « src « website - github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6168d3256e847028a3b509ae76c7cf3a9c40fa5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?xml version="1.0"?>
<!--
This stylesheet generates 'tabs' at the top left of the screen.
See the imported tab2menu.xsl for details.
-->

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:import href="../../../common/xslt/html/tab2menu.xsl"/>

  <xsl:template match="tabs">
    <div class="tab">
      <table cellspacing="0" cellpadding="0" border="0" summary="tab bar">
        <tr>
          <xsl:call-template name="base-tabs"/>
        </tr>
      </table>
    </div>
  </xsl:template>

  <xsl:template name="pre-separator">
    <xsl:call-template name="separator"/>
  </xsl:template>

  <xsl:template name="post-separator">
  </xsl:template>

  <xsl:template name="separator">
    <td width="6">
      <img src="{$root}skin/images/spacer.gif" width="6" height="8" alt=""/>
    </td>
  </xsl:template>

  <xsl:template name="selected">
    <td valign="bottom">
      <table cellspacing="0" cellpadding="0" border="0"  style="height: 1.8em" summary="selected tab">
        <tr>
          <td bgcolor="#4C6C8F" width="5" valign="top">
            <img src="{$skin-img-dir}/tabSel-left.gif" alt="" width="5" height="5" />
          </td>
          <td bgcolor="#4C6C8F" valign="middle">
            <font face="Arial, Helvetica, Sans-serif" size="2" color="#ffffff">
              <b>
                <xsl:call-template name="base-selected"/>
              </b>
            </font>
          </td>
          <td bgcolor="#4C6C8F" width="5" valign="top">
            <img src="{$skin-img-dir}/tabSel-right.gif" alt="" width="5" height="5" />
          </td>
        </tr>
      </table>
    </td>
  </xsl:template>

  <xsl:template name="not-selected">
    <td valign="bottom">
      <table cellspacing="0" cellpadding="0" border="0" style="height: 1.6em" summary="non selected tab">
        <tr>
          <td bgcolor="#B2C4E0" width="5" valign="top">
            <img src="{$skin-img-dir}/tab-left.gif" alt="" width="5" height="5" />
          </td>
          <td bgcolor="#B2C4E0" valign="middle">
            <xsl:call-template name="base-not-selected"/>
          </td>
          <td bgcolor="#B2C4E0" width="5" valign="top">
            <img src="{$skin-img-dir}/tab-right.gif" alt="" width="5" height="5" />
          </td>
        </tr>
        <tr>
          <td height="1" colspan="3">
          </td>
        </tr>
      </table>
    </td>
  </xsl:template>

</xsl:stylesheet>