mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
WebUI: Improve statistics window
This commit is contained in:
parent
4cc3fedf37
commit
5e3161a3f9
2 changed files with 23 additions and 4 deletions
|
@ -758,8 +758,27 @@ td.statusBarSeparator {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Statistics window */
|
/* Statistics window */
|
||||||
.statisticsValue {
|
#statisticspage * {
|
||||||
text-align: right;
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
#statisticsContent {
|
||||||
|
& table {
|
||||||
|
background-color: var(--color-background-default);
|
||||||
|
border-radius: 6px;
|
||||||
|
margin-bottom: 6px;
|
||||||
|
padding: 6px 10px;
|
||||||
|
|
||||||
|
& .statisticsValue {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
& h3 {
|
||||||
|
color: var(--color-text-default);
|
||||||
|
margin-bottom: 1px;
|
||||||
|
padding: 2px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Search tab */
|
/* Search tab */
|
||||||
|
|
|
@ -427,8 +427,8 @@ const initializeWindows = function() {
|
||||||
contentURL: new URI("views/statistics.html").toString(),
|
contentURL: new URI("views/statistics.html").toString(),
|
||||||
maximizable: false,
|
maximizable: false,
|
||||||
padding: 10,
|
padding: 10,
|
||||||
width: loadWindowWidth(id, 275),
|
width: loadWindowWidth(id, 285),
|
||||||
height: loadWindowHeight(id, 370),
|
height: loadWindowHeight(id, 415),
|
||||||
onResize: window.qBittorrent.Misc.createDebounceHandler(500, (e) => {
|
onResize: window.qBittorrent.Misc.createDebounceHandler(500, (e) => {
|
||||||
saveWindowSize(id);
|
saveWindowSize(id);
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue