mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 15:15:34 +00:00
Tweak outfit page charts responsiveness
This commit is contained in:
@@ -1,16 +1,3 @@
|
|||||||
|
|
||||||
.chart {
|
|
||||||
.medPhone({
|
|
||||||
.axis {
|
|
||||||
font-size: 0.8em;
|
|
||||||
|
|
||||||
g.tick:nth-child(2n + 1) text {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
|
|
||||||
.axis {
|
.axis {
|
||||||
@@ -48,5 +35,3 @@ svg {
|
|||||||
stroke-width: 1px;
|
stroke-width: 1px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -162,8 +162,24 @@ table.total {
|
|||||||
});
|
});
|
||||||
|
|
||||||
.smallTablet({
|
.smallTablet({
|
||||||
overflow-x: auto;
|
width: 100% !important;
|
||||||
-webkit-overflow-scrolling: touch;
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
&.semi {
|
||||||
|
width: 50%;
|
||||||
|
|
||||||
|
.largePhone({
|
||||||
|
.axis {
|
||||||
|
font-size: 0.8em;
|
||||||
|
|
||||||
|
g.tick:nth-child(2n + 1) text {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
.medPhone({
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
<svg class="icon lg"><use xlink:href="#switch"></use></svg><span class="button-lbl">Reset</span>
|
<svg class="icon lg"><use xlink:href="#switch"></use></svg><span class="button-lbl">Reset</span>
|
||||||
</button>
|
</button>
|
||||||
<button ng-click="stripBuild()">
|
<button ng-click="stripBuild()">
|
||||||
<svg class="icon lg"><use xlink:href="#spinner11"></use></svg><span class="button-lbl">Strip</span>
|
<svg class="icon lg"><use xlink:href="#feather"></use></svg><span class="button-lbl">Low-Weight</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -56,7 +56,7 @@
|
|||||||
<td>{{fRound(ship.speed)}} <u>m/s</u></td>
|
<td>{{fRound(ship.speed)}} <u>m/s</u></td>
|
||||||
<td>{{fRound(ship.boost)}} <u>m/s</u></td>
|
<td>{{fRound(ship.boost)}} <u>m/s</u></td>
|
||||||
<td>{{ship.armourTotal}} <span ng-if="ship.armourAdded">({{ship.armour}} + {{ship.armourAdded}})</span></td>
|
<td>{{ship.armourTotal}} <span ng-if="ship.armourAdded">({{ship.armour}} + {{ship.armourAdded}})</span></td>
|
||||||
<td>{{fRound(ship.shieldStrength)}} <u>MJ</u> <span ng-if="ship.shieldMultiplier > 1">({{fRPct(ship.shieldMultiplier)}})</span></td>
|
<td>{{fRound(ship.shieldStrength)}} <u>MJ</u> <span ng-if="ship.shieldMultiplier > 1 && ship.shieldStrength > 0">({{fRPct(ship.shieldMultiplier)}})</span></td>
|
||||||
<td>{{fRound(ship.unladenMass)}} <u>T</u></td>
|
<td>{{fRound(ship.unladenMass)}} <u>T</u></td>
|
||||||
<td>{{fRound(ship.ladenMass)}} <u>T</u></td>
|
<td>{{fRound(ship.ladenMass)}} <u>T</u></td>
|
||||||
<td>{{fRound(ship.cargoCapacity)}} <u>T</u></td>
|
<td>{{fRound(ship.cargoCapacity)}} <u>T</u></td>
|
||||||
@@ -264,12 +264,12 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="group dbl">
|
<div class="group semi">
|
||||||
<h1>Jump Range</h1>
|
<h1>Jump Range</h1>
|
||||||
<div class="chart" area-chart config="jrChart" series="jrSeries"></div>
|
<div class="chart" area-chart config="jrChart" series="jrSeries"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="group dbl">
|
<div class="group semi">
|
||||||
<h1>Total Range</h1>
|
<h1>Total Range</h1>
|
||||||
<div class="chart" area-chart config="trChart" series="trSeries"></div>
|
<div class="chart" area-chart config="trChart" series="trSeries"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user