bordures inputs textarea + zip thèmes
This commit is contained in:
parent
85609e4ba7
commit
5bd2e8b4ba
|
@ -951,7 +951,7 @@ class common {
|
||||||
// Update robots.txt file in output directory
|
// Update robots.txt file in output directory
|
||||||
|
|
||||||
if ($this->getData(['config','seo', 'robots']) === true) {
|
if ($this->getData(['config','seo', 'robots']) === true) {
|
||||||
unlink('robots.txt');
|
if(file_exists('robots.txt')) unlink('robots.txt');
|
||||||
$sitemap->updateRobots();
|
$sitemap->updateRobots();
|
||||||
} else {
|
} else {
|
||||||
file_put_contents('robots.txt','User-agent: *' . PHP_EOL . 'Disallow: /');
|
file_put_contents('robots.txt','User-agent: *' . PHP_EOL . 'Disallow: /');
|
||||||
|
@ -2359,6 +2359,8 @@ class core extends common {
|
||||||
$css .= 'body,.row > div{font-size:' . $this->getData(['theme', 'text', 'fontSize']) . '}';
|
$css .= 'body,.row > div{font-size:' . $this->getData(['theme', 'text', 'fontSize']) . '}';
|
||||||
$css .= 'body{color:' . $this->getData(['theme', 'text', 'textColor']) . '}';
|
$css .= 'body{color:' . $this->getData(['theme', 'text', 'textColor']) . '}';
|
||||||
$css .= 'select,input[type=\'password\'],input[type=\'email\'],input[type=\'text\'],.inputFile,select,textarea{color:' . $this->getData(['theme', 'text', 'textColor']) .';background-color:'.$this->getData(['theme', 'site', 'backgroundColor']).';}';
|
$css .= 'select,input[type=\'password\'],input[type=\'email\'],input[type=\'text\'],.inputFile,select,textarea{color:' . $this->getData(['theme', 'text', 'textColor']) .';background-color:'.$this->getData(['theme', 'site', 'backgroundColor']).';}';
|
||||||
|
$css .= 'select:focus-visible,input[type=\'password\']:focus-visible,input[type=\'email\']:focus-visible,input[type=\'text\']:focus-visible,.inputFile:focus-visible,textarea:focus-visible{border-color:'.$this->getData(['theme', 'block', 'borderColor']).';}';
|
||||||
|
$css .= 'select:hover,input[type=\'password\']:hover,input[type=\'email\']:hover,input[type=\'text\']:hover,.inputFile:hover,textarea:hover{border-color:'.$this->getData(['theme', 'block', 'borderColor']).';}';
|
||||||
// spécifiques au module de blog
|
// spécifiques au module de blog
|
||||||
$css .= '.blogDate {color:' . $this->getData(['theme', 'text', 'textColor']) . ';}.blogPicture img{border:1px solid ' . $this->getData(['theme', 'text', 'textColor']) . '; box-shadow: 1px 1px 5px ' . $this->getData(['theme', 'text', 'textColor']) . ';}';
|
$css .= '.blogDate {color:' . $this->getData(['theme', 'text', 'textColor']) . ';}.blogPicture img{border:1px solid ' . $this->getData(['theme', 'text', 'textColor']) . '; box-shadow: 1px 1px 5px ' . $this->getData(['theme', 'text', 'textColor']) . ';}';
|
||||||
// Couleur fixée dans admin.css
|
// Couleur fixée dans admin.css
|
||||||
|
@ -2385,7 +2387,7 @@ class core extends common {
|
||||||
$colors = helper::colorVariants($this->getData(['theme', 'button', 'backgroundColor']));
|
$colors = helper::colorVariants($this->getData(['theme', 'button', 'backgroundColor']));
|
||||||
$css .= '.speechBubble,.button,.button:hover,button[type=\'submit\'],.pagination a,.pagination a:hover,input[type=\'checkbox\']:checked + label:before,input[type=\'radio\']:checked + label:before,.helpContent{background-color:' . $colors['normal'] . ';color:' . $colors['text'] . '}';
|
$css .= '.speechBubble,.button,.button:hover,button[type=\'submit\'],.pagination a,.pagination a:hover,input[type=\'checkbox\']:checked + label:before,input[type=\'radio\']:checked + label:before,.helpContent{background-color:' . $colors['normal'] . ';color:' . $colors['text'] . '}';
|
||||||
$css .= '.helpButton span{color:' . $colors['normal'] . '}';
|
$css .= '.helpButton span{color:' . $colors['normal'] . '}';
|
||||||
$css .= 'input[type=\'text\']:hover,input[type=\'password\']:hover,.inputFile:hover,select:hover,textarea:hover{border-color:' . $colors['normal'] . '}';
|
//$css .= 'input[type=\'text\']:hover,input[type=\'password\']:hover,.inputFile:hover,select:hover,textarea:hover{border-color:' . $colors['normal'] . '}';
|
||||||
$css .= '.speechBubble:before{border-color:' . $colors['normal'] . ' transparent transparent transparent}';
|
$css .= '.speechBubble:before{border-color:' . $colors['normal'] . ' transparent transparent transparent}';
|
||||||
$css .= '.button:hover,button[type=\'submit\']:hover,.pagination a:hover,input[type=\'checkbox\']:not(:active):checked:hover + label:before,input[type=\'checkbox\']:active + label:before,input[type=\'radio\']:checked:hover + label:before,input[type=\'radio\']:not(:checked):active + label:before{background-color:' . $colors['darken'] . '}';
|
$css .= '.button:hover,button[type=\'submit\']:hover,.pagination a:hover,input[type=\'checkbox\']:not(:active):checked:hover + label:before,input[type=\'checkbox\']:active + label:before,input[type=\'radio\']:checked:hover + label:before,input[type=\'radio\']:not(:checked):active + label:before{background-color:' . $colors['darken'] . '}';
|
||||||
$css .= '.helpButton span:hover{color:' . $colors['darken'] . '}';
|
$css .= '.helpButton span:hover{color:' . $colors['darken'] . '}';
|
||||||
|
|
|
@ -657,11 +657,10 @@ input[type="password"],
|
||||||
select,
|
select,
|
||||||
textarea {
|
textarea {
|
||||||
padding: 9px;
|
padding: 9px;
|
||||||
border: #d8dfe3 solid 1px;
|
border: solid 1px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border-radius: 2px;
|
border-radius: 0px;
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
transition: border 0.3s ease-out;
|
|
||||||
}
|
}
|
||||||
select {
|
select {
|
||||||
padding: 9px;
|
padding: 9px;
|
||||||
|
@ -673,6 +672,17 @@ input[type="password"]:hover,
|
||||||
select:hover,
|
select:hover,
|
||||||
textarea:hover {
|
textarea:hover {
|
||||||
border: solid 1px;
|
border: solid 1px;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
input[type="email"]:focus-visible,
|
||||||
|
input[type="text"]:focus-visible,
|
||||||
|
input[type="password"]:focus-visible,
|
||||||
|
.inputFile:focus-visible,
|
||||||
|
select:focus-visible,
|
||||||
|
textarea:focus-visible {
|
||||||
|
outline: none;
|
||||||
|
border: solid 2px;
|
||||||
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
input[type="email"].notice,
|
input[type="email"].notice,
|
||||||
input[type="text"].notice,
|
input[type="text"].notice,
|
||||||
|
@ -680,7 +690,8 @@ input[type="password"].notice,
|
||||||
.inputFile.notice,
|
.inputFile.notice,
|
||||||
select.notice,
|
select.notice,
|
||||||
textarea.notice {
|
textarea.notice {
|
||||||
border: #e74c3c solid 1px;
|
border: solid 2px;
|
||||||
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
input[type="email"].notice:hover,
|
input[type="email"].notice:hover,
|
||||||
input[type="text"].notice:hover,
|
input[type="text"].notice:hover,
|
||||||
|
@ -688,7 +699,8 @@ input[type="password"].notice:hover,
|
||||||
.inputFile.notice:hover,
|
.inputFile.notice:hover,
|
||||||
select.notice:hover,
|
select.notice:hover,
|
||||||
textarea.notice:hover {
|
textarea.notice:hover {
|
||||||
border: #a82315 solid 1px;
|
border: solid 1px;
|
||||||
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
button:disabled,
|
button:disabled,
|
||||||
input:disabled,
|
input:disabled,
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -10,5 +10,9 @@
|
||||||
"sombre": {
|
"sombre": {
|
||||||
"name": "Sombre Islande 100%",
|
"name": "Sombre Islande 100%",
|
||||||
"filename": "theme_sombre_islande_fluide.zip"
|
"filename": "theme_sombre_islande_fluide.zip"
|
||||||
|
},
|
||||||
|
"banniere_animee": {
|
||||||
|
"name": "Bannière animèe 85%",
|
||||||
|
"filename": "theme_banniere_animee_85vw.zip"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -75,13 +75,14 @@ $( ".humanBotClose" ).click(function() {
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
borderColor = "<?php echo $this->getData(['theme', 'block', 'borderColor']); ?>";
|
borderColor = "<?php echo $this->getData(['theme', 'block', 'borderColor']); ?>";
|
||||||
bgColor = "<?php echo $this->getData(['theme', 'site', 'backgroundColor']); ?>";
|
bgColor = "<?php echo $this->getData(['theme', 'site', 'backgroundColor']); ?>";
|
||||||
$(".userOuter").css("border-color", borderColor);
|
|
||||||
$(".userOuter").css("background-color", bgColor);
|
$(".userOuter").css("background-color", bgColor);
|
||||||
|
$(".userOuter").css("border","solid 1px");
|
||||||
|
$(".userOuter").css("border-color", borderColor);
|
||||||
/* Modifier la couleur au survol */
|
/* Modifier la couleur au survol */
|
||||||
$( ".userOuter" ).mouseenter(function() {
|
$( ".userOuter" ).mouseenter(function() {
|
||||||
$(".userOuter").css("opacity", "0.5");
|
$(".userOuter").css("border-radius","5px");
|
||||||
});
|
});
|
||||||
$( ".userOuter" ).mouseleave(function() {
|
$( ".userOuter" ).mouseleave(function() {
|
||||||
$(".userOuter").css("opacity", "1");
|
$(".userOuter").css("border-radius","0px");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -94,14 +94,15 @@ $( ".humanBotClose" ).click(function() {
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
borderColor = "<?php echo $this->getData(['theme', 'block', 'borderColor']); ?>";
|
borderColor = "<?php echo $this->getData(['theme', 'block', 'borderColor']); ?>";
|
||||||
bgColor = "<?php echo $this->getData(['theme', 'site', 'backgroundColor']); ?>";
|
bgColor = "<?php echo $this->getData(['theme', 'site', 'backgroundColor']); ?>";
|
||||||
$(".blogOuter").css("border-color", borderColor);
|
|
||||||
$(".blogOuter").css("background-color", bgColor);
|
$(".blogOuter").css("background-color", bgColor);
|
||||||
|
$(".blogOuter").css("border","solid 1px");
|
||||||
|
$(".blogOuter").css("border-color", borderColor);
|
||||||
/* Modifier la couleur au survol */
|
/* Modifier la couleur au survol */
|
||||||
$( ".blogOuter" ).mouseenter(function() {
|
$( ".blogOuter" ).mouseenter(function() {
|
||||||
$(".blogOuter").css("opacity", "0.5");
|
$(".blogOuter").css("border-radius","5px");
|
||||||
});
|
});
|
||||||
$( ".blogOuter" ).mouseleave(function() {
|
$( ".blogOuter" ).mouseleave(function() {
|
||||||
$(".blogOuter").css("opacity", "1");
|
$(".blogOuter").css("border-radius","0px");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -64,15 +64,16 @@ $( ".humanBotClose" ).click(function() {
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
borderColor = "<?php echo $this->getData(['theme', 'block', 'borderColor']); ?>";
|
borderColor = "<?php echo $this->getData(['theme', 'block', 'borderColor']); ?>";
|
||||||
bgColor = "<?php echo $this->getData(['theme', 'site', 'backgroundColor']); ?>";
|
bgColor = "<?php echo $this->getData(['theme', 'site', 'backgroundColor']); ?>";
|
||||||
$(".formOuter").css("border-color", borderColor);
|
|
||||||
$(".formInputFile").css("border-color", borderColor);
|
$(".formInputFile").css("border-color", borderColor);
|
||||||
$(".formOuter").css("background-color", bgColor);
|
$(".formOuter").css("background-color", bgColor);
|
||||||
|
$(".formOuter").css("border","solid 1px");
|
||||||
|
$(".formOuter").css("border-color", borderColor);
|
||||||
/* Modifier la couleur au survol */
|
/* Modifier la couleur au survol */
|
||||||
$( ".formOuter" ).mouseenter(function() {
|
$( ".formOuter" ).mouseenter(function() {
|
||||||
$(".formOuter").css("opacity", "0.5");
|
$(".formOuter").css("border-radius","5px");
|
||||||
});
|
});
|
||||||
$( ".formOuter" ).mouseleave(function() {
|
$( ".formOuter" ).mouseleave(function() {
|
||||||
$(".formOuter").css("opacity", "1");
|
$(".formOuter").css("border-radius","0px");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue