Spaces:
Paused
Paused
Update static/style.css
Browse files1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991 unmodified line1011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451 unmodified line147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184/* Stile base */body {font-family: 'Roboto', sans-serif;background-color: #282c34; /* Dark background for contrast */color: white; /* White text for visibility */display: flex; /* Align everything in the center of the viewport */align-items: center;justify-content: center;height: 100vh; /* Full height for vertical alignment */margin: 0;padding: 0;overflow: hidden; /* Prevent scrolling outside the container */}/* Contenitore principale */.container {text-align: center;background: linear-gradient(145deg, #3b3b3b, #4b4b4b); /* Subtle gradient for depth */padding: 30px;border-radius: 16px;box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);width: 90%; /* Flexible width for responsiveness */max-width: 700px;max-height: 90vh; /* Prevent the container from overflowing vertically */overflow-y: auto; /* Enable vertical scrolling */}/* Hide scrollbar for WebKit browsers (e.g., Chrome, Safari) */.container::-webkit-scrollbar {display: none;}/* Titolo */.title {font-size: 4em;font-weight: bold;margin-bottom: 20px;text-shadow: 1px 1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000;}.title .toast {color: #f5deb3; /* Subtle wheat color */}.title .translator {color: #6a1b9a; /* Soft purple */}/* Gruppi input */.login-group, .add-group {display: flex;flex-direction: column; /* Stack inputs vertically */align-items: center;width: 100%;box-sizing: border-box;gap: 15px; /* Add spacing between items */}/* Text inputs */input[type="email"],input[type="password"],input[type="text"] {width: 100%; /* Full width inside the group */max-width: 400px; /* Cap the width for large screens */padding: 10px;font-size: 16px;border-radius: 4px;border: 1px solid #555;background-color: #444; /* Darker input background */color: white;outline: none;margin: 5px 0; /* Small vertical spacing */}input::placeholder {color: #9e9e9e; /* Subtle placeholder text */}/* Pulsanti */button {padding: 10px 20px;font-size: 16px;border: none;border-radius: 4px;background-color: #8e44ad; /* Primary button color */color: white;font-weight: bold;cursor: pointer;transition: background-color 0.2s;}button:hover {background-color: #732d91; /* Darker on hover */}/* Addon Info */.addon-info {background-color: #444;padding: 15px;1 unmodified linetext-align: left;margin-top: 20px;color: #ddd;display: flex;flex-direction: column;align-items: flex-start; /* Left-align text */gap: 10px; /* Spacing between elements */}/* Addon header layout */.addon-header {display: flex;align-items: center;gap: 10px; /* Space between logo and title */}.addon-logo {max-width: 60px;max-height: 60px;border-radius: 8px;}/* Action buttons inside addon info */.addon-actions {display: flex;justify-content: space-between;width: 100%; /* Full width to space buttons evenly */gap: 10px;}.addon-actions button {flex: 1; /* Equal button sizes */padding: 8px;font-size: 14px;border-radius: 20px;cursor: pointer;transition: background-color 0.2s;}/* Action button states */.install-btn {background-color: #2ecc71; /* Green for install */color: #333;}1 unmodified linebackground-color: #27ae60;}/* Text area */textarea {width: 90%; /* Full width inside container */height: 100px;margin-top: 10px;padding: 10px;font-size: 16px;border-radius: 8px;border: 1px solid #555;background-color: #444;color: white;resize: none; /* Disable resize for consistent styling */outline: none;box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);}textarea[readonly] {background-color: #333;pointer-events: none;border: 1px solid #555;}/* Miscellaneous checkbox styles */.skip-poster,.toast-ratings {display: flex;align-items: center;gap: 10px; /* Space between label and checkbox */margin-top: 10px;}.skip-poster label,.toast-ratings label {color: white;}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495961 unmodified line98991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371 unmodified line139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204/* Stile base */body {font-family: 'Roboto', sans-serif;background-color: #282c34;color: white;display: flex;align-items: center;justify-content: center;height: 100vh;margin: 0;}/* Contenitore principale */.container {text-align: center;background: linear-gradient(145deg, gray, gray);padding: 30px;border-radius: 16px;box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);width: 90%;max-width: 700px;max-height: 90vh; /* Altezza massima per mantenere lo scrolling */overflow-y: scroll; /* Abilita lo scroll verticale all'interno del contenitore */}/* Stile per browser WebKit (Chrome, Safari, Edge) */.container::-webkit-scrollbar {display: none;}/* Titolo "Toast Translator" */.title {font-size: 4em;font-weight: bold;color: #333;margin-bottom: 20px;text-shadow: 1px 1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000;}.title .toast {color: #f5deb3;}.title .translator {color: #6a1b9a;}/* Textbox per URL e pulsante di caricamento */.login-group {display: flex;flex-direction: column;width: 100%;box-sizing: border-box;gap: 10px;}.add-group {display: none;width: 100%;}input[type="email"],input[type="password"],input[type="text"] {flex: 1;padding: 10px 20px;font-size: 16px;border-radius: 4px;border: 1px solid #555;background-color: #444;color: white;margin-right: 10px;outline: none;}button {padding: 10px 20px;font-size: 16px;border: none;border-radius: 4px;margin-right: 10px;background-color: #8e44ad;color: #ffffff;font-weight: bold;cursor: pointer;transition: background-color 0.2s;}button:hover {background-color: #732d91;}/* Riquadro addon */.addon-info {background-color: #444;padding: 15px;1 unmodified linetext-align: left;margin-top: 20px;color: #ddd;position: relative;}.addon-info h3 {margin: 0 0 10px 0;font-size: 18px;}.addon-info p {margin: 5px 0;}/* Pulsant "Selezione/Rimuovi"*/.addon-actions {display: flex;justify-content: space-between;margin-top: 10px;}/* Pulsante a forma di pillola */.addon-actions button {flex: 1;margin: 0 5px;padding: 8px;font-size: 14px;border-radius: 20px;border: none;cursor: pointer;transition: background-color 0.2s;}/* Pulsante "Seleziona" */.install-btn {background-color: #2ecc71;color: #333;}1 unmodified linebackground-color: #27ae60;}.translate-button {flex: 1;margin: 0 5px;padding: 8px;font-size: 14px;border-radius: 20px;border: none;cursor: pointer;transition: background-color 0.2s;}/* Logo dell'addon */.addon-logo {max-width: 60px;max-height: 60px;border-radius: 8px;margin-right: 10px;}/* Header del riquadro */.addon-header {display: flex;align-items: center;}/* Checkboxs */.skip-poster,.toast-ratings {display: flex;align-items: left;margin-top: 10px;position: relative;}.skip-poster label,.toast-ratings label {margin-left: 5px;}textarea {opacity: 0;width: 90%;height: 0px;margin-top: 10px;margin-left: 10px;padding: 5px 5px;font-size: 16px;border-radius: 8px;border: 1px solid #555;background-color: #444;color: white;resize: none;outline: none;box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);transition: opacity 0.3s, height 0.3s;overflow: hidden;}textarea[readonly] {background-color: #333;pointer-events: none;border: 1px solid #555;}
static/style.css+94-74