Skip to content

Commit

Permalink
Better j5 compatibility and darkmode switcher
Browse files Browse the repository at this point in the history
  • Loading branch information
micker committed Jun 7, 2024
1 parent cf2a33e commit 44087aa
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
15 changes: 7 additions & 8 deletions media/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -142,20 +142,19 @@ padding: 10px;
justify-content: center;
align-items: center;
}
.sep{
height: 2rem;
background:var(--template-bg-dark-5);
}

@media (max-width: 952px){
.contentbloc > .card {
width: 100% !important;
}
}
@media (prefers-color-scheme: dark) {
.headerblock .breadcrumb {
[data-bs-theme="dark"] .headerblock .breadcrumb {
background: none;
}
.sep, .contentbloc {
[data-bs-theme="dark"] .sep, [data-bs-theme="dark"] .contentbloc {
background-color: var(--template-bg-dark-90);
}
}
.sep{
height: 2rem;
background:var(--template-bg-dark-5);
}
4 changes: 2 additions & 2 deletions mod_flexiadmin.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="3.0" client="administrator" method="upgrade">
<extension type="module" version="4.0" client="administrator" method="upgrade">
<name>FlexiContent Admin Dashboard</name>
<author>Berges Yannick</author>
<creationDate>dec 2021</creationDate>
<authorEmail>yannick@com3elles.com</authorEmail>
<authorUrl>www.com3elles.com</authorUrl>
<version>3.1</version>
<version>3.2</version>
<copyright>Copyright (C) 2005 - 2022 Open Source Matters. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<description>MOD_FLEXI_ADMIN_INTRO</description>
Expand Down
1 change: 1 addition & 0 deletions tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Uri\Uri;
require_once(JPATH_SITE.DS.'components'.DS.'com_flexicontent'.DS.'classes'.DS.'flexicontent.helper.php');

$app = Factory::getApplication();
$document = $app->getDocument();
Expand Down
4 changes: 2 additions & 2 deletions update.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
<element>mod_flexiadmin</element>
<type>module</type>
<client>administrator</client>
<version>3.1</version>
<version>3.2</version>

<infourl title="FAQ">
https://github.com/micker/mod_flexiadmin/wiki
</infourl>

<downloads>
<downloadurl type="full" format="zip">https://github.com/micker/mod_flexiadmin/archive/v3.1.zip</downloadurl>
<downloadurl type="full" format="zip">https://github.com/micker/mod_flexiadmin/archive/v3.2.zip</downloadurl>
</downloads>

<tags>
Expand Down

0 comments on commit 44087aa

Please sign in to comment.