UI & UX improvements

This commit is contained in:
Colin McLeod
2015-05-28 02:21:03 -07:00
parent d2c6f0cf8f
commit 91b42372fb
7 changed files with 23 additions and 16 deletions

View File

@@ -104,6 +104,8 @@
display: block; display: block;
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; overflow-y: auto;
z-index: 0;
-webkit-overflow-scrolling: touch;
max-height: 8em; max-height: 8em;
} }
} }

View File

@@ -51,6 +51,8 @@ header {
background-color: @bgBlack; background-color: @bgBlack;
font-size: 0.8em; font-size: 0.8em;
overflow-y: auto; overflow-y: auto;
z-index: 0;
-webkit-overflow-scrolling: touch;
max-height: 400px; max-height: 400px;
&.dbl { &.dbl {

View File

@@ -1,10 +1,11 @@
.list { .list {
overflow: hidden; margin: 1em 0;
cursor: default; cursor: default;
font-size: 0.8em; font-size: 0.8em;
min-width: 21em; min-width: 25%;
text-align: left; text-align: left;
.user-select-none(); .user-select-none();
box-sizing: border-box;
.header { .header {
width: 100%; width: 100%;

View File

@@ -1,17 +1,15 @@
#outfit { #outfit {
font-size: 1.1em; font-size: 1.1em;
max-width: 1200px;
// iPads Landscape
.tablet({
& {
font-size: 0.95em;
}
});
width: 64em;
margin: 0 auto; margin: 0 auto;
.user-select-none(); .user-select-none();
.tablet({
min-width: 760px;
font-size: 0.8em;
});
} }
#overview { #overview {
@@ -25,7 +23,7 @@
#summary { #summary {
.user-select-none(); .user-select-none();
width: 100%; width: 100%;
margin-top: 1em; margin: 1em 0;
font-size: 0.8em; font-size: 0.8em;
border-collapse: collapse; border-collapse: collapse;
@@ -56,7 +54,7 @@
#hardpoints, #utility, #standard { #hardpoints, #utility, #standard {
margin-right: 0.3em; padding-right: 0.3em;
.slot { .slot {
clear: left; clear: left;
} }

View File

@@ -8,6 +8,8 @@
max-height: 300px; max-height: 300px;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
z-index: 0;
-webkit-overflow-scrolling: touch;
background-color: @bg; background-color: @bg;
border: 1px solid @primary; border: 1px solid @primary;
white-space: nowrap; white-space: nowrap;

View File

@@ -1,6 +1,8 @@
.slot-group { .slot-group {
margin: 1em 0; width: 25%;
margin: 0;
box-sizing: border-box;
.user-select-none(); .user-select-none();
cursor: default; cursor: default;
@@ -19,7 +21,7 @@
.slot { .slot {
float: left; float: left;
text-align: left; text-align: left;
width: 21em; width: 100%;
font-size: 0.75em; font-size: 0.75em;
margin-top: 0.5em; margin-top: 0.5em;
position: relative; position: relative;

View File

@@ -216,7 +216,7 @@
</table> </table>
</div> </div>
<div class="list l" style="width: 37em; margin: 0 0.5em;"> <div class="list l" style="width: 50%;padding: 0 0.5em;">
<div class="header">Jump Range</div> <div class="header">Jump Range</div>
<div class="cen"> <div class="cen">
<div class="chart" area-chart config="jrChart" series="jrSeries"></div> <div class="chart" area-chart config="jrChart" series="jrSeries"></div>