diff --git a/resources/themes/light.qss b/resources/themes/light.qss index 3865214..fc5d3ba 100644 --- a/resources/themes/light.qss +++ b/resources/themes/light.qss @@ -53,13 +53,10 @@ QPushButton { QPushButton:hover { background-color: #0078A3; - margin-top: -2px; - margin-bottom: 2px; } QPushButton:pressed { background-color: #005C7A; - padding: 13px 23px; } QPushButton:disabled { diff --git a/views/widgets/platform_button.py b/views/widgets/platform_button.py index 81d7acb..720e218 100644 --- a/views/widgets/platform_button.py +++ b/views/widgets/platform_button.py @@ -25,7 +25,7 @@ class PlatformButton(QWidget): # Layout für den Container layout = QVBoxLayout(self) layout.setAlignment(Qt.AlignCenter) - layout.setContentsMargins(10, 10, 10, 10) + layout.setContentsMargins(12, 12, 12, 12) # Icon-Button self.icon_button = QPushButton() @@ -52,7 +52,7 @@ class PlatformButton(QWidget): } QPushButton:pressed { background-color: #DCE2FF; - padding: 23px; + border: 1px solid #0099CC; } QPushButton:disabled { background-color: #F0F0F0;