fixing stylesheets for clickable label

This commit is contained in:
defnax 2020-01-15 22:27:05 +01:00
parent c1efdac7f6
commit 5dffe2e3d8
3 changed files with 11 additions and 2 deletions

View File

@ -2109,6 +2109,11 @@ PostedItem QToolButton#voteDownButton, QToolButton#voteUpButton
}
PostedItem QLabel#thumbnailLabel{
border: 2px solid #CCCCCC;
border-radius: 3px;
}
PostedCardView QPushButton#shareButton
{
background-color: transparent;
@ -2134,4 +2139,3 @@ PostedCardView QFrame#mainFrame [new=false]{
PostedCardView > QFrame#mainFrame[new=true] {
background-color: #005000;
}

View File

@ -1274,6 +1274,11 @@ QToolButton#commentButton, QToolButton#notesButton
border: none;
}
PostedItem QLabel#thumbnailLabel{
border: 2px solid #CCCCCC;
border-radius: 3px;
}
PostedCardView QToolButton#voteDownButton, QToolButton#voteUpButton
{
border: none;

View File

@ -40,7 +40,7 @@ protected:
void enterEvent(QEvent *ev) override { setStyleSheet("QLabel { border: 1px solid #3A3939; }");}
void leaveEvent(QEvent *ev) override { setStyleSheet("QLabel { border: none; }");}
void leaveEvent(QEvent *ev) override { setStyleSheet("QLabel { border: 2px solid #CCCCCC; border-radius: 3px; }");}
};