diff --git a/links/templates/links/mini_apps/image_gallery.html b/links/templates/links/mini_apps/image_gallery.html index f54a37b..be18e43 100644 --- a/links/templates/links/mini_apps/image_gallery.html +++ b/links/templates/links/mini_apps/image_gallery.html @@ -89,17 +89,56 @@ .control-panel { position: absolute; bottom: 30px; - left: 50%; - transform: translateX(-50%); + right: 80px; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(10px); - border-radius: 50px; + border-radius: 16px; padding: 15px 25px; display: flex; gap: 20px; z-index: 10; box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.1); + transition: transform 0.3s ease, opacity 0.3s ease; + transform-origin: bottom right; + } + + .control-panel.folded { + transform: scale(0); + opacity: 0; + pointer-events: none; + } + + .control-toggle { + position: absolute; + bottom: 30px; + right: 30px; + width: 50px; + height: 50px; + background: rgba(0, 0, 0, 0.7); + backdrop-filter: blur(10px); + border-radius: 25px; + display: flex; + align-items: center; + justify-content: center; + cursor: pointer; + z-index: 11; + border: 1px solid rgba(255, 255, 255, 0.1); + transition: transform 0.3s ease; + } + + .control-toggle:hover { + transform: scale(1.1); + } + + .control-toggle i { + font-size: 20px; + color: white; + transition: transform 0.3s ease; + } + + .control-toggle.active i { + transform: rotate(45deg); } .control-group { @@ -258,25 +297,6 @@ gap: 10px; } - .preview-item { - height: 60px; - border-radius: 8px; - background-size: cover; - background-position: center; - cursor: pointer; - border: 2px solid transparent; - transition: all 0.3s ease; - } - - .preview-item:hover { - transform: translateY(-3px); - } - - .preview-item.active { - border-color: #ff6b6b; - box-shadow: 0 0 15px rgba(255, 107, 107, 0.5); - } - .back-button { position: absolute; top: 30px; @@ -342,7 +362,10 @@ {% trans "Back to Mini Apps" %}
-