Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove default highlight for source in source list #696

Merged
merged 1 commit into from
Jan 13, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions securedrop_client/gui/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -841,16 +841,14 @@ class SourceList(QListWidget):
Displays the list of sources.
"""

# Thick 500px border in QListView::item:selected is a workaround.
# See https://github.com/freedomofpress/securedrop-client/issues/331
CSS = '''
QListView {
border: none;
show-decoration-selected: 1;
show-decoration-selected: 0;
border-right: 3px solid #f3f5f9;
}
QListView::item:selected {
border: 500px solid #f3f5f9;
background-color: #f3f5f9;
}
'''

Expand Down