mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Put CSS in resources folder, so that it is properly embedded in the release. Updated requirement and release build for new UI.
This commit is contained in:
@@ -37,7 +37,7 @@ if __name__ == "__main__":
|
||||
persistency.setup(sys.argv[1])
|
||||
|
||||
css = ""
|
||||
with open("./qt_ui/stylesheets/style.css") as stylesheet:
|
||||
with open("./resources/stylesheets/style.css") as stylesheet:
|
||||
css = stylesheet.read()
|
||||
|
||||
app.processEvents()
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
|
||||
|
||||
QLiberationWindow{
|
||||
}
|
||||
|
||||
QTopPanel,
|
||||
QTopPanel *{
|
||||
/*background-color: #4E5760;*/
|
||||
/*color: white;*/
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
QPushButton[style="btn-primary"]{
|
||||
/*background-color:#699245;*/
|
||||
/*color:white;*/
|
||||
/*padding: 21px 5px 21px 5px;
|
||||
margin-top: 6px;*/
|
||||
}
|
||||
|
||||
QBaseMenu{
|
||||
background-color:#699245;
|
||||
color:white;
|
||||
}
|
||||
|
||||
QWidget[style="baseMenuHeader"]{
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
}
|
||||
Reference in New Issue
Block a user