diff --git a/AI-Debugger-widget-guide.md b/AI-Debugger-widget-guide.md index 13d6db4920..2c8a00ee93 100644 --- a/AI-Debugger-widget-guide.md +++ b/AI-Debugger-widget-guide.md @@ -154,4 +154,4 @@ Continue creating and exploring! 🎵✨ *For questions, feedback, or support, please reach out to the development team.* -*Last updated: August 2025 | Version 1.0* +*Last updated: February 2026 | Version 1.0* diff --git a/css/activities.css b/css/activities.css index e8f2aebee7..a76d15867e 100644 --- a/css/activities.css +++ b/css/activities.css @@ -196,6 +196,17 @@ body:not(.dark) #helpfulSearchDiv { float: right; font-size: 28px; font-weight: bold; + background: none; + border: none; + padding: 0; + line-height: 1; +} + +.close:hover, +.close:focus { + color: black; + text-decoration: none; + cursor: pointer; } .close:hover, @@ -1990,10 +2001,25 @@ table { transition: background-color 0.3s, filter 0.3s; } -.msgCloseIcon:hover { +.msgCloseButton { + background: none; + border: none; + padding: 0; + cursor: pointer; + display: flex; + align-items: center; + justify-content: center; +} + +.msgCloseButton:hover .msgCloseIcon { filter: invert(0%); } +.msgCloseButton:focus { + outline: 2px solid #2196F3; + outline-offset: 2px; +} + .disable_highlighting { user-select: none; } @@ -2172,6 +2198,32 @@ table { } } +#crossButton { + position: absolute; + top: 10px; + right: 10px; + cursor: pointer; + background: #f2f2f2; + border: 1px solid #ccc; + border-radius: 4px; + width: 30px; + height: 30px; + font-size: 20px; + display: flex; + align-items: center; + justify-content: center; + z-index: 10001; +} + +#crossButton:hover { + background: #e0e0e0; +} + +#crossButton:focus { + outline: 2px solid #2196F3; + outline-offset: 2px; +} + /* ====================================================== FIX: Center the Welcome Modal on Mobile ====================================================== */ diff --git a/dist/css/windows.css b/dist/css/windows.css index 7a3e14b430..ed98ef8027 100644 --- a/dist/css/windows.css +++ b/dist/css/windows.css @@ -8,7 +8,7 @@ box-sizing: border-box; } -#floatingWindows > .windowFrame { +#floatingWindows>.windowFrame { overflow: hidden; border-radius: 8px; border: 2px solid #666; @@ -18,7 +18,7 @@ left: 0; } -#floatingWindows > .windowFrame > .wfTopBar { +#floatingWindows>.windowFrame>.wfTopBar { height: 29px; border-bottom: 1px solid #666; min-width: 425px; @@ -27,7 +27,7 @@ position: relative; } -#floatingWindows > .windowFrame > .wfTopBar .wftButton { +#floatingWindows>.windowFrame>.wfTopBar .wftButton { background-color: #666; border-radius: 2px; width: 21px; @@ -35,6 +35,8 @@ margin-left: 4px; margin-right: 4px; border: none; + padding: 0; + font: inherit; flex-shrink: 0; position: relative; cursor: pointer; @@ -43,26 +45,26 @@ justify-content: center; } -#floatingWindows > .windowFrame > .wfTopBar .wftButton.close:hover { +#floatingWindows>.windowFrame>.wfTopBar .wftButton.close:hover { background-color: #f44336; opacity: 0.7; } -#floatingWindows > .windowFrame > .wfTopBar .wftButton.rollup:hover { +#floatingWindows>.windowFrame>.wfTopBar .wftButton.rollup:hover { background-color: #18b500; opacity: 0.7; } -#floatingWindows > .windowFrame > .wfTopBar .wftButton:last-child { +#floatingWindows>.windowFrame>.wfTopBar .wftButton:last-child { margin: 0; } -#floatingWindows > .windowFrame > .wfTopBar .wftButton.rollup { +#floatingWindows>.windowFrame>.wfTopBar .wftButton.rollup { order: 2; } -#floatingWindows > .windowFrame > .wfTopBar .wftButton.rollup::before, -#floatingWindows > .windowFrame > .wfTopBar .wftButton.rollup::after { +#floatingWindows>.windowFrame>.wfTopBar .wftButton.rollup::before, +#floatingWindows>.windowFrame>.wfTopBar .wftButton.rollup::after { content: ""; display: block; height: 2px; @@ -74,16 +76,16 @@ transform: translate(-50%, -50%); } -#floatingWindows > .windowFrame > .wfTopBar .wftButton.rollup.plus::before { +#floatingWindows>.windowFrame>.wfTopBar .wftButton.rollup.plus::before { transform: translate(-50%, -50%) rotate(90deg); } -#floatingWindows > .windowFrame > .wfTopBar .wftButton.rollup::before { +#floatingWindows>.windowFrame>.wfTopBar .wftButton.rollup::before { transform: translate(-50%, -50%) rotate(0deg); } -#floatingWindows > .windowFrame > .wfTopBar .wftButton.close::before, -#floatingWindows > .windowFrame > .wfTopBar .wftButton.close::after { +#floatingWindows>.windowFrame>.wfTopBar .wftButton.close::before, +#floatingWindows>.windowFrame>.wfTopBar .wftButton.close::after { content: ""; display: block; height: 2px; @@ -95,11 +97,11 @@ transform: translate(-50%, -50%) rotate(45deg); } -#floatingWindows > .windowFrame > .wfTopBar .wftButton.close::after { +#floatingWindows>.windowFrame>.wfTopBar .wftButton.close::after { transform: translate(-50%, -50%) rotate(-45deg); } -#floatingWindows > .windowFrame > .wfTopBar .wftTitle { +#floatingWindows>.windowFrame>.wfTopBar .wftTitle { line-height: 21px; flex-grow: 1; color: #666; @@ -109,17 +111,17 @@ letter-spacing: 1.2px; } -#floatingWindows > .windowFrame > .wfWinBody { +#floatingWindows>.windowFrame>.wfWinBody { min-height: 50px; min-width: 50px; display: flex; } -#floatingWindows > .windowFrame > .wfWinBody > .wfbToolbar { +#floatingWindows>.windowFrame>.wfWinBody>.wfbToolbar { flex-shrink: 0; } -#floatingWindows > .windowFrame > .wfWinBody > .wfbToolbar > .wfbtHR { +#floatingWindows>.windowFrame>.wfWinBody>.wfbToolbar>.wfbtHR { width: 40px; height: 2px; margin: -2px 7px; @@ -142,7 +144,7 @@ background-color: #7bb5ee; } -.wfbtItem > input { +.wfbtItem>input { border: none; width: 100%; height: 100%; @@ -152,7 +154,7 @@ text-align: center; } -#floatingWindows > .windowFrame > .wfWinBody > .wfbWidget { +#floatingWindows>.windowFrame>.wfWinBody>.wfbWidget { flex-grow: 1; overflow: hidden; position: relative; @@ -182,7 +184,7 @@ z-index: 10000; } - #floatingWindows > .windowFrame { + #floatingWindows>.windowFrame { border-radius: 0; border: none; width: 100vw; @@ -193,7 +195,7 @@ flex-direction: column; } - #floatingWindows > .windowFrame > .wfTopBar { + #floatingWindows>.windowFrame>.wfTopBar { height: 56px; background-color: #2196f3; border: none; @@ -205,7 +207,7 @@ min-width: auto; } - #floatingWindows > .windowFrame > .wfTopBar .wftButton { + #floatingWindows>.windowFrame>.wfTopBar .wftButton { padding: 0 15px; background: none; border-radius: 0; @@ -215,29 +217,29 @@ margin: 0; } - #floatingWindows > .windowFrame > .wfTopBar .wftButton.wftMaxmin { + #floatingWindows>.windowFrame>.wfTopBar .wftButton.wftMaxmin { display: none; } - #floatingWindows > .windowFrame > .wfTopBar .wftButton.rollup { + #floatingWindows>.windowFrame>.wfTopBar .wftButton.rollup { display: none; } - #floatingWindows > .windowFrame > .wfTopBar .wftButton:hover { + #floatingWindows>.windowFrame>.wfTopBar .wftButton:hover { opacity: 1; background-color: rgba(0, 0, 0, 0.1); } - #floatingWindows > .windowFrame > .wfTopBar .wftButton.rollup::before { + #floatingWindows>.windowFrame>.wfTopBar .wftButton.rollup::before { width: 40%; } - #floatingWindows > .windowFrame > .wfTopBar .wftButton.close::before, - #floatingWindows > .windowFrame > .wfTopBar .wftButton.close::after { + #floatingWindows>.windowFrame>.wfTopBar .wftButton.close::before, + #floatingWindows>.windowFrame>.wfTopBar .wftButton.close::after { width: 50%; } - #floatingWindows > .windowFrame > .wfTopBar .wftTitle { + #floatingWindows>.windowFrame>.wfTopBar .wftTitle { flex-grow: 1; color: #fff; font-size: 1.5em; @@ -248,12 +250,12 @@ letter-spacing: 1.5px; } - #floatingWindows > .windowFrame > .wfWinBody { + #floatingWindows>.windowFrame>.wfWinBody { flex-direction: column; flex-grow: 1; } - #floatingWindows > .windowFrame > .wfWinBody > .wfbToolbar { + #floatingWindows>.windowFrame>.wfWinBody>.wfbToolbar { width: 54px; flex-shrink: 0; display: flex; @@ -263,11 +265,11 @@ padding: 2px 4px; } - #floatingWindows > .windowFrame > .wfWinBody > .wfbToolbar > * { + #floatingWindows>.windowFrame>.wfWinBody>.wfbToolbar>* { flex-shrink: 0; } - #floatingWindows > .windowFrame > .wfWinBody > .wfbWidget { + #floatingWindows>.windowFrame>.wfWinBody>.wfbWidget { padding: 10px; } } @@ -284,7 +286,7 @@ z-index: 10000; } - #floatingWindows > .windowFrame { + #floatingWindows>.windowFrame { border-radius: 0; border: none; width: 100vw; @@ -295,7 +297,7 @@ flex-direction: column; } - #floatingWindows > .windowFrame > .wfTopBar { + #floatingWindows>.windowFrame>.wfTopBar { height: 56px; background-color: #2196f3; border: none; @@ -307,7 +309,7 @@ min-width: auto; } - #floatingWindows > .windowFrame > .wfTopBar .wftButton { + #floatingWindows>.windowFrame>.wfTopBar .wftButton { padding: 0 10px; background: none; border-radius: 0; @@ -317,12 +319,12 @@ margin: 0; } - #floatingWindows > .windowFrame > .wfTopBar .wftButton:hover { + #floatingWindows>.windowFrame>.wfTopBar .wftButton:hover { opacity: 1; background-color: rgba(0, 0, 0, 0.1); } - #floatingWindows > .windowFrame > .wfTopBar .wftTitle { + #floatingWindows>.windowFrame>.wfTopBar .wftTitle { flex-grow: 1; color: #fff; font-size: 1.2em; @@ -333,7 +335,7 @@ letter-spacing: 1px; } - #floatingWindows > .windowFrame > .wfWinBody > .wfbToolbar { + #floatingWindows>.windowFrame>.wfWinBody>.wfbToolbar { width: 50px; flex-shrink: 0; display: flex; @@ -343,7 +345,7 @@ padding: 2px 4px; } - #floatingWindows > .windowFrame > .wfWinBody > .wfbWidget { + #floatingWindows>.windowFrame>.wfWinBody>.wfbWidget { padding: 5px; } } @@ -360,7 +362,7 @@ z-index: 10000; } - #floatingWindows > .windowFrame { + #floatingWindows>.windowFrame { border-radius: 0; border: none; width: 100vw; @@ -371,7 +373,7 @@ flex-direction: column; } - #floatingWindows > .windowFrame > .wfTopBar { + #floatingWindows>.windowFrame>.wfTopBar { height: 48px; background-color: #2196f3; border: none; @@ -383,7 +385,7 @@ min-width: auto; } - #floatingWindows > .windowFrame > .wfTopBar .wftButton { + #floatingWindows>.windowFrame>.wfTopBar .wftButton { padding: 0 8px; background: none; border-radius: 0; @@ -393,12 +395,12 @@ margin: 0; } - #floatingWindows > .windowFrame > .wfTopBar .wftButton:hover { + #floatingWindows>.windowFrame>.wfTopBar .wftButton:hover { opacity: 1; background-color: rgba(0, 0, 0, 0.1); } - #floatingWindows > .windowFrame > .wfTopBar .wftTitle { + #floatingWindows>.windowFrame>.wfTopBar .wftTitle { flex-grow: 1; color: #fff; font-size: 1.1em; @@ -409,7 +411,7 @@ letter-spacing: 1px; } - #floatingWindows > .windowFrame > .wfWinBody > .wfbToolbar { + #floatingWindows>.windowFrame>.wfWinBody>.wfbToolbar { width: 44px; flex-shrink: 0; display: flex; @@ -418,4 +420,4 @@ width: 100%; padding: 1px 3px; } -} +} \ No newline at end of file diff --git a/index.html b/index.html index ccade92710..3eff046277 100644 --- a/index.html +++ b/index.html @@ -198,13 +198,21 @@