From 9ee1ed13530afeaef43cea33986dfe56cbc8a6b2 Mon Sep 17 00:00:00 2001 From: Simon Brooke Date: Sun, 1 Oct 2023 16:45:59 +0100 Subject: [PATCH] - ALL inline styles removed --- Mongoose_Traveller2e/MongooseTraveller.css | 46 ++++- Mongoose_Traveller2e/MongooseTraveller.html | 205 +++++++++----------- 2 files changed, 140 insertions(+), 111 deletions(-) diff --git a/Mongoose_Traveller2e/MongooseTraveller.css b/Mongoose_Traveller2e/MongooseTraveller.css index ca3e5000512a..5a2e275535d8 100644 --- a/Mongoose_Traveller2e/MongooseTraveller.css +++ b/Mongoose_Traveller2e/MongooseTraveller.css @@ -169,6 +169,10 @@ input[type="number"]:hover { height: 75px; } +.sheet-narrowtext textarea { + height: 40px; +} + .sheet-bold { font-weight: bold; } @@ -1363,6 +1367,15 @@ button.btn.repcontrol_edit::after { display: flex; } +.sheet-trade_content div:first-child { + margin-right: 3px; + width: 15%; +} + +.sheet-trade_content div:nth-child(2) { + width: 85%; +} + .sheet-speculative, .sheet-speculative-subpanel { border: red solid 1px; @@ -1395,12 +1408,20 @@ button.btn.repcontrol_edit::after { width: 2%; } +div.sheet-speculativegoods h3 { + margin-left: 5px; +} + div.sheet-speculativegoods-row-pg { display: grid; grid-template-columns: 32px 210px 100px 85px 95px 70px 80px; column-gap: 5px; } +div.sheet-speculativegoods-row-pg h5:first-child, +div.sheet-speculativegoods-row-pg span:first-child { + margin-left: 5px; +} div.sheet-speculativegoods-row { display: grid; grid-template-columns: 22px 190px 100px 75px 80px 70px 75px 75px 40px; @@ -1795,6 +1816,10 @@ sheet-vehicle h3 { height: 30px !important; } +.sheet-laf-weaponlist select { + width: 85px; +} + .sheet-laf-ship { grid-template-columns: 2fr 5fr 1fr 5fr 1fr 1fr 1fr; margin-bottom: 3px; @@ -1841,7 +1866,16 @@ sheet-vehicle h3 { .sheet-laf-animal-init { width: 75%; - grid-template-columns: 0.25fr 0.25fr 1fr 0.01fr; + grid-template-columns: 0.25fr 0.25fr 5fr; +} +.sheet-laf-animal-init span { + margin-top: 5px; +} + +.sheet-laf-animal-init button { + height: 28px !important; + padding: 0; + margin: 0px !important; } .sheet-laf-animal-detail { @@ -2205,4 +2239,14 @@ input.sheet-laf-ship-component-hider { .sheet-skill-toggles { display: grid; grid-template-columns: 0.5fr 1fr 0.5fr 1fr 0.5fr 1fr 0.5fr 6fr; +} + +.sheet-trade-passagetype { + display: grid; + grid-template-columns: 1fr 0.1fr 0.35fr 0.1fr 1fr 0.1fr 1fr 0.1fr 1fr 0.1fr 1fr; +} + +.sheet-trade-parsecs { + display: grid; + grid-template-columns: 0.97fr 0.1fr 0.35fr 0.1fr 0.35fr 0.1fr 0.35fr 0.1fr 0.35fr 0.1fr 0.35fr 0.1fr 0.35fr 2fr; } \ No newline at end of file diff --git a/Mongoose_Traveller2e/MongooseTraveller.html b/Mongoose_Traveller2e/MongooseTraveller.html index d524a79c8770..32e1c1e84971 100644 --- a/Mongoose_Traveller2e/MongooseTraveller.html +++ b/Mongoose_Traveller2e/MongooseTraveller.html @@ -1806,10 +1806,11 @@

Weapons

- - + + @@ -1822,13 +1823,13 @@

Weapons

- - + - + @@ -1839,13 +1840,13 @@

Weapons

- - + - + @@ -1856,13 +1857,13 @@

Weapons

- - + - + @@ -1873,13 +1874,13 @@

Weapons

- - + - + @@ -1890,13 +1891,13 @@

Weapons

- - + - + @@ -1908,14 +1909,14 @@

Weapons

- - + - + @@ -2145,7 +2146,7 @@

Weapons

- @@ -2161,7 +2162,7 @@

Weapons

- @@ -2228,7 +2229,7 @@

NPC Skills



@@ -2278,7 +2279,7 @@

Armour

Weapons

-
+
Roll Weapon Skill Total @@ -2295,7 +2296,7 @@

Weapons

- @@ -2312,14 +2313,14 @@

Weapons

- - + - + @@ -2386,10 +2387,10 @@
Speed

-
- Mod:  +
+ Mod:  -
@@ -2472,7 +2473,7 @@
Speed

Sensors

- Type + Type Sensor Mod Player Mod Roll @@ -2972,7 +2973,7 @@

Details

Sensors

- Type + Type Sensor Mod Player Mod Roll @@ -3051,20 +3052,22 @@

Weapons



-

Traits

- -
-
-

Equipment

- -
-
-

Description

- -
-
-

Notes

- +
+

Traits

+ +
+
+

Equipment

+ +
+
+

Description

+ +
+
+

Notes

+ +
@@ -3095,7 +3098,7 @@

Notes

 Cargo Manifest   -
+

Group Funds: Cr

@@ -3203,53 +3206,28 @@

-
- - - - - - - - - -
Passage Type - All - - High Passage - - Medium Passage - - Basic Passage - - Low Passage -
+
+ Passage Type + + All + + High Passage + + Medium Passage + + Basic Passage + + Low Passage

-
- - - - - - - - - - -
Parsecs - 1 - - 2 - - 3 - - 4 - - 5 - - 6 -
+
+ Parsecs + 1 + 2 + 3 + 4 + 5 + 6

@@ -3484,8 +3462,8 @@
Cost/Passenger
-

Freight (Note coloured parameters only applicable to - Mail)

+

Freight (Note coloured parameters only applicable to + Mail)

Broker or Streetwise Check Effect @@ -3498,9 +3476,9 @@
Cost/Passenger

- +
- + @@ -3523,7 +3501,7 @@
Cost/Passenger

-
Cargo TypeCargo Type   All
+
Parsecs @@ -3927,13 +3905,16 @@
Price/Lot
Purchase Trade Goods. This will transfer the trade goods details to your 'Cargo Manifest'

-
-

Population

+
+ Population +
-

Law Level

+
+ Law Level +
-
+

Trade Codes

@@ -4140,13 +4121,15 @@
-
-

Population

+
+ Population +
-

Law Level

+ Law Level +
-
+

Trade Codes

@@ -4294,10 +4277,8 @@

Trade Log

-
Background image: https://www.deviantart.com/elcapitan1023654/art/Free-Sci-fi-Ship-Panel-767780402 -
-
The Traveller game in all forms is owned by Far Future Enterprises. Copyright © 1977 – 2023 Far Future Enterprises. -
+
Background image: https://www.deviantart.com/elcapitan1023654/art/Free-Sci-fi-Ship-Panel-767780402
+
The Traveller game in all forms is owned by Far Future Enterprises. Copyright © 1977 – 2023 Far Future Enterprises.
@@ -8705,5 +8686,9 @@

Trade Log

+ + + + \ No newline at end of file