Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
f3f819b6
Commit
f3f819b6
authored
Dec 10, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CSS: Also color the room and contact toggles
parent
1d55b131
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
42 additions
and
1 deletion
+42
-1
css/converse.css
css/converse.css
+14
-0
sass/_bookmarks.scss
sass/_bookmarks.scss
+11
-0
sass/_controlbox.scss
sass/_controlbox.scss
+8
-0
sass/_roster.scss
sass/_roster.scss
+7
-0
sass/_variables.scss
sass/_variables.scss
+2
-1
No files found.
css/converse.css
View file @
f3f819b6
...
...
@@ -9320,6 +9320,7 @@ readers do not read off random characters that represent icons */
--flyout-padding: 1.2em;
--chat-head-color: #3AA569;
--chat-head-color-dark: #1E9652;
--chat-head-color-darker: #0E763B;
--chat-head-color-lighten-50-percent: #e7f7ee;
--chat-head-text-color: white;
--chat-correcting-color: var(--chat-head-color-lighten-50-percent);
...
...
@@ -10690,6 +10691,10 @@ body.reset {
#conversejs
#controlbox
{
margin-right
:
calc
(
3
*
var
(
--chat-gutter
));
}
#conversejs
#controlbox
.open-rooms-toggle
,
#conversejs
#controlbox
.open-rooms-toggle
.fa
{
color
:
var
(
--chatroom-head-color
)
!important
;
}
#conversejs
#controlbox
.open-rooms-toggle
:hover
,
#conversejs
#controlbox
.open-rooms-toggle
.fa
:hover
{
color
:
var
(
--chatroom-head-color-dark
)
!important
;
}
#conversejs
#controlbox
.box-flyout
{
background-color
:
white
;
}
#conversejs
#controlbox
.logged-out
.box-flyout
.controlbox-pane
{
...
...
@@ -11190,6 +11195,10 @@ body.reset {
width
:
100%
;
padding-top
:
0
;
padding-bottom
:
0.3rem
;
}
#conversejs
#converse-roster
.roster-contacts
.roster-group
.group-toggle
,
#conversejs
#converse-roster
.roster-contacts
.roster-group
.group-toggle
.fa
{
color
:
var
(
--chat-head-color-dark
)
!important
;
}
#conversejs
#converse-roster
.roster-contacts
.roster-group
.group-toggle
:hover
,
#conversejs
#converse-roster
.roster-contacts
.roster-group
.group-toggle
.fa
:hover
{
color
:
var
(
--chat-head-color-darker
)
!important
;
}
#conversejs
#converse-roster
.roster-contacts
.roster-group
li
.requesting-xmpp-contact
a
{
line-height
:
var
(
--line-height
);
}
#conversejs
#converse-roster
.roster-contacts
.roster-group
li
.requesting-xmpp-contact
.req-contact-name
{
...
...
@@ -12013,6 +12022,11 @@ body.reset {
#conversejs
.converse-overlayed
#minimized-chats
.chat-head-message-count-hidden
{
display
:
none
;
}
#conversejs
#controlbox
.bookmarks-toggle
,
#conversejs
#controlbox
.bookmarks-toggle
.fa
{
color
:
var
(
--chatroom-head-color
)
!important
;
}
#conversejs
#controlbox
.bookmarks-toggle
:hover
,
#conversejs
#controlbox
.bookmarks-toggle
.fa
:hover
{
color
:
var
(
--chatroom-head-color-dark
)
!important
;
}
#conversejs
.fullscreen
#controlbox
#chatrooms
.bookmarks-list
dl
.rooms-list.bookmarks
dd
.available-chatroom
a
.open-room
{
width
:
80%
;
}
...
...
sass/_bookmarks.scss
View file @
f3f819b6
#conversejs
{
#controlbox
{
.bookmarks-toggle
,
.bookmarks-toggle
.fa
{
color
:
var
(
--
chatroom-head-color
)
!
important
;
&
:hover
{
color
:
var
(
--
chatroom-head-color-dark
)
!
important
;
}
}
}
}
#conversejs
.fullscreen
{
#controlbox
{
#chatrooms
{
...
...
sass/_controlbox.scss
View file @
f3f819b6
...
...
@@ -61,6 +61,14 @@
}
#controlbox
{
.open-rooms-toggle
,
.open-rooms-toggle
.fa
{
color
:
var
(
--
chatroom-head-color
)
!
important
;
&
:hover
{
color
:
var
(
--
chatroom-head-color-dark
)
!
important
;
}
}
.box-flyout
{
background-color
:
white
;
}
...
...
sass/_roster.scss
View file @
f3f819b6
...
...
@@ -67,6 +67,13 @@
padding-bottom
:
0
.3rem
;
}
.group-toggle
,
.group-toggle
.fa
{
color
:
var
(
--
chat-head-color-dark
)
!
important
;
&
:hover
{
color
:
var
(
--
chat-head-color-darker
)
!
important
;
}
}
li
{
&
.requesting-xmpp-contact
{
a
{
...
...
sass/_variables.scss
View file @
f3f819b6
...
...
@@ -46,7 +46,8 @@ $font-path: "webfonts/icomoon/fonts/" !default;
--flyout-padding
:
1
.2em
;
--chat-head-color
:
#3AA569
;
// $green
--chat-head-color-dark
:
#1E9652
;
// $green
--chat-head-color-dark
:
#1E9652
;
--chat-head-color-darker
:
#0E763B
;
--chat-head-color-lighten-50-percent
:
#e7f7ee
;
// lighten($green, 50%)
--chat-head-text-color
:
white
;
--chat-correcting-color
:
var
(
--
chat-head-color-lighten-50-percent
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment