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
75342b06
Commit
75342b06
authored
Jul 21, 2017
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
css: Titles for available chat rooms were cut off too soon
parent
de7a1f75
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
68 additions
and
29 deletions
+68
-29
css/converse.css
css/converse.css
+30
-13
css/inverse.css
css/inverse.css
+30
-13
sass/_controlbox.scss
sass/_controlbox.scss
+7
-2
src/templates/room_item.html
src/templates/room_item.html
+1
-1
No files found.
css/converse.css
View file @
75342b06
...
...
@@ -2002,7 +2002,8 @@
padding
:
0
;
padding-bottom
:
0.5em
;
text-shadow
:
0
1px
0
#FAFAFA
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
{
border
:
none
;
clear
:
both
;
color
:
#777
;
...
...
@@ -2011,40 +2012,56 @@
padding
:
0.3em
0
;
text-shadow
:
0
1px
0
#FAFAFA
;
word-wrap
:
break-word
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
a
:hover
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
a
:hover
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
a
:hover
{
color
:
#206485
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom.unread-msgs
.open-room
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom.unread-msgs
.available-room
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom.unread-msgs
.open-room
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom.unread-msgs
.available-room
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom.unread-msgs
.open-room
{
max-width
:
55%
;
width
:
auto
;
font-weight
:
bold
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
a
.room-info
:before
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
a
.room-info
:before
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
a
.room-info
:before
{
font-size
:
15px
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
a
.open-room
{
float
:
left
;
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
a
.open-room
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
a
.open-room
{
width
:
68%
;
float
:
left
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
padding-right
:
0.5em
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
.remove-bookmark
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
a
.available-room
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
a
.available-room
{
width
:
85%
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
.remove-bookmark
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
.remove-bookmark
{
color
:
#A8ABA1
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
.remove-bookmark.button-on
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
.remove-bookmark.button-on
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
.remove-bookmark.button-on
{
color
:
#578EA9
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
.remove-bookmark.button-on
:hover
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
.remove-bookmark.button-on
:hover
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
.remove-bookmark.button-on
:hover
{
color
:
#206485
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
.room-info
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
.room-info
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
.room-info
{
font-size
:
12px
;
font-style
:
normal
;
font-weight
:
normal
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
li
.room-info
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
li
.room-info
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
li
.room-info
{
display
:
block
;
margin-left
:
5px
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
p
.room-info
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
p
.room-info
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
p
.room-info
{
line-height
:
16px
;
margin
:
0
;
display
:
block
;
white-space
:
normal
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
div
.room-info
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
div
.room-info
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
div
.room-info
{
padding
:
0.3em
0
;
clear
:
left
;
width
:
100%
;
}
...
...
css/inverse.css
View file @
75342b06
...
...
@@ -2068,7 +2068,8 @@ body {
padding
:
0
;
padding-bottom
:
0.5em
;
text-shadow
:
0
1px
0
#FAFAFA
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
{
border
:
none
;
clear
:
both
;
color
:
#777
;
...
...
@@ -2077,40 +2078,56 @@ body {
padding
:
0.3em
0
;
text-shadow
:
0
1px
0
#FAFAFA
;
word-wrap
:
break-word
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
a
:hover
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
a
:hover
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
a
:hover
{
color
:
#206485
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom.unread-msgs
.open-room
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom.unread-msgs
.available-room
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom.unread-msgs
.open-room
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom.unread-msgs
.available-room
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom.unread-msgs
.open-room
{
max-width
:
55%
;
width
:
auto
;
font-weight
:
bold
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
a
.room-info
:before
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
a
.room-info
:before
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
a
.room-info
:before
{
font-size
:
15px
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
a
.open-room
{
float
:
left
;
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
a
.open-room
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
a
.open-room
{
width
:
68%
;
float
:
left
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
padding-right
:
0.5em
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
.remove-bookmark
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
a
.available-room
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
a
.available-room
{
width
:
85%
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
.remove-bookmark
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
.remove-bookmark
{
color
:
#A8ABA1
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
.remove-bookmark.button-on
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
.remove-bookmark.button-on
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
.remove-bookmark.button-on
{
color
:
#578EA9
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
.remove-bookmark.button-on
:hover
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
.remove-bookmark.button-on
:hover
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
.remove-bookmark.button-on
:hover
{
color
:
#206485
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
.room-info
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
.room-info
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
.room-info
{
font-size
:
14px
;
font-style
:
normal
;
font-weight
:
normal
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
li
.room-info
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
li
.room-info
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
li
.room-info
{
display
:
block
;
margin-left
:
5px
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
p
.room-info
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
p
.room-info
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
p
.room-info
{
line-height
:
22px
;
margin
:
0
;
display
:
block
;
white-space
:
normal
;
}
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
dd
.available-chatroom
div
.room-info
{
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.available-chatroom
div
.room-info
,
#conversejs
#controlbox
#chatrooms
.rooms-list-container
dl
.rooms-list
.open-chatroom
div
.room-info
{
padding
:
0.3em
0
;
clear
:
left
;
width
:
100%
;
}
...
...
sass/_controlbox.scss
View file @
75342b06
...
...
@@ -152,7 +152,8 @@
padding-bottom
:
0
.5em
;
text-shadow
:
0
1px
0
$text-shadow-color
;
}
dd
.available-chatroom
{
.available-chatroom
,
.open-chatroom
{
border
:
none
;
clear
:
both
;
color
:
$text-color
;
...
...
@@ -165,6 +166,7 @@
color
:
$dark-link-color
;
}
&
.unread-msgs
{
.available-room
,
.open-room
{
max-width
:
55%
;
width
:
auto
;
...
...
@@ -178,13 +180,16 @@
}
}
&
.open-room
{
float
:
left
;
width
:
68%
;
float
:
left
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
padding-right
:
0
.5em
;
}
&
.available-room
{
width
:
85%
;
}
}
.remove-bookmark
{
&
.button-on
{
...
...
src/templates/room_item.html
View file @
75342b06
<dd
class=
"available-chatroom"
>
<a
class=
"open-room"
<a
class=
"open-room
available-room
"
data-room-jid=
"{{{jid}}}"
title=
"{{{open_title}}}"
href=
"#"
>
{{{name}}}
</a>
...
...
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