diff --git a/app/less/app.less b/app/less/app.less index 605adc90..fa92591c 100755 --- a/app/less/app.less +++ b/app/less/app.less @@ -31,6 +31,7 @@ body { margin: 0; padding: 0; font-family: @fStandard; + letter-spacing: 0.05em; } div, a, li { @@ -39,7 +40,7 @@ div, a, li { #main { margin: 0; - padding: 0.5em 0.25em; + padding: 0.5em 0; min-height: 90%; clear: both; text-align: center; @@ -69,6 +70,11 @@ div, a, li { text-align: center; } +.scroll-x { + overflow-x: auto; + -webkit-overflow-scrolling: touch; +} + h1 { font-family: @fTitle; color: @primary; @@ -79,11 +85,13 @@ h2 { text-transform: uppercase; font-family: @fStandard; font-size: 1.2em; + font-weight: normal; } h3 { text-transform: uppercase; font-family: @fStandard; + font-weight: normal; font-size: 1em; margin: 0.2em 0; color: @primary; diff --git a/app/less/buttons.less b/app/less/buttons.less index 3157599e..e5e42973 100755 --- a/app/less/buttons.less +++ b/app/less/buttons.less @@ -27,4 +27,12 @@ button { fill: @disabled; } } -} \ No newline at end of file +} + +.button-lbl { + margin-left: 0.5em; + + .smallTablet({ + display: none; + }); +} diff --git a/app/less/charts.less b/app/less/charts.less index da0a150b..196b4958 100755 --- a/app/less/charts.less +++ b/app/less/charts.less @@ -4,6 +4,18 @@ display: inline-block; margin: 0; cursor: default; + overflow: hidden; + + width: 33%; + box-sizing: border-box; + + .tablet({ + width: 50%; + }); + + .smallTablet({ + width: 100%; + }); h3 { text-align: center; @@ -41,7 +53,7 @@ svg { } .label { - font-size: 0.9em; + font-size: 0.75em; fill: @fg; } diff --git a/app/less/colors.less b/app/less/colors.less index bd8d96c7..afbc3f31 100755 --- a/app/less/colors.less +++ b/app/less/colors.less @@ -5,6 +5,7 @@ // Foreground colors @fg: #CCC; +@muted: #999; @primary: #FF8C0D; // Light Orange @secondary: #1FB0FF; // Light blue @warning: #FF3B00; // Dark Orange diff --git a/app/less/comparison.less b/app/less/comparison.less index 6c1731c0..559c169c 100755 --- a/app/less/comparison.less +++ b/app/less/comparison.less @@ -3,6 +3,8 @@ display: inline-block; text-align: left; border-collapse: collapse; + text-transform: uppercase; + font-size: 0.9em; td { border: 1px solid @primary-disabled; @@ -13,6 +15,10 @@ line-height: 2em; display: inline-block; } + + .tablet({ + font-size: 0.8em; + }); } input { @@ -39,10 +45,6 @@ margin: 0; padding: 0; - .tablet({ - font-size: 0.8em; - }); - .as-sortable-placeholder { background-color: @primary-bg; } @@ -80,9 +82,7 @@ #build-select { clear: both; margin: 1em 0 0; - height: 10em; - white-space: nowrap; - overflow:hidden; + overflow-y:auto; h1 { display: inline-block; @@ -91,21 +91,25 @@ } table { + box-sizing: border-box; display: inline-block; - width: 20em; + width: 40%; vertical-align: top; + .smallTablet({ + width: 100%; + }); + thead { display: block; - text-align: center; } tbody { display: block; - overflow-x: hidden; overflow-y: auto; z-index: 0; -webkit-overflow-scrolling: touch; + height: 8em; max-height: 8em; } } @@ -117,7 +121,10 @@ #comp-tbl { margin: 1em auto; + white-space: nowrap; + font-size: 0.8em; + .tablet({ - font-size: 0.85em; + font-size: 0.7em; }); } diff --git a/app/less/header.less b/app/less/header.less index 23b2303f..f8502630 100755 --- a/app/less/header.less +++ b/app/less/header.less @@ -18,7 +18,7 @@ header { background-color: @bg; margin: 0; - padding: 0 1em; + padding: 0 0 0 1em; height: 3em; line-height: 3em; font-family: @fTitle; @@ -37,6 +37,10 @@ header { right: 0; } } + + .smallTablet({ + position: initial; + }); } .menu-header { @@ -73,21 +77,28 @@ header { min-width: 100%; overflow-x: hidden; background-color: @bgBlack; - font-size: 0.8em; + font-size: 0.9em; overflow-y: auto; z-index: 0; -webkit-overflow-scrolling: touch; - max-height: 400px; + max-height: 500px; + + .smallTablet({ + max-height: 400px; + left: 0; + right: 0; + border-bottom: 1px solid @bg; + }); + .tablet({ - font-size: 1.1em; - max-height: 800px; - a { padding: 0.3em 0; } }); + + &.dbl { -webkit-column-count: 2; /* Chrome, Safari, Opera */ -moz-column-count: 2; /* Firefox */ @@ -99,12 +110,14 @@ header { } ul { + white-space: nowrap; margin: 0 0 0.5em; padding: 0; line-height: 1.3em; } li { + white-space: normal; list-style: none; margin-left: 1em; line-height: 1.1em; @@ -115,10 +128,6 @@ header { color: @warning; text-decoration: none; - &.name { - font-family: Helvetica, Arial, sans-serif; - } - &:visited { color: @warning; } diff --git a/app/less/list.less b/app/less/list.less index a4ec720f..66a965f4 100755 --- a/app/less/list.less +++ b/app/less/list.less @@ -1,65 +1,37 @@ -.list { - margin: 1em 0; - cursor: default; - font-size: 0.8em; - min-width: 25%; - text-align: left; - .user-select-none(); - box-sizing: border-box; - .header { - width: 100%; - margin-bottom: 0.4em; - font-family: @fStandard; - color: @bgBlack; - background-color: @primary-disabled; - text-transform: uppercase; - text-align: center; - } +.items { + margin-bottom: 10px; + clear: both; + overflow: hidden; - table { - width: 100%; - text-align: right; - td { - padding-right: 0.5em; - } - } - - .items { - margin-bottom: 10px; + .item { clear: both; + margin: 1px 0 0; overflow: hidden; - .item { - clear: both; - margin: 1px 0 0; - overflow: hidden; + .val { + float:right; + text-align: right; + } - .val { - float:right; - text-align: right; - } + .lbl { + float: left; + } + color: @disabled; + cursor: pointer; - .lbl { - float: left; - } - color: @disabled; - cursor: pointer; + &.enabled { + color: @fg; + } - &.enabled { - color: @fg; - } - - &.consumer { - .val:before { - content: "-"; - } - } - - &.untoggleable { - cursor: default; + &.consumer { + .val:before { + content: "-"; } } - } + &.untoggleable { + cursor: default; + } + } } diff --git a/app/less/modal.less b/app/less/modal.less index 394f9988..3bbfa50d 100755 --- a/app/less/modal.less +++ b/app/less/modal.less @@ -16,10 +16,20 @@ left:50%; top:50%; transform:translate(-50%,-50%); -webkit-transform:translate(-50%,-50%); - max-width: 75%; - padding: 3em; + width: 75%; + max-width: 1000px; + max-height: 100%; + padding: 2em; background-color: @bgBlack; + box-sizing: border-box; border: 1px solid @primary; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + + .smallTablet({ + padding: 1em; + width: 100%; + }); h1 { margin: 0.2em 0; @@ -29,7 +39,6 @@ margin: 0; } p { - min-width: 30em; text-align: justify; } } @@ -42,8 +51,8 @@ textarea { &.json { display:block; - width:50em; - height: 25em; + width:100%; + min-height: 10em; resize: vertical; margin:2em 0; } diff --git a/app/less/outfit.less b/app/less/outfit.less index 948ac33d..e3801c6c 100755 --- a/app/less/outfit.less +++ b/app/less/outfit.less @@ -1,25 +1,12 @@ #outfit { - font-size: 1.1em; - max-width: 1200px; + max-width: 1600px; margin: 0 auto; .user-select-none(); .tablet({ width: 100%; - font-size: 1.2em; - max-width: 1600px; }); - - &>.list { - .tablet({ - width: 49%; - }); - - .largePhone({ - width: 100%; - }); - } } #overview { @@ -36,19 +23,18 @@ #summary { overflow-x: auto; + -webkit-overflow-scrolling: touch; + box-sizing: border-box; width: 100%; - margin: 1em 0 1em 0; - padding-bottom: 1em; - + padding: 0.5em 0.2em; + #summaryTable { .user-select-none(); width: 100%; + white-space: nowrap; border-collapse: collapse; font-size: 0.8em; - tbody td { - padding: 0 0.5em; - } } } @@ -61,6 +47,7 @@ background: none; line-height: 1.5em; font-size: 0.8em; + width: 20em; box-sizing: border-box; display: inline-block; padding: 0.5em; @@ -75,38 +62,51 @@ padding: 0.25em; }); } -} - -#hardpoints, #utility, #standard { - padding-right: 0.3em; - .slot { + .largePhone({ + float: left; clear: left; - } -} - -#internal { - .slot { - clear: left; - } -} - -.outfit-button-label { - margin-left: 0.5em; - - .smallTablet({ - display: none; }); } -#jumpRange { - width: 50%; - padding: 0 0.5em; +.group { + width: 25%; + padding: 0.5em 0.2em; + vertical-align: top; + box-sizing: border-box; + display: inline-block; + .user-select-none(); + cursor: default; + + h1 { + font-family: @fStandard; + color: @bgBlack; + background-color: @primary-disabled; + text-transform: uppercase; + margin: 0; + font-size: 1em; + line-height: 1.3em; + font-weight: normal; + } .tablet({ - float: right; - clear: both; - display: block; - width: 100% !important; + font-size: 0.9em; }); -} \ No newline at end of file + + .smallTablet({ + width: 50%; + }); + + .largePhone({ + width: 100%; + }); + + &.dbl { + width: 50%; + + .smallTablet({ + width: 100% !important; + }); + } + +} diff --git a/app/less/responsive.less b/app/less/responsive.less index 49713627..d12d472f 100644 --- a/app/less/responsive.less +++ b/app/less/responsive.less @@ -22,12 +22,11 @@ } .smallTablet(@rules) { - @media only screen and /*(min-width: 641px) and */(max-width: 820px) { + @media only screen and /*(min-width: 641px) and */(max-width: 1000px) { @rules(); } } - .tablet(@rules) { @media only screen and /*(min-width: 601px) and */(max-width: 1024px) { @rules(); diff --git a/app/less/select.less b/app/less/select.less index baf0f42c..98e8c8de 100755 --- a/app/less/select.less +++ b/app/less/select.less @@ -16,6 +16,7 @@ text-align: center; .select-group { + line-height: 1.5em; text-align: left; margin: 0.5em 0; padding-left: 5px; @@ -45,7 +46,7 @@ } } - @optionSpacing: 1.8em; + @optionSpacing: 2em; .lc { line-height:@optionSpacing; @@ -90,8 +91,8 @@ &.hardpoint { .c { - width: 4em; - padding: 0.1em 0.5em; + width: 4.4em; + padding: 0.1em 0.2em; } ul { width: 17em; diff --git a/app/less/slider.less b/app/less/slider.less index f7a9f19f..d76afd17 100644 --- a/app/less/slider.less +++ b/app/less/slider.less @@ -6,7 +6,7 @@ } text { - font-size: 0.8em; + font-size: 0.7em; fill: @primary-disabled; } @@ -26,6 +26,7 @@ text { dominant-baseline: central; fill: @primary; + font-size: 0.8em; } .filled { diff --git a/app/less/slot.less b/app/less/slot.less index d22b79f5..c30717fd 100755 --- a/app/less/slot.less +++ b/app/less/slot.less @@ -1,41 +1,10 @@ -.slot-group { - width: 25%; - margin: 0; - box-sizing: border-box; - display: inline-block; - .user-select-none(); - cursor: default; - - h1 { - font-family: @fStandard; - color: @bgBlack; - background-color: @primary-disabled; - text-transform: uppercase; - margin: 0.1em 0; - font-size: 0.8em; - padding-left: 0.5em; - font-weight: normal; - } - - .tablet({ - width: 50%; - h1 { - margin: 1em 0 0 0; - } - }); - - .largePhone({ - width: 100%; - }); -} - .slot { float: left; text-align: left; width: 100%; - font-size: 0.75em; - margin-top: 0.5em; + font-size: 0.85em; + margin-top: 0.25em; position: relative; z-index: 0; padding-right: 0.4em; @@ -44,10 +13,12 @@ background-color: @primary-bg; border: 1px solid @primary-disabled; color: @fg; - fill: @disabled; + fill: @fg; .details { min-height: 2.5em; + padding: 0.25em 0; + box-sizing: border-box; overflow: hidden; height: 100%; cursor: pointer; @@ -73,6 +44,7 @@ color: @primary-disabled; border-right: 1px solid @primary-disabled; box-sizing: border-box; + padding-top: 0.2em; } .empty { @@ -85,6 +57,7 @@ &.selected { color: @primary-bg; + fill: @primary-bg; background-color: @primary; border: 1px solid @primary; z-index: 1; diff --git a/app/less/table.less b/app/less/table.less index 8fdfbed7..63076b71 100755 --- a/app/less/table.less +++ b/app/less/table.less @@ -13,6 +13,8 @@ table { thead { color: @bgBlack; background-color: @primary-disabled; + text-transform: uppercase; + line-height: 1.4em; .user-select-none(); .main th { @@ -52,14 +54,11 @@ tbody tr { fill: @warning; background-color: @warning-bg; } + } - svg { - cursor: pointer; - } - - td { - padding: 0 0.7em; - } + td { + line-height: 1.4em; + padding: 0 0.7em; } } diff --git a/app/less/utilities.less b/app/less/utilities.less index 93d855ec..1f56b7f0 100755 --- a/app/less/utilities.less +++ b/app/less/utilities.less @@ -28,4 +28,4 @@ -moz-user-select: none; -ms-user-select: none; user-select: none; -} +} \ No newline at end of file diff --git a/app/views/_header.html b/app/views/_header.html index 04ec2a5c..a94ada8d 100755 --- a/app/views/_header.html +++ b/app/views/_header.html @@ -9,7 +9,7 @@ - @@ -18,7 +18,7 @@ - \ No newline at end of file diff --git a/app/views/page-outfit.html b/app/views/page-outfit.html index 1804a085..0ce52ba5 100755 --- a/app/views/page-outfit.html +++ b/app/views/page-outfit.html @@ -3,18 +3,18 @@

- +
@@ -69,7 +69,7 @@ -
+

Standard

@@ -105,8 +105,8 @@
{{th.id}} Thrusters
{{th.c.mass}} T
-
Opt: {{th.c.optmass}} T
-
Max: {{th.c.maxmass}} T
+
Optimal Mass: {{th.c.optmass}} T
+
Max Mass: {{th.c.maxmass}} T
@@ -116,7 +116,7 @@
{{fsd.id}} Frame Shift Drive
{{fsd.c.mass}} T
-
Opt: {{fsd.c.optmass}} T
+
Optimal Mass: {{fsd.c.optmass}} T
Max Fuel: {{fsd.c.maxfuel}} T
@@ -149,7 +149,7 @@
{{ss.id}} Sensors
{{ss.c.mass}} T
-
{{ss.c.range}} KM
+
Range: {{ss.c.range}} KM
@@ -163,7 +163,17 @@ -
+
+

Internal Compartments

+
+
+
+
+
+
+
+ +

HardPoints

@@ -173,7 +183,7 @@
-
+

Utility Mounts

@@ -183,20 +193,8 @@
-
-

Internal Compartments

-
-
-
-
-
-
-
- -
- -
-
Power Use
+
+

Power Use

Generated
@@ -230,8 +228,8 @@
-
-
Costs
+
+

Costs

{{ship.name}}
{{fCrd(ship.cost)}}
@@ -260,10 +258,10 @@
-
-
Jump Range
+
+

Jump Range

-
+