Skip to content

Commit

Permalink
Merge pull request #12 from ciar4n/24026
Browse files Browse the repository at this point in the history
Changelog styling
  • Loading branch information
roland-d authored Mar 7, 2019
2 parents c4a64c2 + 2012ef3 commit 340eb46
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 7 deletions.
44 changes: 44 additions & 0 deletions administrator/templates/atum/scss/blocks/_modals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,47 @@
.contentpane {
padding: 15px;
}

// Changelog
.changelog {
text-align: left !important;

&__item {
display: flex;
border-bottom: 1px solid $table-border-color;
}

&__tag {
flex: 1 0 180px;
max-width: 180px;
padding: 10px 15px;
background: darken($gray-100, 2.5%);
border-right: 1px solid $table-border-color;
text-align: right;

.badge {
border-radius: .2rem;

&.badge-jlanguage {
background-color: $white;
}
}
}

&__list {
padding: 10px 15px;

ul {
padding-left: 15px;
margin-bottom: 0;
}

li {
margin-bottom: .15rem;

&:last-of-type{
margin-bottom: 0;
}
}
}
}
18 changes: 11 additions & 7 deletions layouts/joomla/installer/changelog.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,18 @@
}

?>
<div class="pull-left">
<div class="badge <?php echo $class; ?>"><?php echo Text::_('COM_INSTALLER_CHANGELOG_' . $changeType); ?></div>
<ul>
<li><?php echo implode('</li><li>', $items); ?></li>

</ul>
<div class="changelog">
<div class="changelog__item">
<div class="changelog__tag">
<span class="badge <?php echo $class; ?>"><?php echo Text::_('COM_INSTALLER_CHANGELOG_' . $changeType); ?></span>
</div>
<div class="changelog__list">
<ul>
<li><?php echo implode('</li><li>', $items); ?></li>
</ul>
</div>
</div>
</div>
<div class="clearfix"></div>
<?php
}
);

0 comments on commit 340eb46

Please sign in to comment.