Browse Source

Customized for Chapril (#5060).

chapril-1.3.0
Christian P. MOMON 10 months ago
committed by root
parent
commit
7d39054c31
  1. 1
      .gitignore
  2. 2
      config.inc.php
  3. 6
      index.php
  4. 8
      style.less
  5. 0
      temp/.gitkeep
  6. BIN
      themes/chapril/icons/128.png
  7. BIN
      themes/chapril/icons/16.png
  8. BIN
      themes/chapril/icons/192.png
  9. BIN
      themes/chapril/icons/256.png
  10. BIN
      themes/chapril/icons/32.png
  11. BIN
      themes/chapril/icons/384.png
  12. BIN
      themes/chapril/icons/48.png
  13. BIN
      themes/chapril/icons/512.png
  14. BIN
      themes/chapril/icons/64.png
  15. BIN
      themes/chapril/icons/96.png
  16. BIN
      themes/chapril/icons/chapril-libreqr-favicon.png
  17. BIN
      themes/chapril/icons/chapril-libreqr-logo.png
  18. BIN
      themes/chapril/icons/source.png
  19. 17
      themes/chapril/theme.php

1
.gitignore

@ -1,2 +1,3 @@
.directory
temp/*
*~

2
config.inc.php

@ -11,7 +11,7 @@ $timeBeforeDeletion = 60 * 60 * 24 * 7;
// EN: Theme's name (must be in the themes directory)
// 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
// FR : Langue utilisée si celles demandées par l'utilisateurice ne sont pas disponibles

6
index.php

@ -121,11 +121,11 @@ if (badQuery()) {
<main>
<header>
<header style="margin-top: 20px;">
<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">
<h1>LibreQR</h1>
<h1>QrcodeChaprilOrg</h1>
<h2><?= $loc['subtitle'] ?></h2>
</div>
</a>

8
style.less

@ -75,12 +75,12 @@ main {
}
body {
margin: 18px;
margin: 0px;
background-color: @bg;
color: @text;
font-weight: normal;
font-size: 20px;
height: 99%;
height: 96%;
}
html {
@ -237,7 +237,7 @@ header, footer {
#txt {
background-color: @bgTextField;
color: @text;
color: @fgTextField;
padding: 10px;
margin: 10px;
width: 500px;
@ -253,7 +253,7 @@ input[type=submit] {
}
#txt::placeholder {
color: @secondaryText;
color: @fgDefaultTextField;
opacity: 1;
font-family: "Ubuntu", sans-serif;
font-weight: normal;

0
temp/.gitkeep

BIN
themes/chapril/icons/128.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
themes/chapril/icons/16.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
themes/chapril/icons/192.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

BIN
themes/chapril/icons/256.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

BIN
themes/chapril/icons/32.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

BIN
themes/chapril/icons/384.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

BIN
themes/chapril/icons/48.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
themes/chapril/icons/512.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

BIN
themes/chapril/icons/64.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
themes/chapril/icons/96.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
themes/chapril/icons/chapril-libreqr-favicon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
themes/chapril/icons/chapril-libreqr-logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
themes/chapril/icons/source.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

17
themes/chapril/theme.php

@ -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
Loading…
Cancel
Save