Skip to content

Instantly share code, notes, and snippets.

@nicolas-oliveira
Created December 1, 2023 23:35
Show Gist options
  • Save nicolas-oliveira/d7ef1002928bb9ed356028aeb2fdab78 to your computer and use it in GitHub Desktop.
Save nicolas-oliveira/d7ef1002928bb9ed356028aeb2fdab78 to your computer and use it in GitHub Desktop.
Big Sur Dark Theme for Albert application
/*
* author: Nicolas Oliveira <https://github.com/nicolas-oliveira>
*
* Check http://doc.qt.io/qt-5/stylesheet-syntax.html especially the subtopics:
* The Style Sheet Syntax (http://doc.qt.io/qt-5/stylesheet-syntax.html)
* Qt Style Sheets Reference (http://doc.qt.io/qt-5/stylesheet-reference.html)
*/
* {
border: none;
color: #828282;
font-family: "SF Pro Display";
background-color: #333333;
}
#frame {
padding: 0;
margin: 0;
border-radius: 15px;
background-color: #333333;
border: 1px solid #545456;
min-width: 700px;
max-width: 700px;
}
#inputLine {
padding: 15px;
font-size: 20px;
selection-color: #030303;
selection-background-color: #808080;
background-color: transparent;
}
#settingsButton {
color: #808080;
background-color: transparent;
padding: 10px;
margin: 10px;
min-width: 15px;
min-height: 15px;
max-width: 15px;
max-height: 15px;
}
/********** ListViews ************/
QListView {
background: transparent;
selection-color: #ffffff;
}
QListView QScrollBar::add-line:vertical,
QScrollBar::sub-line:vertical,
QListView QScrollBar::up-arrow:vertical,
QScrollBar::down-arrow:vertical,
QListView QScrollBar::add-page:vertical,
QScrollBar::sub-page:vertical {
border: 0px;
width: 0px;
height: 0px;
background: #333333;
}
/********** resultsList item style **********/
QListView#resultsList {
font-size: 14px;
icon-size: 21px;
padding: 0px;
margin: 0px;
border-top: 1px solid #68696b;
}
QListView#resultsList::item {
margin: 5px 10px 5px 10px;
padding: 10px;
}
QListView#resultsList::item:selected {
background: #155bb6;
border-radius: 5px;
}
/********** resultsList scrollbar style **********/
QListView#resultsList QScrollBar:vertical {
width: 2px;
background: #000000;
}
QListView#resultsList QScrollBar::handle:vertical {
background: #bf808080;
border-radius: 3px;
min-height: 100px;
}
/********** actionList item style **********/
QListView#actionList {
font-size: 14px;
padding: 10px;
border-top: 1px solid #545456;
}
QListView#actionList::item {
margin: 2px 0px 2px 0px;
}
QListView#actionList::item:selected {
font-size: 16px;
padding: 0px;
background-color: transparent;
}
/********** resultsList scrollbar style **********/
QListView#actionList QScrollBar:vertical {
width: 0px;
background-color: transparent;
}
QListView#actionList QScrollBar::handle:vertical {
background-color: transparent;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment