refactor: Suppression de la toolbar des webviews et ajout du bouton Rafraîchir dans le header (v1.2.2)

- Suppression complète de la barre d'outils des webviews
- Plus de boutons Précédent/Suivant et d'affichage d'URL
- Bouton Rafraîchir déplacé dans le header principal
- Animation de rotation lors du rafraîchissement
- Gain d'espace vertical supplémentaire (~40px)
- Code nettoyé avec suppression des fonctions inutilisées
This commit is contained in:
Pierre Marx
2025-09-04 15:22:34 -04:00
parent bcd56d5e1e
commit fb9430936c
4 changed files with 65 additions and 63 deletions

View File

@@ -70,6 +70,15 @@ body {
}
}
@keyframes rotate {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
/* === PAGES === */
.page {
display: none;
@@ -395,6 +404,11 @@ body {
border-color: #667eea;
}
.btn-icon.rotating .icon-refresh {
animation: rotate 1s linear;
display: inline-block;
}
.btn-secondary {
padding: 8px 16px;
background: white;
@@ -592,37 +606,6 @@ body {
height: 100%;
}
.webview-toolbar {
background: #f8f9fa;
padding: 10px;
display: flex;
align-items: center;
gap: 10px;
border-bottom: 1px solid #e9ecef;
}
.webview-toolbar button {
padding: 6px 12px;
background: white;
border: 1px solid #dee2e6;
border-radius: 4px;
cursor: pointer;
transition: all 0.2s;
}
.webview-toolbar button:hover {
background: #e9ecef;
}
.webview-url {
flex: 1;
color: #666;
font-size: 12px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.planning-webview {
flex: 1;
width: 100%;