feat(ui): aumenta dimensione finestra e scala UI (font, pulsanti, riquadri)

This commit is contained in:
2026-03-16 12:19:01 +01:00
parent 3fa7758fbe
commit 6438d1a51c
2 changed files with 23 additions and 20 deletions

View File

@@ -68,8 +68,8 @@ let config = buildConfig(DEFAULT_DESTINATION);
function createWindow() { function createWindow() {
const win = new BrowserWindow({ const win = new BrowserWindow({
width: 900, width: 1000,
height: 640, height: 800,
icon: path.join(__dirname, 'build', 'icon.png'), icon: path.join(__dirname, 'build', 'icon.png'),
webPreferences: { webPreferences: {
preload: path.join(__dirname, 'preload.js'), preload: path.join(__dirname, 'preload.js'),

View File

@@ -24,32 +24,35 @@
background: linear-gradient(130deg, #eaf0ff 0%, var(--bg) 45%, #f9fbff 100%); background: linear-gradient(130deg, #eaf0ff 0%, var(--bg) 45%, #f9fbff 100%);
color: var(--text); color: var(--text);
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 16px;
} }
.page { .page {
max-width: 820px; max-width: 980px;
margin: 40px auto; margin: 40px auto;
background: var(--card); background: var(--card);
border: 1px solid var(--border); border: 1px solid var(--border);
border-radius: 14px; border-radius: 14px;
padding: 26px; padding: 32px;
} }
h1 { h1 {
margin-top: 0; margin-top: 0;
margin-bottom: 6px; margin-bottom: 8px;
font-size: 26px;
} }
p { p {
margin: 0; margin: 0;
color: var(--muted); color: var(--muted);
font-size: 15px;
} }
.actions { .actions {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
gap: 12px; gap: 14px;
margin-top: 18px; margin-top: 22px;
} }
button { button {
@@ -57,8 +60,8 @@
background: var(--accent); background: var(--accent);
color: white; color: white;
border-radius: 10px; border-radius: 10px;
padding: 11px 16px; padding: 13px 20px;
font-size: 15px; font-size: 16px;
cursor: pointer; cursor: pointer;
} }
@@ -116,43 +119,43 @@
} }
.rules h2 { .rules h2 {
margin: 0 0 10px; margin: 0 0 12px;
font-size: 17px; font-size: 19px;
} }
.rule-row { .rule-row {
display: grid; display: grid;
grid-template-columns: 180px 1fr auto auto; grid-template-columns: 180px 1fr auto auto;
gap: 8px; gap: 10px;
align-items: center; align-items: center;
margin-bottom: 8px; margin-bottom: 10px;
} }
.rule-row.single-row { .rule-row.single-row {
grid-template-columns: 1fr auto auto; grid-template-columns: 1fr auto auto;
margin-top: 10px; margin-top: 12px;
} }
.rule-row.preview-actions { .rule-row.preview-actions {
grid-template-columns: auto auto; grid-template-columns: auto auto auto;
justify-content: start; justify-content: start;
} }
.rule-label { .rule-label {
font-size: 13px; font-size: 15px;
color: var(--muted); color: var(--muted);
} }
.rule-row input { .rule-row input {
min-width: 0; min-width: 0;
padding: 9px 10px; padding: 11px 12px;
border: 1px solid var(--border); border: 1px solid var(--border);
border-radius: 8px; border-radius: 8px;
font-size: 14px; font-size: 16px;
} }
.rule-row button { .rule-row button {
padding: 9px 12px; padding: 11px 16px;
border-radius: 8px; border-radius: 8px;
} }
@@ -162,7 +165,7 @@
.rule-status { .rule-status {
margin-top: 4px; margin-top: 4px;
font-size: 12px; font-size: 14px;
color: var(--muted); color: var(--muted);
} }