Files
BionxControl/resources/bionxcontrol.qss

93 lines
1.4 KiB
Plaintext
Raw Normal View History

2025-12-17 16:24:13 +01:00
/* appqss */
2025-12-17 13:11:26 +01:00
/* Alle QWidgets bekommen diesen Font */
2025-12-17 16:24:13 +01:00
QWidget
{
2025-12-17 13:11:26 +01:00
font-size: 14px;
2025-12-17 16:24:13 +01:00
font-family: Segoe UI, sans-serif;
2025-12-17 13:11:26 +01:00
}
2025-12-22 00:14:42 +01:00
QMainWindow
{
background-color: #272727;
}
QSplitter
{
color: red;
background-color: #272727;
}
2025-12-17 13:11:26 +01:00
/* Spezifisches Styling für Buttons */
2025-12-17 16:24:13 +01:00
QPushButton
{
2025-12-17 13:11:26 +01:00
background-color: #0078d7;
color: white;
border-radius: 4px;
padding: 6px;
}
2025-12-17 16:24:13 +01:00
QPushButton:hover
{
2025-12-17 13:11:26 +01:00
background-color: #1084e3;
}
2025-12-17 16:24:13 +01:00
QPushButton:pressed
{
2025-12-17 13:11:26 +01:00
background-color: #005a9e;
}
/* Styling anhand von Objektnamen (ID) */
2025-12-17 16:24:13 +01:00
#loginButton
{
2025-12-17 13:11:26 +01:00
font-weight: bold;
background-color: green;
2025-12-17 16:24:13 +01:00
}
QListView
{
2025-12-22 00:14:42 +01:00
background-color: #404142;
border-radius: 8px;
2025-12-17 16:24:13 +01:00
outline: none;
show-decoration-selected: 0;
}
QListView::item
{
border: 2px solid #2196F3;
border-radius: 8px;
padding: 8px;
margin: 4px;
background-color: white;
}
QListView::item:hover
{
border-color: #FF9800;
background-color: #fff8f0;
}
QListView::item:selected
{
border-color: #F44336; /* Roter Rahmen */
background-color: #ffebee;
}
QListView::item:selected:hover
{
border-color: #FF9800;
background-color: #ffe0b2;
}
QListView::item:focus
{
2025-12-21 23:20:22 +01:00
/*
// outline: none; Entfernt das Focus-Rectangle
2025-12-17 16:24:13 +01:00
// border-color: green;
// background-color: #ffe0b2;
2025-12-21 23:20:22 +01:00
*/
2025-12-17 16:24:13 +01:00
border: 2px solid gray;
border-style: inset;
background-color: white;
color: black;
}