Pc | Blur

init(); })(); </script> </body> </html>

.icon-emoji font-size: 2.6rem; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));

.icon-label font-size: 0.8rem; font-weight: 500; color: #eef5ff; text-shadow: 0 1px 2px black;

button.small-action background: none; border: 1px solid cyan; color: cyan; padding: 4px 12px; border-radius: 20px; font-size: 0.7rem; cursor: pointer; transition: 0.2s; Blur PC

<!-- Desktop Area: background layer that gets blurred --> <div class="desktop-area" id="desktopArea"> <div class="desktop-content"> <!-- classic desktop shortcuts / icons --> <div class="icon-group" id="docIcon"> <div class="icon-emoji">📁</div> <div class="icon-label">Documents</div> </div> <div class="icon-group" id="photoIcon"> <div class="icon-emoji">🖼️</div> <div class="icon-label">Gallery</div> </div> <div class="icon-group" id="settingsIcon"> <div class="icon-emoji">⚙️</div> <div class="icon-label">Blur FX</div> </div> <div class="icon-group" id="browserIcon"> <div class="icon-emoji">🌐</div> <div class="icon-label">Web Canvas</div> </div> <div class="icon-group" id="terminalIcon"> <div class="icon-emoji">💻</div> <div class="icon-label">Terminal</div> </div> </div>

.reset-btn:hover background: #ff4466; color: white; border-color: white; box-shadow: 0 0 8px #ff5e8a;

// toast like small notification (simple) function showToastMessage(msg, color = "#7df9ff") // create temporary floating toast const toast = document.createElement('div'); toast.innerText = msg; toast.style.position = 'fixed'; toast.style.bottom = '30px'; toast.style.left = '50%'; toast.style.transform = 'translateX(-50%)'; toast.style.backgroundColor = '#0a0f1cee'; toast.style.backdropFilter = 'blur(10px)'; toast.style.color = color; toast.style.padding = '8px 20px'; toast.style.borderRadius = '60px'; toast.style.fontSize = '0.8rem'; toast.style.fontWeight = 'bold'; toast.style.border = `1px solid $color`; toast.style.zIndex = '9999'; toast.style.fontFamily = 'monospace'; toast.style.pointerEvents = 'none'; toast.style.boxShadow = '0 4px 12px black'; document.body.appendChild(toast); setTimeout(() => toast.style.opacity = '0'; toast.style.transition = 'opacity 0.3s'; setTimeout(() => toast.remove(), 350); , 1700); init(); })(); &lt;/script&gt; &lt;/body&gt; &lt;/html&gt;

input[type="range"]::-webkit-slider-thumb -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #5bc0ff; cursor: pointer; box-shadow: 0 0 6px cyan; border: none;

/* ICON GRID (simulated windows shortcuts) */ .icon-group display: flex; flex-direction: column; align-items: center; gap: 10px; background: rgba(255,255,255,0.03); backdrop-filter: blur(2px); padding: 14px 8px; border-radius: 20px; transition: transform 0.15s, background 0.2s; cursor: pointer;

.reset-btn background: rgba(255, 80, 120, 0.2); border: 1px solid #ff7795; color: #ffb7c7; padding: 6px 14px; border-radius: 40px; font-weight: 600; font-size: 0.75rem; cursor: pointer; transition: 0.2s; backdrop-filter: blur(4px); .icon-emoji font-size: 2.6rem

.blur-badge span font-weight: bold; font-size: 1rem;

// interactive icon clicks (just simulate desktop actions with a toast) function bindIconActions() const icons = [ el: docIcon, name: "Documents", msg: "📄 Opening 'My Documents' — blur protected storage" , el: photoIcon, name: "Gallery", msg: "🖼️ Gallery would show blurred previews (matching current blur)" , el: settingsIcon, name: "Blur FX", msg: `⚙️ Blur settings: intensity = $currentBlur.toFixed(1)px` , el: browserIcon, name: "Web Canvas", msg: "🌐 Browser canvas: rendered under blur effect" , el: terminalIcon, name: "Terminal", msg: ">_ BlurPC terminal: 'blur' command active." ]; icons.forEach(icon => if (!icon.el) return; icon.el.addEventListener('click', (e) => e.stopPropagation(); showToastMessage(`$icon.msg`, "#b0e0ff"); // extra special: settings updates current blur info dynamically if (icon.name === "Blur FX") setTimeout(() => showToastMessage(`Current blur radius: $currentBlur.toFixed(1)px`, "#7df9ff"); , 400); ); );

/* interactive blurred background inner content */ .desktop-content display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1.8rem; align-items: start;

.title font-weight: 600; font-size: 1.25rem; background: linear-gradient(135deg, #ffffff, #aaccff); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 0 5px rgba(0,160,255,0.3);

/* THE "BLUR PC" CORE WIDGET */ .blur-pc background: #0f1119e6; border-radius: 1.8rem; backdrop-filter: blur(2px); overflow: hidden; width: 100%; max-width: 1100px; min-width: 280px; box-shadow: 0 20px 35px -12px black; transition: all 0.2s ease;

Retour
Haut Bas