Improved card fold, Added one to the index, Fixed typos

Update .gitignore, 403.php, and 4 more files...
This commit is contained in:
2022-09-22 12:46:12 +02:00
parent 2555400b2d
commit 4a8b815b6e
6 changed files with 53 additions and 4 deletions

1
.gitignore vendored
View File

@@ -15,4 +15,3 @@ resources/Azias/css/*.css
resources/Azias/css/*.map resources/Azias/css/*.map
resources/Azias/sass/**.css resources/Azias/sass/**.css
resources/Azias/sass/**.map resources/Azias/sass/**.map

View File

@@ -22,7 +22,7 @@ include_once 'modals.php';
$debuggingText = "Referrer: " . ( $debuggingText = "Referrer: " . (
array_key_exists('HTTP_REFERER', $_SERVER) ? htmlspecialchars($_SERVER['HTTP_REFERER']) : "<i>Not present in request !</i>" array_key_exists('HTTP_REFERER', $_SERVER) ? htmlspecialchars($_SERVER['HTTP_REFERER']) : "<i>Not present in request !</i>"
) . "<br>"; ) . "<br>";
$debuggingText .= "<br>TODO: Add more info once the cache if properly configured for 4xx errors !"; $debuggingText .= "<br>TODO: Add more info once the cache is properly configured for 4xx errors !";
add_code_modal( add_code_modal(
"http-error", "http-error",
localize('modal.title.debugging'), localize('modal.title.debugging'),

View File

@@ -22,7 +22,7 @@ include_once 'modals.php';
$debuggingText = "Referrer: " . ( $debuggingText = "Referrer: " . (
array_key_exists('HTTP_REFERER', $_SERVER) ? htmlspecialchars($_SERVER['HTTP_REFERER']) : "<i>Not present in request !</i>" array_key_exists('HTTP_REFERER', $_SERVER) ? htmlspecialchars($_SERVER['HTTP_REFERER']) : "<i>Not present in request !</i>"
) . "<br>"; ) . "<br>";
$debuggingText .= "<br>TODO: Add more info once the cache if properly configured for 4xx errors !"; $debuggingText .= "<br>TODO: Add more info once the cache is properly configured for 4xx errors !";
add_code_modal( add_code_modal(
"http-error", "http-error",
localize('modal.title.debugging'), localize('modal.title.debugging'),

View File

@@ -126,8 +126,15 @@ include_once 'langs.php';
<i class="fad fa-globe"></i>&nbsp;&nbsp;<a href="<?php echo(l10n_url_abs("/content/excel-worksheet-password-remover")); ?>">Project's page</a> <i class="fad fa-globe"></i>&nbsp;&nbsp;<a href="<?php echo(l10n_url_abs("/content/excel-worksheet-password-remover")); ?>">Project's page</a>
</p> </p>
</div> </div>
<a href="<?php print(l10n_url_abs('/content/')); ?>">
<div class="container-card-fold primary">
<i class="fas fa-angle-right r-45"></i>
</div>
</a>
</div> </div>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -21,6 +21,13 @@
user-select: none; user-select: none;
&.primary {
color: var(--dm-button-primary-text-color);
background-color: var(--dm-button-primary-bg-color);
background-image: var(--dm-button-primary-bg-image);
border-color: var(--dm-button-primary-border-color);
}
&.secondary { &.secondary {
color: var(--dm-button-secondary-text-color); color: var(--dm-button-secondary-text-color);
background-color: var(--dm-button-secondary-bg-color); background-color: var(--dm-button-secondary-bg-color);
@@ -41,6 +48,11 @@
bottom: 0.2rem; bottom: 0.2rem;
transition: right 0.25s ease, bottom 0.25s ease; transition: right 0.25s ease, bottom 0.25s ease;
transition-timing-function: cubic-bezier(.47,1.64,.41,.8); transition-timing-function: cubic-bezier(.47,1.64,.41,.8);
&.r-45 {
// Small fix
right: 0.4rem;
}
} }
&:hover { &:hover {
@@ -51,6 +63,29 @@
i { i {
bottom: 0.325em; bottom: 0.325em;
right: 0.325rem; right: 0.325rem;
&.r-45 {
// Small fix
right: 0.7rem;
}
}
}
// Extra rule for mobile
// If it doesn't work, use "768px" !
@media (max-width: 576px) {
width: 3.5rem;
height: 3.5rem;
opacity: 0.8;
i {
bottom: 0.325em;
right: 0.325rem;
&.r-45 {
// Small fix
right: 0.7rem;
}
} }
} }
} }

View File

@@ -14,3 +14,11 @@
// Same as above. // Same as above.
text-transform: uppercase; text-transform: uppercase;
} }
.r-45 {
transform: rotate(45deg);
}
.r-135 {
transform: rotate(135deg);
}