moved label style to stylesheet

This commit is contained in:
iLLiCiTiT 2021-04-28 17:34:56 +02:00
parent c7a50e360c
commit 2bee53dbe3
2 changed files with 8 additions and 7 deletions

View file

@ -179,16 +179,12 @@ class InstallDialog(QtWidgets.QDialog):
# --------------------------------------------------------------------
main_label = QtWidgets.QLabel("Welcome to <b>OpenPype</b>", self)
main_label.setWordWrap(True)
main_label.setStyleSheet("color: rgb(200, 200, 200);")
main_label.setObjectName("MainLabel")
# Mongo box | OK button
# --------------------------------------------------------------------
mongo_label = QtWidgets.QLabel(
"""Enter URL for running MongoDB instance:"""
)
mongo_label = QtWidgets.QLabel("Enter your Mongo URL:")
mongo_label.setWordWrap(True)
mongo_label.setStyleSheet("color: rgb(150, 150, 150);")
mongo_input = MongoUrlInput(self)
mongo_input.setPlaceholderText(

View file

@ -1,10 +1,11 @@
* {
color: rgb(200, 200, 200);
background-color: rgb(23, 23, 23);
font-size: 8pt;
}
QLabel {
color: rgb(200, 200, 200);
color: rgb(150, 150, 150);
}
QLineEdit {
@ -84,6 +85,10 @@ QMenu::item:selected {
background-color: rgba(72, 200, 150, 63);
}
#MainLabel {
color: rgb(200, 200, 200);
}
#Console {
background-color: rgb(32, 32, 32);
color: rgb(72, 200, 150);