Skip to content

Commit

Permalink
Preventif add of a css file
Browse files Browse the repository at this point in the history
  • Loading branch information
johache committed Mar 17, 2013
1 parent 00a026e commit 0277db7
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 2 deletions.
63 changes: 63 additions & 0 deletions CargoRoomCalculator.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
/* OGame Extension CSS Document */

/* --- FORM ---*/
.FPF_form {
margin: 10px;
line-height: 30px;
}

.FPFSmallNumberInput {
margin: 2px;
width: 25px;
text-align: center;
}

.FPFLaunchButton {
text-transform: uppercase;
font-size: 12px;
font-weight: bold;
color:#fff;
display:block;
width: 102px;
height: 38px;
line-height: 38px;
text-align: center;
float: right;
cursor: pointer;
text-decoration: none;
}


/* --- result table --- */
.FPFTable {
margin-left: auto;
margin-right: auto;
}

.FPFTableHeader td{
height: 26px;
font-weight: bold;

border-bottom: 1px solid #3F4E61;
background-color: #13181D;
color: #848484;
font-size: 12px;
}

.FPFTableSSCol {
width: 100px;
height: 22px;
color: #848484;
font-size: 12px;
font-weight: bold;
}

.FPFTablePositionCol {
width: 40px;
}

.rowStripe{ background-color: #13181D;}
.rowRed td{
background-color: #FF0000;
color: #FFFFFF !important;
}
1 change: 1 addition & 0 deletions CargoRoomCalculator.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ function calculateCargoRoom() {
total = metal + cristal + deut;

console.log(metal + ' ' + cristal + ' ' + deut);
console.log(total);

//calculate needed cargos

Expand Down
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
// Add any of these that you need
"content_scripts": [ {
"css": [ "CargoRoomCalculator.css" ],
"js": [ "CargoRoomCalculator.js", "jquery-1.9.1.min.js" ],
"js": [ "CargoRoomCalculator.js" ],
"matches": [ "http://*.ogame.com.ar/game/*", "http://*.ogame.com.br/game/*", "http://*.ogame.com.hr/game/*", "http://*.ogame.cz/game/*", "http://*.ogame.dk/game/*", "http://*.fi.ogame.org/game/*", "http://*.ogame.fr/game/*", "http://*.ogame.de/game/*", "http://*.ogame.gr/game/*", "http://*.ogame.hu/game/*", "http://*.ogame.it/game/*", "http://*.ogame.jp/game/*", "http://*.mx.ogame.org/game/*", "http://*.ogame.nl/game/*", "http://*.ogame.no/game/*", "http://*.ogame.pl/game/*", "http://*.ogame.com.pt/game/*", "http://*.ogame.ro/game/*", "http://*.ogame.ru/game/*", "http://*.ogame.sk/game/*", "http://*.ogame.si/game/*", "http://*.ogame.com.es/game/*", "http://*.ogame.se/game/*", "http://*.ogame.tw/game/*", "http://*.tr.ogame.org/game/*", "http://*.ae.ogame.org/game/*", "http://*.ogame.org/game/*", "http://*.ogame.us/game/*" ]
} ],
"key": "kambnjgnongccijmhllkidjdnfndjigc",
"offline_enabled": true,
/* "permissions": [
match pattern
]*/
"web_accessible_resources": [ "*", "jquery-1.9.1.min.js" ]
"web_accessible_resources": [ "*" ]
}

0 comments on commit 0277db7

Please sign in to comment.