This commit is contained in:
Daniel Stein 2022-07-18 15:12:52 +02:00
commit 9f31acbc33
22 gewijzigde bestanden met toevoegingen van 183 en 0 verwijderingen

39
composer.json Normal file
Bestand weergeven

@ -0,0 +1,39 @@
{
"name": "d3/removegooglefonts",
"description": "Google Fonts local einbinden",
"type": "oxideshop-module",
"version": "1.0.0.0",
"keywords": [
"oxid",
"modules",
"eShop",
"d3"
],
"authors": [
{
"name": "D3 Data Development (Inh. Thomas Dartsch)",
"email": "info@shopmodule.com",
"homepage": "http://www.d3data.de",
"role": "Owner"
}
],
"homepage": "https://www.oxidmodule.com/",
"license": [
"proprietary"
],
"extra": {
"oxideshop": {
"blacklist-filter": [
"*.md",
"composer.json"
],
"source-directory": "/src",
"target-directory": "d3/removegooglefonts"
}
},
"autoload": {
"psr-4": {
"D3\\Removegooglefonts\\": "../../../source/modules/d3/removegooglefonts"
}
}
}

2
readme.md Normal file
Bestand weergeven

@ -0,0 +1,2 @@
### Beschreibung
Bindet Googlefonts im Flow-Theme local ein.

Bestand weergeven

@ -0,0 +1 @@
[{*clear google font*}]

Bestand weergeven

@ -0,0 +1,2 @@
[{$smarty.block.parent}]
[{oxstyle include=$oViewConf->getModuleUrl('removegooglefonts', 'out/src/css/d3_fonts.css')}]

54
src/metadata.php Normal file
Bestand weergeven

@ -0,0 +1,54 @@
<?php
/**
* This Software is the property of Data Development and is protected
* by copyright law - it is NOT Freeware.
*
* Any unauthorized use of this software without a valid license
* is a violation of the license agreement and will be prosecuted by
* civil and criminal law.
*
* https://www.d3data.com
*
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
* @author D3 Data Development - Daniel Stein <support@shopmodule.com>
* @link https://www.oxidmodule.com
*/
/**
* Metadata version
*/
$sMetadataVersion = '2.0';
$sModuleId = 'removegooglefonts';
/**
* Module information
*/
$aModule = [
'id' => $sModuleId,
'title' => '<img src="https://logos.oxidmodule.com/d3logo.svg" alt="(D3)" style="height:1em;width:1em"> Anpassung: Google Fonts local einbinden',
'description' => [
'de' => 'Bindet Google Fonts local ein',
'en' => '',
],
'version' => '1.0.0',
'author' => 'D&sup3; Data Development (Inh.: Thomas Dartsch)',
'email' => 'support@shopmodule.com',
'url' => 'http://www.oxidmodule.com/',
'blocks' => [
[
'template' => 'layout/base.tpl',
'block' => 'base_style',
'file' => '/Application/views/blocks/layout/d3_base_style.tpl'
],
[
'template' => 'layout/base.tpl',
'block' => 'base_fonts',
'file' => '/Application/views/blocks/layout/d3_base_fonts.tpl'
]
],
];

Bestand weergeven

@ -0,0 +1,85 @@
/* raleway-200 - latin */
@font-face {
font-family: 'Raleway';
font-style: normal;
font-weight: 200;
src: local(''),
url('../fonts/raleway-v27-latin-200.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/raleway-v27-latin-200.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* raleway-regular - latin */
@font-face {
font-family: 'Raleway';
font-style: normal;
font-weight: 400;
src: local(''),
url('../fonts/raleway-v27-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/raleway-v27-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* raleway-600 - latin */
@font-face {
font-family: 'Raleway';
font-style: normal;
font-weight: 600;
src: local(''),
url('../fonts/raleway-v27-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/raleway-v27-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* raleway-700 - latin */
@font-face {
font-family: 'Raleway';
font-style: normal;
font-weight: 700;
src: local(''),
url('../fonts/raleway-v27-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/raleway-v27-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* raleway-200italic - latin */
@font-face {
font-family: 'Raleway';
font-style: italic;
font-weight: 200;
src: local(''),
url('../fonts/raleway-v27-latin-200italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/raleway-v27-latin-200italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* raleway-italic - latin */
@font-face {
font-family: 'Raleway';
font-style: italic;
font-weight: 400;
src: local(''),
url('../fonts/raleway-v27-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/raleway-v27-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* raleway-600italic - latin */
@font-face {
font-family: 'Raleway';
font-style: italic;
font-weight: 600;
src: local(''),
url('../fonts/raleway-v27-latin-600italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/raleway-v27-latin-600italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* raleway-700italic - latin */
@font-face {
font-family: 'Raleway';
font-style: italic;
font-weight: 700;
src: local(''),
url('../fonts/raleway-v27-latin-700italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
url('../fonts/raleway-v27-latin-700italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
body {
font-family:Raleway,"Helvetica Neue",Helvetica,Arial,sans-serif;
font-size:14px;
line-height:1.42857143;
}

Binair bestand niet weergegeven.

Binair bestand niet weergegeven.

Binair bestand niet weergegeven.

Binair bestand niet weergegeven.

Binair bestand niet weergegeven.

Binair bestand niet weergegeven.

Binair bestand niet weergegeven.

Binair bestand niet weergegeven.

Binair bestand niet weergegeven.

Binair bestand niet weergegeven.

Binair bestand niet weergegeven.

Binair bestand niet weergegeven.

Binair bestand niet weergegeven.

Binair bestand niet weergegeven.

Binair bestand niet weergegeven.

Binair bestand niet weergegeven.