Commit e705b038 authored by JC Brand's avatar JC Brand

Fixes #2124 Concord - toolbar icons are invisible in MUC

parent cc458e8d
...@@ -20,35 +20,6 @@ ...@@ -20,35 +20,6 @@
.chat-toolbar { .chat-toolbar {
converse-chat-toolbar {
background-color: white;
box-sizing: border-box;
color: var(--chat-head-color);
display: flex;
justify-content: space-between;
margin: 0;
width: 100%;
.fa, .fa:hover,
.far, .far:hover,
.fas, .fas:hover {
color: var(--chat-head-color);
font-size: var(--font-size-large);
svg {
fill: var(--chat-head-color);
}
}
.unencrypted a,
.unencrypted {
color: var(--text-color);
.toolbar-menu {
a {
color: var(--link-color);
}
}
}
}
.toolbar-buttons { .toolbar-buttons {
width: 100%; width: 100%;
display: inline-block; display: inline-block;
...@@ -59,28 +30,6 @@ ...@@ -59,28 +30,6 @@
} }
} }
button {
margin-top: 0.4em;
border: 1px transparent solid;
background-color: transparent;
&:disabled .fa {
color: grey;
&:hover {
color: grey;
}
svg, svg:hover {
fill: grey;
}
}
&.send-button {
padding-top: 0.2em;
padding-bottom: 0.2em;
margin: 0;
margin-top: -1px;
}
}
.unverified a, .unverified a,
.unverified { .unverified {
color: #cf5300; color: #cf5300;
...@@ -141,19 +90,69 @@ ...@@ -141,19 +90,69 @@
} }
} }
converse-chat-toolbar {
background-color: white;
box-sizing: border-box;
display: flex;
justify-content: space-between;
margin: 0;
width: 100%;
.fa, .fa:hover,
.far, .far:hover,
.fas, .fas:hover {
color: var(--chat-head-color);
font-size: var(--font-size-large);
svg {
fill: var(--chat-head-color);
}
}
.unencrypted a,
.unencrypted {
color: var(--text-color);
.toolbar-menu {
a {
color: var(--link-color);
}
}
}
button {
margin-top: 0.4em;
border: 1px transparent solid;
background-color: transparent;
&.send-button {
padding-top: 0.2em;
padding-bottom: 0.2em;
margin: 0;
margin-top: -1px;
}
}
}
.chatbox { .chatbox {
converse-chat-toolbar { converse-chat-toolbar {
border-top: var(--chatbox-message-input-border-top); border-top: var(--chatbox-message-input-border-top);
color: var(--chat-head-color); color: var(--chat-toolbar-btn-color);
background-color: white; background-color: white;
.fas, .fas:hover, .fas, .fas:hover,
.far, .far:hover, .far, .far:hover,
.fa, .fa:hover { .fa, .fa:hover {
color: var(--chat-head-color); color: var(--chat-toolbar-btn-color);
} }
button { button {
&:focus { &:focus {
outline-color: var(--chat-head-color) !important; outline-color: var(--chat-toolbar-btn-color) !important;
}
&:disabled .fa {
color: var(--chat-toolbar-btn-disabled-color);
&:hover {
color: var(--chat-toolbar-btn-disabled-color);
}
svg, svg:hover {
fill: var(--chat-toolbar-btn-disabled-color);
}
} }
} }
} }
...@@ -162,19 +161,28 @@ ...@@ -162,19 +161,28 @@
.chatroom { .chatroom {
converse-chat-toolbar { converse-chat-toolbar {
border-top: var(--chatroom-message-input-border-top); border-top: var(--chatroom-message-input-border-top);
color: var(--chatroom-head-bg-color); color: var(--muc-toolbar-btn-color);
.fas, .fas:hover, .fas, .fas:hover,
.far, .far:hover, .far, .far:hover,
.fa, .fa:hover { .fa, .fa:hover {
color: var(--chatroom-head-bg-color); color: var(--muc-toolbar-btn-color);
font-size: var(--font-size-large); font-size: var(--font-size-large);
svg { svg {
fill: var(--chatroom-head-bg-color); fill: var(--muc-toolbar-btn-color);
} }
} }
button { button {
&:focus { &:focus {
outline-color: var(--chatroom-head-bg-color) !important; outline-color: var(--muc-toolbar-btn-color) !important;
}
&:disabled .fa {
color: var(--muc-toolbar-btn-disabled-color);
&:hover {
color: var(--muc-toolbar-btn-disabled-color);
}
svg, svg:hover {
fill: var(--muc-toolbar-btn-disabled-color);
}
} }
} }
} }
......
...@@ -51,12 +51,14 @@ $mobile_portrait_length: 480px !default; ...@@ -51,12 +51,14 @@ $mobile_portrait_length: 480px !default;
--flyout-padding: 0.5em; --flyout-padding: 0.5em;
--chat-head-color: var(--green); --chat-correcting-color: var(--chat-head-color-lighten-50-percent);
--chat-head-color-dark: #1E9652; --chat-head-color-dark: #1E9652;
--chat-head-color-darker: #0E763B; --chat-head-color-darker: #0E763B;
--chat-head-color-lighten-50-percent: #e7f7ee; // lighten($green, 50%) --chat-head-color-lighten-50-percent: #e7f7ee; // lighten($green, 50%)
--chat-head-color: var(--green);
--chat-head-text-color: white; --chat-head-text-color: white;
--chat-correcting-color: var(--chat-head-color-lighten-50-percent); --chat-toolbar-btn-color: var(--green);
--chat-toolbar-btn-disabled-color: gray;
--chat-content-background-color: white; --chat-content-background-color: white;
...@@ -113,19 +115,21 @@ $mobile_portrait_length: 480px !default; ...@@ -113,19 +115,21 @@ $mobile_portrait_length: 480px !default;
--heading-display: block; --heading-display: block;
--heading-color: white; --heading-color: white;
--chatroom-head-color: white; --chatroom-badge-color: var(--chatroom-head-bg-color);
--chatroom-head-bg-color: var(--redder-orange); --chatroom-badge-hover-color: var(--chatroom-head-bg-color-dark);
--chatroom-correcting-color: #fadfd7; // lighten($red, 30%)
--chatroom-head-bg-color-dark: #D24E2B; // $red --chatroom-head-bg-color-dark: #D24E2B; // $red
--chatroom-head-bg-color: var(--redder-orange);
--chatroom-head-border-bottom: 0px;
--chatroom-head-button-color: var(--chatroom-head-bg-color); --chatroom-head-button-color: var(--chatroom-head-bg-color);
--chatroom-head-color: white;
--chatroom-head-description-display: block;
--chatroom-head-description-link-color: white;
--chatroom-head-title-font-weight: normal; --chatroom-head-title-font-weight: normal;
--chatroom-head-title-padding-right: 0px; --chatroom-head-title-padding-right: 0px;
--chatroom-head-description-link-color: white;
--chatroom-head-description-display: block;
--chatroom-head-border-bottom: 0px;
--chatroom-width: 500px; --chatroom-width: 500px;
--chatroom-correcting-color: #fadfd7; // lighten($red, 30%) --muc-toolbar-btn-color: var(--redder-orange);
--chatroom-badge-color: var(--chatroom-head-bg-color); --muc-toolbar-btn-disabled-color: gray;
--chatroom-badge-hover-color: var(--chatroom-head-bg-color-dark);
--headline-head-color: var(--orange); --headline-head-color: var(--orange);
--headline-message-color: #D2842B; --headline-message-color: #D2842B;
...@@ -216,20 +220,22 @@ $mobile_portrait_length: 480px !default; ...@@ -216,20 +220,22 @@ $mobile_portrait_length: 480px !default;
--link-hover-color: var(--lighter-blue); --link-hover-color: var(--lighter-blue);
--chatroom-head-color: #7E7E7E; --chatroom-badge-color: var(--redder-orange);
--chatroom-badge-hover-color: #D24E2B; // $red
--chatroom-correcting-color: #FFFFC0;
--chatroom-head-bg-color: white; --chatroom-head-bg-color: white;
--chatroom-head-border-bottom: 1px solid #EEE;
--chatroom-head-button-color: #999; --chatroom-head-button-color: #999;
--chatroom-head-title-font-weight: bold; --chatroom-head-color: #7E7E7E;
--chatroom-head-title-padding-right: 12px; --chatroom-head-description-border-left: 1px solid #DDD;
--chatroom-head-description-color: black; --chatroom-head-description-color: black;
--chatroom-head-description-link-color: #00b3f4;
--chatroom-head-description-display: inline; --chatroom-head-description-display: inline;
--chatroom-head-description-border-left: 1px solid #DDD; --chatroom-head-description-link-color: #00b3f4;
--chatroom-head-description-padding-left: 12px; --chatroom-head-description-padding-left: 12px;
--chatroom-head-border-bottom: 1px solid #EEE; --chatroom-head-title-font-weight: bold;
--chatroom-correcting-color: #FFFFC0; --chatroom-head-title-padding-right: 12px;
--chatroom-badge-color: var(--redder-orange); --muc-toolbar-btn-color: #7E7E7E;
--chatroom-badge-hover-color: #D24E2B; // $red --muc-toolbar-btn-disabled-color: lightgray;
--occupants-background-color: #F3F3F3; --occupants-background-color: #F3F3F3;
--occupants-border-left: 0px; --occupants-border-left: 0px;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
} }
}); });
converse.initialize({ converse.initialize({
// root: new DocumentFragment(), theme: 'concord',
show_send_button: true, show_send_button: true,
auto_away: 300, auto_away: 300,
auto_register_muc_nickname: true, auto_register_muc_nickname: true,
...@@ -28,12 +28,11 @@ ...@@ -28,12 +28,11 @@
modtools_disable_assign: ['owner', 'moderator', 'participant', 'visitor'], modtools_disable_assign: ['owner', 'moderator', 'participant', 'visitor'],
modtools_disable_query: ['moderator', 'participant', 'visitor'], modtools_disable_query: ['moderator', 'participant', 'visitor'],
enable_smacks: true, enable_smacks: true,
i18n: 'af',
// connection_options: { 'worker': '/dist/shared-connection-worker.js' }, // connection_options: { 'worker': '/dist/shared-connection-worker.js' },
message_archiving: 'always', message_archiving: 'always',
muc_domain: 'conference.chat.example.org', muc_domain: 'conference.chat.example.org',
muc_respect_autojoin: true, muc_respect_autojoin: true,
// view_mode: 'fullscreen', view_mode: 'fullscreen',
websocket_url: 'ws://chat.example.org:5380/xmpp-websocket', websocket_url: 'ws://chat.example.org:5380/xmpp-websocket',
// bosh_service_url: 'http://chat.example.org:5280/http-bind', // bosh_service_url: 'http://chat.example.org:5280/http-bind',
muc_show_logs_before_join: true, muc_show_logs_before_join: true,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment