Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Build-CPP.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#usage -----> powershell -ExecutionPolicy Bypass -Command "& {. .\Build-CPP.ps1; Dist -major 0 -minor 0 -patch 3}"
#usage -----> powershell -ExecutionPolicy Bypass -Command "& {. .\Build-CPP.ps1; Dist -major 0 -minor 0 -patch 5}"
$msbuild = "C:\Program Files\Microsoft Visual Studio\2022\Community\Msbuild\Current\Bin\MSBuild.exe"

function Add-RMSkinFooter {
Expand Down
6 changes: 4 additions & 2 deletions Resources/Skins/WebView2/@Resources/Calendar/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@
<body>
<div class="widget-container">
<!-- Background Elements -->
<div class="bg-shape shape-1"></div>
<div class="bg-shape shape-2"></div>
<div class="shape-container">
<div class="bg-shape shape-1"></div>
<div class="bg-shape shape-2"></div>
</div>

<div class="calendar-card">
<div class="calendar-header">
Expand Down
58 changes: 36 additions & 22 deletions Resources/Skins/WebView2/@Resources/Calendar/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,27 @@ body {
.widget-container {
position: relative;
width: 280px;
height: 320px; /* Reduced from 380px */
height: 295px; /* Match Weather height */
display: flex;
justify-content: center;
align-items: center;
border-radius: 20px; /* Force rounded corners for entire widget */
overflow: hidden; /* Clip everything to rounded shape */
}

/* Abstract Background Shapes */
.shape-container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 90%; /* Match card width */
height: 85%; /* Match card height */
border-radius: 14px; /* Match card border-radius */
overflow: hidden;
z-index: 0;
}

.bg-shape {
position: absolute;
border-radius: 50%;
Expand All @@ -45,40 +59,40 @@ body {
}

.shape-1 {
width: 160px; /* Reduced from 200px */
height: 160px;
width: 120px; /* Further reduced for compact size */
height: 120px;
background: #764ba2;
top: -15px;
left: -15px;
top: -10px;
left: -10px;
animation: float 10s infinite ease-in-out;
}

.shape-2 {
width: 140px; /* Reduced from 180px */
height: 140px;
width: 105px; /* Further reduced for compact size */
height: 105px;
background: #4facfe;
bottom: -15px;
right: -15px;
bottom: -10px;
right: -10px;
animation: float 12s infinite ease-in-out reverse;
}

@keyframes float {
0%, 100% { transform: translate(0, 0); }
50% { transform: translate(15px, 15px); } /* Reduced movement */
50% { transform: translate(10px, 10px); } /* Further reduced movement */
}

/* Glass Card */
.calendar-card {
position: relative;
z-index: 1;
width: 90%;
height: 90%;
height: 85%; /* Reduced to match Weather and prevent clipping */
background: var(--glass-bg);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid var(--glass-border);
border-radius: 18px; /* Reduced from 24px */
padding: 15px; /* Reduced from 20px */
border-radius: 14px; /* Further reduced */
padding: 10px; /* Further reduced */
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
display: flex;
flex-direction: column;
Expand All @@ -89,16 +103,16 @@ body {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px; /* Reduced from 20px */
margin-bottom: 8px; /* Further reduced */
color: var(--text-primary);
}

.month-year {
font-size: 0.95rem; /* Reduced from 1.2rem */
font-size: 0.8rem; /* Further reduced */
font-weight: 600;
text-transform: capitalize;
display: flex;
gap: 4px; /* Reduced from 5px */
gap: 3px; /* Further reduced */
}

#current-year {
Expand All @@ -110,9 +124,9 @@ body {
background: transparent;
border: none;
color: var(--text-secondary);
font-size: 1rem; /* Reduced from 1.2rem */
font-size: 0.85rem; /* Further reduced */
cursor: pointer;
padding: 4px; /* Reduced from 5px */
padding: 3px; /* Further reduced */
border-radius: 50%;
transition: all 0.2s ease;
display: flex;
Expand All @@ -136,11 +150,11 @@ body {
display: grid;
grid-template-columns: repeat(7, 1fr);
text-align: center;
margin-bottom: 6px; /* Reduced from 10px */
margin-bottom: 4px; /* Further reduced */
}

.weekdays span {
font-size: 0.7rem; /* Reduced from 0.85rem */
font-size: 0.6rem; /* Further reduced */
font-weight: 500;
color: var(--text-secondary);
text-transform: uppercase;
Expand All @@ -149,12 +163,12 @@ body {
.days {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 3px; /* Reduced from 5px */
gap: 2px; /* Further reduced */
text-align: center;
}

.days div {
font-size: 0.8rem; /* Reduced from 0.95rem */
font-size: 0.7rem; /* Further reduced */
color: var(--text-primary);
width: 100%;
aspect-ratio: 1; /* Make them square */
Expand Down
52 changes: 26 additions & 26 deletions Resources/Skins/WebView2/@Resources/Clock/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ body {

.widget-container {
position: relative;
width: 350px;
height: 200px;
width: 280px;
height: 160px;
display: flex;
justify-content: center;
align-items: center;
Expand All @@ -53,29 +53,29 @@ body {
}

.blob-1 {
width: 120px;
height: 120px;
width: 95px;
height: 95px;
background: var(--blob-color-1);
top: 20px;
left: 40px;
top: 15px;
left: 30px;
animation-delay: 0s;
}

.blob-2 {
width: 150px;
height: 150px;
width: 120px;
height: 120px;
background: var(--blob-color-2);
bottom: 20px;
right: 40px;
bottom: 15px;
right: 30px;
animation-delay: -2s;
}

.blob-3 {
width: 100px;
height: 100px;
width: 80px;
height: 80px;
background: var(--blob-color-3);
bottom: 40px;
left: 80px;
bottom: 30px;
left: 65px;
animation-delay: -4s;
}

Expand All @@ -84,10 +84,10 @@ body {
transform: translate(0, 0) scale(1);
}
33% {
transform: translate(30px, -50px) scale(1.1);
transform: translate(25px, -40px) scale(1.1);
}
66% {
transform: translate(-20px, 20px) scale(0.9);
transform: translate(-15px, 15px) scale(0.9);
}
100% {
transform: translate(0, 0) scale(1);
Expand All @@ -104,7 +104,7 @@ body {
backdrop-filter: blur(15px);
-webkit-backdrop-filter: blur(15px);
border: 1px solid var(--glass-border);
border-radius: 20px;
border-radius: 16px;
display: flex;
justify-content: center;
align-items: center;
Expand All @@ -121,45 +121,45 @@ body {
align-items: baseline;
justify-content: center;
line-height: 1;
margin-bottom: 5px;
margin-bottom: 4px;
}

#hours, #minutes {
font-size: 4rem;
font-size: 3.2rem;
font-weight: 700;
text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.colon {
font-size: 3rem;
font-size: 2.4rem;
font-weight: 300;
margin: 0 5px;
margin: 0 4px;
animation: blink 1s infinite;
}

.seconds-wrapper {
display: flex;
flex-direction: column;
align-items: flex-start;
margin-left: 10px;
font-size: 1rem;
margin-left: 8px;
font-size: 0.85rem;
font-weight: 500;
}

#seconds {
color: var(--text-secondary);
font-size: 1.2rem;
font-size: 1rem;
}

#ampm {
font-size: 0.8rem;
font-size: 0.7rem;
color: var(--text-secondary);
text-transform: uppercase;
margin-top: 2px;
}

.date {
font-size: 1rem;
font-size: 0.85rem;
font-weight: 300;
color: var(--text-secondary);
letter-spacing: 1px;
Expand Down
41 changes: 41 additions & 0 deletions Resources/Skins/WebView2/@Resources/IslamicDate/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Islamic Date Widget</title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<!-- Phosphor Icons -->
<script src="https://unpkg.com/@phosphor-icons/web"></script>
</head>
<body>
<div class="widget-container">
<!-- Background Elements -->
<div class="shape-container">
<div class="bg-shape shape-1"></div>
<div class="bg-shape shape-2"></div>
<div class="bg-shape shape-3"></div>
</div>

<div class="islamic-card">
<div class="content-wrapper">
<!-- Icon and Day Row -->
<div class="top-row">
<div class="icon-container">
<i class="ph ph-moon-stars"></i>
</div>
<div class="hijri-day" id="hijri-day">1</div>
</div>

<!-- Month and Year -->
<div class="hijri-month" id="hijri-month">Muharram</div>
<div class="hijri-year" id="hijri-year">1446 AH</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>
Loading
Loading