Merge pull request #23 from defnax/stylesheetfix-2

some few more stylsheet fixes
This commit is contained in:
csoler 2020-10-04 17:38:03 +02:00 committed by GitHub
commit e1ca1e137c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 26 deletions

View File

@ -808,7 +808,7 @@ GxsGroupDialog QLabel#groupLogo{
} }
BoardPostDisplayWidget_compact QFrame#frame { BoardPostDisplayWidget_compact QFrame#mainFrame {
background-color: white; background-color: white;
} }
@ -816,11 +816,11 @@ PostedItem QFrame#voteFrame {
background: #f8f9fa; background: #f8f9fa;
} }
BoardPostDisplayWidget_compact QFrame#frame [new=false]{ BoardPostDisplayWidget_compact > QFrame#mainFrame [new=false]{
background: white; background: white;
} }
BoardPostDisplayWidget_compact QFrame#frame[new=true] { BoardPostDisplayWidget_compact > QFrame#mainFrame[new=true] {
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #F0F8FD, stop:0.8 #E6F2FD, stop: 0.81 #E6F2FD, stop: 1 #D2E7FD); background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #F0F8FD, stop:0.8 #E6F2FD, stop: 0.81 #E6F2FD, stop: 1 #D2E7FD);
} }
@ -849,15 +849,15 @@ PostedCardView QFrame#voteFrame {
background: #f8f9fa; background: #f8f9fa;
} }
BoardPostDisplayWidget_card QFrame#frame{ BoardPostDisplayWidget_card QFrame#mainFrame{
background: white; background: white;
} }
BoardPostDisplayWidget_card QFrame#frame [new=false]{ BoardPostDisplayWidget_card > QFrame#mainFrame [new=false]{
background: white; background: white;
} }
BoardPostDisplayWidget_card > QFrame#frame[new=true] { BoardPostDisplayWidget_card > QFrame#mainFrame[new=true] {
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #F0F8FD, stop:0.8 #E6F2FD, stop: 0.81 #E6F2FD, stop: 1 #D2E7FD); background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #F0F8FD, stop:0.8 #E6F2FD, stop: 0.81 #E6F2FD, stop: 1 #D2E7FD);
} }

View File

@ -2078,28 +2078,26 @@ BoardPostDisplayWidget_compact QFrame#mainFrame {
border-radius: 4px; border-radius: 4px;
border: 1px solid #32414B; border: 1px solid #32414B;
background-color: #19232D; background-color: #19232D;
}
BoardPostDisplayWidget_compact QFrame#mainFrame [new=false]{
background: #19232D;
}
BoardPostDisplayWidget_compact QFrame#mainFrame[new=true] {
background-color: #1464a0;
} }
GxsChannelPostItem QFrame#mainFrame { GxsChannelPostItem QFrame#mainFrame {
border-radius: 4px; border-radius: 4px;
border: 1px solid #32414B; border: 1px solid #32414B;
background-color: #19232D; background-color: #19232D;
} }
BoardPostDisplayWidget_compact QPushButton#shareButton BoardPostDisplayWidget_compact QPushButton#shareButton {
{
background-color: transparent; background-color: transparent;
min-width: 80px; min-width: 80px;
max-height: 22px; max-height: 22px;
}
BoardPostDisplayWidget_compact QLabel#scoreLabel
{
background-color: transparent;
} }
BoardPostDisplayWidget_compact QFrame#voteFrame { BoardPostDisplayWidget_compact QFrame#voteFrame {
@ -2117,12 +2115,23 @@ BoardPostDisplayWidget_compact QLabel#pictureLabel{
border-radius: 3px; border-radius: 3px;
} }
BoardPostDisplayWidget_card QPushButton#shareButton BoardPostDisplayWidget_compact QLabel#scoreLabel, QLabel#titleLabel, QLabel#fromBoldLabel , QLabel#fromLabel, QLabel#dateLabel,
{ BoardPostDisplayWidget_card QLabel#scoreLabel, QLabel#titleLabel{
background-color: transparent;
}
BoardPostDisplayWidget_compact QLabel#newLabel,
BoardPostDisplayWidget_card QLabel#newLabel {
border: 1px solid #00B712;
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #5AFF15, stop: 1 #00B712);
border-radius: 3px;
color: black;
}
BoardPostDisplayWidget_card QPushButton#shareButton{
background-color: transparent; background-color: transparent;
min-width: 80px; min-width: 80px;
max-height: 22px; max-height: 22px;
} }
BoardPostDisplayWidget_card QFrame#voteFrame { BoardPostDisplayWidget_card QFrame#voteFrame {
@ -2130,17 +2139,15 @@ BoardPostDisplayWidget_card QFrame#voteFrame {
} }
BoardPostDisplayWidget_card QFrame#mainFrame { BoardPostDisplayWidget_card QFrame#mainFrame {
background-color: #19232D; background-color: #19232D;
} }
BoardPostDisplayWidget_card QFrame#mainFrame [new=false]{ BoardPostDisplayWidget_card QFrame#mainFrame [new=false]{
background: #19232D; background: #19232D;
} }
BoardPostDisplayWidget_card > QFrame#mainFrame[new=true] { BoardPostDisplayWidget_card QFrame#mainFrame[new=true] {
background-color: #005000; background-color: #1464a0;
} }
WireGroupItem QFrame#wire_frame{ WireGroupItem QFrame#wire_frame{
@ -2162,3 +2169,5 @@ PulseTopLevel QFrame#frame, PulseViewGroup QFrame#frame, PulseReply QFrame#frame
border: 2px solid #38444d; border: 2px solid #38444d;
border-radius: 6px; border-radius: 6px;
} }