-
Notifications
You must be signed in to change notification settings - Fork 49
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
Style tweak, dimming highlight color #528
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,11 @@ | |
font-family: "Open Sans"; | ||
} | ||
|
||
/* | ||
@ Selection highlight: #40576D | ||
*/ | ||
|
||
|
||
QProgressBar:horizontal { | ||
border: 1px solid #3A3939; | ||
text-align: center; | ||
|
@@ -27,7 +32,7 @@ QWidget | |
{ | ||
color: silver; | ||
background-color: #302F2F; | ||
selection-background-color:#3d8ec9; | ||
selection-background-color: #40576D; | ||
selection-color: black; | ||
background-clip: border; | ||
border-image: none; | ||
|
@@ -43,7 +48,7 @@ QWidget:item:hover | |
|
||
QWidget:item:selected | ||
{ | ||
background-color: #3d8ec9; | ||
background-color: #40576D; | ||
} | ||
|
||
QCheckBox | ||
|
@@ -218,7 +223,7 @@ QMenuBar::item:selected | |
QMenuBar::item:pressed | ||
{ | ||
border: 1px solid #3A3939; | ||
background-color: #3d8ec9; | ||
background-color: #40576D; | ||
color: black; | ||
margin-bottom:-1px; | ||
padding-bottom:1px; | ||
|
@@ -309,9 +314,9 @@ QWidget:disabled | |
|
||
QAbstractItemView | ||
{ | ||
alternate-background-color: #3A3939; | ||
alternate-background-color: #2D2C2C; | ||
color: silver; | ||
border: 1px solid 3A3939; | ||
border: 1px solid #2D2C2C; | ||
border-radius: 2px; | ||
padding: 1px; | ||
} | ||
|
@@ -505,14 +510,6 @@ QPlainTextEdit | |
border: 1px solid #3A3939; | ||
} | ||
|
||
QHeaderView::section | ||
{ | ||
background-color: #3A3939; | ||
color: silver; | ||
padding-left: 4px; | ||
border: 1px solid #6c6c6c; | ||
} | ||
Comment on lines
-508
to
-514
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This section was duplicated, there are one exact definition with more attributes down below this |
||
|
||
QSizeGrip { | ||
image: url(:/qss_icons/rc/sizegrip.png); | ||
width: 12px; | ||
|
@@ -617,13 +614,13 @@ QPushButton:disabled | |
} | ||
|
||
QPushButton:focus { | ||
background-color: #3d8ec9; | ||
background-color: #40576D; | ||
color: white; | ||
} | ||
|
||
QComboBox | ||
{ | ||
selection-background-color: #3d8ec9; | ||
selection-background-color: #40576D; | ||
background-color: #201F1F; | ||
border-style: solid; | ||
border: 1px solid #3A3939; | ||
|
@@ -656,7 +653,7 @@ QComboBox QAbstractItemView | |
background-color: #201F1F; | ||
border-radius: 2px; | ||
border: 1px solid #444; | ||
selection-background-color: #3d8ec9; | ||
selection-background-color: #40576D; | ||
} | ||
|
||
QComboBox::drop-down | ||
|
@@ -966,7 +963,7 @@ QListView::item:!selected:hover, QListView::item:!selected:hover, QTreeView::ite | |
} | ||
|
||
QListView::item:selected:hover, QListView::item:selected:hover, QTreeView::item:selected:hover { | ||
background: #3d8ec9; | ||
background: #40576D; | ||
color: #FFFFFF; | ||
} | ||
|
||
|
@@ -1096,7 +1093,7 @@ QTableView::item:pressed, QListView::item:pressed, QTreeView::item:pressed { | |
} | ||
|
||
QTableView::item:selected:active, QTreeView::item:selected:active, QListView::item:selected:active { | ||
background: #3d8ec9; | ||
background: #40576D; | ||
color: #FFFFFF; | ||
} | ||
|
||
|
@@ -1111,7 +1108,7 @@ QHeaderView | |
|
||
QHeaderView::section { | ||
background-color: #3A3939; | ||
color: silver; | ||
/*color: silver;*/ | ||
padding: 4px; | ||
border: 1px solid #6c6c6c; | ||
border-radius: 0px; | ||
|
@@ -1178,7 +1175,7 @@ QToolBox::tab { | |
QToolBox::tab:selected { /* italicize selected tabs */ | ||
font: italic; | ||
background-color: #302F2F; | ||
border-color: #3d8ec9; | ||
border-color: #40576D; | ||
} | ||
|
||
QStatusBar::item { | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was like a quick access for testing color, since
qss
doesn't support declaring variables. Could be removed if you want it more cleaner.