mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-01 18:56:23 -04:00
Merge pull request #2959 from defnax/move-backgroundimage
Moved background image to light skin
This commit is contained in:
commit
b556ff8fc7
3 changed files with 101 additions and 202 deletions
|
@ -346,7 +346,7 @@ The current identities/locations will not be affected.</string>
|
||||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||||
p, li { white-space: pre-wrap; }
|
p, li { white-space: pre-wrap; }
|
||||||
</style></head><body style=" font-family:'Sans'; font-size:13pt; font-weight:400; font-style:normal;">
|
</style></head><body style=" font-family:'Sans'; font-size:13pt; font-weight:400; font-style:normal;">
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="Create new Profile..."><span style=" font-family:'MS Shell Dlg 2'; font-size:14pt; text-decoration: underline; color:#0000ff;">New Profile/Node</span></a></p></body></html></string>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="Create new Profile..."><span style=" font-family:'MS Shell Dlg 2'; font-size:14pt; text-decoration: underline; color:#366fe0;">New Profile/Node</span></a></p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
|
@ -231,7 +231,7 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qgroupbox
|
||||||
--------------------------------------------------------------------------- */
|
--------------------------------------------------------------------------- */
|
||||||
QGroupBox {
|
QGroupBox {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
border: 1px solid #C9CDD0;
|
border: 1px solid #C0C4C8;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
|
@ -1234,7 +1234,7 @@ https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox
|
||||||
|
|
||||||
--------------------------------------------------------------------------- */
|
--------------------------------------------------------------------------- */
|
||||||
QComboBox {
|
QComboBox {
|
||||||
border: 1px solid #C9CDD0;
|
border: 1px solid #C0C4C8;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
selection-background-color: #9FCBFF;
|
selection-background-color: #9FCBFF;
|
||||||
padding-left: 4px;
|
padding-left: 4px;
|
||||||
|
@ -1250,7 +1250,7 @@ QComboBox {
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox QAbstractItemView {
|
QComboBox QAbstractItemView {
|
||||||
border: 1px solid #C9CDD0;
|
border: 1px solid #C0C4C8;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
background-color: #FAFAFA;
|
background-color: #FAFAFA;
|
||||||
selection-background-color: #9FCBFF;
|
selection-background-color: #9FCBFF;
|
||||||
|
@ -1263,7 +1263,7 @@ QComboBox QAbstractItemView:hover {
|
||||||
|
|
||||||
QComboBox QAbstractItemView:selected {
|
QComboBox QAbstractItemView:selected {
|
||||||
background: #9FCBFF;
|
background: #9FCBFF;
|
||||||
color: #C9CDD0;
|
color: #C0C4C8;
|
||||||
}
|
}
|
||||||
|
|
||||||
QComboBox QAbstractItemView:alternate {
|
QComboBox QAbstractItemView:alternate {
|
||||||
|
@ -1301,6 +1301,18 @@ QComboBox::indicator:alternate {
|
||||||
background: #FAFAFA;
|
background: #FAFAFA;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QComboBox::item {
|
||||||
|
/* Remove to fix #282, #285 and MR #288*/
|
||||||
|
/*&:checked {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:selected {
|
||||||
|
border: 0px solid transparent;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
}
|
||||||
|
|
||||||
QComboBox::item:alternate {
|
QComboBox::item:alternate {
|
||||||
background: #FAFAFA;
|
background: #FAFAFA;
|
||||||
}
|
}
|
||||||
|
@ -1433,14 +1445,14 @@ QLineEdit {
|
||||||
padding-left: 4px;
|
padding-left: 4px;
|
||||||
padding-right: 4px;
|
padding-right: 4px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border: 1px solid #C9CDD0;
|
border: 1px solid #C0C4C8;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
color: #19232D;
|
color: #19232D;
|
||||||
}
|
}
|
||||||
|
|
||||||
QLineEdit:disabled {
|
QLineEdit:disabled {
|
||||||
background-color: #FAFAFA;
|
background-color: #FAFAFA;
|
||||||
color: #788D9C;
|
color: #9DA9B5;
|
||||||
}
|
}
|
||||||
|
|
||||||
QLineEdit:hover {
|
QLineEdit:hover {
|
||||||
|
@ -2151,12 +2163,12 @@ QSplitter::handle:hover {
|
||||||
}
|
}
|
||||||
|
|
||||||
QSplitter::handle:horizontal {
|
QSplitter::handle:horizontal {
|
||||||
width: 5px;
|
width: 2px;
|
||||||
image: url(":/standard_light/rc/line_vertical.png");
|
image: url(":/standard_light/rc/line_vertical.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
QSplitter::handle:vertical {
|
QSplitter::handle:vertical {
|
||||||
height: 5px;
|
height: 2px;
|
||||||
image: url(":/standard_light/rc/line_horizontal.png");
|
image: url(":/standard_light/rc/line_horizontal.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2350,51 +2362,6 @@ QFrame#titleBarFrame QTextEdit {
|
||||||
background: white;
|
background: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**** Special Page tweak ****/
|
|
||||||
|
|
||||||
|
|
||||||
/* ConnectFriendWizard */
|
|
||||||
|
|
||||||
ConnectFriendWizard QPlainTextEdit#friendCertEdit {
|
|
||||||
border: none;
|
|
||||||
background: white;
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
ConnectFriendWizard QFrame#friendFrame {
|
|
||||||
border: 2px solid #0099cc;
|
|
||||||
border-radius: 6px;
|
|
||||||
background: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
ConnectFriendWizard QWizardPage#ConclusionPage > QGroupBox#peerDetailsFrame {
|
|
||||||
border: 2px solid #039bd5;
|
|
||||||
border-radius:6px;
|
|
||||||
background: white;
|
|
||||||
color: black;
|
|
||||||
padding: 12 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
ConnectFriendWizard QGroupBox::title#peerDetailsFrame
|
|
||||||
{
|
|
||||||
padding: 4 12px;
|
|
||||||
background: transparent;
|
|
||||||
padding: 4 12px;
|
|
||||||
background: #039bd5;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* GetStartedDialog */
|
|
||||||
|
|
||||||
GetStartedDialog QTextEdit {
|
|
||||||
border: 1px solid #B8B6B1;
|
|
||||||
border-radius: 6px;
|
|
||||||
background: white;
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* HomePage */
|
/* HomePage */
|
||||||
|
|
||||||
HomePage QLabel#userCertLabel {
|
HomePage QLabel#userCertLabel {
|
||||||
|
@ -2509,7 +2476,7 @@ GxsGroupDialog QLabel#groupLogo{
|
||||||
|
|
||||||
/* Settings */
|
/* Settings */
|
||||||
|
|
||||||
PluginItem > QFrame#pluginFrame {
|
PluginItem QFrame#pluginFrame {
|
||||||
border: 2px solid #A8B8D1;
|
border: 2px solid #A8B8D1;
|
||||||
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #FCFDFE, stop: 1 #E2E8EF);
|
background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #FCFDFE, stop: 1 #E2E8EF);
|
||||||
border-radius: 0px
|
border-radius: 0px
|
||||||
|
@ -2521,7 +2488,7 @@ PluginItem QLabel#infoLabel {
|
||||||
|
|
||||||
/* Feeds */
|
/* Feeds */
|
||||||
|
|
||||||
AttachFileItem > QFrame#frame {
|
AttachFileItem QFrame#frame {
|
||||||
border: 2px solid black;
|
border: 2px solid black;
|
||||||
background: white;
|
background: white;
|
||||||
}
|
}
|
||||||
|
@ -2627,88 +2594,78 @@ BoardPostDisplayWidget_card QLabel#siteBoldLabel {
|
||||||
color: #787c7e;
|
color: #787c7e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* GenCertDialog
|
||||||
|
Change colors here because GUI is not started yet so no user StyleSheet loads */
|
||||||
|
|
||||||
/* MessengerWindow */
|
GenCertDialog QFrame#profileframe{
|
||||||
|
border-image: url(:/images/logo/background.png) 0 0 0 0 stretch stretch;
|
||||||
MessengerWindow QFrame#messengerframetop{
|
border-width: 0px;
|
||||||
background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #9BDBF9, stop:1 #1592CD);
|
|
||||||
border: 0px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GenCertDialog QFrame#profileframe QCheckBox,
|
||||||
/*************** Optional ***************/
|
GenCertDialog QFrame#profileframe QLabel {
|
||||||
|
|
||||||
/**** WikiPoos ****/
|
|
||||||
WikiEditDialog QPushButton#pushButton_History {
|
|
||||||
color: white;
|
|
||||||
background: #5bb62b;
|
|
||||||
border-radius: 4px;
|
|
||||||
max-height: 20px;
|
|
||||||
min-width: 4em;
|
|
||||||
padding: 2px;
|
|
||||||
padding-left: 6px;
|
|
||||||
padding-right: 6px;
|
|
||||||
}
|
|
||||||
|
|
||||||
WikiEditDialog QPushButton#pushButton_History:hover {
|
|
||||||
background: #57af29;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**** The Wire ****/
|
|
||||||
|
|
||||||
WireGroupItem QFrame#wire_frame:hover {
|
|
||||||
background-color: #7ecbfb;
|
|
||||||
}
|
|
||||||
WireGroupItem QFrame#wire_frame > QLabel {
|
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
PulseTopLevel QFrame#plainFrame,
|
GenCertDialog QLabel#info_Label:enabled {
|
||||||
PulseViewGroup QFrame#plainFrame,
|
color: black;
|
||||||
PulseReply QFrame#plainFrame {
|
border: 1px solid #DCDC41;
|
||||||
border: 2px solid #c4cfd6;
|
border-radius: 6px;
|
||||||
background: white;
|
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #FFFFD7, stop:1 #FFFFB2);
|
||||||
}
|
}
|
||||||
|
|
||||||
PulseAddDialog QTextEdit#textEdit_Pulse {
|
GenCertDialog QGroupBox#groupBox,
|
||||||
border: 2px solid #c4cfd6;
|
GenCertDialog QGroupBox#profile_groupBox {
|
||||||
|
background: rgba(0,0,0,10%);
|
||||||
|
}
|
||||||
|
GenCertDialog QGroupBox#profile_groupBox QComboBox,
|
||||||
|
GenCertDialog QGroupBox#profile_groupBox QSpinBox,
|
||||||
|
GenCertDialog QGroupBox#profile_groupBox QLineEdit,
|
||||||
|
GenCertDialog QComboBox#genPGPuser {
|
||||||
|
border: 2px solid #0099cc;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
background: white;
|
background: white;
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
PulseReply #line_replyLine,
|
GenCertDialog QPushButton#genButton {
|
||||||
PulseMessage #line{
|
border-image: url(:/images/btn_blue.png) 4;
|
||||||
color: #c4cfd6;
|
border-width: 4;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
GenCertDialog QPushButton#genButton:hover {
|
||||||
|
border-image: url(:/images/btn_blue_hover.png) 4;
|
||||||
|
}
|
||||||
|
GenCertDialog QPushButton#genButton:disabled {
|
||||||
|
border-image: url(:/images/btn_27.png) 4;
|
||||||
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
PulseReply QLabel#label_groupName{
|
/* StartDialog
|
||||||
color: #5b7083;
|
To get the same style for all user and not use last connected one. */
|
||||||
|
|
||||||
|
StartDialog QFrame#loginframe{
|
||||||
|
border-image: url(:/images/logo/background_lessblue.png) 0 0 0 0 stretch stretch;
|
||||||
|
border-width: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
PulseReplySeperator QFrame#frame {
|
StartDialog QFrame#loginframe QCheckBox,
|
||||||
border: 2px solid #CCCCCC;
|
StartDialog QFrame#loginframe QLabel {
|
||||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #EEEEEE, stop: 1 #CCCCCC);
|
background: transparent;
|
||||||
border-radius: 10px}
|
}
|
||||||
|
StartDialog QGroupBox#profilGBox {
|
||||||
|
background: rgba(0,0,0,10%);
|
||||||
|
border-radius: 3px;
|
||||||
|
border-width: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QLabel#label_masthead{
|
StartDialog QPushButton#loadButton {
|
||||||
border: 2px solid #CCCCCC;
|
background: transparent;
|
||||||
border-radius: 4px;
|
border-image: url(:/images/btn_blue.png) 4;
|
||||||
|
border-width: 4;
|
||||||
|
color: white;
|
||||||
}
|
}
|
||||||
|
StartDialog QPushButton#loadButton:hover {
|
||||||
/**** PhotoShare ****/
|
background: transparent;
|
||||||
AlbumItem QFrame#albumFrame {
|
border-image: url(:/images/btn_blue_hover.png) 4;
|
||||||
border: 2px solid #CCCCCC;
|
|
||||||
border-radius: 10px
|
|
||||||
}
|
|
||||||
|
|
||||||
PhotoItem QFrame#photoFrame {
|
|
||||||
border: 2px solid #CCCCCC;
|
|
||||||
border-radius: 10px
|
|
||||||
}
|
|
||||||
|
|
||||||
PhotoItem QWidget:hover {
|
|
||||||
background-color: #7ecbfb;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -141,88 +141,6 @@ QLabel#newLabel:enabled {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* StartDialog
|
|
||||||
To get the same style for all user and not use last connected one. */
|
|
||||||
|
|
||||||
StartDialog QFrame#loginframe{
|
|
||||||
border-image: url(:/images/logo/background_lessblue.png) 0 0 0 0 stretch stretch;
|
|
||||||
border-width: 0px;
|
|
||||||
}
|
|
||||||
StartDialog QFrame#loginframe QCheckBox,
|
|
||||||
StartDialog QFrame#loginframe QLabel {
|
|
||||||
background: transparent;
|
|
||||||
}
|
|
||||||
StartDialog QGroupBox#profilGBox {
|
|
||||||
background: rgba(0,0,0,10%);
|
|
||||||
border-radius: 3px;
|
|
||||||
border-width: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
StartDialog QGroupBox#profilGBox * {
|
|
||||||
background-color: white;
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
StartDialog QPushButton#loadButton {
|
|
||||||
background: transparent;
|
|
||||||
border-image: url(:/images/btn_blue.png) 4;
|
|
||||||
border-width: 4;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
StartDialog QPushButton#loadButton:hover {
|
|
||||||
background: transparent;
|
|
||||||
border-image: url(:/images/btn_blue_hover.png) 4;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* GenCertDialog
|
|
||||||
Change colors here because GUI is not started yet so no user StyleSheet loads */
|
|
||||||
|
|
||||||
GenCertDialog QFrame#profileframe{
|
|
||||||
border-image: url(:/images/logo/background.png) 0 0 0 0 stretch stretch;
|
|
||||||
border-width: 0px;
|
|
||||||
}
|
|
||||||
GenCertDialog QFrame#profileframe QCheckBox,
|
|
||||||
GenCertDialog QFrame#profileframe QLabel {
|
|
||||||
background: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
GenCertDialog QLabel#info_Label:enabled {
|
|
||||||
color: black;
|
|
||||||
border: 1px solid #DCDC41;
|
|
||||||
border-radius: 6px;
|
|
||||||
background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #FFFFD7, stop:1 #FFFFB2);
|
|
||||||
}
|
|
||||||
|
|
||||||
GenCertDialog QGroupBox#groupBox,
|
|
||||||
GenCertDialog QGroupBox#profile_groupBox {
|
|
||||||
background: rgba(0,0,0,10%);
|
|
||||||
}
|
|
||||||
GenCertDialog QGroupBox#profile_groupBox QComboBox,
|
|
||||||
GenCertDialog QGroupBox#profile_groupBox QSpinBox,
|
|
||||||
GenCertDialog QGroupBox#profile_groupBox QLineEdit,
|
|
||||||
GenCertDialog QComboBox#genPGPuser {
|
|
||||||
border: 2px solid #0099cc;
|
|
||||||
border-radius: 6px;
|
|
||||||
background: white;
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
GenCertDialog QPushButton#genButton {
|
|
||||||
border-image: url(:/images/btn_blue.png) 4;
|
|
||||||
border-width: 4;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
GenCertDialog QPushButton#genButton:hover {
|
|
||||||
border-image: url(:/images/btn_blue_hover.png) 4;
|
|
||||||
}
|
|
||||||
GenCertDialog QPushButton#genButton:disabled {
|
|
||||||
border-image: url(:/images/btn_27.png) 4;
|
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* AvatarWidget */
|
/* AvatarWidget */
|
||||||
|
|
||||||
AvatarWidget{border-width: 10px;}
|
AvatarWidget{border-width: 10px;}
|
||||||
|
@ -418,3 +336,27 @@ OpModeStatus[opMode="Minimal"] {
|
||||||
[WrongValue="true"] {
|
[WrongValue="true"] {
|
||||||
background-color: #FF8080;
|
background-color: #FF8080;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GenCertDialog QPushButton#genButton {
|
||||||
|
border-image: url(:/images/btn_blue.png) 4;
|
||||||
|
border-width: 4;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
GenCertDialog QPushButton#genButton:hover {
|
||||||
|
border-image: url(:/images/btn_blue_hover.png) 4;
|
||||||
|
}
|
||||||
|
GenCertDialog QPushButton#genButton:disabled {
|
||||||
|
border-image: url(:/images/btn_27.png) 4;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
|
|
||||||
|
StartDialog QPushButton#loadButton {
|
||||||
|
background: transparent;
|
||||||
|
border-image: url(:/images/btn_blue.png) 4;
|
||||||
|
border-width: 4;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
StartDialog QPushButton#loadButton:hover {
|
||||||
|
background: transparent;
|
||||||
|
border-image: url(:/images/btn_blue_hover.png) 4;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue