-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add custom stylesheet. Signed-off-by: Slendi <[email protected]> * Remove size grip from statusbar. This patch removes the size grip from statsbar to fix a visual bug. Signed-off-by: Slendi <[email protected]> * Add a better background color for the logging button. Signed-off-by: Slendi <[email protected]> * Use a QSplitter instead of a HBox for the QGroupBoxes. Signed-off-by: Slendi <[email protected]> * Make the colors slightly lighter * Update i18n_en.ts --------- Signed-off-by: Slendi <[email protected]> Co-authored-by: Raymond Li <[email protected]>
- Loading branch information
Showing
4 changed files
with
255 additions
and
148 deletions.
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
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 |
---|---|---|
@@ -0,0 +1,100 @@ | ||
class Colors: | ||
button_red = '#550000' | ||
button_yellow = '#777700' | ||
button_green = '#005500' | ||
|
||
|
||
stylesheet = ''' | ||
* { | ||
background-color: #0b0b0b; | ||
color: #ffffff; | ||
} | ||
QPushButton { | ||
background: #111111; | ||
padding: 5px; | ||
padding-left: 15px; | ||
padding-right: 15px; | ||
border: 1px solid #222222; | ||
} | ||
QPushButton::hover { | ||
background: #1a1a1a; | ||
} | ||
QStatusBar { | ||
background-color: #222222; | ||
} | ||
QGroupBox { | ||
border: 1px solid #333333; | ||
border-radius: 5px; | ||
margin-top: 0.5em; | ||
} | ||
QGroupBox:title { | ||
color: #ffffff; | ||
left: 10px; | ||
subcontrol-origin: margin; | ||
} | ||
QTableWidget { | ||
background-color: #00000000; | ||
} | ||
QHeaderView::section { | ||
background-color: #111111; | ||
border: 0; | ||
border-left: 1px solid #333333; | ||
padding-left: 5px; | ||
padding-right: 5px; | ||
} | ||
QHeaderView::section::first { border-left: 0; } | ||
QScrollBar { | ||
border: 1px solid red; | ||
} | ||
QScrollBar:horizontal { | ||
border: 0px solid #999999; | ||
background: transparent; | ||
height: 10px; | ||
margin: 0px 0px 0px 0px; | ||
} | ||
QScrollBar::handle:horizontal { | ||
min-width: 0px; | ||
border: 0px solid red; | ||
border-radius: 4px; | ||
background-color: #333333; | ||
} | ||
QScrollBar::add-line:horizontal { | ||
width: 0px; | ||
subcontrol-position: bottom; | ||
subcontrol-origin: margin; | ||
} | ||
QScrollBar::sub-line:horizontal { | ||
width: 0 px; | ||
subcontrol-position: top; | ||
subcontrol-origin: margin; | ||
} | ||
QScrollBar:vertical { | ||
border: 0px solid #999999; | ||
background: transparent; | ||
width: 10px; | ||
margin: 0px 0px 0px 0px; | ||
} | ||
QScrollBar::handle:vertical { | ||
min-height: 0px; | ||
border: 0px solid red; | ||
border-radius: 4px; | ||
background-color: #333333; | ||
} | ||
QScrollBar::add-line:vertical { | ||
height: 0px; | ||
subcontrol-position: bottom; | ||
subcontrol-origin: margin; | ||
} | ||
QScrollBar::sub-line:vertical { | ||
height: 0 px; | ||
subcontrol-position: top; | ||
subcontrol-origin: margin; | ||
} | ||
''' |
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
Oops, something went wrong.