Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:ShipBoxTooltip: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
{{#css:
{{#css:
.test-snippet{
.tooltip-frame{
     position:relative; /*this is the key*/
     position:relative; /*this is the key*/
     z-index:24; background-color:transparent;
     z-index:24; background-color:transparent;
Line 6: Line 6:
     text-decoration:none}
     text-decoration:none}


.test-snippet:hover{z-index:25; background-color:#ff0}
.tooltip-frame:hover{z-index:25; background-color:#ff0}


.test-snippet .inner-snippet{display: none}
.tooltip-frame .inner-snippet{display: none}
.test-snippet .inner-snippet,.test-snippet .inner-snippet
.tooltip-frame .inner-snippet,.tooltip-frame .inner-snippet
{
{
background-color: transparent;
background-color: transparent;
Line 20: Line 20:
}
}
.test-snippet:hover .inner-snippet,.test-snippet.hover .inner-snippet
.tooltip-frame:hover .inner-snippet,.tooltip-frame.hover .inner-snippet
{
{
background-color: transparent;
background-color: transparent;
Line 30: Line 30:
}
}
.test-snippet .inner-snippet span
.tooltip-frame .inner-snippet span
{
{
display: block;
display: block;
}
}
.test-snippet .inner-snippet .left, .test-snippet .inner-snippet .right
.tooltip-frame .inner-snippet .left, .tooltip-frame .inner-snippet .right
{
{
float:left;
float:left;
}
}
.test-snippet .inner-snippet .l1
.tooltip-frame .inner-snippet .l1
{
{
float: left;
float: left;
Line 47: Line 47:
width: 325px;
width: 325px;
}
}
.test-snippet .inner-snippet .l2
.tooltip-frame .inner-snippet .l2
{
{
border: 1px solid #525751;
border: 1px solid #525751;
Line 58: Line 58:
width: 321px;
width: 321px;
}
}
.test-snippet .inner-snippet .l2 span
.tooltip-frame .inner-snippet .l2 span
{
{
float:left;
float:left;
}
}
.test-snippet .inner-snippet .l2 .att-line
.tooltip-frame .inner-snippet .l2 .att-line
{
{
background-color: #1D1C23;
background-color: #1D1C23;
width: 100%;
width: 100%;
}
}
.test-snippet .inner-snippet .l2 .att-line .att-item
.tooltip-frame .inner-snippet .l2 .att-line .att-item
{
{
border-right: 2px solid black;
border-right: 2px solid black;
Line 73: Line 73:
padding: 0 3px 0 2px;
padding: 0 3px 0 2px;
}
}
}}<span class='test-snippet'>{{{shipname}}}<span style='margin-left: 3px; font-size: 60%; color: yellow;'>&#8595;</span>
.tooltip-frame .suppresslink
{
}
}}<span class='tooltip-frame'>{{{shipname}}}<span style='margin-left: 3px; font-size: 60%; color: yellow;'>&#8595;</span>
<span class='inner-snippet ship-info' style='width: 410px;'>
<span class='inner-snippet ship-info' style='width: 410px;'>
<span class='left' style='background-color: black; padding: 4px 0pt 4px 4px; width: 73px;'><span class='att-img'>[[Image:{{{shipimg}}}|73px|middle|{{{shipname}}}]]</span></span>
<span class='left' style='background-color: black; padding: 4px 0pt 4px 4px; width: 73px;'><span class='att-img'>[[Image:{{{shipimg}}}|73px|middle|{{{shipname}}}]]</span><span class='suppresslink'>&nbsp;</span></span>
<span class='right' style='margin-right: 4px; width: 327px;'>
<span class='right' style='margin-right: 4px; width: 327px;'>
<span style='background-color: black; float: left; padding: 4px; width: 100%;'>
<span style='background-color: black; float: left; padding: 4px; width: 100%;'>

Revision as of 20:44, 4 September 2011

{{{shipname}}} [[Image:{{{shipimg}}}|73px|middle|{{{shipname}}}]]  {{{shipname}}}[[Template:Ship.{{{shipname}}}|goto article ›]] {{{roles}}} {{{highs}}}high slotshigh {{{launchers}}}launcher slotslaunchers {{{turrets}}}turret slotsturrets {{{mediums}}}middle slotsmid {{{lows}}}low slotslow {{{dronebay}}}drone capacitydrones {{{bandwidth}}}drone bandwithb/w {{{cargohold}}}cargo capacitycargo