Skip to content

Commit

Permalink
Merge pull request #254 from dryabov/patch-93
Browse files Browse the repository at this point in the history
Fix issue with dark theme in Joomla 5
  • Loading branch information
dryabov authored Jun 12, 2024
2 parents 5920d4f + c897c6f commit 7a5cd4f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<div id="jedchecker">
<div class="row g-3">
<div class="col-12 col-md-8">
<div class="card bg-light">
<div class="card">
<div class="card-header" data-bs-toggle="collapse" data-bs-target="#jedchecker-welcome" role="button">
<?php echo Text::_('COM_JEDCHECKER'); ?>
</div>
Expand Down Expand Up @@ -91,7 +91,7 @@
</div>

<div class="col-12 col-md-3 jedchecker-results hidden">
<div class="card bg-light">
<div class="card">
<div class="card-header"><?php echo Text::_('COM_JEDCHECKER_RESULTS'); ?></div>
<div role="tablist" class="list-group list-group-flush">
<?php
Expand All @@ -101,7 +101,7 @@
$rule = new $class;
?>
<a role="tab" id="jed-<?php echo $rulename; ?>" data-bs-toggle="tab" href="#jedtab-<?php echo $rulename; ?>"
class="list-group-item list-group-item-action d-flex justify-content-between bg-light<?php echo $i === 0 ? ' active' : ''; ?>">
class="list-group-item list-group-item-action d-flex justify-content-between<?php echo $i === 0 ? ' active' : ''; ?>">
<?php echo Text::_($rule->get('title')); ?>
<span class="text-nowrap ps-1">
<span class="badge bg-danger rounded-pill border-error"></span>
Expand Down Expand Up @@ -135,7 +135,7 @@ class="list-group-item list-group-item-action d-flex justify-content-between bg-
$rule = new $class;
?>
<div role="tabpanel" class="tab-pane fade<?php echo $i === 0 ? ' show active' : ''; ?>" id="jedtab-<?php echo $rulename; ?>">
<div class="card bg-light">
<div class="card">
<div class="card-header" id="heading<?php echo $rule->get('id'); ?>">
<?php echo Text::_($rule->get('title')); ?>
</div>
Expand Down
3 changes: 2 additions & 1 deletion media/com_jedchecker/css/j4-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -430,10 +430,11 @@
flex-direction: column;
min-width: 0;
word-wrap: break-word;
background-color: #fff;
background-color: #f8f9fa;
background-clip: border-box;
border: 0 solid transparent;
border-radius: 0.25rem;
box-shadow: 0 2px 10px -8px #4d79b3;
}
#jedchecker .card > .list-group {
border-top: inherit;
Expand Down
Loading

0 comments on commit 7a5cd4f

Please sign in to comment.