Files
BionxControl/resources/bionxcontrol.qss

121 lines
1.8 KiB
Plaintext
Raw Permalink 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-30 00:15:54 +01:00
/*
2025-12-22 00:14:42 +01:00
QMainWindow
{
background-color: #272727;
}
2025-12-30 00:15:54 +01:00
*/
2025-12-22 00:14:42 +01:00
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;
}
2025-12-22 12:39:38 +01:00
/* Normal */
QToolButton {
background-color: transparent;
border: 1px solid transparent;
border-radius: 4px;
padding: 4px;
}
/* Hover */
QToolButton:hover {
background-color: #E3F2FD;
border: 1px solid #2196F3;
}
/* Pressed/Clicked */
QToolButton:pressed {
background-color: #BBDEFB;
}
/* Checked (bei checkable buttons) */
QToolButton:checked {
background-color: #2196F3;
color: white;
}
/* Checked + Hover */
QToolButton:checked:hover {
background-color: #1976D2;
}
/* Disabled */
QToolButton:disabled {
color: #BDBDBD;
background-color: transparent;
}
2025-12-30 00:15:54 +01:00
/*
QTableView
2025-12-17 16:24:13 +01:00
{
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;
}
2025-12-30 00:15:54 +01:00
QTableView::item
2025-12-17 16:24:13 +01:00
{
border: 2px solid #2196F3;
border-radius: 8px;
padding: 8px;
margin: 4px;
background-color: white;
}
2025-12-30 00:15:54 +01:00
*/
2025-12-17 16:24:13 +01:00
2025-12-30 00:15:54 +01:00
QTableView::item:hover
2025-12-17 16:24:13 +01:00
{
border-color: #FF9800;
background-color: #fff8f0;
}
2025-12-30 00:15:54 +01:00
QTableView::item:selected
2025-12-17 16:24:13 +01:00
{
border-color: #F44336; /* Roter Rahmen */
background-color: #ffebee;
}
2025-12-30 00:15:54 +01:00
QTableView::item:selected:hover
2025-12-17 16:24:13 +01:00
{
border-color: #FF9800;
background-color: #ffe0b2;
}
2025-12-30 00:15:54 +01:00
*/
2025-12-17 16:24:13 +01:00
2025-12-30 00:15:54 +01:00
QTableView::item:focus
2025-12-17 16:24:13 +01:00
{
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;
}