diff --git a/templates/index.html b/templates/index.html index c1d7622..f1ac44d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -121,7 +121,7 @@ .install-item { display: flex; justify-content: space-between; - padding: 5px; + padding: 5px 8px; /* Увеличим внутренний отступ для большей "воздушности" */ border-bottom: 1px solid #ddd; cursor: pointer; align-items: center; @@ -155,7 +155,7 @@ .protocol-icon img { height: 32px; width: 32px; - margin-right: 5px; + margin-right: 8px; /* Увеличим отступ для большей читаемости */ vertical-align: middle; } .connection-link { @@ -191,6 +191,7 @@ background-color: transparent; border: none; padding: 0; + margin: 0 4px; /* Добавляем отступы вокруг иконок */ cursor: pointer; transition: background-color 0.2s, transform 0.2s; } @@ -217,6 +218,7 @@ background-color: transparent; border: none; padding: 0; + margin: 0 2px; /* Небольшой отступ для папочных иконок */ cursor: pointer; transition: background-color 0.2s, transform 0.2s; } @@ -233,7 +235,7 @@ .folder-delete-icon.dark-theme { background-image: url('/icons/delete-dark.png'); } /* Стили для кнопок удаления и заметок */ .action-button { - margin: 0 2px; + margin: 0 4px; /* Увеличим расстояние между кнопками */ padding: 5px 8px; font-size: 12px; border: 1px solid #ccc; @@ -317,7 +319,7 @@ height: 10px; display: inline-block; border-radius: 50%; - vertical-align: middle; + vertical-align: middle; margin-left: 5px; } .status-offline { @@ -599,8 +601,8 @@ ].concat(sortedFolders.map(folder => ({ id: folder.id, text: `${folder.name} ` + - `` + - ``, + `` + + ``, parent: folder.parent_id ? folder.parent_id : "root" }))); cb(treeData); @@ -792,10 +794,10 @@ const statusClass = isOnline ? 'status-online' : 'status-offline'; return `