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

Template:ShipFitting: Difference between revisions

Template page
Replaced the images used for the vertical-text headers with CSS that does the same thing. If this breaks anything, please revert; I'm going to test on the latest versions of IE, Chrome, and Firefox.
Undo revision 80678 by Proton zero (talk) because it breaks the ingame browser compatibility, see talk-page.
Line 113: Line 113:
}
}


.shipFitting .mainSlots .slotLabelContainer {
.shipFitting .mainSlots .slotLabel {
width: 20px;
width: 18px;
height: 48px;
height: 46px;
border: solid 1px #404040;
margin-right: 4px;
margin-right: 4px;
float: left;
float: left;
}
.shipFitting .mainSlots .slotLabel {
width: 46px;
height: 18px;
border: solid 1px #404040;
font-size: 10px;
line-height: 18px;
-moz-transform:    matrix(0.000, -1.000, 1.000, 0.000, 0.000px, 48.000px);
-webkit-transform: matrix(0.000, -1.000, 1.000, 0.000, 0.000, 48.000);
-ms-transform:    matrix(0.000, -1.000, 1.000, 0.000, 0.000, 48.000);
-o-transform:      matrix(0.000, -1.000, 1.000, 0.000, 0.000, 48.000);
transform:        matrix(0.000, -1.000, 1.000, 0.000, 0.000, 48.000);
transform-origin: 0.0px 0.0px;
}
}


Line 163: Line 151:
margin-bottom: 6px;
margin-bottom: 6px;
}
}
.shipFitting .subSlots .slotLabelContainer {
 
.shipFitting .subSlots .slotLabel {
width: 12px;
width: 12px;
height: 30px;
height: 30px;
border: solid 1px #404040;
margin-right: 4px;
margin-right: 4px;
float: left;
float: left;
}
.shipFitting .subSlots .slotLabel {
width: 30px;
height: 12px;
border: solid 1px #404040;
font-size: 10px;
line-height: 12px;
-moz-transform:    matrix(0.000, -1.000, 1.000, 0.000, 0.000px, 32.000px);
-webkit-transform: matrix(0.000, -1.000, 1.000, 0.000, 0.000, 32.000);
-ms-transform:    matrix(0.000, -1.000, 1.000, 0.000, 0.000, 32.000);
-o-transform:      matrix(0.000, -1.000, 1.000, 0.000, 0.000, 32.000);
transform:        matrix(0.000, -1.000, 1.000, 0.000, 0.000, 32.000);
transform-origin: 0.0px 0.0px;
}
}


Line 397: Line 374:
<div class="main">
<div class="main">
<div class="mainSlots highSlots">
<div class="mainSlots highSlots">
<div class="slotLabelContainer"><div class="slotLabel">HIGH</div></div>
<div class="slotLabel">[[File: Fitting template high slot label.png|18x46px|center|link=]]</div>


{{#switch: {{{high1name|none}}} | none = <div class="module high inactive"> |  
{{#switch: {{{high1name|none}}} | none = <div class="module high inactive"> |  
Line 433: Line 410:
<div class="mainSlots midSlots">
<div class="mainSlots midSlots">
<div class="slotLabelContainer"><div class="slotLabel">MID</div></div>
<div class="slotLabel">[[File: Fitting template mid slots label.png|18x46px|center|link=]]</div>


{{#switch: {{{mid1name|none}}} | none = <div class="module mid inactive"> |  
{{#switch: {{{mid1name|none}}} | none = <div class="module mid inactive"> |  
Line 469: Line 446:
<div class="mainSlots lowSlots">
<div class="mainSlots lowSlots">
<div class="slotLabelContainer"><div class="slotLabel">LOW</div></div>
<div class="slotLabel">[[File: Fitting template low slots label.png|18x46px|center|link=]]</div>


{{#switch: {{{low1name|none}}} | none = <div class="module low inactive"> |  
{{#switch: {{{low1name|none}}} | none = <div class="module low inactive"> |  
Line 507: Line 484:
<div class="sub">
<div class="sub">
<div class="subSlots subsystems">
<div class="subSlots subsystems">
<div class="slotLabelContainer"><div class="slotLabel">SUB</div></div>
<div class="slotLabel">[[File: Fitting template subsystem slots label.png|18x30px|center|link=]]</div>


{{#switch: {{{subsystem1name|none}}} | none = <div class="subMod subsystem inactive"> |  
{{#switch: {{{subsystem1name|none}}} | none = <div class="subMod subsystem inactive"> |  
Line 531: Line 508:
<div class="subSlots drones">
<div class="subSlots drones">
<div class="slotLabelContainer"><div class="slotLabel">DRN</div></div>
<div class="slotLabel">[[File: Fitting template drone slots label.png|18x30px|center|link=]]</div>


{{#switch: {{{drone1name|none}}} | none = <div class="subMod drone inactive"> |  
{{#switch: {{{drone1name|none}}} | none = <div class="subMod drone inactive"> |  
Line 555: Line 532:
<div class="subSlots charges">
<div class="subSlots charges">
<div class="slotLabelContainer"><div class="slotLabel">CHRG</div></div>
<div class="slotLabel">[[File: Fitting template charge slots label.png|18x30px|center|link=]]</div>


{{#switch: {{{charge1name|none}}} | none = <div class="subMod charge inactive"> |  
{{#switch: {{{charge1name|none}}} | none = <div class="subMod charge inactive"> |  
Line 579: Line 556:


<div class="subSlots rigs">
<div class="subSlots rigs">
<div class="slotLabelContainer"><div class="slotLabel">RIG</div></div>
<div class="slotLabel">[[File: Fitting template rig slots label.png|18x30px|center|link=]]</div>


{{#switch: {{{rig1name|none}}} | none = <div class="subMod rig inactive"> |  
{{#switch: {{{rig1name|none}}} | none = <div class="subMod rig inactive"> |