Convert array syntax and other minor code style adjustments.

This commit is contained in:
David Molineus
2017-10-17 18:11:28 +02:00
parent 6ded7441d9
commit c465b724f4
63 changed files with 413 additions and 404 deletions

View File

@@ -3,7 +3,6 @@
padding: 15px;
}
.netzmacht-leaflet-credits a {
color: #669A00;
}
@@ -17,7 +16,7 @@
.netzmacht-leaflet-credits h1 {
color: #fff;
font-size: 1.4em;
text-shadow: 0 -1px 1px rgba(0,0,0,0.35);
text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.35);
}
.netzmacht-leaflet-credits .row:after {

View File

@@ -1,9 +1,9 @@
.tl_listing_container.tree_view ul > li.tl_file {
.tl_listing_container.tree_view ul > li.tl_file {
background: url('./../img/fol-placeholder.gif') no-repeat 6px 4px;
}
.tl_listing_container.tree_view ul > li.tl_file > div {
.tl_listing_container.tree_view ul > li.tl_file > div {
line-height: 18px;
}
@@ -11,15 +11,15 @@
padding-left: 26px;
}
.tl_listing_container.tree_view ul > li.parent > ul {
.tl_listing_container.tree_view ul > li.parent > ul {
padding-left: 20px;
}
.tl_listing_container.tree_view ul > li > .tl_left > a {
.tl_listing_container.tree_view ul > li > .tl_left > a {
margin-left: -20px;
}
.tl_listing_container.tree_view ul[class="level_1"] li.tl_file > .tl_left {
.tl_listing_container.tree_view ul[class="level_1"] li.tl_file > .tl_left {
padding-left: 20px !important;
}

View File

@@ -30,7 +30,7 @@ var ContaoLeafletAjaxRequest = {
published = (image.get('data-state') == 1),
div = el.getParent('div'),
index, next, icon, icond, pa;
img = div.getParent('li').getFirst('.tl_left img.list-icon');
img = div.getParent('li').getFirst('.tl_left img.list-icon');
// Change the icon
if (img !== null && img.nodeName.toLowerCase() == 'img') {