Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Commit

Permalink
#260 - Styled Config Permissions tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Janssens committed Nov 16, 2015
1 parent 10d44b2 commit 694373d
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/libraries/joomla/form/fields/rules.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ protected function getInput()

$html[] = '</ul>';

$html[] = '<div class="tab-content">';
$html[] = '<div class="tab-content k-table-container">';

// Start a row for each user group.
foreach ($groups as $group)
Expand Down
10 changes: 10 additions & 0 deletions web/administrator/templates/backman/css/admin.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<?php echo $field->label; ?>
</div>
<?php endif; ?>
<div class="<?php if ($name != "permissions") : ?>controls<?php endif; ?>">
<div<?php $name != "permissions" ? ' class="controls' : '' ?>>
<?php echo $field->input; ?>
</div>
</div>
Expand Down
25 changes: 25 additions & 0 deletions web/administrator/templates/backman/scss/molecules/_tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,29 @@

.k-container__no-tabs {
border-top: 1px solid #ddd;
}

.tabs-left {
.nav-tabs {
float: left;
border-bottom: 0 none;

li {
float: none;

a {
border-radius: 4px 0 0 4px;
margin-right: -1px;
margin-bottom: 3px;
}

&.active a {
border-color: #ddd transparent #ddd #ddd;
}
}
}

.tab-pane {
border-top: 1px solid #ddd;
}
}

0 comments on commit 694373d

Please sign in to comment.