Spaces:
Paused
Paused
Update static/style.css
Browse files- static/style.css +94 -74
static/style.css
CHANGED
|
@@ -1,99 +1,96 @@
|
|
| 1 |
/* Stile base */
|
| 2 |
body {
|
| 3 |
font-family: 'Roboto', sans-serif;
|
| 4 |
-
background-color: #282c34;
|
| 5 |
-
color: white;
|
| 6 |
-
display: flex;
|
| 7 |
align-items: center;
|
| 8 |
justify-content: center;
|
| 9 |
-
height: 100vh;
|
| 10 |
margin: 0;
|
| 11 |
-
padding: 0;
|
| 12 |
-
overflow: hidden; /* Prevent scrolling outside the container */
|
| 13 |
}
|
| 14 |
|
| 15 |
/* Contenitore principale */
|
| 16 |
.container {
|
| 17 |
text-align: center;
|
| 18 |
-
background: linear-gradient(145deg,
|
| 19 |
padding: 30px;
|
| 20 |
border-radius: 16px;
|
| 21 |
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
|
| 22 |
-
width: 90%;
|
| 23 |
max-width: 700px;
|
| 24 |
-
max-height: 90vh; /*
|
| 25 |
-
overflow-y:
|
| 26 |
}
|
| 27 |
|
| 28 |
-
/*
|
| 29 |
.container::-webkit-scrollbar {
|
| 30 |
display: none;
|
| 31 |
}
|
| 32 |
|
| 33 |
-
/* Titolo */
|
| 34 |
.title {
|
| 35 |
font-size: 4em;
|
| 36 |
font-weight: bold;
|
|
|
|
| 37 |
margin-bottom: 20px;
|
| 38 |
text-shadow: 1px 1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000;
|
| 39 |
}
|
| 40 |
|
| 41 |
.title .toast {
|
| 42 |
-
color: #f5deb3;
|
| 43 |
}
|
| 44 |
|
| 45 |
.title .translator {
|
| 46 |
-
color: #6a1b9a;
|
| 47 |
}
|
| 48 |
|
| 49 |
-
/*
|
| 50 |
-
.login-group
|
| 51 |
display: flex;
|
| 52 |
-
flex-direction: column;
|
| 53 |
-
align-items: center;
|
| 54 |
width: 100%;
|
| 55 |
box-sizing: border-box;
|
| 56 |
-
gap:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
}
|
| 58 |
|
| 59 |
-
/* Text inputs */
|
| 60 |
input[type="email"],
|
| 61 |
input[type="password"],
|
| 62 |
input[type="text"] {
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
padding: 10px;
|
| 66 |
font-size: 16px;
|
| 67 |
border-radius: 4px;
|
| 68 |
border: 1px solid #555;
|
| 69 |
-
background-color: #444;
|
| 70 |
color: white;
|
|
|
|
| 71 |
outline: none;
|
| 72 |
-
margin: 5px 0; /* Small vertical spacing */
|
| 73 |
-
}
|
| 74 |
-
|
| 75 |
-
input::placeholder {
|
| 76 |
-
color: #9e9e9e; /* Subtle placeholder text */
|
| 77 |
}
|
| 78 |
|
| 79 |
-
/* Pulsanti */
|
| 80 |
button {
|
| 81 |
padding: 10px 20px;
|
| 82 |
font-size: 16px;
|
| 83 |
border: none;
|
| 84 |
border-radius: 4px;
|
| 85 |
-
|
| 86 |
-
color:
|
|
|
|
| 87 |
font-weight: bold;
|
| 88 |
cursor: pointer;
|
| 89 |
transition: background-color 0.2s;
|
| 90 |
}
|
| 91 |
|
| 92 |
button:hover {
|
| 93 |
-
background-color: #732d91;
|
| 94 |
}
|
| 95 |
|
| 96 |
-
/*
|
| 97 |
.addon-info {
|
| 98 |
background-color: #444;
|
| 99 |
padding: 15px;
|
|
@@ -101,45 +98,40 @@ button:hover {
|
|
| 101 |
text-align: left;
|
| 102 |
margin-top: 20px;
|
| 103 |
color: #ddd;
|
| 104 |
-
|
| 105 |
-
flex-direction: column;
|
| 106 |
-
align-items: flex-start; /* Left-align text */
|
| 107 |
-
gap: 10px; /* Spacing between elements */
|
| 108 |
}
|
| 109 |
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
align-items: center;
|
| 114 |
-
gap: 10px; /* Space between logo and title */
|
| 115 |
}
|
| 116 |
|
| 117 |
-
.addon-
|
| 118 |
-
|
| 119 |
-
max-height: 60px;
|
| 120 |
-
border-radius: 8px;
|
| 121 |
}
|
| 122 |
|
| 123 |
-
/*
|
| 124 |
.addon-actions {
|
| 125 |
display: flex;
|
| 126 |
justify-content: space-between;
|
| 127 |
-
|
| 128 |
-
gap: 10px;
|
| 129 |
}
|
| 130 |
|
|
|
|
| 131 |
.addon-actions button {
|
| 132 |
-
flex: 1;
|
|
|
|
| 133 |
padding: 8px;
|
| 134 |
font-size: 14px;
|
| 135 |
border-radius: 20px;
|
|
|
|
| 136 |
cursor: pointer;
|
| 137 |
transition: background-color 0.2s;
|
| 138 |
}
|
| 139 |
|
| 140 |
-
/*
|
| 141 |
.install-btn {
|
| 142 |
-
background-color: #2ecc71;
|
| 143 |
color: #333;
|
| 144 |
}
|
| 145 |
|
|
@@ -147,38 +139,66 @@ button:hover {
|
|
| 147 |
background-color: #27ae60;
|
| 148 |
}
|
| 149 |
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
| 153 |
-
|
| 154 |
-
|
| 155 |
-
|
| 156 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 157 |
border-radius: 8px;
|
| 158 |
-
|
| 159 |
-
background-color: #444;
|
| 160 |
-
color: white;
|
| 161 |
-
resize: none; /* Disable resize for consistent styling */
|
| 162 |
-
outline: none;
|
| 163 |
-
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
|
| 164 |
}
|
| 165 |
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
|
| 170 |
}
|
| 171 |
|
| 172 |
-
/*
|
| 173 |
.skip-poster,
|
| 174 |
.toast-ratings {
|
| 175 |
display: flex;
|
| 176 |
-
align-items:
|
| 177 |
-
gap: 10px; /* Space between label and checkbox */
|
| 178 |
margin-top: 10px;
|
|
|
|
| 179 |
}
|
| 180 |
-
|
| 181 |
.skip-poster label,
|
| 182 |
.toast-ratings label {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 183 |
color: white;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 184 |
}
|
|
|
|
| 1 |
/* Stile base */
|
| 2 |
body {
|
| 3 |
font-family: 'Roboto', sans-serif;
|
| 4 |
+
background-color: #282c34;
|
| 5 |
+
color: white;
|
| 6 |
+
display: flex;
|
| 7 |
align-items: center;
|
| 8 |
justify-content: center;
|
| 9 |
+
height: 100vh;
|
| 10 |
margin: 0;
|
|
|
|
|
|
|
| 11 |
}
|
| 12 |
|
| 13 |
/* Contenitore principale */
|
| 14 |
.container {
|
| 15 |
text-align: center;
|
| 16 |
+
background: linear-gradient(145deg, gray, gray);
|
| 17 |
padding: 30px;
|
| 18 |
border-radius: 16px;
|
| 19 |
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
|
| 20 |
+
width: 90%;
|
| 21 |
max-width: 700px;
|
| 22 |
+
max-height: 90vh; /* Altezza massima per mantenere lo scrolling */
|
| 23 |
+
overflow-y: scroll; /* Abilita lo scroll verticale all'interno del contenitore */
|
| 24 |
}
|
| 25 |
|
| 26 |
+
/* Stile per browser WebKit (Chrome, Safari, Edge) */
|
| 27 |
.container::-webkit-scrollbar {
|
| 28 |
display: none;
|
| 29 |
}
|
| 30 |
|
| 31 |
+
/* Titolo "Toast Translator" */
|
| 32 |
.title {
|
| 33 |
font-size: 4em;
|
| 34 |
font-weight: bold;
|
| 35 |
+
color: #333;
|
| 36 |
margin-bottom: 20px;
|
| 37 |
text-shadow: 1px 1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000;
|
| 38 |
}
|
| 39 |
|
| 40 |
.title .toast {
|
| 41 |
+
color: #f5deb3;
|
| 42 |
}
|
| 43 |
|
| 44 |
.title .translator {
|
| 45 |
+
color: #6a1b9a;
|
| 46 |
}
|
| 47 |
|
| 48 |
+
/* Textbox per URL e pulsante di caricamento */
|
| 49 |
+
.login-group {
|
| 50 |
display: flex;
|
| 51 |
+
flex-direction: column;
|
|
|
|
| 52 |
width: 100%;
|
| 53 |
box-sizing: border-box;
|
| 54 |
+
gap: 10px;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
.add-group {
|
| 58 |
+
display: none;
|
| 59 |
+
width: 100%;
|
| 60 |
}
|
| 61 |
|
|
|
|
| 62 |
input[type="email"],
|
| 63 |
input[type="password"],
|
| 64 |
input[type="text"] {
|
| 65 |
+
flex: 1;
|
| 66 |
+
padding: 10px 20px;
|
|
|
|
| 67 |
font-size: 16px;
|
| 68 |
border-radius: 4px;
|
| 69 |
border: 1px solid #555;
|
| 70 |
+
background-color: #444;
|
| 71 |
color: white;
|
| 72 |
+
margin-right: 10px;
|
| 73 |
outline: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 74 |
}
|
| 75 |
|
|
|
|
| 76 |
button {
|
| 77 |
padding: 10px 20px;
|
| 78 |
font-size: 16px;
|
| 79 |
border: none;
|
| 80 |
border-radius: 4px;
|
| 81 |
+
margin-right: 10px;
|
| 82 |
+
background-color: #8e44ad;
|
| 83 |
+
color: #ffffff;
|
| 84 |
font-weight: bold;
|
| 85 |
cursor: pointer;
|
| 86 |
transition: background-color 0.2s;
|
| 87 |
}
|
| 88 |
|
| 89 |
button:hover {
|
| 90 |
+
background-color: #732d91;
|
| 91 |
}
|
| 92 |
|
| 93 |
+
/* Riquadro addon */
|
| 94 |
.addon-info {
|
| 95 |
background-color: #444;
|
| 96 |
padding: 15px;
|
|
|
|
| 98 |
text-align: left;
|
| 99 |
margin-top: 20px;
|
| 100 |
color: #ddd;
|
| 101 |
+
position: relative;
|
|
|
|
|
|
|
|
|
|
| 102 |
}
|
| 103 |
|
| 104 |
+
.addon-info h3 {
|
| 105 |
+
margin: 0 0 10px 0;
|
| 106 |
+
font-size: 18px;
|
|
|
|
|
|
|
| 107 |
}
|
| 108 |
|
| 109 |
+
.addon-info p {
|
| 110 |
+
margin: 5px 0;
|
|
|
|
|
|
|
| 111 |
}
|
| 112 |
|
| 113 |
+
/* Pulsant "Selezione/Rimuovi"*/
|
| 114 |
.addon-actions {
|
| 115 |
display: flex;
|
| 116 |
justify-content: space-between;
|
| 117 |
+
margin-top: 10px;
|
|
|
|
| 118 |
}
|
| 119 |
|
| 120 |
+
/* Pulsante a forma di pillola */
|
| 121 |
.addon-actions button {
|
| 122 |
+
flex: 1;
|
| 123 |
+
margin: 0 5px;
|
| 124 |
padding: 8px;
|
| 125 |
font-size: 14px;
|
| 126 |
border-radius: 20px;
|
| 127 |
+
border: none;
|
| 128 |
cursor: pointer;
|
| 129 |
transition: background-color 0.2s;
|
| 130 |
}
|
| 131 |
|
| 132 |
+
/* Pulsante "Seleziona" */
|
| 133 |
.install-btn {
|
| 134 |
+
background-color: #2ecc71;
|
| 135 |
color: #333;
|
| 136 |
}
|
| 137 |
|
|
|
|
| 139 |
background-color: #27ae60;
|
| 140 |
}
|
| 141 |
|
| 142 |
+
.translate-button {
|
| 143 |
+
flex: 1;
|
| 144 |
+
margin: 0 5px;
|
| 145 |
+
padding: 8px;
|
| 146 |
+
font-size: 14px;
|
| 147 |
+
border-radius: 20px;
|
| 148 |
+
border: none;
|
| 149 |
+
cursor: pointer;
|
| 150 |
+
transition: background-color 0.2s;
|
| 151 |
+
}
|
| 152 |
+
|
| 153 |
+
/* Logo dell'addon */
|
| 154 |
+
.addon-logo {
|
| 155 |
+
max-width: 60px;
|
| 156 |
+
max-height: 60px;
|
| 157 |
border-radius: 8px;
|
| 158 |
+
margin-right: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 159 |
}
|
| 160 |
|
| 161 |
+
/* Header del riquadro */
|
| 162 |
+
.addon-header {
|
| 163 |
+
display: flex;
|
| 164 |
+
align-items: center;
|
| 165 |
}
|
| 166 |
|
| 167 |
+
/* Checkboxs */
|
| 168 |
.skip-poster,
|
| 169 |
.toast-ratings {
|
| 170 |
display: flex;
|
| 171 |
+
align-items: left;
|
|
|
|
| 172 |
margin-top: 10px;
|
| 173 |
+
position: relative;
|
| 174 |
}
|
|
|
|
| 175 |
.skip-poster label,
|
| 176 |
.toast-ratings label {
|
| 177 |
+
margin-left: 5px;
|
| 178 |
+
}
|
| 179 |
+
|
| 180 |
+
|
| 181 |
+
textarea {
|
| 182 |
+
opacity: 0;
|
| 183 |
+
width: 90%;
|
| 184 |
+
height: 0px;
|
| 185 |
+
margin-top: 10px;
|
| 186 |
+
margin-left: 10px;
|
| 187 |
+
padding: 5px 5px;
|
| 188 |
+
font-size: 16px;
|
| 189 |
+
border-radius: 8px;
|
| 190 |
+
border: 1px solid #555;
|
| 191 |
+
background-color: #444;
|
| 192 |
color: white;
|
| 193 |
+
resize: none;
|
| 194 |
+
outline: none;
|
| 195 |
+
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
|
| 196 |
+
transition: opacity 0.3s, height 0.3s;
|
| 197 |
+
overflow: hidden;
|
| 198 |
+
}
|
| 199 |
+
|
| 200 |
+
textarea[readonly] {
|
| 201 |
+
background-color: #333;
|
| 202 |
+
pointer-events: none;
|
| 203 |
+
border: 1px solid #555;
|
| 204 |
}
|