|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="pt_BR"> |
| 3 | + <head> |
| 4 | + <meta charset="UTF-8" /> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
| 6 | + <title>Pixely Sort & Save</title> |
| 7 | + <style> |
| 8 | + :root { |
| 9 | + --purple-primary: #8a2be2; |
| 10 | + --purple-light: #9945e8; |
| 11 | + --dark: #1a1a1a; |
| 12 | + --gray-light: #f5f5f5; |
| 13 | + } |
| 14 | + |
| 15 | + body { |
| 16 | + font-family: "Segoe UI", system-ui, -apple-system, sans-serif; |
| 17 | + background-color: var(--dark); |
| 18 | + color: var(--gray-light); |
| 19 | + margin: 0; |
| 20 | + padding: 0; |
| 21 | + min-height: 100vh; |
| 22 | + display: flex; |
| 23 | + flex-direction: column; |
| 24 | + width: 320px; |
| 25 | + height: 480px; |
| 26 | + } |
| 27 | + |
| 28 | + main { |
| 29 | + flex: 1; |
| 30 | + max-width: 100%; |
| 31 | + margin: 0 auto; |
| 32 | + padding: 1rem; |
| 33 | + width: 100%; |
| 34 | + box-sizing: border-box; |
| 35 | + margin-bottom: 3rem; |
| 36 | + overflow-y: auto; |
| 37 | + } |
| 38 | + |
| 39 | + .header { |
| 40 | + text-align: center; |
| 41 | + margin-bottom: 1.5rem; |
| 42 | + } |
| 43 | + |
| 44 | + .header img { |
| 45 | + width: 48px; |
| 46 | + height: 48px; |
| 47 | + margin-bottom: 0.5rem; |
| 48 | + } |
| 49 | + |
| 50 | + .header h1 { |
| 51 | + font-size: 1.5rem; |
| 52 | + color: var(--purple-primary); |
| 53 | + margin: 0; |
| 54 | + } |
| 55 | + |
| 56 | + .toggle-section { |
| 57 | + margin: 1rem 0; |
| 58 | + } |
| 59 | + |
| 60 | + .option-card { |
| 61 | + padding: 0.8rem; |
| 62 | + margin: 0.5rem 0; |
| 63 | + font-size: 0.9rem; |
| 64 | + background-color: #2a2a2a; |
| 65 | + border-radius: 8px; |
| 66 | + display: flex; |
| 67 | + align-items: center; |
| 68 | + justify-content: space-between; |
| 69 | + border-left: 4px solid var(--purple-primary); |
| 70 | + transition: all 0.3s ease; |
| 71 | + } |
| 72 | + |
| 73 | + .option-card:hover { |
| 74 | + background-color: #333; |
| 75 | + transform: translateX(3px); |
| 76 | + } |
| 77 | + |
| 78 | + .switch-card input[type="checkbox"] { |
| 79 | + width: 2.5rem; |
| 80 | + height: 1.2rem; |
| 81 | + appearance: none; |
| 82 | + background-color: #444; |
| 83 | + border-radius: 1rem; |
| 84 | + position: relative; |
| 85 | + cursor: pointer; |
| 86 | + border: 2px solid var(--purple-primary); |
| 87 | + } |
| 88 | + |
| 89 | + .switch-card input[type="checkbox"]::before { |
| 90 | + content: ""; |
| 91 | + width: 0.9rem; |
| 92 | + height: 0.9rem; |
| 93 | + background-color: var(--gray-light); |
| 94 | + border-radius: 50%; |
| 95 | + position: absolute; |
| 96 | + top: 50%; |
| 97 | + left: 0.2rem; |
| 98 | + transform: translateY(-50%); |
| 99 | + transition: all 0.3s ease; |
| 100 | + } |
| 101 | + |
| 102 | + .switch-card input[type="checkbox"]:checked { |
| 103 | + background-color: var(--purple-primary); |
| 104 | + } |
| 105 | + |
| 106 | + .switch-card input[type="checkbox"]:checked::before { |
| 107 | + left: 1.4rem; |
| 108 | + } |
| 109 | + |
| 110 | + .support-section { |
| 111 | + margin: 1.5rem 0; |
| 112 | + text-align: center; |
| 113 | + } |
| 114 | + |
| 115 | + .support-section img { |
| 116 | + width: 108px; |
| 117 | + transition: transform 0.3s ease; |
| 118 | + } |
| 119 | + |
| 120 | + .support-section img:hover { |
| 121 | + transform: scale(1.05); |
| 122 | + } |
| 123 | + |
| 124 | + .support-section p { |
| 125 | + font-size: 0.7rem; |
| 126 | + margin: 0.5rem 0; |
| 127 | + } |
| 128 | + |
| 129 | + footer { |
| 130 | + position: fixed; |
| 131 | + bottom: 0; |
| 132 | + left: 0; |
| 133 | + right: 0; |
| 134 | + background-color: #2a2a2a; |
| 135 | + border-top: 1px solid #333; |
| 136 | + padding: 0.2rem 0.3rem; |
| 137 | + font-size: 0.8rem; |
| 138 | + z-index: 10; |
| 139 | + } |
| 140 | + |
| 141 | + .footer-content { |
| 142 | + display: flex; |
| 143 | + justify-content: space-between; |
| 144 | + align-items: center; |
| 145 | + } |
| 146 | + |
| 147 | + footer a { |
| 148 | + color: var(--purple-light); |
| 149 | + text-decoration: none; |
| 150 | + border-bottom: 1px dashed var(--purple-light); |
| 151 | + transition: all 0.3s ease; |
| 152 | + } |
| 153 | + |
| 154 | + footer a:hover { |
| 155 | + color: var(--purple-primary); |
| 156 | + border-bottom-style: solid; |
| 157 | + } |
| 158 | + |
| 159 | + .settings-button { |
| 160 | + background: none; |
| 161 | + border: none; |
| 162 | + color: var(--purple-light); |
| 163 | + cursor: pointer; |
| 164 | + padding: 0.5rem; |
| 165 | + transition: all 0.3s ease; |
| 166 | + display: flex; |
| 167 | + align-items: center; |
| 168 | + justify-content: center; |
| 169 | + } |
| 170 | + |
| 171 | + .settings-button:hover { |
| 172 | + color: var(--purple-primary); |
| 173 | + transform: rotate(45deg); |
| 174 | + } |
| 175 | + </style> |
| 176 | + </head> |
| 177 | + <body> |
| 178 | + <main> |
| 179 | + <div class="header"> |
| 180 | + <img src="../icons/icon.png" alt="Logo Pixely Sort & Save" /> |
| 181 | + <h1>Pixely Sort & Save</h1> |
| 182 | + </div> |
| 183 | + |
| 184 | + <div class="toggle-section"> |
| 185 | + <div class="option-card switch-card"> |
| 186 | + <label for="double-click-toggle" |
| 187 | + >Ativar download com duplo clique:</label |
| 188 | + > |
| 189 | + <input type="checkbox" id="double-click-toggle" /> |
| 190 | + </div> |
| 191 | + |
| 192 | + <div class="option-card switch-card"> |
| 193 | + <label for="dropbox-toggle">Salvar no Dropbox:</label> |
| 194 | + <input type="checkbox" id="dropbox-toggle" /> |
| 195 | + </div> |
| 196 | + |
| 197 | + <div class="option-card switch-card"> |
| 198 | + <label for="subfolder-toggle">Ativar subpastas:</label> |
| 199 | + <input type="checkbox" id="subfolder-toggle" /> |
| 200 | + </div> |
| 201 | + </div> |
| 202 | + |
| 203 | + <div class="support-section"> |
| 204 | + <p>Apoie o desenvolvedor enviado um café</p> |
| 205 | + <a href="https://www.buymeacoffee.com/parlandim" target="_blank"> |
| 206 | + <img src="../assets/coffer.png" alt="Buy Me a Coffee" /> |
| 207 | + </a> |
| 208 | + </div> |
| 209 | + </main> |
| 210 | + |
| 211 | + <footer> |
| 212 | + <div class="footer-content"> |
| 213 | + <span> |
| 214 | + Feito com 💜 por |
| 215 | + <a href="https://github.com/parlandin" target="_blank">@Parlandim</a> |
| 216 | + </span> |
| 217 | + <button class="settings-button" title="Abrir configurações"> |
| 218 | + <svg |
| 219 | + xmlns="http://www.w3.org/2000/svg" |
| 220 | + width="20" |
| 221 | + height="20" |
| 222 | + viewBox="0 0 24 24" |
| 223 | + fill="none" |
| 224 | + stroke="currentColor" |
| 225 | + stroke-width="2" |
| 226 | + stroke-linecap="round" |
| 227 | + stroke-linejoin="round" |
| 228 | + > |
| 229 | + <circle cx="12" cy="12" r="3"></circle> |
| 230 | + <path |
| 231 | + d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z" |
| 232 | + ></path> |
| 233 | + </svg> |
| 234 | + </button> |
| 235 | + </div> |
| 236 | + </footer> |
| 237 | + |
| 238 | + <script src="../scripts/index.js"></script> |
| 239 | + </body> |
| 240 | +</html> |
0 commit comments