This commit is contained in:
parent
4a1e2a4097
commit
1d83a59acb
17 changed files with 1135 additions and 4305 deletions
|
@ -1,27 +1,27 @@
|
|||
.heartbeat {
|
||||
display: inline-block;
|
||||
animation: pulse calc(60s / var(--bpm)) infinite ease-in-out;
|
||||
transform-origin: center;
|
||||
display: inline-block;
|
||||
animation: pulse calc(60s / var(--bpm)) infinite ease-in-out;
|
||||
transform-origin: center;
|
||||
}
|
||||
|
||||
@keyframes pulse {
|
||||
0% {
|
||||
transform: scale(1);
|
||||
}
|
||||
0% {
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
25% {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
25% {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
50% {
|
||||
transform: scale(1);
|
||||
}
|
||||
50% {
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
75% {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
75% {
|
||||
transform: scale(1.1);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,110 +1,110 @@
|
|||
.card {
|
||||
width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.activityCard {
|
||||
background-color: transparent;
|
||||
border-radius: 8px;
|
||||
padding: 16px;
|
||||
width: 100% !important;
|
||||
/* Set a max width */
|
||||
background-color: transparent;
|
||||
border-radius: 8px;
|
||||
padding: 16px;
|
||||
width: 100% !important;
|
||||
/* Set a max width */
|
||||
}
|
||||
|
||||
.status {
|
||||
font-size: 14px;
|
||||
margin-bottom: 8px;
|
||||
font-size: 14px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
/* Allow wrapping for smaller screens */
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
/* Allow wrapping for smaller screens */
|
||||
}
|
||||
|
||||
.bigImage {
|
||||
position: relative;
|
||||
width: 120px;
|
||||
/* Set fixed width for the big image */
|
||||
height: 120px;
|
||||
/* Set fixed height for the big image */
|
||||
flex-shrink: 0;
|
||||
/* Prevent shrinking */
|
||||
position: relative;
|
||||
width: 120px;
|
||||
/* Set fixed width for the big image */
|
||||
height: 120px;
|
||||
/* Set fixed height for the big image */
|
||||
flex-shrink: 0;
|
||||
/* Prevent shrinking */
|
||||
}
|
||||
|
||||
.bigImage img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 8px;
|
||||
object-fit: cover;
|
||||
/* Ensures the image covers the area without distortion */
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 8px;
|
||||
object-fit: cover;
|
||||
/* Ensures the image covers the area without distortion */
|
||||
}
|
||||
|
||||
.smallImage {
|
||||
position: absolute;
|
||||
bottom: -8px;
|
||||
right: -8px;
|
||||
width: 40px;
|
||||
/* Set fixed width for the small image */
|
||||
height: 40px;
|
||||
/* Set fixed height for the small image */
|
||||
overflow: hidden;
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
bottom: -8px;
|
||||
right: -8px;
|
||||
width: 40px;
|
||||
/* Set fixed width for the small image */
|
||||
height: 40px;
|
||||
/* Set fixed height for the small image */
|
||||
overflow: hidden;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.smallImage img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
/* Ensures the image covers the area without distortion */
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
/* Ensures the image covers the area without distortion */
|
||||
}
|
||||
|
||||
.textInfo {
|
||||
margin-left: 16px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
flex-grow: 1;
|
||||
/* Allow text info to grow */
|
||||
margin-left: 16px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
flex-grow: 1;
|
||||
/* Allow text info to grow */
|
||||
}
|
||||
|
||||
.appName {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.state,
|
||||
.details {
|
||||
font-size: 14px;
|
||||
color: #b9bbbe;
|
||||
font-size: 14px;
|
||||
color: #b9bbbe;
|
||||
}
|
||||
|
||||
/* Media Queries for Responsiveness */
|
||||
@media (max-width: 480px) {
|
||||
.bigImage {
|
||||
width: 80px;
|
||||
/* Adjust size for smaller screens */
|
||||
height: 80px;
|
||||
}
|
||||
.bigImage {
|
||||
width: 80px;
|
||||
/* Adjust size for smaller screens */
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.smallImage {
|
||||
width: 30px;
|
||||
/* Adjust size for smaller screens */
|
||||
height: 30px;
|
||||
}
|
||||
.smallImage {
|
||||
width: 30px;
|
||||
/* Adjust size for smaller screens */
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.textInfo {
|
||||
margin-left: 8px;
|
||||
/* Reduce margin for smaller screens */
|
||||
}
|
||||
.textInfo {
|
||||
margin-left: 8px;
|
||||
/* Reduce margin for smaller screens */
|
||||
}
|
||||
|
||||
.appName {
|
||||
font-size: 14px;
|
||||
/* Adjust font size */
|
||||
}
|
||||
.appName {
|
||||
font-size: 14px;
|
||||
/* Adjust font size */
|
||||
}
|
||||
|
||||
.state,
|
||||
.details {
|
||||
font-size: 12px;
|
||||
/* Adjust font size */
|
||||
}
|
||||
}
|
||||
.state,
|
||||
.details {
|
||||
font-size: 12px;
|
||||
/* Adjust font size */
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,34 +1,34 @@
|
|||
.container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.card {
|
||||
width: 90%;
|
||||
padding: 0.5rem;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
width: 90%;
|
||||
padding: 0.5rem;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
.center {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.avatar {
|
||||
width: 5rem;
|
||||
height: inherit;
|
||||
border: 2px solid rgb(var(--mdui-color-primary));
|
||||
width: 5rem;
|
||||
height: inherit;
|
||||
border: 2px solid rgb(var(--mdui-color-primary));
|
||||
}
|
||||
|
||||
.lanyard {
|
||||
display: var(--lanyard-display);
|
||||
display: var(--lanyard-display);
|
||||
}
|
||||
|
||||
.hyperate {
|
||||
display: var(--hyperate-display);
|
||||
}
|
||||
display: var(--hyperate-display);
|
||||
}
|
||||
|
|
|
@ -53,4 +53,4 @@ body {
|
|||
|
||||
.shj-syn-str {
|
||||
color: #4dacfa;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -196,4 +196,4 @@
|
|||
--mdui-color-surface-container-high: 45, 41, 44;
|
||||
--mdui-color-surface-container-highest: 56, 51, 54;
|
||||
--mdui-color-surface-tint-color: 255, 171, 243;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,12 +16,12 @@ interface Options {
|
|||
* * `bottom-end`: Aligned to the bottom, right
|
||||
*/
|
||||
placement?:
|
||||
| "top"
|
||||
| "top-start"
|
||||
| "top-end"
|
||||
| "bottom"
|
||||
| "bottom-start"
|
||||
| "bottom-end";
|
||||
| "top"
|
||||
| "top-start"
|
||||
| "top-end"
|
||||
| "bottom"
|
||||
| "bottom-start"
|
||||
| "bottom-end";
|
||||
/**
|
||||
* The text for the action button.
|
||||
*/
|
||||
|
|
|
@ -9,7 +9,7 @@ let lanyard: LanyardData = {
|
|||
activities: [],
|
||||
};
|
||||
|
||||
await fs.rm("./dist", { recursive: true, force: true }).catch(() => { });
|
||||
await fs.rm("./dist", { recursive: true, force: true }).catch(() => {});
|
||||
|
||||
if (!Backend.development) {
|
||||
await Backend.build();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue