- v1.2.1 build files

- removed some "console.log();"
- fixed some CSS styles6
This commit is contained in:
Exodus4D
2017-03-11 20:44:59 +01:00
parent d881cef48b
commit 5e4402965c
7 changed files with 34 additions and 21 deletions

View File

@@ -603,7 +603,6 @@ define([
let map = Map.getMapInstance( mapElement.data('id'));
mapWrapper.watchKey('mapSystemAdd', (mapWrapper) => {
console.log('mapSystemAdd');
Map.showNewSystemDialog(map, {position: {x: 0, y: 0}});
},{focus: true});
@@ -612,7 +611,6 @@ define([
},{focus: true});
mapWrapper.watchKey('mapSystemsDelete', (mapWrapper) => {
console.log('mapSystemsDelete');
let selectedSystems = mapElement.getSelectedSystems();
$.fn.showDeleteSystemDialog(map, selectedSystems);
},{focus: true});

View File

@@ -123,12 +123,13 @@ define([
});
};
/**
* set global shortcuts to <body> element
*/
$.fn.setGlobalShortcuts = function(){
return this.each((i, body) => {
body = $(body);
console.log('setGlobalShortcuts');
body.watchKey('tabReload', (body) => {
location.reload();
});

File diff suppressed because one or more lines are too long

View File

@@ -6418,7 +6418,6 @@ define('app/map/util',[
let map = Map.getMapInstance( mapElement.data('id'));
mapWrapper.watchKey('mapSystemAdd', (mapWrapper) => {
console.log('mapSystemAdd');
Map.showNewSystemDialog(map, {position: {x: 0, y: 0}});
},{focus: true});
@@ -6427,7 +6426,6 @@ define('app/map/util',[
},{focus: true});
mapWrapper.watchKey('mapSystemsDelete', (mapWrapper) => {
console.log('mapSystemsDelete');
let selectedSystems = mapElement.getSelectedSystems();
$.fn.showDeleteSystemDialog(map, selectedSystems);
},{focus: true});
@@ -33852,12 +33850,13 @@ define('app/page',[
});
};
/**
* set global shortcuts to <body> element
*/
$.fn.setGlobalShortcuts = function(){
return this.each((i, body) => {
body = $(body);
console.log('setGlobalShortcuts');
body.watchKey('tabReload', (body) => {
location.reload();
});

File diff suppressed because one or more lines are too long

View File

@@ -5,7 +5,7 @@
overflow: hidden;
position: absolute;
top: -3px;
right: 7px;
right: -3px;
}
.ribbon {

View File

@@ -126,16 +126,31 @@
color: inherit;
}
.timeline-body > p,
.timeline-body > ul {
margin-bottom: 0;
list-style-type: disc;
margin-left: 15px;
.timeline-body{
// hide all elements AFTER first <hr> tag
> hr {
display: none;
~ *{
display: none;
}
}
> p,
> ul {
margin-bottom: 0;
list-style-type: disc;
margin-left: 15px;
}
> p + p {
margin-top: 5px;
}
}
.timeline-body > p + p {
margin-top: 5px;
}
@media (max-width: 1200px) {
ul.timeline:before {