Skip to content

Commit

Permalink
UJ: Merged from template.
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwieds committed Dec 11, 2024
2 parents dea6199 + d837ca7 commit a695432
Show file tree
Hide file tree
Showing 17 changed files with 446 additions and 47 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ on:
- main
- template
schedule:
- cron: '0 0 1 * *' # every 1st of the month at 12 am UTC
- cron: '30 1 1 * *' # every 1st of the month at 1:30 am UTC

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

# env:
env:
# GH_TOKEN: ${{ secrets.GH_TOKEN }}
BACKEND_MANAGER_KEY: ${{ secrets.BACKEND_MANAGER_KEY }}

jobs:
build:
Expand Down Expand Up @@ -105,7 +106,7 @@ jobs:
uses: kolpav/purge-artifacts-action@v1
with:
token: ${{ secrets.GH_TOKEN }}
expire-in: 5 minutes # Set this to 0 to delete instantly
expire-in: 30 minutes # Set this to 0 to delete instantly
# - name: Purge artifacts
# uses: c-hive/gha-remove-artifacts@v1
# with:
Expand Down
1 change: 1 addition & 0 deletions .nvmrc copy
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v18/*
108 changes: 107 additions & 1 deletion _includes/master/assets/css/defaults.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,35 @@ footer, header, hgroup, menu, nav, section {
}
}

.animation-hover-up {
-webkit-transition: all .3s cubic-bezier(.2,.3,0,1);
-moz-transition: all .3s cubic-bezier(.2,.3,0,1);
-ms-transition: all .3s cubic-bezier(.2,.3,0,1);
-o-transition: all .3s cubic-bezier(.2,.3,0,1);
transition: all .3s cubic-bezier(.2,.3,0,1);
}
.animation-hover-up:hover {
-moz-transform: translate(0,-8px);
-o-transform: translate(0,-8px);
-ms-transform: translate(0,-8px);
-webkit-transform: translate(0,-8px);
transform: translateY(-8px);
}
.animation-hover-up {

.animation-hover-zoom {
-webkit-transition: all .3s cubic-bezier(.2,.3,0,1);
-moz-transition: all .3s cubic-bezier(.2,.3,0,1);
-ms-transition: all .3s cubic-bezier(.2,.3,0,1);
-o-transition: all .3s cubic-bezier(.2,.3,0,1);
transition: all .3s cubic-bezier(.2,.3,0,1);
}
.animation-hover-zoom:hover {
-moz-transform: scale(1.05);
-o-transform: scale(1.05);
-ms-transform: scale(1.05);
-webkit-transform: scale(1.05);
transform: scale(1.05);
}

/* @keyframes opacity {
0% {
Expand Down Expand Up @@ -246,6 +261,24 @@ footer, header, hgroup, menu, nav, section {
animation: shimmer 3s ease-out infinite alternate;
}

@keyframes flex {
0% {
transform: scaleX(1)
}

50% {
transform: scale3d(1.05, 1.05, 1.05)
}

to {
transform: scaleX(1)
}
}

.animation-flex {
animation: flex 1s ease-in-out infinite;
}

@keyframes wiggle {
0%,
20%,
Expand Down Expand Up @@ -276,3 +309,76 @@ footer, header, hgroup, menu, nav, section {
.animation-wiggle {
animation: wiggle 1.5s ease-in-out infinite;
}

@keyframes up-down {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}

.animation-up-down {
animation: up-down 3s ease-in-out infinite;
}

/* Filters */
.filter-white {
filter: brightness(0) invert(1);
}

.filter-black {
filter: brightness(0) invert(1) hue-rotate(180deg);
}

/* Buttons */
/* .btn-gradient {
animation: shimmer 3s ease-out infinite alternate !important;
border-width: 0 !important;
border-color: transparent !important;
background-color: transparent !important;
background-image: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82) !important;
background-size: 300% 300% !important;
text-transform: none !important;
--tw-text-opacity: 1 !important;
color: rgb(255 255 255/ 1!important) !important;
--tw-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1);
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
transition-duration: .1s;
animation-duration: .1s;
} */

.btn-gradient {
animation: shimmer 3s ease-out infinite alternate !important;
border-width: 0 !important;
border-color: transparent !important;
background-color: transparent !important;
background-image: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82) !important;
background-size: 300% 300% !important;
text-transform: none !important;
color: rgba(255, 255, 255, 1) !important;
/* Replacing Tailwind CSS custom properties with a specific box-shadow value */
box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
transition-duration: 3s !important;
animation-duration: 3s !important;
}
.btn-gradient:hover {
opacity: 0.70;
}

.text-gradient {
background-image: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);
background-size: 300% 300%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: shimmer 3s ease-out infinite alternate;
}

@keyframes shimmer {
0% {
background-position: 0% 50%;
}
100% {
background-position: 100% 50%;
}
}


3 changes: 1 addition & 2 deletions _includes/master/misc/embed-manager.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
}
})
.catch(function (e) {
var error = new Error('Failed to fetch build.json: ' + e)
var error = new Error('Failed to fetch build.json @ {{ site.url }}: ' + e)
console.error(error);
alert(error)
})
Expand All @@ -90,7 +90,6 @@
uid: user.uid,
email: user.email,
},

}
})
})
Expand Down
7 changes: 6 additions & 1 deletion _includes/master/modules/adunits/fallback/insert.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
id="{id}"
name="{id}"
class="lazyload"
style="max-height: 300px;"
style="_max-height: 300px;"
sandbox="allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts allow-top-navigation-by-user-activation"
width="100%" height="100%"
frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no"
Expand Down Expand Up @@ -57,6 +57,11 @@
var command = message.command || '';
var payload = message.payload || {};

// Auto-set id
if (!payload.id && event.source.name) {
payload.id = event.source.name.replace('uj-vert-', '');
}

// Log
console.log('Message', command, message, event.source);

Expand Down
Loading

0 comments on commit a695432

Please sign in to comment.