diff --git a/.gitignore b/.gitignore index e53d270..103db32 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,3 @@ resources/Azias/css/*.css resources/Azias/css/*.map resources/Azias/sass/**.css resources/Azias/sass/**.map - diff --git a/403.php b/403.php index 0eab7c2..c0d457e 100644 --- a/403.php +++ b/403.php @@ -22,7 +22,7 @@ include_once 'modals.php'; $debuggingText = "Referrer: " . ( array_key_exists('HTTP_REFERER', $_SERVER) ? htmlspecialchars($_SERVER['HTTP_REFERER']) : "Not present in request !" ) . "
"; - $debuggingText .= "
TODO: Add more info once the cache if properly configured for 4xx errors !"; + $debuggingText .= "
TODO: Add more info once the cache is properly configured for 4xx errors !"; add_code_modal( "http-error", localize('modal.title.debugging'), diff --git a/404.php b/404.php index 9b84d13..c53d6a4 100644 --- a/404.php +++ b/404.php @@ -22,7 +22,7 @@ include_once 'modals.php'; $debuggingText = "Referrer: " . ( array_key_exists('HTTP_REFERER', $_SERVER) ? htmlspecialchars($_SERVER['HTTP_REFERER']) : "Not present in request !" ) . "
"; - $debuggingText .= "
TODO: Add more info once the cache if properly configured for 4xx errors !"; + $debuggingText .= "
TODO: Add more info once the cache is properly configured for 4xx errors !"; add_code_modal( "http-error", localize('modal.title.debugging'), diff --git a/index.php b/index.php index 9c4c704..642392a 100644 --- a/index.php +++ b/index.php @@ -126,8 +126,15 @@ include_once 'langs.php';   ">Project's page

+ + +
+ +
+
+ - + diff --git a/resources/Azias/scss/halfmoon/element/card.scss b/resources/Azias/scss/halfmoon/element/card.scss index 9769cf0..3aae694 100644 --- a/resources/Azias/scss/halfmoon/element/card.scss +++ b/resources/Azias/scss/halfmoon/element/card.scss @@ -21,6 +21,13 @@ 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 { color: var(--dm-button-secondary-text-color); background-color: var(--dm-button-secondary-bg-color); @@ -41,6 +48,11 @@ bottom: 0.2rem; transition: right 0.25s ease, bottom 0.25s ease; transition-timing-function: cubic-bezier(.47,1.64,.41,.8); + + &.r-45 { + // Small fix + right: 0.4rem; + } } &:hover { @@ -51,6 +63,29 @@ i { bottom: 0.325em; 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; + } } } } diff --git a/resources/Azias/scss/standalone/fonts.scss b/resources/Azias/scss/standalone/fonts.scss index 80a1f57..fec271b 100644 --- a/resources/Azias/scss/standalone/fonts.scss +++ b/resources/Azias/scss/standalone/fonts.scss @@ -14,3 +14,11 @@ // Same as above. text-transform: uppercase; } + +.r-45 { + transform: rotate(45deg); +} + +.r-135 { + transform: rotate(135deg); +}