- Created .gitignore to exclude virtual environment, logs, and database files. - Updated README.md with project description, features, folder structure, requirements, and usage instructions. - Implemented versioning and developer ID in agentm/__init__.py. - Developed main application logic in agentm/app.py, including credential handling and screen navigation. - Added database initialization and ROM management logic in agentm/logic/db.py and agentm/logic/db_functions.py. - Integrated DIAMBRA login functionality in agentm/logic/diambra_login.py. - Created ROM verification and caching system in agentm/logic/roms.py. - Designed user interface components for home and login screens in agentm/views/home.py and agentm/views/login.py. - Added logging utility in agentm/utils/logger.py for better debugging and tracking. - Included assets such as game images, styles, and logos. - Updated requirements.txt with necessary dependencies for the project.
151 lines
2.0 KiB
Plaintext
151 lines
2.0 KiB
Plaintext
/* === Global App Styles === */
|
|
|
|
Screen {
|
|
background: #0e0e0e;
|
|
color: #f0f0f0;
|
|
}
|
|
|
|
/* === Resets === */
|
|
|
|
* {
|
|
padding: 0 1;
|
|
border: none;
|
|
}
|
|
|
|
/* === Headers === */
|
|
|
|
Header, .header {
|
|
dock: top;
|
|
height: 3;
|
|
content-align: center middle;
|
|
background: #1f1f1f;
|
|
color: #ed7d3a;
|
|
text-style: bold;
|
|
padding: 1 2;
|
|
}
|
|
|
|
/* === Buttons === */
|
|
|
|
Button {
|
|
background: #1f1f1f;
|
|
color: #ed7d3a;
|
|
border: solid #ed7d3a;
|
|
padding: 1 2;
|
|
margin: 1;
|
|
content-align: center middle;
|
|
}
|
|
|
|
Button:hover {
|
|
background: #ed7d3a;
|
|
color: #0e0e0e;
|
|
}
|
|
|
|
Button:focus {
|
|
background: #2a2a2a;
|
|
border: solid #ed7d3a;
|
|
}
|
|
|
|
/* === Inputs === */
|
|
|
|
Input {
|
|
background: #1f1f1f;
|
|
color: #f0f0f0;
|
|
border: solid #3a9bed;
|
|
}
|
|
|
|
Input:focus {
|
|
background: #2a2a2a;
|
|
border: solid #ed7d3a;
|
|
}
|
|
|
|
/* === Alerts === */
|
|
|
|
.success {
|
|
color: #4cd964;
|
|
}
|
|
|
|
.warning {
|
|
color: #ed7d3a;
|
|
}
|
|
|
|
.error {
|
|
color: red;
|
|
}
|
|
|
|
/* === Login Form === */
|
|
|
|
#login_form {
|
|
layout: vertical;
|
|
align-horizontal: center;
|
|
align-vertical: middle;
|
|
width: 60%;
|
|
height: auto;
|
|
padding: 2 4;
|
|
border: solid #3a9bed;
|
|
}
|
|
|
|
#status_message {
|
|
color: #ed7d3a;
|
|
padding: 1;
|
|
}
|
|
|
|
#pw_row {
|
|
layout: horizontal;
|
|
padding: 0;
|
|
}
|
|
|
|
#pw_row > * {
|
|
margin-right: 1;
|
|
}
|
|
|
|
#pw_row > *:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
/* === Loading Overlay === */
|
|
|
|
#loading_overlay {
|
|
dock: top;
|
|
background: #1f1f1f;
|
|
color: #f0f0f0;
|
|
padding: 1 2;
|
|
text-style: bold;
|
|
content-align: center middle;
|
|
}
|
|
|
|
/* === Game Layout === */
|
|
|
|
.centered_layout {
|
|
layout: vertical;
|
|
align-horizontal: center;
|
|
align-vertical: middle;
|
|
padding: 2;
|
|
width: 100%;
|
|
}
|
|
|
|
.rom_rows_container {
|
|
layout: vertical;
|
|
align-horizontal: center;
|
|
}
|
|
|
|
.rom_row {
|
|
layout: horizontal;
|
|
align-horizontal: center;
|
|
align-vertical: middle;
|
|
padding: 1 2;
|
|
width: 100%;
|
|
}
|
|
|
|
.confirm_button {
|
|
align-horizontal: center;
|
|
align-vertical: top;
|
|
margin-top: 1;
|
|
width: auto;
|
|
}
|
|
|
|
.game_info {
|
|
padding: 1 2;
|
|
width: 100%;
|
|
color: #ed7d3a;
|
|
}
|