mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-10 07:05:35 +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 {
|
||||
|
||||
.axis {
|
||||
@@ -48,5 +35,3 @@ svg {
|
||||
stroke-width: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -162,8 +162,24 @@ table.total {
|
||||
});
|
||||
|
||||
.smallTablet({
|
||||
overflow-x: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
width: 100% !important;
|
||||
});
|
||||
}
|
||||
|
||||
&.semi {
|
||||
width: 50%;
|
||||
|
||||
.largePhone({
|
||||
.axis {
|
||||
font-size: 0.8em;
|
||||
|
||||
g.tick:nth-child(2n + 1) text {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
.medPhone({
|
||||
width: 100% !important;
|
||||
});
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<svg class="icon lg"><use xlink:href="#switch"></use></svg><span class="button-lbl">Reset</span>
|
||||
</button>
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
@@ -56,7 +56,7 @@
|
||||
<td>{{fRound(ship.speed)}} <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>{{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.ladenMass)}} <u>T</u></td>
|
||||
<td>{{fRound(ship.cargoCapacity)}} <u>T</u></td>
|
||||
@@ -264,12 +264,12 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="group dbl">
|
||||
<div class="group semi">
|
||||
<h1>Jump Range</h1>
|
||||
<div class="chart" area-chart config="jrChart" series="jrSeries"></div>
|
||||
</div>
|
||||
|
||||
<div class="group dbl">
|
||||
<div class="group semi">
|
||||
<h1>Total Range</h1>
|
||||
<div class="chart" area-chart config="trChart" series="trSeries"></div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user