Skip to content

Commit 44087aa

Browse files
committed
Better j5 compatibility and darkmode switcher
1 parent cf2a33e commit 44087aa

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

media/css/style.css

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -142,20 +142,19 @@ padding: 10px;
142142
justify-content: center;
143143
align-items: center;
144144
}
145-
.sep{
146-
height: 2rem;
147-
background:var(--template-bg-dark-5);
148-
}
145+
149146
@media (max-width: 952px){
150147
.contentbloc > .card {
151148
width: 100% !important;
152149
}
153150
}
154-
@media (prefers-color-scheme: dark) {
155-
.headerblock .breadcrumb {
151+
[data-bs-theme="dark"] .headerblock .breadcrumb {
156152
background: none;
157153
}
158-
.sep, .contentbloc {
154+
[data-bs-theme="dark"] .sep, [data-bs-theme="dark"] .contentbloc {
159155
background-color: var(--template-bg-dark-90);
160156
}
161-
}
157+
.sep{
158+
height: 2rem;
159+
background:var(--template-bg-dark-5);
160+
}

mod_flexiadmin.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<extension type="module" version="3.0" client="administrator" method="upgrade">
2+
<extension type="module" version="4.0" client="administrator" method="upgrade">
33
<name>FlexiContent Admin Dashboard</name>
44
<author>Berges Yannick</author>
55
<creationDate>dec 2021</creationDate>
66
<authorEmail>[email protected]</authorEmail>
77
<authorUrl>www.com3elles.com</authorUrl>
8-
<version>3.1</version>
8+
<version>3.2</version>
99
<copyright>Copyright (C) 2005 - 2022 Open Source Matters. All rights reserved.</copyright>
1010
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
1111
<description>MOD_FLEXI_ADMIN_INTRO</description>

tmpl/default.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
use Joomla\CMS\HTML\HTMLHelper;
2525
use Joomla\CMS\Language\Text;
2626
use Joomla\CMS\Uri\Uri;
27+
require_once(JPATH_SITE.DS.'components'.DS.'com_flexicontent'.DS.'classes'.DS.'flexicontent.helper.php');
2728

2829
$app = Factory::getApplication();
2930
$document = $app->getDocument();

update.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
<element>mod_flexiadmin</element>
77
<type>module</type>
88
<client>administrator</client>
9-
<version>3.1</version>
9+
<version>3.2</version>
1010

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

1515
<downloads>
16-
<downloadurl type="full" format="zip">https://github.com/micker/mod_flexiadmin/archive/v3.1.zip</downloadurl>
16+
<downloadurl type="full" format="zip">https://github.com/micker/mod_flexiadmin/archive/v3.2.zip</downloadurl>
1717
</downloads>
1818

1919
<tags>

0 commit comments

Comments
 (0)