Compare commits
23 Commits
Author | SHA1 | Date | |
---|---|---|---|
647fe791b3 | |||
e5657b7026 | |||
49ced156b5 | |||
471bfd7746 | |||
1c447ce2ee | |||
84717425cc | |||
6fec5c16da | |||
e83b2d4dd7 | |||
67137ab761 | |||
f6de133bb7 | |||
3170dffa80 | |||
3d7bc85a77 | |||
539ef0f3d9 | |||
a154272171 | |||
ff336b80e9 | |||
b21c7a193e | |||
724aadb276 | |||
cdd249b802 | |||
60d946a17c | |||
d4ac8abce7 | |||
2bc93a8133 | |||
04772c269f | |||
b230575be8 |
18
.vscode/launch.json
vendored
Normal file
18
.vscode/launch.json
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Listen for Xdebug",
|
||||
"type": "php",
|
||||
"request": "launch",
|
||||
"port": 9000,
|
||||
"pathMappings": {
|
||||
"/var/www/html": "${workspaceRoot:joomla}",
|
||||
"/var/www/html/templates": "${workspaceRoot:template}"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
2
Makefile
2
Makefile
@ -23,7 +23,7 @@ npm:
|
||||
slt.tar.gz: npm slt/templateDetails.xml
|
||||
# cd slt ; tar czf ../$@ *
|
||||
tar czf $@ -C slt \
|
||||
css/dynamic-styles.css.php css/index.html css/style.css css/.htaccess \
|
||||
css/index.html css/style.css css/.htaccess \
|
||||
html \
|
||||
images \
|
||||
js \
|
||||
|
BIN
releases/slt-1.1.1.tar.gz
Normal file
BIN
releases/slt-1.1.1.tar.gz
Normal file
Binary file not shown.
21
releases/slt-1.1.1.xml
Normal file
21
releases/slt-1.1.1.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<update>
|
||||
<name>SLT Template</name>
|
||||
<description>Template for the SLT for the Joomla! CMS</description>
|
||||
<element>slt</element>
|
||||
<type>template</type>
|
||||
<client>site</client>
|
||||
<version>1.1.1</version>
|
||||
<downloads>
|
||||
<downloadurl type="full" format="tar.gz">$DL_PREFIX/slt-1.1.1.tar.gz</downloadurl>
|
||||
</downloads>
|
||||
<tags>
|
||||
<!-- <tag>stable</tag> -->
|
||||
<tag>rc</tag>
|
||||
<!--<tag>beta</tag>-->
|
||||
<!--<tag>alpha</tag>-->
|
||||
<!--<tag>dev</tag>-->
|
||||
</tags>
|
||||
<maintainer>Christian Wolf</maintainer>
|
||||
<targetplatform name="joomla" version="4[.].*"/>
|
||||
<sha512>f54b25670ae1ed6ed1fd0712c02a47bc040526679a9a2abe09be4982afb67ec819493d25075c90fc13f23f3bea8734156e83705c2003e236b6b65fef39b1a39c</sha512>
|
||||
</update>
|
BIN
releases/slt-1.1.2.tar.gz
Normal file
BIN
releases/slt-1.1.2.tar.gz
Normal file
Binary file not shown.
21
releases/slt-1.1.2.xml
Normal file
21
releases/slt-1.1.2.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<update>
|
||||
<name>SLT Template</name>
|
||||
<description>Template for the SLT for the Joomla! CMS</description>
|
||||
<element>slt</element>
|
||||
<type>template</type>
|
||||
<client>site</client>
|
||||
<version>1.1.2</version>
|
||||
<downloads>
|
||||
<downloadurl type="full" format="tar.gz">$DL_PREFIX/slt-1.1.2.tar.gz</downloadurl>
|
||||
</downloads>
|
||||
<tags>
|
||||
<!-- <tag>stable</tag> -->
|
||||
<tag>rc</tag>
|
||||
<!--<tag>beta</tag>-->
|
||||
<!--<tag>alpha</tag>-->
|
||||
<!--<tag>dev</tag>-->
|
||||
</tags>
|
||||
<maintainer>Christian Wolf</maintainer>
|
||||
<targetplatform name="joomla" version="4[.].*"/>
|
||||
<sha512>2679c8ef32e67e31915466d6f28c021fcbfe6acfbcb41d70477af06c59e0e6e960691b37249f1ebebfa1e201049e4c2e222a7fc9106b83c6c4667ed6e42e1d60</sha512>
|
||||
</update>
|
BIN
releases/slt-1.1.3.tar.gz
Normal file
BIN
releases/slt-1.1.3.tar.gz
Normal file
Binary file not shown.
21
releases/slt-1.1.3.xml
Normal file
21
releases/slt-1.1.3.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<update>
|
||||
<name>SLT Template</name>
|
||||
<description>Template for the SLT for the Joomla! CMS</description>
|
||||
<element>slt</element>
|
||||
<type>template</type>
|
||||
<client>site</client>
|
||||
<version>1.1.3</version>
|
||||
<downloads>
|
||||
<downloadurl type="full" format="tar.gz">$DL_PREFIX/slt-1.1.3.tar.gz</downloadurl>
|
||||
</downloads>
|
||||
<tags>
|
||||
<tag>stable</tag>
|
||||
<!-- <tag>rc</tag> -->
|
||||
<!--<tag>beta</tag>-->
|
||||
<!--<tag>alpha</tag>-->
|
||||
<!--<tag>dev</tag>-->
|
||||
</tags>
|
||||
<maintainer>Christian Wolf</maintainer>
|
||||
<targetplatform name="joomla" version="4[.].*"/>
|
||||
<sha512>6efb161e0ef05cf30231d39f304221f01cf29c615cc581b5eeede8d00e34f5cfb624379a588319d363ecc2301f7c836f7874b124e736672ebf377c1ae3f314b2</sha512>
|
||||
</update>
|
BIN
releases/slt-1.1.4.tar.gz
Normal file
BIN
releases/slt-1.1.4.tar.gz
Normal file
Binary file not shown.
21
releases/slt-1.1.4.xml
Normal file
21
releases/slt-1.1.4.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<update>
|
||||
<name>SLT Template</name>
|
||||
<description>Template for the SLT for the Joomla! CMS</description>
|
||||
<element>slt</element>
|
||||
<type>template</type>
|
||||
<client>site</client>
|
||||
<version>1.1.4</version>
|
||||
<downloads>
|
||||
<downloadurl type="full" format="tar.gz">$DL_PREFIX/slt-1.1.4.tar.gz</downloadurl>
|
||||
</downloads>
|
||||
<tags>
|
||||
<tag>stable</tag>
|
||||
<!-- <tag>rc</tag> -->
|
||||
<!--<tag>beta</tag>-->
|
||||
<!--<tag>alpha</tag>-->
|
||||
<!--<tag>dev</tag>-->
|
||||
</tags>
|
||||
<maintainer>Christian Wolf</maintainer>
|
||||
<targetplatform name="joomla" version="4[.].*"/>
|
||||
<sha512>45fa3583aa96ac8107c3927979c48a9de5449303b08717c33036f758abf2ede399b734eefca7ecfa8bb2106df94f4741ec1d560cd656ec16cf84c0d1437e1cde</sha512>
|
||||
</update>
|
@ -68,21 +68,16 @@
|
||||
<!--<field name="fgcolor1" type='color' default='#fff' label='TPL_SLT_FOREGROUND_COLOR_1'></field>-->
|
||||
<field name="mainfgcolor" type='color' default='#000' label='TPL_SLT_FOREGROUND_COLOR_MAIN'></field>
|
||||
<field name="mainlicolor" type='color' default='#222' label='TPL_SLT_LINK_COLOR_MAIN'></field>
|
||||
<field name="headercolor" type='color' default='#000' label='Color of header (normally foreground link color or black/white)'></field>
|
||||
<field name="mainbgcolortop" type='color' default='#ddd' label='TPL_SLT_BACKGROUND_COLOR_MAIN_TOP'></field>
|
||||
<field name="mainbgcolorbot" type='color' default='#fff' label='TPL_SLT_BACKGROUND_COLOR_MAIN_BOTTOM'></field>
|
||||
|
||||
<field type="spacer" name="menu-colors" label="Menu colors" />
|
||||
<field name="fgcolor1" type='color' default='#000' label='TPL_SLT_FOREGROUND_COLOR_1'></field>
|
||||
<field name="licolor1" type='color' default='#222' label='TPL_SLT_LINK_COLOR_1'></field>
|
||||
<field name="bgcolor1" type='color' default='#ddd' label='TPL_SLT_BACKGROUND_COLOR_1' format='rgba'></field>
|
||||
<field type="spacer" name="spacer1" hr="true" />
|
||||
<field name="fgcolor2" type='color' default='#000' label='TPL_SLT_FOREGROUND_COLOR_2'></field>
|
||||
<field name="licolor2" type='color' default='#222' label='TPL_SLT_LINK_COLOR_2'></field>
|
||||
<field name="bgcolor2" type='color' default='#bbb' label='TPL_SLT_BACKGROUND_COLOR_2' format='rgba'></field>
|
||||
<field type="spacer" name="spacer2" hr="true" />
|
||||
<field name="fgcolor3" type='color' default='#000' label='TPL_SLT_FOREGROUND_COLOR_3'></field>
|
||||
<field name="licolor3" type='color' default='#222' label='TPL_SLT_LINK_COLOR_3'></field>
|
||||
<field name="bgcolor3" type='color' default='#888' label='TPL_SLT_BACKGROUND_COLOR_3' format='rgba'></field>
|
||||
|
||||
<field type="spacer" name="effect-colors" label="Effect coloring" />
|
||||
<field name="fgeffect" type="color" default="#000" label="TPL_SLT_FOREGROUND_EFFECT_COLOR"></field>
|
||||
|
@ -1 +1 @@
|
||||
0
|
||||
4
|
||||
|
1
slt/.prettierignore
Normal file
1
slt/.prettierignore
Normal file
@ -0,0 +1 @@
|
||||
/html/
|
4
slt/css/components/_contact-view.scss
Normal file
4
slt/css/components/_contact-view.scss
Normal file
@ -0,0 +1,4 @@
|
||||
.com-contact__thumbnail {
|
||||
float: right;
|
||||
margin: 10px 0 10px 10px;
|
||||
}
|
@ -6,4 +6,5 @@
|
||||
@use 'verbandstag';
|
||||
@use 'vereine';
|
||||
@use 'contact-list';
|
||||
@use 'contact-view';
|
||||
@use 'read-more';
|
||||
|
22
slt/css/core/_buttons.scss
Normal file
22
slt/css/core/_buttons.scss
Normal file
@ -0,0 +1,22 @@
|
||||
.btn-primary {
|
||||
color: white;
|
||||
background-color: var(--color-main-link);
|
||||
border: none;
|
||||
|
||||
&:hover {
|
||||
color: white;
|
||||
background-color: var(--color-main-link);
|
||||
}
|
||||
}
|
||||
|
||||
.pagination {
|
||||
a {
|
||||
color: var(--color-main-link);
|
||||
}
|
||||
|
||||
.page-item.active .page-link {
|
||||
color: var(--color-fg-top);
|
||||
background-color: var(--color-bg-top);
|
||||
border: none;
|
||||
}
|
||||
}
|
@ -53,4 +53,13 @@ h2,
|
||||
h3,
|
||||
h4 {
|
||||
line-height: 150%;
|
||||
|
||||
/* stylelint-disable no-descending-specificity -- Keep the block of a elements together */
|
||||
a,
|
||||
a:hover,
|
||||
a:active,
|
||||
a:visited {
|
||||
color: var(--color-header-link, #000);
|
||||
}
|
||||
/* stylelint-enable no-descending-specificity */
|
||||
}
|
||||
|
@ -5,6 +5,19 @@
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.left {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.right,
|
||||
.left {
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.centered {
|
||||
text-align: center;
|
||||
}
|
||||
|
@ -1,2 +1,3 @@
|
||||
@use 'core';
|
||||
@use 'default-classes';
|
||||
@use 'buttons';
|
||||
|
@ -1,77 +0,0 @@
|
||||
<?php
|
||||
|
||||
define('_JEXEC', 1);
|
||||
define('JPATH_BASE', '../../../');
|
||||
require_once JPATH_BASE . '/includes/defines.php';
|
||||
require_once JPATH_BASE . '/includes/framework.php';
|
||||
|
||||
$container = \Joomla\CMS\Factory::getContainer();
|
||||
$container->alias(\Joomla\Session\SessionInterface::class, 'session.web.site');
|
||||
$mainframe = $container->get(\Joomla\CMS\Application\SiteApplication::class);
|
||||
$template = $mainframe->getTemplate(true);
|
||||
$params = $template->params;
|
||||
|
||||
header('content-type: text/css');
|
||||
|
||||
// duration of cached content (1 hour)
|
||||
$offset = 60 * 60;
|
||||
// cache control to process
|
||||
header("Cache-Control: must-revalidate, max-age=$offset, public");
|
||||
|
||||
// expiration header format
|
||||
// $ExpStr = "Expires: " . gmdate("D, d M Y H:i:s",time() + $offset) . " GMT";
|
||||
// send cache expiration header to broswer
|
||||
// header($ExpStr);
|
||||
|
||||
$leftImageValue = empty($params['imgleft'])
|
||||
? 'none'
|
||||
: "url(\"" . JPATH_BASE . $params['imgleft'] . "\")";
|
||||
$rightImageValue = empty($params['imgright'])
|
||||
? 'none'
|
||||
: "url(\"" . JPATH_BASE . $params['imgright'] . "\")";
|
||||
?>
|
||||
|
||||
<?php if ($params['titlepage'] === '1') {
|
||||
echo "#left-menu { display: none; }\n";
|
||||
} ?>
|
||||
|
||||
:root {
|
||||
--color-fg-top: <?php echo $params['topfgcolor1']; ?>;
|
||||
--color-bg-top: <?php echo $params['topbgcolor1']; ?>;
|
||||
--color-fg-top-dark: <?php echo $params['topfgcolor2']; ?>;
|
||||
--color-bg-top-dark: <?php echo $params['topbgcolor2']; ?>;
|
||||
--color-fg-top-light: <?php echo $params['topfgcolor3']; ?>;
|
||||
--color-bg-top-light: <?php echo $params['topbgcolor3']; ?>;
|
||||
|
||||
--color-main: <?php echo $params['mainfgcolor']; ?>;
|
||||
--color-main-link: <?php echo $params['mainlicolor']; ?>;
|
||||
|
||||
--color-page-bg-top: <?php echo $params['mainbgcolortop']; ?>;
|
||||
--color-page-bg-bottom: <?php echo $params['mainbgcolorbot']; ?>;
|
||||
|
||||
--color-menu: <?php echo $params['fgcolor1']; ?>;
|
||||
--color-menu-background: <?php echo $params['bgcolor1']; ?>;
|
||||
--color-menu-active: <?php echo $params['fgcolor2']; ?>;
|
||||
--color-menu-background-active: <?php echo $params['bgcolor2']; ?>;
|
||||
|
||||
--color-effect: <?php echo $params['fgeffect']; ?>;
|
||||
--color-effect-background: <?php echo $params['bgeffect']; ?>;
|
||||
--color-effect-header: <?php echo $params['fgeffecthdr']; ?>;
|
||||
--color-effect-background-header: <?php echo $params['bgeffecthdr']; ?>;
|
||||
|
||||
|
||||
--color-side-background: <?php echo $params['bgcolorside']; ?>;
|
||||
--image-left-side: <?php echo $leftImageValue; ?>;
|
||||
--image-right-side: <?php echo $rightImageValue; ?>;
|
||||
}
|
||||
|
||||
<?php // Stop execution here, the rest is for debugging
|
||||
|
||||
exit(); ?>
|
||||
|
||||
:root {
|
||||
--color-effect: blue;
|
||||
--color-effect-background: red;
|
||||
--color-effect-header: yellow;
|
||||
--color-effect-background-header: green;
|
||||
}
|
@ -6,6 +6,7 @@
|
||||
@include abstract.for-desktop {
|
||||
display: flex;
|
||||
flex-flow: row;
|
||||
margin-top: 25px;
|
||||
|
||||
// width: 100%;
|
||||
justify-content: space-around;
|
||||
|
@ -85,7 +85,11 @@
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:focus {
|
||||
color: var(--color-fg-top-hover, #000);
|
||||
background-color: var(--color-bg-top-hover, #aaa);
|
||||
}
|
||||
|
||||
&.active {
|
||||
color: var(--color-fg-top-dark, #000);
|
||||
background-color: var(--color-bg-top-dark, #aaa);
|
||||
@ -101,8 +105,8 @@
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
color: var(--color-fg-top-light, #000);
|
||||
background-color: var(--color-bg-top-light, #ddd);
|
||||
color: var(--color-fg-top-sub);
|
||||
background-color: var(--color-bg-top-sub);
|
||||
box-shadow: 3px 5px 5px 2px rgb(0 0 0 / 50%);
|
||||
|
||||
> li {
|
||||
@ -120,10 +124,9 @@
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.active {
|
||||
color: var(--color-fg-top-dark, #000);
|
||||
background-color: var(--color-bg-top-dark, #aaa);
|
||||
&:focus {
|
||||
color: var(--color-fg-top-sub-hover, #000);
|
||||
background-color: var(--color-bg-top-sub-hover, #aaa);
|
||||
}
|
||||
|
||||
&:hover > a {
|
||||
@ -137,6 +140,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
&.active > .mod-menu__sub > li:hover {
|
||||
color: var(--color-fg-top-dark);
|
||||
background-color: var(--color-bg-top-dark);
|
||||
}
|
||||
|
||||
&:hover > .mod-menu__sub {
|
||||
display: block;
|
||||
}
|
||||
@ -201,3 +209,12 @@ a.facebook {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
:root {
|
||||
--color-fg-top-hover: #000;
|
||||
--color-bg-top-hover: #ccc;
|
||||
--color-fg-top-sub: #000;
|
||||
--color-bg-top-sub: #eee;
|
||||
--color-fg-top-sub-hover: #000;
|
||||
--color-bg-top-sub-hover: #ccc;
|
||||
}
|
||||
|
153
slt/html/com_contact/contact/default_address.php
Normal file
153
slt/html/com_contact/contact/default_address.php
Normal file
@ -0,0 +1,153 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_contact
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\String\PunycodeHelper;
|
||||
|
||||
$icon = $this->params->get('contact_icons') == 0;
|
||||
|
||||
/**
|
||||
* Marker_class: Class based on the selection of text, none, or icons
|
||||
* jicon-text, jicon-none, jicon-icon
|
||||
*/
|
||||
?>
|
||||
<dl class="com-contact__address contact-address dl-horizontal" itemprop="address" itemscope itemtype="https://schema.org/PostalAddress">
|
||||
<?php if (($this->params->get('address_check') > 0) &&
|
||||
($this->item->address || $this->item->suburb || $this->item->state || $this->item->country || $this->item->postcode)) : ?>
|
||||
<dt>
|
||||
<?php if ($icon && !$this->params->get('marker_address')) : ?>
|
||||
<span class="icon-address" aria-hidden="true"></span><span class="visually-hidden"><?php echo Text::_('COM_CONTACT_ADDRESS'); ?></span>
|
||||
<?php else : ?>
|
||||
<span class="<?php echo $this->params->get('marker_class'); ?>">
|
||||
<?php echo $this->params->get('marker_address'); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
</dt>
|
||||
|
||||
<?php if ($this->item->address && $this->params->get('show_street_address')) : ?>
|
||||
<dd>
|
||||
<span class="contact-street" itemprop="streetAddress">
|
||||
<?php echo nl2br($this->item->address, false); ?>
|
||||
</span>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->item->postcode && $this->params->get('show_postcode')) : ?>
|
||||
<dd>
|
||||
<span class="contact-postcode" itemprop="postalCode">
|
||||
<?php echo $this->item->postcode; ?>
|
||||
</span>
|
||||
<?php if ($this->item->suburb && $this->params->get('show_suburb')) : ?>
|
||||
<span class="contact-suburb" itemprop="addressLocality">
|
||||
<?php echo $this->item->suburb; ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->item->state && $this->params->get('show_state')) : ?>
|
||||
<dd>
|
||||
<span class="contact-state" itemprop="addressRegion">
|
||||
<?php echo $this->item->state; ?>
|
||||
</span>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->item->country && $this->params->get('show_country')) : ?>
|
||||
<dd>
|
||||
<span class="contact-country" itemprop="addressCountry">
|
||||
<?php echo $this->item->country; ?>
|
||||
</span>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->item->email_to && $this->params->get('show_email')) : ?>
|
||||
<dt>
|
||||
<?php if ($icon && !$this->params->get('marker_email')) : ?>
|
||||
<span class="icon-envelope" aria-hidden="true"></span><span class="visually-hidden"><?php echo Text::_('COM_CONTACT_EMAIL_LABEL'); ?></span>
|
||||
<?php else : ?>
|
||||
<span class="<?php echo $this->params->get('marker_class'); ?>">
|
||||
<?php echo $this->params->get('marker_email'); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
</dt>
|
||||
<dd>
|
||||
<span class="contact-emailto">
|
||||
<?php echo $this->item->email_to; ?>
|
||||
</span>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->item->telephone && $this->params->get('show_telephone')) : ?>
|
||||
<dt>
|
||||
<?php if ($icon && !$this->params->get('marker_telephone')) : ?>
|
||||
<span class="icon-phone" aria-hidden="true"></span><span class="visually-hidden"><?php echo Text::_('COM_CONTACT_TELEPHONE'); ?></span>
|
||||
<?php else : ?>
|
||||
<span class="<?php echo $this->params->get('marker_class'); ?>">
|
||||
<?php echo $this->params->get('marker_telephone'); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
</dt>
|
||||
<dd>
|
||||
<span class="contact-telephone" itemprop="telephone">
|
||||
<?php echo $this->item->telephone; ?>
|
||||
</span>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->item->fax && $this->params->get('show_fax')) : ?>
|
||||
<dt>
|
||||
<?php if ($icon && !$this->params->get('marker_fax')) : ?>
|
||||
<span class="icon-fax" aria-hidden="true"></span><span class="visually-hidden"><?php echo Text::_('COM_CONTACT_FAX'); ?></span>
|
||||
<?php else : ?>
|
||||
<span class="<?php echo $this->params->get('marker_class'); ?>">
|
||||
<?php echo $this->params->get('marker_fax'); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
</dt>
|
||||
<dd>
|
||||
<span class="contact-fax" itemprop="faxNumber">
|
||||
<?php echo $this->item->fax; ?>
|
||||
</span>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->item->mobile && $this->params->get('show_mobile')) : ?>
|
||||
<dt>
|
||||
<?php if ($icon && !$this->params->get('marker_mobile')) : ?>
|
||||
<span class="icon-mobile" aria-hidden="true"></span><span class="visually-hidden"><?php echo Text::_('COM_CONTACT_MOBILE'); ?></span>
|
||||
<?php else : ?>
|
||||
<span class="<?php echo $this->params->get('marker_class'); ?>">
|
||||
<?php echo $this->params->get('marker_mobile'); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
</dt>
|
||||
<dd>
|
||||
<span class="contact-mobile" itemprop="telephone">
|
||||
<?php echo $this->item->mobile; ?>
|
||||
</span>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->item->webpage && $this->params->get('show_webpage')) : ?>
|
||||
<dt>
|
||||
<?php if ($icon && !$this->params->get('marker_webpage')) : ?>
|
||||
<span class="icon-home" aria-hidden="true"></span><span class="visually-hidden"><?php echo Text::_('COM_CONTACT_WEBPAGE'); ?></span>
|
||||
<?php else : ?>
|
||||
<span class="<?php echo $this->params->get('marker_class'); ?>">
|
||||
<?php echo $this->params->get('marker_webpage'); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
</dt>
|
||||
<dd>
|
||||
<span class="contact-webpage">
|
||||
<a href="<?php echo $this->item->webpage; ?>" target="_blank" rel="noopener noreferrer" itemprop="url">
|
||||
<?php echo PunycodeHelper::urlToUTF8($this->item->webpage); ?></a>
|
||||
</span>
|
||||
</dd>
|
||||
<?php endif; ?>
|
||||
</dl>
|
@ -7,6 +7,7 @@ use Joomla\CMS\Uri\Uri;
|
||||
//JHTML::_('behavior.framework', true);
|
||||
$app = JFactory::getApplication();
|
||||
$doc = JFactory::getDocument();
|
||||
$wa = $this->getWebAssetManager();
|
||||
|
||||
// Add JavaScript Frameworks
|
||||
JHtml::_('bootstrap.framework');
|
||||
@ -25,11 +26,40 @@ JHtml::_('stylesheet', 'style.css', ['version' => 'auto', 'relative' => true]);
|
||||
$doc->addStyleSheet(
|
||||
$this->baseurl . '/media/system/css/joomla-fontawesome.css'
|
||||
);
|
||||
$doc->addStyleSheet(
|
||||
$this->baseurl .
|
||||
'/templates/slt/css/dynamic-styles.css.php?Itemid=' .
|
||||
$app->input->getInt('Itemid')
|
||||
);
|
||||
|
||||
$params = $this->params;
|
||||
|
||||
$leftImageValue = empty($params['imgleft'])
|
||||
? 'none'
|
||||
: "url(\"" . JPATH_BASE . $params['imgleft'] . "\")";
|
||||
$rightImageValue = empty($params['imgright'])
|
||||
? 'none'
|
||||
: "url(\"" . JPATH_BASE . $params['imgright'] . "\")";
|
||||
|
||||
$wa->addInlineStyle(":root {
|
||||
--color-fg-top: {$params['topfgcolor1']};
|
||||
--color-bg-top: {$params['topbgcolor1']};
|
||||
--color-fg-top-dark: {$params['topfgcolor2']};
|
||||
--color-bg-top-dark: {$params['topbgcolor2']};
|
||||
--color-fg-top-light: {$params['topfgcolor3']};
|
||||
--color-bg-top-light: {$params['topbgcolor3']};
|
||||
--color-main: {$params['mainfgcolor']};
|
||||
--color-main-link: {$params['mainlicolor']};
|
||||
--color-header-link: {$params['headercolor']};
|
||||
--color-page-bg-top: {$params['mainbgcolortop']};
|
||||
--color-page-bg-bottom: {$params['mainbgcolorbot']};
|
||||
--color-menu: {$params['fgcolor1']};
|
||||
--color-menu-background: {$params['bgcolor1']};
|
||||
--color-menu-active: {$params['fgcolor2']};
|
||||
--color-menu-background-active: {$params['bgcolor2']};
|
||||
--color-effect: {$params['fgeffect']};
|
||||
--color-effect-background: {$params['bgeffect']};
|
||||
--color-effect-header: {$params['fgeffecthdr']};
|
||||
--color-effect-background-header: {$params['bgeffecthdr']};
|
||||
--color-side-background: {$params['bgcolorside']};
|
||||
--image-left-side: {$leftImageValue};
|
||||
--image-right-side: {$rightImageValue};
|
||||
}");
|
||||
|
||||
// Add Javascript for mobile menu
|
||||
JHtml::_('script', 'mobile.js', ['version' => 'auto', 'relative' => true]);
|
||||
@ -40,7 +70,6 @@ JHtml::_('stylesheet', 'user.css', ['version' => 'auto', 'relative' => true]);
|
||||
// Check for a custom js file
|
||||
JHtml::_('script', 'user.js', ['version' => 'auto', 'relative' => true]);
|
||||
?>
|
||||
|
||||
<?php echo '<!DOCTYPE html>'; ?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
|
||||
|
||||
|
708
slt/package-lock.json
generated
708
slt/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -18,7 +18,7 @@
|
||||
"prettier-config-standard": "^5.0.0",
|
||||
"sass": "^1.44.0",
|
||||
"stylelint": "^14.1.0",
|
||||
"stylelint-config-standard-scss": "^3.0.0",
|
||||
"stylelint-config-standard-scss": "^5.0.0",
|
||||
"stylelint-order": "^5.0.0",
|
||||
"stylelint-scss": "^4.0.0"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user