mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-26 23:36:59 -05:00
fixing stylesheets for clickable label
This commit is contained in:
parent
c1efdac7f6
commit
5dffe2e3d8
@ -2109,6 +2109,11 @@ PostedItem QToolButton#voteDownButton, QToolButton#voteUpButton
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PostedItem QLabel#thumbnailLabel{
|
||||||
|
border: 2px solid #CCCCCC;
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
PostedCardView QPushButton#shareButton
|
PostedCardView QPushButton#shareButton
|
||||||
{
|
{
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
@ -2134,4 +2139,3 @@ PostedCardView QFrame#mainFrame [new=false]{
|
|||||||
PostedCardView > QFrame#mainFrame[new=true] {
|
PostedCardView > QFrame#mainFrame[new=true] {
|
||||||
background-color: #005000;
|
background-color: #005000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1274,6 +1274,11 @@ QToolButton#commentButton, QToolButton#notesButton
|
|||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PostedItem QLabel#thumbnailLabel{
|
||||||
|
border: 2px solid #CCCCCC;
|
||||||
|
border-radius: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
PostedCardView QToolButton#voteDownButton, QToolButton#voteUpButton
|
PostedCardView QToolButton#voteDownButton, QToolButton#voteUpButton
|
||||||
{
|
{
|
||||||
border: none;
|
border: none;
|
||||||
|
@ -40,7 +40,7 @@ protected:
|
|||||||
|
|
||||||
void enterEvent(QEvent *ev) override { setStyleSheet("QLabel { border: 1px solid #3A3939; }");}
|
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; }");}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user