diff --git a/app/less/outfit.less b/app/less/outfit.less index 2a4313c2..826e5dbb 100755 --- a/app/less/outfit.less +++ b/app/less/outfit.less @@ -160,3 +160,68 @@ table.total { }); } } + +#componentPriority { + .tablet({ + text.primary, text.warning, text.primary-bg { + font-size: 0.8em; + } + + table tbody tr td { + &:nth-child(4) { + span { + display: inline; + padding:0; + margin:0; + font-size: 2em; + } + } + } + }); + + .medPhone({ + .axis { + font-size: 0.8em; + + g.tick:nth-child(2n) text { + display: none; + } + } + + table thead tr.main th { + font-size: 0.8em; + + &:nth-child(2) { + display: none; + } + } + + table tbody tr td { + &:nth-child(1) { + padding: 0; + margin: 0; + max-width: 0; + width: 0; + color: transparent; + } + &:nth-child(3) { + display: none; + } + &:nth-child(2) { + font-size: 0.7em; + } + } + }); + + .smallPhone({ + table tbody tr td { + &:nth-child(6) { + padding: 0; + margin: 0; + max-width: 0; + width: 0; + color: transparent; + } + } + }); +} diff --git a/app/views/page-outfit.html b/app/views/page-outfit.html old mode 100755 new mode 100644 index 23f9520a..0c1753dd --- a/app/views/page-outfit.html +++ b/app/views/page-outfit.html @@ -193,8 +193,8 @@ -
- +
+
@@ -221,7 +221,7 @@ - + @@ -230,7 +230,7 @@
Component{{c.c.class}}{{c.c.rating}} {{c.priority + 1}} {{c.priority + 1}} {{fPwr(c.c.power)}} {{f1Pct(c.c.power/ship.powerAvailable)}} DISABLED
-
+