.card-box { display: flex; justify-content: center; align-items: center; } #apps-list { margin-top: 100px; flex-direction: column; } .update-card { display: none; flex-direction: column; justify-content: space-between; align-items: center; background-color: #DCDCDC; border: none; border-radius: 10px; margin: 0 auto; margin-bottom: 10px; outline: none; padding: 12px; width: calc(100% - 30px); max-width: 900px; position: relative; overflow: hidden; } #update-available { font-size: 20px; font-weight: bold; margin-top: 15px; margin-bottom: 0; } #redirect-to-release { margin-top: 5px; margin-bottom: 15px; } .card { background-color: #fff; border: none; border-radius: 12px; margin: 0 auto; margin-bottom: 10px; outline: none; padding: 13px; width: calc(100% - 30px); max-width: 900px; transition: background-color 0.2s ease; position: relative; overflow: hidden; } .content { display: flex; justify-content: space-between; align-items: center; position: relative; } .mode { display: none; flex-direction: row; gap: 10px; padding: 10px; position: absolute; left: 0; right: 0; margin: auto; width: fit-content; background-color: #B1B1B1; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); border: 1px solid #ccc; border-radius: 12px; opacity: 0; transform: scale(0); transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1); z-index: 1200; } .mode.show { opacity: 1; transform: scale(1); } .mode-overlay { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: none; z-index: 1100; } .mode-switch { position: relative; display: inline-block; } .mode-input { opacity: 0; position: absolute; width: 0; height: 0; } .status-indicator { display: flex; justify-content: center; align-items: center; width: 35px; height: 35px; border-radius: 7px; box-sizing: border-box; transition: border-color 0.2s ease; border: 3px solid transparent; position: relative; overflow: hidden; } #normal-indicator { background-color: #007bff; } #hack-indicator { background-color: #FF8400; } #generate-indicator { background-color: #51FF00; } .mode-input[type="radio"]:checked ~ .mode-icon .status-indicator { border-color: #fff; } .name { display: inline-block; margin: 0; font-size: 15.5px; max-width: calc(100% - 30px); overflow-wrap: break-word; word-break: break-word; user-select: none; } .checkbox-wrapper { position: relative; display: inline-block; width: 20px; height: 20px; margin-left: auto; } .checkbox { opacity: 0; position: absolute; width: 0; height: 0; } .custom-checkbox { position: relative; display: inline-block; width: 100%; height: 100%; border: 2px solid #ccc; border-radius: 4px; box-sizing: border-box; transition: border-color 1s ease, transform 0.3s ease, background-color 0.4s cubic-bezier(0.22, 1, 0.36, 1); } .tick-symbol { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); opacity: 0; transition: transform 0.2s ease-out, opacity 0.3s ease; } .checkbox:checked + .custom-checkbox { border-color: #007bff; background-color: #007bff; transition: border-color 0.1s ease; animation: checked-bounce 0.3s ease-out; } .checkbox-checked-generate:checked + .custom-checkbox { border-color: #51FF00; background-color: #51FF00; } .checkbox-checked-hack:checked + .custom-checkbox { border-color: #FF8400; background-color: #FF8400; } .checkbox:not(:checked) + .custom-checkbox { animation: unchecked-bounce 0.3s ease-out; } .checkbox:checked + .custom-checkbox .tick-symbol { transform: translate(-50%, -50%) scale(1); opacity: 1; } @keyframes checked-bounce { 0% { transform: scale(1); } 50% { transform: scale(0.8); } 100% { transform: scale(1); } } @keyframes unchecked-bounce { 0% { transform: scale(1); } 50% { transform: scale(0.8); } 100% { transform: scale(1); } } @media (prefers-color-scheme: dark) { .card { background-color: #343434; } .update-card { background-color: #4D4D4D; } .mode { background-color: #343434; border: 1px solid #6E6E6E; } }