Font-size bump for tablets and phones on the outfitting screen. Seems to make life a bit easier. Also added a small-tablet size option which will fix a tiny visual bug on the outfitting screen with long ship names. Fixed a few other minor visual bugs. Also made clickable menu items bigger on tablets and phones.

This commit is contained in:
Maverick
2015-06-06 00:42:33 +10:00
parent 27c9f53649
commit 3fe369d59d
4 changed files with 26 additions and 3 deletions

View File

@@ -79,6 +79,15 @@ header {
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
max-height: 400px; max-height: 400px;
.tablet({
font-size: 1.1em;
max-height: 800px;
a {
padding: 0.3em 0;
}
});
&.dbl { &.dbl {
-webkit-column-count: 2; /* Chrome, Safari, Opera */ -webkit-column-count: 2; /* Chrome, Safari, Opera */
-moz-column-count: 2; /* Firefox */ -moz-column-count: 2; /* Firefox */

View File

@@ -7,6 +7,8 @@
.tablet({ .tablet({
width: 100%; width: 100%;
font-size: 1.2em;
max-width: 1600px;
}); });
&>.list { &>.list {
@@ -21,6 +23,10 @@
} }
#overview { #overview {
.tablet({
font-size: 0.9em;
});
h1 { h1 {
margin: 0; margin: 0;
float: left; float: left;
@@ -31,7 +37,8 @@
#summary { #summary {
overflow-x: auto; overflow-x: auto;
width: 100%; width: 100%;
margin: 1em 0 2em 0; margin: 1em 0 1em 0;
padding-bottom: 1em;
#summaryTable { #summaryTable {
.user-select-none(); .user-select-none();
@@ -87,7 +94,7 @@
.outfit-button-label { .outfit-button-label {
margin-left: 0.5em; margin-left: 0.5em;
.largePhone({ .smallTablet({
display: none; display: none;
}); });
} }

View File

@@ -21,6 +21,13 @@
} }
} }
.smallTablet(@rules) {
@media only screen and /*(min-width: 641px) and */(max-width: 820px) {
@rules();
}
}
.tablet(@rules) { .tablet(@rules) {
@media only screen and /*(min-width: 601px) and */(max-width: 1024px) { @media only screen and /*(min-width: 601px) and */(max-width: 1024px) {
@rules(); @rules();

View File

@@ -180,7 +180,7 @@
</div> </div>
</div> </div>
<div id="internal" class="slot-group r"> <div id="internal" class="slot-group l">
<h1>Internal Compartments</h1> <h1>Internal Compartments</h1>
<div class="slot" ng-repeat="i in ship.internal" ng-click="selectSlot($event, i)" ng-class="{selected: selectedSlot==i}"> <div class="slot" ng-repeat="i in ship.internal" ng-click="selectSlot($event, i)" ng-class="{selected: selectedSlot==i}">
<div slot-internal class="details" slot="i" lbl="igMap[i.c.grp]" ft="ft"></div> <div slot-internal class="details" slot="i" lbl="igMap[i.c.grp]" ft="ft"></div>