Customized for Chapril (#5060).
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
.directory
|
.directory
|
||||||
temp/*
|
temp/*
|
||||||
|
*~
|
@ -11,7 +11,7 @@ $timeBeforeDeletion = 60 * 60 * 24 * 7;
|
|||||||
|
|
||||||
// EN: Theme's name (must be in the themes directory)
|
// EN: Theme's name (must be in the themes directory)
|
||||||
// FR : Nom du thème (doit être dans le dossier themes)
|
// FR : Nom du thème (doit être dans le dossier themes)
|
||||||
$theme = "dark";
|
$theme = "chapril";
|
||||||
|
|
||||||
// EN: Language used if those requested by the user are not available
|
// EN: Language used if those requested by the user are not available
|
||||||
// FR : Langue utilisée si celles demandées par l'utilisateurice ne sont pas disponibles
|
// FR : Langue utilisée si celles demandées par l'utilisateurice ne sont pas disponibles
|
||||||
|
@ -121,11 +121,11 @@ if (badQuery()) {
|
|||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
|
||||||
<header>
|
<header style="margin-top: 20px;">
|
||||||
<a id="linkTitles" href="./">
|
<a id="linkTitles" href="./">
|
||||||
<img alt="" id="logo" src="themes/<?php echo $theme; ?>/icons/128.png">
|
<img alt="" id="logo" src="themes/<?php echo $theme; ?>/icons/chapril-libreqr-logo.png">
|
||||||
<div id="titles">
|
<div id="titles">
|
||||||
<h1>LibreQR</h1>
|
<h1>QrcodeChaprilOrg</h1>
|
||||||
<h2><?= $loc['subtitle'] ?></h2>
|
<h2><?= $loc['subtitle'] ?></h2>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
@ -75,12 +75,12 @@ main {
|
|||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 18px;
|
margin: 0px;
|
||||||
background-color: @bg;
|
background-color: @bg;
|
||||||
color: @text;
|
color: @text;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
height: 99%;
|
height: 96%;
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
@ -237,7 +237,7 @@ header, footer {
|
|||||||
|
|
||||||
#txt {
|
#txt {
|
||||||
background-color: @bgTextField;
|
background-color: @bgTextField;
|
||||||
color: @text;
|
color: @fgTextField;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
width: 500px;
|
width: 500px;
|
||||||
@ -253,7 +253,7 @@ input[type=submit] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#txt::placeholder {
|
#txt::placeholder {
|
||||||
color: @secondaryText;
|
color: @fgDefaultTextField;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
font-family: "Ubuntu", sans-serif;
|
font-family: "Ubuntu", sans-serif;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
0
temp/.gitkeep
Executable file → Normal file
BIN
themes/chapril/icons/128.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
themes/chapril/icons/16.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
themes/chapril/icons/192.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
themes/chapril/icons/256.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
themes/chapril/icons/32.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
themes/chapril/icons/384.png
Normal file
After Width: | Height: | Size: 7.1 KiB |
BIN
themes/chapril/icons/48.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
themes/chapril/icons/512.png
Normal file
After Width: | Height: | Size: 8.9 KiB |
BIN
themes/chapril/icons/64.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
themes/chapril/icons/96.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
themes/chapril/icons/chapril-libreqr-favicon.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
themes/chapril/icons/chapril-libreqr-logo.png
Normal file
After Width: | Height: | Size: 62 KiB |
BIN
themes/chapril/icons/source.png
Normal file
After Width: | Height: | Size: 13 KiB |
17
themes/chapril/theme.php
Executable file
@ -0,0 +1,17 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$themeDimensionsIcons = array(16, 32, 48, 64, 96, 128, 192, 256, 384, 512); // Liste les dimensions des icones
|
||||||
|
|
||||||
|
$variablesTheme = array(
|
||||||
|
"bg" => "#67a3f2",
|
||||||
|
"bgField" => "#2e5281",
|
||||||
|
"bgTextField" => "white",
|
||||||
|
"fgTextField" => "black",
|
||||||
|
"fgDefaultTextField" => "#999999",
|
||||||
|
"bgHelp" => "#2e5281",
|
||||||
|
"border" => "#2e5281",
|
||||||
|
"borderHover" => "#808080",
|
||||||
|
"borderFocus" => "white",
|
||||||
|
"text" => "white",
|
||||||
|
"secondaryText" => "white"
|
||||||
|
); // Définit les couleurs du thème
|