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:
Khopa
2019-07-12 19:35:30 +02:00
parent 405c6659b9
commit 0e7d49488c
4 changed files with 4 additions and 4 deletions

View File

@@ -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()

View File

@@ -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;
}