diff --git a/app/components/champion_icon_widget.py b/app/components/champion_icon_widget.py index eddc29e..07db9f9 100644 --- a/app/components/champion_icon_widget.py +++ b/app/components/champion_icon_widget.py @@ -192,7 +192,7 @@ def paintEvent(self, e): painter.setClipPath(path) grad = QLinearGradient(0, 0, 0, self.rect().height()) - grad.setColorAt(0.65, Qt.GlobalColor.black) + grad.setColorAt(0.7, Qt.GlobalColor.black) grad.setColorAt(1, Qt.GlobalColor.transparent) self.opacity.setOpacityMask(grad) diff --git a/app/components/multi_champion_select.py b/app/components/multi_champion_select.py index a3a50ff..42b9bd6 100644 --- a/app/components/multi_champion_select.py +++ b/app/components/multi_champion_select.py @@ -221,7 +221,8 @@ def __init__(self, skinList, parent=None): self.vBoxLayout = QVBoxLayout(self) - self.viewLayout = QVBoxLayout() + self.viewWidget = QWidget() + self.viewLayout = QVBoxLayout(self.viewWidget) self.buttonsGroup = QWidget() self.buttonsLayout = QVBoxLayout() @@ -254,7 +255,7 @@ def __initLayout(self): self.vBoxLayout.setContentsMargins(1, 0, 1, 0) self.vBoxLayout.setSpacing(0) - self.vBoxLayout.addLayout(self.viewLayout) + self.vBoxLayout.addWidget(self.viewWidget) self.vBoxLayout.addWidget(self.buttonsGroup) def __initWidget(self): @@ -268,6 +269,7 @@ def __initWidget(self): self.pager.setCurrentIndex(0) self.buttonsGroup.setObjectName("buttonsGroup") + self.viewWidget.setObjectName("viewWidget") @asyncSlot(int) async def __onChangeSplashes(self, idx): diff --git a/app/resource/qss/dark/auxiliary_interface.qss b/app/resource/qss/dark/auxiliary_interface.qss index 3b741fa..3cdb819 100644 --- a/app/resource/qss/dark/auxiliary_interface.qss +++ b/app/resource/qss/dark/auxiliary_interface.qss @@ -26,8 +26,14 @@ SplashesSelectWidget>#buttonsGroup { border-top-right-radius: 0px; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; - border-top: none; - border-left: none; - border-right: none; - border-bottom: none; + border: none; +} + +SplashesSelectWidget>#viewWidget { + background-color: rgb(32, 32, 32); + border-top-left-radius: 10px; + border-top-right-radius: 10px; + border-bottom-left-radius: 0px; + border-bottom-right-radius: 0px; + border: none; } \ No newline at end of file diff --git a/app/resource/qss/light/auxiliary_interface.qss b/app/resource/qss/light/auxiliary_interface.qss index e471a34..a39fd88 100644 --- a/app/resource/qss/light/auxiliary_interface.qss +++ b/app/resource/qss/light/auxiliary_interface.qss @@ -22,12 +22,19 @@ ChampionsCard { SplashesSelectWidget>#buttonsGroup { background-color: rgb(243, 243, 243); + /* background-color: rgb(0, 255, 0, 0.5); */ border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; - border-top: none; - border-left: none; - border-right: none; - border-bottom: none; + border: none; +} + +SplashesSelectWidget>#viewWidget { + background-color: rgb(243, 243, 243); + border-top-left-radius: 10px; + border-top-right-radius: 10px; + border-bottom-left-radius: 0px; + border-bottom-right-radius: 0px; + border: none; } \ No newline at end of file