Skip to content
Snippets Groups Projects
Commit 9910d60f authored by Christoph Schmidt's avatar Christoph Schmidt
Browse files

Updated PlayPushButton.py

parent b86c8612
No related branches found
No related tags found
No related merge requests found
......@@ -21,32 +21,25 @@ class PlayPushButton(QPushButton):
def _style_play(self, img_path='/icons/icons/cil-media-play.png'):
return """
/*Play Button*/
QPushButton {
background-color: rgb(36, 209, 21);
background-position: left center;
background-repeat: no-repeat;
border: none;
border-radius: 0px;
border-left: 22px solid transparent;
text-align: left;
padding-left: 44px;
background-image: url(:""" + img_path + """);
text-align: center;
}
QPushButton:hover {
background-color: rgb(26, 153, 16);
background-color: rgb(47, 104, 57);
}
QPushButton:pressed {
background-color: rgb(20, 120, 12);
background-color: rgb(44, 134, 46);
color: rgb(255, 255, 255);
}
QPushButton:disabled {
background-color: rgb(153, 153, 153);
color: rgb(255, 255, 255);
}
"""
def _style_pause(selfm, img_path = "/icons/icons/cil-media-pause.png"):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment