Fix all the general issues in sizing, placement, dragging, architecture and so on

This commit is contained in:
Your Name
2025-04-13 17:11:08 -04:00
parent 3e4105aca3
commit f569bb2240
19 changed files with 309 additions and 231 deletions
+22 -27
View File
@@ -16,17 +16,23 @@ body {
/* Base styles for widget containers */
.container {
position: absolute;
background: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 5px;
padding: 10px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
z-index: 0;
container-type: size;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0);
padding: 10px;
border-radius: 5px;
}
.aero {
background: rgba(255, 255, 255, 0.2);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-color: rgba(255, 255, 255, 0.3);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
/* Styles for the close button */
@@ -45,15 +51,6 @@ body {
line-height: 16px;
text-align: center;
cursor: pointer;
transition: background 0.2s;
}
.close-button:hover {
background: #ff4444;
}
.close-button:active {
background: #cc0000;
}
/* Styles for the settings button */
@@ -72,7 +69,6 @@ body {
align-items: center;
justify-content: center;
cursor: pointer;
transition: background 0.2s;
}
.settings-button:hover {
@@ -89,6 +85,14 @@ body {
font-size: 48px;
font-family: 'IBM Plex Mono', monospace;
text-align: center;
font-size: 50cqmin;
}
.timezone-display{
font-size: small;
text-align: center;
color: #ffffff;
font-size: 15cqmin;
}
/* SearchWidget form */
@@ -145,7 +149,6 @@ body {
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
}
.settings-toggle:hover {
@@ -154,9 +157,7 @@ body {
/* Main settings modal */
.settings-modal {
position: fixed;
top: 0;
left: 0;
position: absolute;
width: 100%;
height: 100%;
display: flex;
@@ -259,9 +260,3 @@ body {
width: 100%;
height: 1px;
}
.timezone-display{
font-size: small;
text-align: center;
color: #ffffff;
}