Improved slightly error pages, Added card's corner triangular button
Update .gitignore, 403.php, and 7 more files...
This commit is contained in:
@@ -4,13 +4,13 @@ document.getElementById('button-sidebar').addEventListener("click", () => {
|
||||
// TODO: Fix the slide size in gliders
|
||||
});
|
||||
|
||||
// Adding the last URL to every a element with the 'js-set-previous-url' class.
|
||||
/*document.querySelectorAll("a.js-set-previous-url").forEach(element => {
|
||||
// Adding the last URL to every "a" element with the 'js-set-previous-url' class.
|
||||
document.querySelectorAll("a.js-set-previous-url").forEach(element => {
|
||||
element.href = document.referrer;
|
||||
element.addEventListener('click', function(e) {
|
||||
window.history.go(-2);
|
||||
});
|
||||
});*/
|
||||
//element.addEventListener('click', function(e) {
|
||||
// window.history.go(-2);
|
||||
//});
|
||||
});
|
||||
|
||||
// TOX ID copiers. (Contact page)
|
||||
if(document.getElementById('button-copy-tox-id-main') != null) {
|
||||
|
||||
56
resources/Azias/scss/halfmoon/element/card.scss
Normal file
56
resources/Azias/scss/halfmoon/element/card.scss
Normal file
@@ -0,0 +1,56 @@
|
||||
/* Halfmoon > Elements > Cards */
|
||||
|
||||
.container-card-fold {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
width: 3rem;
|
||||
height: 3rem;
|
||||
|
||||
clip-path: polygon(100% 0, 0 100%, 100% 100%);
|
||||
border-radius: var(--base-border-radius) !important;
|
||||
//border-bottom-right-radius: var(--base-border-radius) !important;
|
||||
overflow: hidden;
|
||||
background-color: deeppink;
|
||||
opacity: 0.4;
|
||||
|
||||
// https://codepen.io/setswon/pen/VJeXXq
|
||||
// Using a value of ~0.35 feels sluggish.
|
||||
transition: width 0.25s ease, height 0.25s ease, opacity 0.2s ease;
|
||||
transition-timing-function: cubic-bezier(.47,1.64,.41,.8);
|
||||
|
||||
user-select: none;
|
||||
|
||||
&.secondary {
|
||||
color: var(--dm-button-secondary-text-color);
|
||||
background-color: var(--dm-button-secondary-bg-color);
|
||||
background-image: var(--dm-button-secondary-bg-image);
|
||||
border-color: var(--dm-button-secondary-border-color);
|
||||
}
|
||||
|
||||
&.danger {
|
||||
color: var(--dm-button-secondary-text-color); // White icons looks like shit.
|
||||
background-color: var(--dm-button-danger-bg-color);
|
||||
background-image: var(--dm-button-danger-bg-image);
|
||||
border-color: var(--dm-button-danger-border-color);
|
||||
}
|
||||
|
||||
i {
|
||||
position: absolute;
|
||||
right: 0.2rem;
|
||||
bottom: 0.2rem;
|
||||
transition: right 0.25s ease, bottom 0.25s ease;
|
||||
transition-timing-function: cubic-bezier(.47,1.64,.41,.8);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
width: 3.5rem;
|
||||
height: 3.5rem;
|
||||
opacity: 0.8;
|
||||
|
||||
i {
|
||||
bottom: 0.325em;
|
||||
right: 0.325rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -18,6 +18,7 @@
|
||||
@import 'halfmoon/page/contact';
|
||||
|
||||
/* Halfmoon > Elements */
|
||||
@import 'halfmoon/element/card';
|
||||
@import 'halfmoon/element/code';
|
||||
@import 'halfmoon/element/containers';
|
||||
@import 'halfmoon/element/glider';
|
||||
|
||||
Reference in New Issue
Block a user