Skip to content

Commit

Permalink
调整搜索界面对局详情样式
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzaphkiel committed Aug 5, 2024
1 parent 1ffe4c1 commit 7e73b3a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
9 changes: 4 additions & 5 deletions app/resource/qss/dark/search_interface.qss
Original file line number Diff line number Diff line change
Expand Up @@ -119,17 +119,16 @@ SummonerName {
background-color: transparent;
}

#scrollArea {
border: 1px solid rgba(0, 0, 0, 0.095);
border-radius: 6px;
background-color: rgba(255, 255, 255, 0.051);
#gameScrollArea {
border: none;
background: transparent;
}

#scrollWidget {
border: none;
background: transparent;
}


SummonerName:hover {
color: --ThemeColorDark1;
}
Expand Down
8 changes: 4 additions & 4 deletions app/resource/qss/light/search_interface.qss
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ SummonerInfoBar {
border-radius: 6px;
}

#scrollArea {
border: 1px solid rgba(0, 0, 0, 0.095);
border-radius: 6px;
background-color: rgba(245, 245, 245, 0.667);
#gameScrollArea {
border: none;
background: transparent;
}

#scrollWidget {
border: none;
background: transparent;
}

Expand Down
3 changes: 2 additions & 1 deletion app/view/search_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def clear(self):
self.__initLayout()

def __initLayout(self):
self.scrollArea.setObjectName("scrollArea")
self.scrollArea.setObjectName("gameScrollArea")
self.scrollWidget.setObjectName("scrollWidget")

self.scrollWidget.setLayout(self.scrollLayout)
Expand All @@ -304,6 +304,7 @@ def __initLayout(self):

self.vBoxLayout.addWidget(self.titleBar)

self.scrollLayout.setContentsMargins(0, 0, 0, 0)
self.scrollLayout.addWidget(self.teamView1)
self.scrollLayout.addWidget(self.teamView2)

Expand Down

0 comments on commit 7e73b3a

Please sign in to comment.