[10.0.52.dev) suppression line height dans thme.css + image map
This commit is contained in:
parent
623b5d0395
commit
ee0e159edf
|
@ -31,7 +31,7 @@ class common {
|
||||||
const TEMP_DIR = 'site/tmp/';
|
const TEMP_DIR = 'site/tmp/';
|
||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_VERSION = '10.0.51.dev';
|
const ZWII_VERSION = '10.0.52.dev';
|
||||||
|
|
||||||
public static $actions = [];
|
public static $actions = [];
|
||||||
public static $coreModuleIds = [
|
public static $coreModuleIds = [
|
||||||
|
@ -112,7 +112,7 @@ class common {
|
||||||
// 'codemirror', // Désactivé par défaut
|
// 'codemirror', // Désactivé par défaut
|
||||||
'tippy',
|
'tippy',
|
||||||
'zwiico',
|
'zwiico',
|
||||||
// 'imagemap',
|
'imagemap',
|
||||||
'simplelightbox'
|
'simplelightbox'
|
||||||
],
|
],
|
||||||
'view' => ''
|
'view' => ''
|
||||||
|
@ -163,8 +163,8 @@ class common {
|
||||||
if (file_exists(self::DATA_DIR . 'core.json') === true &&
|
if (file_exists(self::DATA_DIR . 'core.json') === true &&
|
||||||
$this->getData(['core','dataVersion']) < 10000) {
|
$this->getData(['core','dataVersion']) < 10000) {
|
||||||
$this->importData();
|
$this->importData();
|
||||||
//common::$importNotices [] = "Importation réalisée avec succès" ;
|
common::$importNotices [] = "Importation réalisée avec succès" ;
|
||||||
echo '<script>window.location.replace("' . helper::baseUrl() . $this->getData(['config','homePageId']) . '")</script>';
|
//echo '<script>window.location.replace("' . helper::baseUrl() . $this->getData(['config','homePageId']) . '")</script>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Installation fraîche, initialisation des modules manquants
|
// Installation fraîche, initialisation des modules manquants
|
||||||
|
@ -1257,7 +1257,7 @@ class core extends common {
|
||||||
$css .= 'nav{margin:0 20px 0}';
|
$css .= 'nav{margin:0 20px 0}';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$css .= '#i18nBar {padding:' . $this->getData(['theme', 'menu', 'height']) . ';}';
|
//$css .= '#i18nBar {padding:' . $this->getData(['theme', 'menu', 'height']) . ';}';
|
||||||
$colors = helper::colorVariants($this->getData(['theme', 'menu', 'backgroundColor']));
|
$colors = helper::colorVariants($this->getData(['theme', 'menu', 'backgroundColor']));
|
||||||
$css .= 'nav #burgerText {color:' . $colors['text'] . ';font-family:"' . str_replace('+', ' ', $this->getData(['theme', 'menu', 'font'])) . '",sans-serif;' . 'font-weight:' . $this->getData(['theme', 'menu', 'fontWeight']) . ';text-transform:' . $this->getData(['theme', 'menu', 'textTransform']) . '}';
|
$css .= 'nav #burgerText {color:' . $colors['text'] . ';font-family:"' . str_replace('+', ' ', $this->getData(['theme', 'menu', 'font'])) . '",sans-serif;' . 'font-weight:' . $this->getData(['theme', 'menu', 'fontWeight']) . ';text-transform:' . $this->getData(['theme', 'menu', 'textTransform']) . '}';
|
||||||
$css .= '#toggle span,#menu a{padding:' . $this->getData(['theme', 'menu', 'height']) .';font-family:"' . str_replace('+', ' ', $this->getData(['theme', 'menu', 'font'])) . '",sans-serif;font-weight:' . $this->getData(['theme', 'menu', 'fontWeight']) . ';font-size:' . $this->getData(['theme', 'menu', 'fontSize']) . ';text-transform:' . $this->getData(['theme', 'menu', 'textTransform']) . '}';
|
$css .= '#toggle span,#menu a{padding:' . $this->getData(['theme', 'menu', 'height']) .';font-family:"' . str_replace('+', ' ', $this->getData(['theme', 'menu', 'font'])) . '",sans-serif;font-weight:' . $this->getData(['theme', 'menu', 'fontWeight']) . ';font-size:' . $this->getData(['theme', 'menu', 'fontSize']) . ';text-transform:' . $this->getData(['theme', 'menu', 'textTransform']) . '}';
|
||||||
|
|
|
@ -596,9 +596,9 @@ ul .menuSideChild, li .menuSideChild {
|
||||||
/* Icones de langues du menu */
|
/* Icones de langues du menu */
|
||||||
nav .flag {
|
nav .flag {
|
||||||
height: 12px;
|
height: 12px;
|
||||||
vertical-align: top;
|
|
||||||
padding: 0 3px 0 3px;
|
padding: 0 3px 0 3px;
|
||||||
max-width:100%;
|
max-width:100%;
|
||||||
|
max-height:100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
nav .flagSelected {
|
nav .flagSelected {
|
||||||
|
@ -608,10 +608,11 @@ nav .flagSelected {
|
||||||
/* Paramètres du menu et de la barre de langue */
|
/* Paramètres du menu et de la barre de langue */
|
||||||
|
|
||||||
#menuBar {
|
#menuBar {
|
||||||
display: inline-flex ;
|
display: inline-flex;
|
||||||
}
|
}
|
||||||
#i18nBar {
|
#i18nBar {
|
||||||
display: flex ;
|
margin: 5px;
|
||||||
|
display: inline-flex;
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ $("input, select").on("change", function() {
|
||||||
css += "nav a,#toggle span,nav a:hover{color:" + $("#themeMenuTextColor").val() + "}";
|
css += "nav a,#toggle span,nav a:hover{color:" + $("#themeMenuTextColor").val() + "}";
|
||||||
css += "nav a:hover{background-color:" + colors.darken + "}";
|
css += "nav a:hover{background-color:" + colors.darken + "}";
|
||||||
css += "nav a.active{background-color:" + colors.veryDarken + "}";
|
css += "nav a.active{background-color:" + colors.veryDarken + "}";
|
||||||
css += "#i18nBar {padding:" + $("#themeMenuHeight").val() + "}";
|
//css += "#i18nBar {padding:" + $("#themeMenuHeight").val() + "}";
|
||||||
// Taille, hauteur, épaisseur et capitalisation de caractères du menu
|
// Taille, hauteur, épaisseur et capitalisation de caractères du menu
|
||||||
css += "#toggle span,#menu a{padding:" + $("#themeMenuHeight").val() + ";font-family:'" + menuFont.replace(/\+/g, " ") + "',sans-serif;font-weight:" + $("#themeMenuFontWeight").val() + ";font-size:" + $("#themeMenuFontSize").val() + ";text-transform:" + $("#themeMenuTextTransform").val() + "}";
|
css += "#toggle span,#menu a{padding:" + $("#themeMenuHeight").val() + ";font-family:'" + menuFont.replace(/\+/g, " ") + "',sans-serif;font-weight:" + $("#themeMenuFontWeight").val() + ";font-size:" + $("#themeMenuFontSize").val() + ";text-transform:" + $("#themeMenuTextTransform").val() + "}";
|
||||||
// Alignement du menu
|
// Alignement du menu
|
||||||
|
|
Loading…
Reference in New Issue