mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 06:43:24 +00:00
Tweak select look and feel on firefox, safari
This commit is contained in:
@@ -1,12 +1,25 @@
|
|||||||
select {
|
select {
|
||||||
.border-radius(0);
|
.border-radius(0);
|
||||||
|
cursor: pointer;
|
||||||
background: none;
|
background: none;
|
||||||
color: @primary-disabled;
|
color: @primary-disabled;
|
||||||
border: 1px solid @primary-disabled;
|
|
||||||
outline: none;
|
|
||||||
font-family: @fStandard;
|
font-family: @fStandard;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
-webkit-appearance: none;
|
||||||
|
-moz-appearance: none;
|
||||||
|
appearance: none;
|
||||||
|
padding: 0.1em 0.5em;
|
||||||
|
outline:none;
|
||||||
|
border: 0;
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
outline:none;
|
||||||
|
}
|
||||||
|
|
||||||
|
&::-moz-focus-inner {
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.select {
|
.select {
|
||||||
|
|||||||
@@ -33,14 +33,15 @@
|
|||||||
<th rowspan="2">DPS</th>
|
<th rowspan="2">DPS</th>
|
||||||
<th rowspan="2">Armour</th>
|
<th rowspan="2">Armour</th>
|
||||||
<th rowspan="2">Shields</th>
|
<th rowspan="2">Shields</th>
|
||||||
<th colspan="2">Mass</th>
|
<th colspan="3">Mass</th>
|
||||||
<th rowspan="2">Cargo</th>
|
<th rowspan="2">Cargo</th>
|
||||||
<th rowspan="2">Fuel</th>
|
<th rowspan="2">Fuel</th>
|
||||||
<th colspan="3">Jump Range</th>
|
<th colspan="3">Jump Range</th>
|
||||||
<th colspan="3">Total Range</th>
|
<th colspan="3">Total Range</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="lft">Unladen</th>
|
<th class="lft">Hull</th>
|
||||||
|
<th>Unladen</th>
|
||||||
<th>Laden</th>
|
<th>Laden</th>
|
||||||
<th class="lft">Max</th>
|
<th class="lft">Max</th>
|
||||||
<th>Full Tank</th>
|
<th>Full Tank</th>
|
||||||
@@ -59,6 +60,7 @@
|
|||||||
<td>{{fRound(ship.totalDps)}}</td>
|
<td>{{fRound(ship.totalDps)}}</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 && ship.shieldStrength > 0">({{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>{{ship.mass}} <u>T</u></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>
|
||||||
@@ -314,14 +316,16 @@
|
|||||||
<table class="total">
|
<table class="total">
|
||||||
<tr class="ri">
|
<tr class="ri">
|
||||||
<td class="lbl">Cost</td>
|
<td class="lbl">Cost</td>
|
||||||
<td ng-class="retrofitTotal > 0 ? 'warning' : 'secondary-disabled'">{{fCrd(retrofitTotal)}} <u>CR</u></td>
|
<td colspan="2" ng-class="retrofitTotal > 0 ? 'warning' : 'secondary-disabled'">{{fCrd(retrofitTotal)}} <u>CR</u></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="ri">
|
<tr class="ri">
|
||||||
<td class="lbl">Retrofitting from</td>
|
<td class="lbl">Retrofitting from</td>
|
||||||
<td style="padding:0;">
|
<td class="cen" style="border-right:none;width: 1em;"><u class="primary-disabled">▾</u></td>
|
||||||
<select style="width: 100%; border: none;" ng-model="$parent.retrofitBuild" ng-change="setRetrofitBase()" ng-options="name as name for (name, build) in allBuilds[ship.id]">
|
<td style="border-left:none;padding:0;">
|
||||||
|
<select style="width: 100%;padding: 0" ng-model="$parent.retrofitBuild" ng-change="setRetrofitBase()" ng-options="name as name for (name, build) in allBuilds[ship.id]">
|
||||||
<option value="">Stock / Standard</option>
|
<option value="">Stock / Standard</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "coriolis_shipyard",
|
"name": "coriolis_shipyard",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/cmmcleod/coriolis"
|
"url": "https://github.com/cmmcleod/coriolis"
|
||||||
|
|||||||
Reference in New Issue
Block a user