feat: add CONFIG_PATH and StatsScreen CSS
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
AUTH_PATH = Path.home() / ".config" / "auditui" / "auth.json"
|
AUTH_PATH = Path.home() / ".config" / "auditui" / "auth.json"
|
||||||
|
CONFIG_PATH = Path.home() / ".config" / "auditui" / "config.json"
|
||||||
CACHE_DIR = Path.home() / ".cache" / "auditui" / "books"
|
CACHE_DIR = Path.home() / ".cache" / "auditui" / "books"
|
||||||
DOWNLOAD_URL = "https://cde-ta-g7g.amazon.com/FionaCDEServiceEngine/FSDownloadContent"
|
DOWNLOAD_URL = "https://cde-ta-g7g.amazon.com/FionaCDEServiceEngine/FSDownloadContent"
|
||||||
DEFAULT_CODEC = "LC_128_44100_stereo"
|
DEFAULT_CODEC = "LC_128_44100_stereo"
|
||||||
@@ -132,6 +133,45 @@ HelpScreen Static {
|
|||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
StatsScreen {
|
||||||
|
align: center middle;
|
||||||
|
background: rgba(0, 0, 0, 0.7);
|
||||||
|
}
|
||||||
|
|
||||||
|
StatsScreen Static {
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
StatsScreen #help_container {
|
||||||
|
width: auto;
|
||||||
|
min-width: 55;
|
||||||
|
max-width: 70;
|
||||||
|
}
|
||||||
|
|
||||||
|
StatsScreen #help_content {
|
||||||
|
align: center middle;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
StatsScreen .help_list {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
StatsScreen .help_list > ListItem {
|
||||||
|
background: transparent;
|
||||||
|
height: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
StatsScreen .help_list > ListItem:hover {
|
||||||
|
background: #232842;
|
||||||
|
}
|
||||||
|
|
||||||
|
StatsScreen .help_list > ListItem > Label {
|
||||||
|
width: 100%;
|
||||||
|
text-align: left;
|
||||||
|
padding-left: 2;
|
||||||
|
}
|
||||||
|
|
||||||
#help_container {
|
#help_container {
|
||||||
width: 88%;
|
width: 88%;
|
||||||
max-width: 120;
|
max-width: 120;
|
||||||
|
|||||||
Reference in New Issue
Block a user