Fix group notices: Have a background for the header for certain skins.

This commit is contained in:
Liru Færs
2020-04-01 01:56:58 -04:00
parent 407b527a55
commit 6028ae7b61
12 changed files with 14 additions and 2 deletions

View File

@@ -150,8 +150,9 @@ LLGroupNotifyBox::LLGroupNotifyBox(const std::string& subject,
auto links = new LLTextEditor(std::string("group"), LLRect(x, y + 5, RIGHT, bottom), S32_MAX, LLStringUtil::null, nullptr, false, true); // Top adjustment to line up with icon
links->setBorderVisible(FALSE);
links->setReadOnlyFgColor(text_color);
links->setReadOnlyBgColor(LLColor4::transparent);
static const auto header_bg_color = gColors.getColor("GroupNotifyHeaderBGColor");
if (header_bg_color[VALPHA]) links->setReadOnlyFgColor(text_color);
links->setReadOnlyBgColor(header_bg_color);
links->setEnabled(false);
links->setTakesNonScrollClicks(TRUE);
links->setHideScrollbarForShortDocs(TRUE);

View File

@@ -103,6 +103,7 @@
<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- the background color of caution permissions prompts -->
<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- the foreground color of the special title text in caution permissions prompts -->
<GroupNotifyBoxColor value="66, 66, 66, 255" />
<GroupNotifyHeaderBGColor value="0, 0, 0, 0" />
<GroupNotifyTextColor value="255, 255, 255, 128" />
<!-- CHAT AND IM HISTORY TEXTBOX COLORS -->

View File

@@ -99,6 +99,7 @@
<NotifyCautionBoxColor value="254, 209, 118, 255"/> <!-- the background color of caution permissions prompts -->
<NotifyCautionWarnColor value="0, 0, 0, 255"/> <!-- the foreground color of the special title text in caution permissions prompts -->
<GroupNotifyBoxColor value="66, 66, 66, 255"/>
<GroupNotifyHeaderBGColor value="0, 0, 0, 0" />
<GroupNotifyTextColor value="200, 200, 200, 255"/>
<!-- CHAT AND IM HISTORY TEXTBOX COLORS -->

View File

@@ -100,6 +100,7 @@
<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- the background color of caution permissions prompts -->
<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- the foreground color of the special title text in caution permissions prompts -->
<GroupNotifyBoxColor value="189, 0, 0, 240" />
<GroupNotifyHeaderBGColor value="0, 0, 0, 0" />
<GroupNotifyTextColor value="1, 0, 0, 255" />
<!-- CHAT AND IM HISTORY TEXTBOX COLORS -->

View File

@@ -103,6 +103,7 @@
<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- the background color of caution permissions prompts -->
<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- the foreground color of the special title text in caution permissions prompts -->
<GroupNotifyBoxColor value="70, 170, 255, 255" />
<GroupNotifyHeaderBGColor value="255, 255, 255, 184" />
<GroupNotifyTextColor value="0, 30, 60, 255" />
<!-- CHAT AND IM HISTORY TEXTBOX COLORS -->

View File

@@ -99,6 +99,7 @@
<NotifyCautionBoxColor value="0, 0, 0, 255" /> <!-- the background color of caution permissions prompts -->
<NotifyCautionWarnColor value="169, 216, 175, 255" /> <!-- the foreground color of the special title text in caution permissions prompts -->
<GroupNotifyBoxColor value="0, 0, 0, 255" />
<GroupNotifyHeaderBGColor value="0, 0, 0, 0" />
<GroupNotifyTextColor value="169, 216, 175, 255" />
<!-- CHAT AND IM HISTORY TEXTBOX COLORS -->

View File

@@ -103,6 +103,7 @@
<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- the background color of caution permissions prompts -->
<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- the foreground color of the special title text in caution permissions prompts -->
<GroupNotifyBoxColor value="66, 66, 66, 255" />
<GroupNotifyHeaderBGColor value="0, 0, 0, 0" />
<GroupNotifyTextColor value="255, 255, 255, 128" />
<!-- CHAT AND IM HISTORY TEXTBOX COLORS -->

View File

@@ -99,6 +99,7 @@
<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- the background color of caution permissions prompts -->
<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- the foreground color of the special title text in caution permissions prompts -->
<GroupNotifyBoxColor value="189, 0, 0, 240" />
<GroupNotifyHeaderBGColor value="0, 0, 0, 0" />
<GroupNotifyTextColor value="1, 0, 0, 255" />
<!-- CHAT AND IM HISTORY TEXTBOX COLORS -->

View File

@@ -99,6 +99,7 @@
<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- the background color of caution permissions prompts -->
<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- the foreground color of the special title text in caution permissions prompts -->
<GroupNotifyBoxColor value="189, 0, 0, 240" />
<GroupNotifyHeaderBGColor value="0, 0, 0, 0" />
<GroupNotifyTextColor value="1, 0, 0, 255" />
<!-- CHAT AND IM HISTORY TEXTBOX COLORS -->

View File

@@ -103,6 +103,7 @@
<NotifyCautionBoxColor value="210, 210, 210, 255" /> <!-- the background color of caution permissions prompts -->
<NotifyCautionWarnColor value="210, 210, 210, 255" /> <!-- the foreground color of the special title text in caution permissions prompts -->
<GroupNotifyBoxColor value="255, 255, 255, 255" />
<GroupNotifyHeaderBGColor value="0, 0, 0, 0" />
<GroupNotifyTextColor value="0, 0, 0, 255" />
<!-- CHAT AND IM HISTORY TEXTBOX COLORS -->

View File

@@ -99,6 +99,7 @@
<NotifyCautionBoxColor value="210, 210, 210, 255" /> <!-- the background color of caution permissions prompts -->
<NotifyCautionWarnColor value="210, 210, 210, 255" /> <!-- the foreground color of the special title text in caution permissions prompts -->
<GroupNotifyBoxColor value="255, 255, 255, 255" />
<GroupNotifyHeaderBGColor value="0, 0, 0, 0" />
<GroupNotifyTextColor value="0, 0, 0, 255" />
<!-- CHAT AND IM HISTORY TEXTBOX COLORS -->

View File

@@ -103,6 +103,7 @@
<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- the background color of caution permissions prompts -->
<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- the foreground color of the special title text in caution permissions prompts -->
<GroupNotifyBoxColor value="70, 70, 70, 255" />
<GroupNotifyHeaderBGColor value="0, 0, 0, 0" />
<GroupNotifyTextColor value="0, 30, 60, 255" />
<!-- CHAT AND IM HISTORY TEXTBOX COLORS -->