mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Merge pull request #1986 from PhenomRetroShare/Fix_ForceItemColorForGtkDarkTheme
Fix qss StyleSheet dark theme item color for gtk users
This commit is contained in:
commit
6352fc9719
@ -39,19 +39,19 @@
|
|||||||
//#define DEBUG_EID_PAINT 1
|
//#define DEBUG_EID_PAINT 1
|
||||||
|
|
||||||
/* To test it you can make an empty.qss file with:
|
/* To test it you can make an empty.qss file with:
|
||||||
QTreeView::item, QTreeWidget::item{
|
QTreeView::item, QTreeWidget::item, QListWidget::item{
|
||||||
color: #AB0000;
|
color: #AB0000;
|
||||||
background-color: #00DC00;
|
background-color: #00DC00;
|
||||||
}
|
}
|
||||||
QTreeView::item:selected, QTreeWidget::item:selected{
|
QTreeView::item:selected, QTreeWidget::item:selected, QListWidget::item:selected{
|
||||||
color: #00CD00;
|
color: #00CD00;
|
||||||
background-color: #0000BA;
|
background-color: #0000BA;
|
||||||
}
|
}
|
||||||
QTreeView::item:hover, QTreeWidget::item:hover{
|
QTreeView::item:hover, QTreeWidget::item:hover, QListWidget::item:hover{
|
||||||
color: #0000EF;
|
color: #0000EF;
|
||||||
background-color: #FEDCBA;
|
background-color: #FEDCBA;
|
||||||
}
|
}
|
||||||
QQTreeView::item:selected:hover, TreeWidget::item:selected:hover{
|
QQTreeView::item:selected:hover, TreeWidget::item:selected:hover, QListWidget::item:selected:hover{
|
||||||
color: #ABCDEF;
|
color: #ABCDEF;
|
||||||
background-color: #FE0000;
|
background-color: #FE0000;
|
||||||
}
|
}
|
||||||
|
@ -51,6 +51,10 @@ background: black;
|
|||||||
color: lightgray;
|
color: lightgray;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
|
QTreeView::item, QTreeWidget::item, QListWidget::item{
|
||||||
|
color: lightgray;
|
||||||
|
}
|
||||||
|
|
||||||
QDialog, QMainWindow{
|
QDialog, QMainWindow{
|
||||||
background-color: qlineargradient(spread:reflect, x1:0, y1:0, x2:0, y2:1, stop:0 rgb(25, 25, 25), stop:0.05 rgb(0, 0, 0), stop:0.95 rgb(0, 0, 0), stop:1 rgb(25, 25, 25));
|
background-color: qlineargradient(spread:reflect, x1:0, y1:0, x2:0, y2:1, stop:0 rgb(25, 25, 25), stop:0.05 rgb(0, 0, 0), stop:0.95 rgb(0, 0, 0), stop:1 rgb(25, 25, 25));
|
||||||
}
|
}
|
||||||
@ -255,6 +259,12 @@ QTextEdit {
|
|||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
RSTextBrowser, MimeTextEdit
|
||||||
|
{
|
||||||
|
/*qproperty-textColorQuote: rgb(125, 125, 255);*/
|
||||||
|
qproperty-textColorQuotes: ColorList(#789922 #039bd5 #800000 #800080 #008080 #b10dc9 #85144b #3d9970);
|
||||||
|
}
|
||||||
|
|
||||||
/* OpModeStatus need to be at end to overload other values*/
|
/* OpModeStatus need to be at end to overload other values*/
|
||||||
OpModeStatus {
|
OpModeStatus {
|
||||||
qproperty-opMode_Full_Color: #007000;
|
qproperty-opMode_Full_Color: #007000;
|
||||||
|
@ -51,6 +51,9 @@ QWidget {
|
|||||||
selection-background-color: #1464A0;
|
selection-background-color: #1464A0;
|
||||||
selection-color: #F0F0F0;
|
selection-color: #F0F0F0;
|
||||||
}
|
}
|
||||||
|
QTreeView::item, QTreeWidget::item, QListWidget::item{
|
||||||
|
color: #F0F0F0;
|
||||||
|
}
|
||||||
|
|
||||||
QWidget:disabled {
|
QWidget:disabled {
|
||||||
background-color: #19232D;
|
background-color: #19232D;
|
||||||
@ -2152,5 +2155,5 @@ GxsChannelDialog GroupTreeWidget QTreeWidget#treeWidget::item{
|
|||||||
RSTextBrowser, MimeTextEdit
|
RSTextBrowser, MimeTextEdit
|
||||||
{
|
{
|
||||||
/*qproperty-textColorQuote: rgb(125, 125, 255);*/
|
/*qproperty-textColorQuote: rgb(125, 125, 255);*/
|
||||||
qproperty-textColorQuotes: ColorList(#0000ff #00ff00 #00ffff #ff0000 #ff00ff #ffff00 #ffffff);
|
qproperty-textColorQuotes: ColorList(#789922 #039bd5 #800000 #800080 #008080 #b10dc9 #85144b #3d9970);
|
||||||
}
|
}
|
||||||
|
@ -60,6 +60,9 @@ QWidget
|
|||||||
border-image: none;
|
border-image: none;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
}
|
}
|
||||||
|
QTreeView::item, QTreeWidget::item, QListWidget::item{
|
||||||
|
color: silver;
|
||||||
|
}
|
||||||
|
|
||||||
QWidget:item:hover
|
QWidget:item:hover
|
||||||
{
|
{
|
||||||
@ -1299,7 +1302,7 @@ WireGroupItem QFrame#frame{
|
|||||||
RSTextBrowser, MimeTextEdit
|
RSTextBrowser, MimeTextEdit
|
||||||
{
|
{
|
||||||
/*qproperty-textColorQuote: rgb(125, 125, 255);*/
|
/*qproperty-textColorQuote: rgb(125, 125, 255);*/
|
||||||
qproperty-textColorQuotes: ColorList(#0000ff #00ff00 #00ffff #ff0000 #ff00ff #ffff00 #ffffff);
|
qproperty-textColorQuotes: ColorList(#789922 #039bd5 #800000 #800080 #008080 #b10dc9 #85144b #3d9970);
|
||||||
}
|
}
|
||||||
|
|
||||||
ChatWidget QFrame#pluginTitleFrame
|
ChatWidget QFrame#pluginTitleFrame
|
||||||
|
Loading…
Reference in New Issue
Block a user