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
b154d6d5
Commit
b154d6d5
authored
Mar 06, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Render chat head, content and message form as flex items.
parent
e3350ab7
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
152 additions
and
357 deletions
+152
-357
css/converse-muc-embedded.css
css/converse-muc-embedded.css
+3
-5
css/converse.css
css/converse.css
+17
-19
css/inverse.css
css/inverse.css
+22
-310
mockup/chatbox.html
mockup/chatbox.html
+91
-0
sass/_chatbox.scss
sass/_chatbox.scss
+10
-13
sass/_chatrooms.scss
sass/_chatrooms.scss
+4
-1
sass/_muc_embedded.scss
sass/_muc_embedded.scss
+0
-1
sass/converse/_variables.scss
sass/converse/_variables.scss
+1
-2
sass/inverse/_chatbox.scss
sass/inverse/_chatbox.scss
+2
-1
sass/inverse/_chatrooms.scss
sass/inverse/_chatrooms.scss
+0
-1
sass/inverse/_variables.scss
sass/inverse/_variables.scss
+2
-3
sass/inverse/inverse.scss
sass/inverse/inverse.scss
+0
-1
No files found.
css/converse-muc-embedded.css
View file @
b154d6d5
...
@@ -43,8 +43,6 @@
...
@@ -43,8 +43,6 @@
height
:
calc
(
100%
-
55px
);
}
height
:
calc
(
100%
-
55px
);
}
#conversejs
.converse-embedded
.chatroom
.box-flyout
.occupants-heading
{
#conversejs
.converse-embedded
.chatroom
.box-flyout
.occupants-heading
{
font-size
:
120%
;
}
font-size
:
120%
;
}
#conversejs
.converse-embedded
.chatroom
.box-flyout
.chat-content
{
height
:
calc
(
100%
-
97px
);
}
#conversejs
.converse-embedded
.chatroom
.box-flyout
.chat-content
.chat-message
{
#conversejs
.converse-embedded
.chatroom
.box-flyout
.chat-content
.chat-message
{
margin
:
0.5em
;
margin
:
0.5em
;
font-size
:
120%
;
}
font-size
:
120%
;
}
...
...
css/converse.css
View file @
b154d6d5
...
@@ -5228,6 +5228,9 @@ body.reset {
...
@@ -5228,6 +5228,9 @@ body.reset {
background-color
:
#e7f7ee
;
}
background-color
:
#e7f7ee
;
}
#converse-embedded-chat
.chatbox
.box-flyout
,
#converse-embedded-chat
.chatbox
.box-flyout
,
#conversejs
.chatbox
.box-flyout
{
#conversejs
.chatbox
.box-flyout
{
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-between
;
background-color
:
white
;
background-color
:
white
;
box-shadow
:
1px
3px
5px
3px
rgba
(
0
,
0
,
0
,
0.4
);
box-shadow
:
1px
3px
5px
3px
rgba
(
0
,
0
,
0
,
0.4
);
height
:
450px
;
height
:
450px
;
...
@@ -5261,13 +5264,14 @@ body.reset {
...
@@ -5261,13 +5264,14 @@ body.reset {
width
:
100%
;
}
width
:
100%
;
}
#converse-embedded-chat
.chatbox
.chat-body
,
#converse-embedded-chat
.chatbox
.chat-body
,
#conversejs
.chatbox
.chat-body
{
#conversejs
.chatbox
.chat-body
{
background-color
:
white
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-between
;
height
:
100%
;
background-color
:
#3AA569
;
border-bottom-left-radius
:
4px
;
border-bottom-left-radius
:
4px
;
border-bottom-right-radius
:
4px
;
border-bottom-right-radius
:
4px
;
border-top
:
0
;
border-top
:
0
;
}
height
:
289px
;
height
:
-webkit-calc
(
100%
-
55px
);
height
:
calc
(
100%
-
55px
);
}
@media
screen
and
(
max-height
:
450px
)
{
@media
screen
and
(
max-height
:
450px
)
{
#converse-embedded-chat
.chatbox
.chat-body
,
#converse-embedded-chat
.chatbox
.chat-body
,
#conversejs
.chatbox
.chat-body
{
#conversejs
.chatbox
.chat-body
{
...
@@ -5363,23 +5367,20 @@ body.reset {
...
@@ -5363,23 +5367,20 @@ body.reset {
white-space
:
nowrap
;
}
white-space
:
nowrap
;
}
#converse-embedded-chat
.chatbox
.chat-content
,
#converse-embedded-chat
.chatbox
.chat-content
,
#conversejs
.chatbox
.chat-content
{
#conversejs
.chatbox
.chat-content
{
position
:
relative
;
padding
:
0.5em
;
padding
:
0.5em
;
font-size
:
13px
;
font-size
:
13px
;
color
:
#777
;
color
:
#777
;
overflow-y
:
auto
;
overflow-y
:
auto
;
border
:
0
;
border
:
0
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
line-height
:
1.3em
;
line-height
:
1.3em
;
}
height
:
206px
;
height
:
calc
(
100%
-
96px
);
}
#converse-embedded-chat
.chatbox
.chat-content
.toggle-spoiler
:before
,
#converse-embedded-chat
.chatbox
.chat-content
.toggle-spoiler
:before
,
#conversejs
.chatbox
.chat-content
.toggle-spoiler
:before
{
#conversejs
.chatbox
.chat-content
.toggle-spoiler
:before
{
padding-right
:
0.25em
;
padding-right
:
0.25em
;
whitespace
:
nowrap
;
}
whitespace
:
nowrap
;
}
#converse-embedded-chat
.chatbox
.chat-content-sendbutton
,
#converse-embedded-chat
.chatbox
.chat-content-sendbutton
,
#conversejs
.chatbox
.chat-content-sendbutton
{
#conversejs
.chatbox
.chat-content-sendbutton
{
height
:
calc
(
100%
-
128
px
);
}
height
:
calc
(
100%
-
93
px
);
}
#converse-embedded-chat
.chatbox
.dropdown
,
#converse-embedded-chat
.chatbox
.dropdown
,
#conversejs
.chatbox
.dropdown
{
#conversejs
.chatbox
.dropdown
{
/* status dropdown styles */
/* status dropdown styles */
...
@@ -5397,12 +5398,9 @@ body.reset {
...
@@ -5397,12 +5398,9 @@ body.reset {
border-bottom-left-radius
:
4px
;
border-bottom-left-radius
:
4px
;
background-clip
:
padding-box
;
background-clip
:
padding-box
;
background-color
:
white
;
background-color
:
white
;
border-top
:
1px
solid
#BBB
;
border
:
0
;
border
:
0
;
margin
:
0
;
margin
:
0
;
padding
:
0
;
padding
:
0
;
}
position
:
relative
;
height
:
95px
;
}
@media
screen
and
(
max-height
:
450px
)
{
@media
screen
and
(
max-height
:
450px
)
{
#converse-embedded-chat
.chatbox
.sendXMPPMessage
,
#converse-embedded-chat
.chatbox
.sendXMPPMessage
,
#conversejs
.chatbox
.sendXMPPMessage
{
#conversejs
.chatbox
.sendXMPPMessage
{
...
@@ -5420,11 +5418,10 @@ body.reset {
...
@@ -5420,11 +5418,10 @@ body.reset {
border-top-right-radius
:
0
;
border-top-right-radius
:
0
;
border-bottom-right-radius
:
4px
;
border-bottom-right-radius
:
4px
;
border-bottom-left-radius
:
4px
;
border-bottom-left-radius
:
4px
;
height
:
70px
;
padding
:
0.5em
;
padding
:
0.5em
;
width
:
100%
;
width
:
100%
;
border
:
none
;
border
:
none
;
resize
:
none
;
}
min-height
:
60px
;
}
#converse-embedded-chat
.chatbox
.sendXMPPMessage
.chat-textarea.spoiler
,
#converse-embedded-chat
.chatbox
.sendXMPPMessage
.chat-textarea.spoiler
,
#conversejs
.chatbox
.sendXMPPMessage
.chat-textarea.spoiler
{
#conversejs
.chatbox
.sendXMPPMessage
.chat-textarea.spoiler
{
height
:
42px
;
}
height
:
42px
;
}
...
@@ -5444,7 +5441,6 @@ body.reset {
...
@@ -5444,7 +5441,6 @@ body.reset {
box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin
:
0
;
margin
:
0
;
padding
:
0.25em
;
padding
:
0.25em
;
height
:
25px
;
display
:
block
;
display
:
block
;
border-top
:
8px
solid
#3AA569
;
border-top
:
8px
solid
#3AA569
;
background-color
:
white
;
background-color
:
white
;
...
@@ -6184,6 +6180,7 @@ body.reset {
...
@@ -6184,6 +6180,7 @@ body.reset {
height
:
100vh
;
}
}
height
:
100vh
;
}
}
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
,
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
,
#conversejs
.chatroom
.box-flyout
.chatroom-body
{
#conversejs
.chatroom
.box-flyout
.chatroom-body
{
flex-direction
:
row
;
border-bottom-right-radius
:
4px
;
border-bottom-right-radius
:
4px
;
border-bottom-left-radius
:
4px
;
border-bottom-left-radius
:
4px
;
background-color
:
white
;
background-color
:
white
;
...
@@ -6218,6 +6215,8 @@ body.reset {
...
@@ -6218,6 +6215,8 @@ body.reset {
padding
:
2em
2em
0
2em
;
}
padding
:
2em
2em
0
2em
;
}
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chat-area
,
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chat-area
,
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chat-area
{
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chat-area
{
display
:
flex
;
flex-direction
:
column
;
word-wrap
:
break-word
;
word-wrap
:
break-word
;
min-width
:
200px
;
}
min-width
:
200px
;
}
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chat-area
.new-msgs-indicator
,
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chat-area
.new-msgs-indicator
,
...
@@ -6226,6 +6225,7 @@ body.reset {
...
@@ -6226,6 +6225,7 @@ body.reset {
max-width
:
70%
;
}
max-width
:
70%
;
}
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chat-area
.chat-content
,
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chat-area
.chat-content
,
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chat-area
.chat-content
{
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chat-area
.chat-content
{
height
:
100%
;
padding
:
0.5em
;
}
padding
:
0.5em
;
}
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chat-area.full
,
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chat-area.full
,
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chat-area.full
{
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chat-area.full
{
...
@@ -6339,8 +6339,6 @@ body.reset {
...
@@ -6339,8 +6339,6 @@ body.reset {
font-size
:
14px
;
font-size
:
14px
;
height
:
289px
;
height
:
289px
;
width
:
100%
;
width
:
100%
;
height
:
-webkit-calc
(
100%
-
55px
);
height
:
calc
(
100%
-
55px
);
overflow-y
:
auto
;
overflow-y
:
auto
;
position
:
absolute
;
}
position
:
absolute
;
}
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.validation-message
,
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.validation-message
,
...
...
css/inverse.css
View file @
b154d6d5
...
@@ -10,292 +10,6 @@
...
@@ -10,292 +10,6 @@
https://coolors.co/app/264653-2a9d8f-e9c46a-f4a261-e76f51
https://coolors.co/app/264653-2a9d8f-e9c46a-f4a261-e76f51
http://paletton.com/#uid=70a0u0kkNs+b4JOgryLpxqpsbkI
http://paletton.com/#uid=70a0u0kkNs+b4JOgryLpxqpsbkI
*/
*/
@font-face
{
font-family
:
'Converse-js'
;
src
:
url("../fonticons/fonts/icomoon.eot?wvi0ht")
;
src
:
url("../fonticons/fonts/icomoon.eot?wvi0ht#iefix")
format
(
"embedded-opentype"
),
url("../fonticons/fonts/icomoon.ttf?wvi0ht")
format
(
"truetype"
),
url("../fonticons/fonts/icomoon.woff?wvi0ht")
format
(
"woff"
),
url("../fonticons/fonts/icomoon.svg?wvi0ht#icomoon")
format
(
"svg"
);
font-weight
:
normal
;
font-style
:
normal
;
}
.icon-conversejs
{
padding-right
:
0.2em
;
font-family
:
'Converse-js'
;
speak
:
none
;
font-style
:
normal
;
font-weight
:
normal
;
font-variant
:
normal
;
text-transform
:
none
;
line-height
:
1
;
/* Better Font Rendering =========== */
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
}
.icon-conversejs
:before
{
content
:
"\e600"
;
}
#converse-embedded-chat
.icon-address-book
:before
,
#conversejs
.icon-address-book
:before
{
content
:
"\270f"
;
}
#converse-embedded-chat
.icon-attachment
:before
,
#conversejs
.icon-attachment
:before
{
content
:
"\e032"
;
}
#converse-embedded-chat
.icon-away
:before
,
#conversejs
.icon-away
:before
{
content
:
"\25fb"
;
}
#converse-embedded-chat
.icon-blocked
:before
,
#conversejs
.icon-blocked
:before
{
content
:
"\2718"
;
}
#converse-embedded-chat
.icon-bold
:before
,
#conversejs
.icon-bold
:before
{
content
:
"\e04d"
;
}
#converse-embedded-chat
.icon-bubbles2
:before
,
#conversejs
.icon-bubbles2
:before
{
content
:
"\e016"
;
}
#converse-embedded-chat
.icon-bubbles3
:before
,
#conversejs
.icon-bubbles3
:before
{
content
:
"\e017"
;
}
#converse-embedded-chat
.icon-bubbles
:before
,
#conversejs
.icon-bubbles
:before
{
content
:
"\e015"
;
}
#converse-embedded-chat
.icon-busy
:before
,
#conversejs
.icon-busy
:before
{
content
:
"\e004"
;
}
#converse-embedded-chat
.icon-dnd
:before
,
#conversejs
.icon-dnd
:before
{
content
:
"\e004"
;
}
#converse-embedded-chat
.icon-cancel-circle
:before
,
#conversejs
.icon-cancel-circle
:before
{
content
:
"\e058"
;
}
#converse-embedded-chat
.icon-checkmark
:before
,
#conversejs
.icon-checkmark
:before
{
content
:
"\2713"
;
}
#converse-embedded-chat
.icon-close
:before
,
#conversejs
.icon-close
:before
{
content
:
"\2715"
;
}
#converse-embedded-chat
.icon-closed
:before
,
#conversejs
.icon-closed
:before
{
content
:
"\25ba"
;
}
#converse-embedded-chat
.icon-cog
:before
,
#conversejs
.icon-cog
:before
{
content
:
"\e02f"
;
}
#converse-embedded-chat
.icon-cogs
:before
,
#conversejs
.icon-cogs
:before
{
content
:
"\e022"
;
}
#converse-embedded-chat
.icon-conversejs
:before
,
#conversejs
.icon-conversejs
:before
{
content
:
"\e600"
;
}
#converse-embedded-chat
.icon-database
:before
,
#conversejs
.icon-database
:before
{
content
:
"\f1c0"
;
}
#converse-embedded-chat
.icon-envelope
:before
,
#conversejs
.icon-envelope
:before
{
content
:
"\f003"
;
}
#converse-embedded-chat
.icon-exit
:before
,
#conversejs
.icon-exit
:before
{
content
:
"\e601"
;
}
#converse-embedded-chat
.icon-eye-blocked
:before
,
#conversejs
.icon-eye-blocked
:before
{
content
:
"\e031"
;
}
#converse-embedded-chat
.icon-eye
:before
,
#conversejs
.icon-eye
:before
{
content
:
"\e030"
;
}
#converse-embedded-chat
.icon-github
:before
,
#conversejs
.icon-github
:before
{
content
:
"\eab0"
;
}
#converse-embedded-chat
.icon-globe
:before
,
#conversejs
.icon-globe
:before
{
content
:
"\f0ac"
;
}
#converse-embedded-chat
.icon-google2
:before
,
#conversejs
.icon-google2
:before
{
content
:
"\ea89"
;
}
#converse-embedded-chat
.icon-group
:before
,
#conversejs
.icon-group
:before
{
content
:
"\f0c0"
;
}
#converse-embedded-chat
.icon-happy
:before
,
#conversejs
.icon-happy
:before
{
content
:
"\263b"
;
}
#converse-embedded-chat
.icon-heart2
:before
,
#conversejs
.icon-heart2
:before
{
content
:
"\f004"
;
}
#converse-embedded-chat
.icon-heart
:before
,
#conversejs
.icon-heart
:before
{
content
:
"\2764"
;
}
#converse-embedded-chat
.icon-heart_empty
:before
,
#conversejs
.icon-heart_empty
:before
{
content
:
"\f08a"
;
}
#converse-embedded-chat
.icon-hide-users
:before
,
#conversejs
.icon-hide-users
:before
{
content
:
"\e01c"
;
}
#converse-embedded-chat
.icon-home
:before
,
#conversejs
.icon-home
:before
{
content
:
"\e000"
;
}
#converse-embedded-chat
.icon-idcard-dark
:before
,
#conversejs
.icon-idcard-dark
:before
{
content
:
"\f2c2"
;
}
#converse-embedded-chat
.icon-idcard
:before
,
#conversejs
.icon-idcard
:before
{
content
:
"\f2c3"
;
}
#converse-embedded-chat
.icon-image
:before
,
#conversejs
.icon-image
:before
{
content
:
"\2b14"
;
}
#converse-embedded-chat
.icon-info
:before
,
#conversejs
.icon-info
:before
{
content
:
"\2360"
;
}
#converse-embedded-chat
.icon-italic
:before
,
#conversejs
.icon-italic
:before
{
content
:
"\e04f"
;
}
#converse-embedded-chat
.icon-key
:before
,
#conversejs
.icon-key
:before
{
content
:
"\e028"
;
}
#converse-embedded-chat
.icon-legal
:before
,
#conversejs
.icon-legal
:before
{
content
:
"\f0e3"
;
}
#converse-embedded-chat
.icon-lock
:before
,
#conversejs
.icon-lock
:before
{
content
:
"\e027"
;
}
#converse-embedded-chat
.icon-minus
:before
,
#conversejs
.icon-minus
:before
{
content
:
"\e05a"
;
}
#converse-embedded-chat
.icon-music
:before
,
#conversejs
.icon-music
:before
{
content
:
"\266b"
;
}
#converse-embedded-chat
.icon-newtab
:before
,
#conversejs
.icon-newtab
:before
{
content
:
"\e053"
;
}
#converse-embedded-chat
.icon-notebook
:before
,
#conversejs
.icon-notebook
:before
{
content
:
"\2710"
;
}
#converse-embedded-chat
.icon-notification
:before
,
#conversejs
.icon-notification
:before
{
content
:
"\e01f"
;
}
#converse-embedded-chat
.icon-offline
:before
,
#conversejs
.icon-offline
:before
{
content
:
"\e002"
;
}
#converse-embedded-chat
.icon-logout
:before
,
#conversejs
.icon-logout
:before
{
content
:
"\e002"
;
}
#converse-embedded-chat
.icon-online
:before
,
#conversejs
.icon-online
:before
{
content
:
"\25fc"
;
}
#converse-embedded-chat
.icon-opened
:before
,
#conversejs
.icon-opened
:before
{
content
:
"\25bc"
;
}
#converse-embedded-chat
.icon-pencil
:before
,
#conversejs
.icon-pencil
:before
{
content
:
"\270e"
;
}
#converse-embedded-chat
.icon-phone-hang-up
:before
,
#conversejs
.icon-phone-hang-up
:before
{
content
:
"\260e"
;
}
#converse-embedded-chat
.icon-phone
:before
,
#conversejs
.icon-phone
:before
{
content
:
"\260f"
;
}
#converse-embedded-chat
.icon-plus
:before
,
#conversejs
.icon-plus
:before
{
content
:
"\271a"
;
}
#converse-embedded-chat
.icon-pushpin
:before
,
#conversejs
.icon-pushpin
:before
{
content
:
"\e012"
;
}
#converse-embedded-chat
.icon-quotes-left
:before
,
#conversejs
.icon-quotes-left
:before
{
content
:
"\e01d"
;
}
#converse-embedded-chat
.icon-reddit
:before
,
#conversejs
.icon-reddit
:before
{
content
:
"\eac6"
;
}
#converse-embedded-chat
.icon-remove
:before
,
#conversejs
.icon-remove
:before
{
content
:
"\e02d"
;
}
#converse-embedded-chat
.icon-room-info
:before
,
#conversejs
.icon-room-info
:before
{
content
:
"\e059"
;
}
#converse-embedded-chat
.icon-save
:before
,
#conversejs
.icon-save
:before
{
content
:
"\f0c7"
;
}
#converse-embedded-chat
.icon-search
:before
,
#conversejs
.icon-search
:before
{
content
:
"\e021"
;
}
#converse-embedded-chat
.icon-show-users
:before
,
#conversejs
.icon-show-users
:before
{
content
:
"\e01e"
;
}
#converse-embedded-chat
.icon-smiley
:before
,
#conversejs
.icon-smiley
:before
{
content
:
"\263a"
;
}
#converse-embedded-chat
.icon-snowflake
:before
,
#conversejs
.icon-snowflake
:before
{
content
:
"\f2dc"
;
}
#converse-embedded-chat
.icon-spell-check
:before
,
#conversejs
.icon-spell-check
:before
{
content
:
"\e045"
;
}
#converse-embedded-chat
.icon-spinner
:before
,
#conversejs
.icon-spinner
:before
{
content
:
"\231b"
;
}
#converse-embedded-chat
.icon-star
:before
,
#conversejs
.icon-star
:before
{
content
:
"\f005"
;
}
#converse-embedded-chat
.icon-star_empty
:before
,
#conversejs
.icon-star_empty
:before
{
content
:
"\f006"
;
}
#converse-embedded-chat
.icon-strikethrough
:before
,
#conversejs
.icon-strikethrough
:before
{
content
:
"\e050"
;
}
#converse-embedded-chat
.icon-twitter
:before
,
#conversejs
.icon-twitter
:before
{
content
:
"\ea96"
;
}
#converse-embedded-chat
.icon-underline
:before
,
#conversejs
.icon-underline
:before
{
content
:
"\e04e"
;
}
#converse-embedded-chat
.icon-unlocked
:before
,
#conversejs
.icon-unlocked
:before
{
content
:
"\e025"
;
}
#converse-embedded-chat
.icon-user
:before
,
#conversejs
.icon-user
:before
{
content
:
"\e01a"
;
}
#converse-embedded-chat
.icon-users
:before
,
#conversejs
.icon-users
:before
{
content
:
"\e01b"
;
}
#converse-embedded-chat
.icon-warning
:before
,
#conversejs
.icon-warning
:before
{
content
:
"\26a0"
;
}
#converse-embedded-chat
.icon-wrench
:before
,
#conversejs
.icon-wrench
:before
{
content
:
"\e024"
;
}
#converse-embedded-chat
.icon-xa
:before
,
#conversejs
.icon-xa
:before
{
content
:
"\e602"
;
}
#converse-embedded-chat
.icon-zoomin
:before
,
#conversejs
.icon-zoomin
:before
{
content
:
"\e02b"
;
}
#converse-embedded-chat
.icon-zoomout
:before
,
#conversejs
.icon-zoomout
:before
{
content
:
"\e02a"
;
}
#converse-embedded-chat
[
data-icon
]
:before
,
#conversejs
[
data-icon
]
:before
{
content
:
attr
(
data-icon
);
font-family
:
'Converse-js'
;
font-variant
:
normal
;
font-weight
:
normal
;
line-height
:
1
;
speak
:
none
;
text-transform
:
none
;
/* Better Font Rendering =========== */
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
}
#converse-embedded-chat
[
class
^=
"icon-"
]
:before
,
#converse-embedded-chat
[
class
*=
" icon-"
]
:before
,
#conversejs
[
class
^=
"icon-"
]
:before
,
#conversejs
[
class
*=
" icon-"
]
:before
{
background-position
:
14px
14px
;
background-image
:
none
;
font-family
:
'Converse-js'
;
font-style
:
normal
;
font-variant
:
normal
;
font-weight
:
normal
;
width
:
auto
;
height
:
auto
;
line-height
:
1
;
speak
:
none
;
text-transform
:
none
;
/* Better Font Rendering =========== */
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
}
#conversejs
:root
{
#conversejs
:root
{
--blue
:
#387592
;
--blue
:
#387592
;
--indigo
:
#6610f2
;
--indigo
:
#6610f2
;
...
@@ -5278,6 +4992,9 @@ body {
...
@@ -5278,6 +4992,9 @@ body {
background-color
:
#e7f7ee
;
}
background-color
:
#e7f7ee
;
}
#converse-embedded-chat
.chatbox
.box-flyout
,
#converse-embedded-chat
.chatbox
.box-flyout
,
#conversejs
.chatbox
.box-flyout
{
#conversejs
.chatbox
.box-flyout
{
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-between
;
background-color
:
white
;
background-color
:
white
;
box-shadow
:
1px
3px
5px
3px
rgba
(
0
,
0
,
0
,
0.4
);
box-shadow
:
1px
3px
5px
3px
rgba
(
0
,
0
,
0
,
0.4
);
height
:
100%
;
height
:
100%
;
...
@@ -5311,13 +5028,14 @@ body {
...
@@ -5311,13 +5028,14 @@ body {
width
:
100%
;
}
width
:
100%
;
}
#converse-embedded-chat
.chatbox
.chat-body
,
#converse-embedded-chat
.chatbox
.chat-body
,
#conversejs
.chatbox
.chat-body
{
#conversejs
.chatbox
.chat-body
{
background-color
:
white
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-between
;
height
:
100%
;
background-color
:
#3AA569
;
border-bottom-left-radius
:
4px
;
border-bottom-left-radius
:
4px
;
border-bottom-right-radius
:
4px
;
border-bottom-right-radius
:
4px
;
border-top
:
0
;
border-top
:
0
;
}
height
:
289px
;
height
:
-webkit-calc
(
100%
-
62px
);
height
:
calc
(
100%
-
62px
);
}
@media
screen
and
(
max-height
:
450px
)
{
@media
screen
and
(
max-height
:
450px
)
{
#converse-embedded-chat
.chatbox
.chat-body
,
#converse-embedded-chat
.chatbox
.chat-body
,
#conversejs
.chatbox
.chat-body
{
#conversejs
.chatbox
.chat-body
{
...
@@ -5413,23 +5131,20 @@ body {
...
@@ -5413,23 +5131,20 @@ body {
white-space
:
nowrap
;
}
white-space
:
nowrap
;
}
#converse-embedded-chat
.chatbox
.chat-content
,
#converse-embedded-chat
.chatbox
.chat-content
,
#conversejs
.chatbox
.chat-content
{
#conversejs
.chatbox
.chat-content
{
position
:
relative
;
padding
:
0.5em
;
padding
:
0.5em
;
font-size
:
13px
;
font-size
:
13px
;
color
:
#777
;
color
:
#777
;
overflow-y
:
auto
;
overflow-y
:
auto
;
border
:
0
;
border
:
0
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
line-height
:
1.3em
;
line-height
:
1.3em
;
}
height
:
206px
;
height
:
calc
(
100%
-
100px
);
}
#converse-embedded-chat
.chatbox
.chat-content
.toggle-spoiler
:before
,
#converse-embedded-chat
.chatbox
.chat-content
.toggle-spoiler
:before
,
#conversejs
.chatbox
.chat-content
.toggle-spoiler
:before
{
#conversejs
.chatbox
.chat-content
.toggle-spoiler
:before
{
padding-right
:
0.25em
;
padding-right
:
0.25em
;
whitespace
:
nowrap
;
}
whitespace
:
nowrap
;
}
#converse-embedded-chat
.chatbox
.chat-content-sendbutton
,
#converse-embedded-chat
.chatbox
.chat-content-sendbutton
,
#conversejs
.chatbox
.chat-content-sendbutton
{
#conversejs
.chatbox
.chat-content-sendbutton
{
height
:
calc
(
100%
-
132
px
);
}
height
:
calc
(
100%
-
93
px
);
}
#converse-embedded-chat
.chatbox
.dropdown
,
#converse-embedded-chat
.chatbox
.dropdown
,
#conversejs
.chatbox
.dropdown
{
#conversejs
.chatbox
.dropdown
{
/* status dropdown styles */
/* status dropdown styles */
...
@@ -5447,12 +5162,9 @@ body {
...
@@ -5447,12 +5162,9 @@ body {
border-bottom-left-radius
:
4px
;
border-bottom-left-radius
:
4px
;
background-clip
:
padding-box
;
background-clip
:
padding-box
;
background-color
:
white
;
background-color
:
white
;
border-top
:
1px
solid
#BBB
;
border
:
0
;
border
:
0
;
margin
:
0
;
margin
:
0
;
padding
:
0
;
padding
:
0
;
}
position
:
relative
;
height
:
99px
;
}
@media
screen
and
(
max-height
:
450px
)
{
@media
screen
and
(
max-height
:
450px
)
{
#converse-embedded-chat
.chatbox
.sendXMPPMessage
,
#converse-embedded-chat
.chatbox
.sendXMPPMessage
,
#conversejs
.chatbox
.sendXMPPMessage
{
#conversejs
.chatbox
.sendXMPPMessage
{
...
@@ -5470,11 +5182,10 @@ body {
...
@@ -5470,11 +5182,10 @@ body {
border-top-right-radius
:
0
;
border-top-right-radius
:
0
;
border-bottom-right-radius
:
4px
;
border-bottom-right-radius
:
4px
;
border-bottom-left-radius
:
4px
;
border-bottom-left-radius
:
4px
;
height
:
70px
;
padding
:
0.5em
;
padding
:
0.5em
;
width
:
100%
;
width
:
100%
;
border
:
none
;
border
:
none
;
resize
:
none
;
}
min-height
:
60px
;
}
#converse-embedded-chat
.chatbox
.sendXMPPMessage
.chat-textarea.spoiler
,
#converse-embedded-chat
.chatbox
.sendXMPPMessage
.chat-textarea.spoiler
,
#conversejs
.chatbox
.sendXMPPMessage
.chat-textarea.spoiler
{
#conversejs
.chatbox
.sendXMPPMessage
.chat-textarea.spoiler
{
height
:
42px
;
}
height
:
42px
;
}
...
@@ -5494,7 +5205,6 @@ body {
...
@@ -5494,7 +5205,6 @@ body {
box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin
:
0
;
margin
:
0
;
padding
:
0.25em
;
padding
:
0.25em
;
height
:
29px
;
display
:
block
;
display
:
block
;
border-top
:
8px
solid
#3AA569
;
border-top
:
8px
solid
#3AA569
;
background-color
:
white
;
background-color
:
white
;
...
@@ -5665,7 +5375,7 @@ body {
...
@@ -5665,7 +5375,7 @@ body {
font-size
:
20px
;
font-size
:
20px
;
padding
:
0
;
}
padding
:
0
;
}
#conversejs
.fullscreen
.chat-head
.user-custom-message
{
#conversejs
.fullscreen
.chat-head
.user-custom-message
{
font-size
:
66
%
;
font-size
:
50
%
;
height
:
auto
;
height
:
auto
;
line-height
:
22px
;
}
line-height
:
22px
;
}
#conversejs
.fullscreen
.chat-head.chat-head-chatbox
.close-chatbox-button
{
#conversejs
.fullscreen
.chat-head.chat-head-chatbox
.close-chatbox-button
{
...
@@ -5695,12 +5405,13 @@ body {
...
@@ -5695,12 +5405,13 @@ body {
height
:
22px
;
height
:
22px
;
margin-bottom
:
-5.5px
;
}
margin-bottom
:
-5.5px
;
}
#conversejs
.fullscreen
.chatbox
.chat-content
{
#conversejs
.fullscreen
.chatbox
.chat-content
{
height
:
100%
;
padding
:
0
1em
1em
1em
;
padding
:
0
1em
1em
1em
;
border-top-left-radius
:
4px
;
border-top-left-radius
:
4px
;
border-top-right-radius
:
4px
;
}
border-top-right-radius
:
4px
;
}
#conversejs
.fullscreen
.chatbox
.chat-title
{
#conversejs
.fullscreen
.chatbox
.chat-title
{
font-size
:
26px
;
font-size
:
26px
;
line-height
:
30
px
;
}
line-height
:
26
px
;
}
#conversejs
.fullscreen
.chatbox
.sendXMPPMessage
ul
{
#conversejs
.fullscreen
.chatbox
.sendXMPPMessage
ul
{
width
:
100%
;
}
width
:
100%
;
}
#conversejs
.fullscreen
.chatbox
.sendXMPPMessage
.toggle-smiley
{
#conversejs
.fullscreen
.chatbox
.sendXMPPMessage
.toggle-smiley
{
...
@@ -6042,7 +5753,7 @@ body {
...
@@ -6042,7 +5753,7 @@ body {
margin
:
0
;
margin
:
0
;
padding
:
3em
2em
3em
;
}
padding
:
3em
2em
3em
;
}
#conversejs
.fullscreen
#controlbox
.toggle-register-login
{
#conversejs
.fullscreen
#controlbox
.toggle-register-login
{
line-height
:
30
px
;
}
line-height
:
26
px
;
}
#conversejs
.fullscreen
#controlbox
.brand-heading-container
{
#conversejs
.fullscreen
#controlbox
.brand-heading-container
{
text-align
:
center
;
}
text-align
:
center
;
}
#conversejs
.fullscreen
#controlbox
.brand-heading-container
.brand-heading
{
#conversejs
.fullscreen
#controlbox
.brand-heading-container
.brand-heading
{
...
@@ -6301,6 +6012,7 @@ body {
...
@@ -6301,6 +6012,7 @@ body {
height
:
100vh
;
}
}
height
:
100vh
;
}
}
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
,
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
,
#conversejs
.chatroom
.box-flyout
.chatroom-body
{
#conversejs
.chatroom
.box-flyout
.chatroom-body
{
flex-direction
:
row
;
border-bottom-right-radius
:
4px
;
border-bottom-right-radius
:
4px
;
border-bottom-left-radius
:
4px
;
border-bottom-left-radius
:
4px
;
background-color
:
white
;
background-color
:
white
;
...
@@ -6335,6 +6047,8 @@ body {
...
@@ -6335,6 +6047,8 @@ body {
padding
:
2em
2em
0
2em
;
}
padding
:
2em
2em
0
2em
;
}
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chat-area
,
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chat-area
,
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chat-area
{
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chat-area
{
display
:
flex
;
flex-direction
:
column
;
word-wrap
:
break-word
;
word-wrap
:
break-word
;
min-width
:
100%
;
}
min-width
:
100%
;
}
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chat-area
.new-msgs-indicator
,
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chat-area
.new-msgs-indicator
,
...
@@ -6343,6 +6057,7 @@ body {
...
@@ -6343,6 +6057,7 @@ body {
max-width
:
70%
;
}
max-width
:
70%
;
}
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chat-area
.chat-content
,
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chat-area
.chat-content
,
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chat-area
.chat-content
{
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chat-area
.chat-content
{
height
:
100%
;
padding
:
0.5em
;
}
padding
:
0.5em
;
}
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chat-area.full
,
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chat-area.full
,
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chat-area.full
{
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chat-area.full
{
...
@@ -6456,8 +6171,6 @@ body {
...
@@ -6456,8 +6171,6 @@ body {
font-size
:
16px
;
font-size
:
16px
;
height
:
289px
;
height
:
289px
;
width
:
100%
;
width
:
100%
;
height
:
-webkit-calc
(
100%
-
62px
);
height
:
calc
(
100%
-
62px
);
overflow-y
:
auto
;
overflow-y
:
auto
;
position
:
absolute
;
}
position
:
absolute
;
}
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.validation-message
,
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.validation-message
,
...
@@ -6515,8 +6228,7 @@ body {
...
@@ -6515,8 +6228,7 @@ body {
border-radius
:
4px
;
}
border-radius
:
4px
;
}
#conversejs
.fullscreen
.chatroom
.box-flyout
.chatroom-body
.chat-area
{
#conversejs
.fullscreen
.chatroom
.box-flyout
.chatroom-body
.chat-area
{
border-top-left-radius
:
4px
;
border-top-left-radius
:
4px
;
min-width
:
auto
;
min-width
:
auto
;
}
height
:
calc
(
100vh
-
95px
);
}
#conversejs
.fullscreen
.chatroom
.box-flyout
.chatroom-body
.chat-area
.chat-content
{
#conversejs
.fullscreen
.chatroom
.box-flyout
.chatroom-body
.chat-area
.chat-content
{
border-top-left-radius
:
4px
;
border-top-left-radius
:
4px
;
padding
:
0
1em
1em
1em
;
}
padding
:
0
1em
1em
1em
;
}
...
...
mockup/chatbox.html
View file @
b154d6d5
...
@@ -90,6 +90,97 @@
...
@@ -90,6 +90,97 @@
</span>
</span>
<span
class=
"chat-msg-content"
>
Another message to check that scrolling works.
</span>
<span
class=
"chat-msg-content"
>
Another message to check that scrolling works.
</span>
</div>
</div>
<div
class=
"chat-message"
>
<span
class=
"chat-msg-author chat-msg-me"
>
19:43
<canvas
height=
"24"
width=
"24"
class=
"avatar"
></canvas>
<span
class=
"chat-msg-me"
>
me:
</span>
</span>
<span
class=
"chat-msg-content"
>
Another message to check that scrolling works.
</span>
</div>
<div
class=
"chat-message"
>
<span
class=
"chat-msg-author chat-msg-me"
>
19:43
<canvas
height=
"24"
width=
"24"
class=
"avatar"
></canvas>
<span
class=
"chat-msg-me"
>
me:
</span>
</span>
<span
class=
"chat-msg-content"
>
Another message to check that scrolling works.
</span>
</div>
<div
class=
"chat-message"
>
<span
class=
"chat-msg-author chat-msg-me"
>
19:43
<canvas
height=
"24"
width=
"24"
class=
"avatar"
></canvas>
<span
class=
"chat-msg-me"
>
me:
</span>
</span>
<span
class=
"chat-msg-content"
>
Another message to check that scrolling works.
</span>
</div>
<div
class=
"chat-message"
>
<span
class=
"chat-msg-author chat-msg-me"
>
19:43
<canvas
height=
"24"
width=
"24"
class=
"avatar"
></canvas>
<span
class=
"chat-msg-me"
>
me:
</span>
</span>
<span
class=
"chat-msg-content"
>
Another message to check that scrolling works.
</span>
</div>
<div
class=
"chat-message"
>
<span
class=
"chat-msg-author chat-msg-me"
>
19:43
<canvas
height=
"24"
width=
"24"
class=
"avatar"
></canvas>
<span
class=
"chat-msg-me"
>
me:
</span>
</span>
<span
class=
"chat-msg-content"
>
Another message to check that scrolling works.
</span>
</div>
<div
class=
"chat-message"
>
<span
class=
"chat-msg-author chat-msg-me"
>
19:43
<canvas
height=
"24"
width=
"24"
class=
"avatar"
></canvas>
<span
class=
"chat-msg-me"
>
me:
</span>
</span>
<span
class=
"chat-msg-content"
>
Another message to check that scrolling works.
</span>
</div>
<div
class=
"chat-message"
>
<span
class=
"chat-msg-author chat-msg-me"
>
19:43
<canvas
height=
"24"
width=
"24"
class=
"avatar"
></canvas>
<span
class=
"chat-msg-me"
>
me:
</span>
</span>
<span
class=
"chat-msg-content"
>
Another message to check that scrolling works.
</span>
</div>
<div
class=
"chat-message"
>
<span
class=
"chat-msg-author chat-msg-me"
>
19:43
<canvas
height=
"24"
width=
"24"
class=
"avatar"
></canvas>
<span
class=
"chat-msg-me"
>
me:
</span>
</span>
<span
class=
"chat-msg-content"
>
Another message to check that scrolling works.
</span>
</div>
<div
class=
"chat-message"
>
<span
class=
"chat-msg-author chat-msg-me"
>
19:43
<canvas
height=
"24"
width=
"24"
class=
"avatar"
></canvas>
<span
class=
"chat-msg-me"
>
me:
</span>
</span>
<span
class=
"chat-msg-content"
>
Another message to check that scrolling works.
</span>
</div>
<div
class=
"chat-message"
>
<span
class=
"chat-msg-author chat-msg-me"
>
19:43
<canvas
height=
"24"
width=
"24"
class=
"avatar"
></canvas>
<span
class=
"chat-msg-me"
>
me:
</span>
</span>
<span
class=
"chat-msg-content"
>
Another message to check that scrolling works.
</span>
</div>
<div
class=
"chat-message"
>
<span
class=
"chat-msg-author chat-msg-me"
>
19:43
<canvas
height=
"24"
width=
"24"
class=
"avatar"
></canvas>
<span
class=
"chat-msg-me"
>
me:
</span>
</span>
<span
class=
"chat-msg-content"
>
Another message to check that scrolling works.
</span>
</div>
<div
class=
"chat-message"
>
<span
class=
"chat-msg-author chat-msg-me"
>
19:43
<canvas
height=
"24"
width=
"24"
class=
"avatar"
></canvas>
<span
class=
"chat-msg-me"
>
me:
</span>
</span>
<span
class=
"chat-msg-content"
>
Another message to check that scrolling works.
</span>
</div>
<div
class=
"chat-message"
>
<span
class=
"chat-msg-author chat-msg-me"
>
19:43
<canvas
height=
"24"
width=
"24"
class=
"avatar"
></canvas>
<span
class=
"chat-msg-me"
>
me:
</span>
</span>
<span
class=
"chat-msg-content"
>
Another message to check that scrolling works.
</span>
</div>
</div>
</div>
<form
class=
"sendXMPPMessage"
>
<form
class=
"sendXMPPMessage"
>
...
...
sass/_chatbox.scss
View file @
b154d6d5
...
@@ -112,6 +112,9 @@
...
@@ -112,6 +112,9 @@
}
}
.box-flyout
{
.box-flyout
{
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-between
;
background-color
:
white
;
background-color
:
white
;
box-shadow
:
1px
3px
5px
3px
rgba
(
0
,
0
,
0
,
0
.4
);
box-shadow
:
1px
3px
5px
3px
rgba
(
0
,
0
,
0
,
0
.4
);
height
:
$chat-height
;
height
:
$chat-height
;
...
@@ -144,7 +147,11 @@
...
@@ -144,7 +147,11 @@
}
}
}
}
.chat-body
{
.chat-body
{
background-color
:
white
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-between
;
height
:
100%
;
background-color
:
$chat-head-color
;
border-bottom-left-radius
:
$chatbox-border-radius
;
border-bottom-left-radius
:
$chatbox-border-radius
;
border-bottom-right-radius
:
$chatbox-border-radius
;
border-bottom-right-radius
:
$chatbox-border-radius
;
@media
screen
and
(
max-height
:
$mobile-landscape-height
)
{
@media
screen
and
(
max-height
:
$mobile-landscape-height
)
{
...
@@ -156,8 +163,6 @@
...
@@ -156,8 +163,6 @@
border-bottom-right-radius
:
0
;
border-bottom-right-radius
:
0
;
}
}
border-top
:
0
;
border-top
:
0
;
height
:
289px
;
@include
calc
(
height
,
'100% -
#{
$chat-head-height
}
'
);
p
{
p
{
color
:
$text-color
;
color
:
$text-color
;
font-size
:
$font-size
;
font-size
:
$font-size
;
...
@@ -250,7 +255,6 @@
...
@@ -250,7 +255,6 @@
white-space
:
nowrap
;
white-space
:
nowrap
;
}
}
.chat-content
{
.chat-content
{
position
:
relative
;
padding
:
0
.5em
;
padding
:
0
.5em
;
font-size
:
13px
;
font-size
:
13px
;
color
:
$text-color
;
color
:
$text-color
;
...
@@ -258,8 +262,6 @@
...
@@ -258,8 +262,6 @@
border
:
0
;
border
:
0
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
line-height
:
1
.3em
;
line-height
:
1
.3em
;
height
:
206px
;
height
:
calc
(
100%
-
#{
$toolbar-height
+
$chat-textarea-height
+
1px
}
);
.toggle-spoiler
:before
{
.toggle-spoiler
:before
{
padding-right
:
0
.25em
;
padding-right
:
0
.25em
;
...
@@ -267,7 +269,7 @@
...
@@ -267,7 +269,7 @@
}
}
}
}
.chat-content-sendbutton
{
.chat-content-sendbutton
{
height
:
calc
(
100%
-
#{
$
toolbar-height
+
$
chat-textarea-height
+
$send-button-height
+
2
*
$send-button-margin
}
);
height
:
calc
(
100%
-
#{
$chat-textarea-height
+
$send-button-height
+
2
*
$send-button-margin
}
);
}
}
.dropdown
{
/* status dropdown styles */
.dropdown
{
/* status dropdown styles */
...
@@ -285,12 +287,9 @@
...
@@ -285,12 +287,9 @@
@include
border-bottom-radius
(
$chatbox-border-radius
);
@include
border-bottom-radius
(
$chatbox-border-radius
);
background-clip
:
padding-box
;
background-clip
:
padding-box
;
background-color
:
white
;
background-color
:
white
;
border-top
:
1px
solid
#BBB
;
border
:
0
;
border
:
0
;
margin
:
0
;
margin
:
0
;
padding
:
0
;
padding
:
0
;
position
:
relative
;
height
:
#{
$chat-textarea-height
+
$toolbar-height
}
;
@media
screen
and
(
max-height
:
$mobile-landscape-height
)
{
@media
screen
and
(
max-height
:
$mobile-landscape-height
)
{
width
:
100%
;
width
:
100%
;
}
}
...
@@ -306,11 +305,10 @@
...
@@ -306,11 +305,10 @@
border-top-left-radius
:
0
;
border-top-left-radius
:
0
;
border-top-right-radius
:
0
;
border-top-right-radius
:
0
;
@include
border-bottom-radius
(
$chatbox-border-radius
);
@include
border-bottom-radius
(
$chatbox-border-radius
);
height
:
$chat-textarea-height
;
padding
:
0
.5em
;
padding
:
0
.5em
;
width
:
100%
;
width
:
100%
;
border
:
none
;
border
:
none
;
resize
:
none
;
min-height
:
$chat-textarea-height
;
&
.spoiler
{
&
.spoiler
{
height
:
42px
;
height
:
42px
;
}
}
...
@@ -331,7 +329,6 @@
...
@@ -331,7 +329,6 @@
box-sizing
:
border-box
;
box-sizing
:
border-box
;
margin
:
0
;
margin
:
0
;
padding
:
0
.25em
;
padding
:
0
.25em
;
height
:
$toolbar-height
;
display
:
block
;
display
:
block
;
border-top
:
8px
solid
$chat-head-color
;
border-top
:
8px
solid
$chat-head-color
;
background-color
:
white
;
background-color
:
white
;
...
...
sass/_chatrooms.scss
View file @
b154d6d5
...
@@ -82,6 +82,7 @@
...
@@ -82,6 +82,7 @@
height
:
100vh
;
height
:
100vh
;
}
}
.chatroom-body
{
.chatroom-body
{
flex-direction
:
row
;
@include
border-bottom-radius
(
$chatbox-border-radius
);
@include
border-bottom-radius
(
$chatbox-border-radius
);
background-color
:
white
;
background-color
:
white
;
border-top
:
0
;
border-top
:
0
;
...
@@ -120,6 +121,8 @@
...
@@ -120,6 +121,8 @@
padding
:
2em
2em
0
2em
;
padding
:
2em
2em
0
2em
;
}
}
.chat-area
{
.chat-area
{
display
:
flex
;
flex-direction
:
column
;
word-wrap
:
break-word
;
word-wrap
:
break-word
;
min-width
:
$chat-width
;
min-width
:
$chat-width
;
.new-msgs-indicator
{
.new-msgs-indicator
{
...
@@ -127,6 +130,7 @@
...
@@ -127,6 +130,7 @@
max-width
:
70%
;
max-width
:
70%
;
}
}
.chat-content
{
.chat-content
{
height
:
100%
;
padding
:
0
.5em
;
padding
:
0
.5em
;
}
}
&
.full
{
&
.full
{
...
@@ -246,7 +250,6 @@
...
@@ -246,7 +250,6 @@
font-size
:
$font-size
;
font-size
:
$font-size
;
height
:
289px
;
height
:
289px
;
width
:
100%
;
width
:
100%
;
@include
calc
(
height
,
'100% -
#{
$chat-head-height
}
'
);
overflow-y
:
auto
;
overflow-y
:
auto
;
position
:
absolute
;
position
:
absolute
;
...
...
sass/_muc_embedded.scss
View file @
b154d6d5
...
@@ -54,7 +54,6 @@
...
@@ -54,7 +54,6 @@
font-size
:
120%
;
font-size
:
120%
;
}
}
.chat-content
{
.chat-content
{
height
:
calc
(
100%
-
#{
$toolbar-height
+
$chat-textarea-height
+
2px
}
);
.chat-message
{
.chat-message
{
margin
:
0
.5em
;
margin
:
0
.5em
;
font-size
:
120%
;
font-size
:
120%
;
...
...
sass/converse/_variables.scss
View file @
b154d6d5
...
@@ -48,7 +48,7 @@ $light-text-color: #A8ABA1 !default;
...
@@ -48,7 +48,7 @@ $light-text-color: #A8ABA1 !default;
$border-color
:
#CCC
!
default
;
$border-color
:
#CCC
!
default
;
$icon-color
:
$blue
!
default
;
$icon-color
:
$blue
!
default
;
$save-button-color
:
$green
!
default
;
$save-button-color
:
$green
!
default
;
$chat-textarea-height
:
7
0px
!
default
;
$chat-textarea-height
:
6
0px
!
default
;
$send-button-height
:
27px
!
default
;
$send-button-height
:
27px
!
default
;
$send-button-margin
:
3px
!
default
;
$send-button-margin
:
3px
!
default
;
...
@@ -101,7 +101,6 @@ $font-size-large: 16px !default;
...
@@ -101,7 +101,6 @@ $font-size-large: 16px !default;
$font-size-huge
:
20px
!
default
;
$font-size-huge
:
20px
!
default
;
$legend-font-size
:
16px
!
default
;
$legend-font-size
:
16px
!
default
;
$toolbar-height
:
25px
!
default
;
$toolbar-color
:
$greenish-white
!
default
;
$toolbar-color
:
$greenish-white
!
default
;
$emoji-picker-height
:
100px
!
default
;
$emoji-picker-height
:
100px
!
default
;
...
...
sass/inverse/_chatbox.scss
View file @
b154d6d5
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
font-size
:
20px
;
font-size
:
20px
;
padding
:
0
;
padding
:
0
;
.user-custom-message
{
.user-custom-message
{
font-size
:
66
%
;
font-size
:
50
%
;
height
:
auto
;
height
:
auto
;
line-height
:
$line-height
;
line-height
:
$line-height
;
}
}
...
@@ -55,6 +55,7 @@
...
@@ -55,6 +55,7 @@
}
}
}
}
.chat-content
{
.chat-content
{
height
:
100%
;
padding
:
0
$padding
$padding
$padding
;
padding
:
0
$padding
$padding
$padding
;
border-top-left-radius
:
$chatbox-border-radius
;
border-top-left-radius
:
$chatbox-border-radius
;
border-top-right-radius
:
$chatbox-border-radius
;
border-top-right-radius
:
$chatbox-border-radius
;
...
...
sass/inverse/_chatrooms.scss
View file @
b154d6d5
...
@@ -26,7 +26,6 @@
...
@@ -26,7 +26,6 @@
.chat-area
{
.chat-area
{
border-top-left-radius
:
$chatbox-border-radius
;
border-top-left-radius
:
$chatbox-border-radius
;
min-width
:
auto
;
min-width
:
auto
;
height
:
calc
(
100vh
-
95px
);
.chat-content
{
.chat-content
{
border-top-left-radius
:
$chatbox-border-radius
;
border-top-left-radius
:
$chatbox-border-radius
;
...
...
sass/inverse/_variables.scss
View file @
b154d6d5
...
@@ -65,7 +65,7 @@ $chat-head-text-color: white !default;
...
@@ -65,7 +65,7 @@ $chat-head-text-color: white !default;
$chat-head-inverse-text-color
:
white
!
default
;
$chat-head-inverse-text-color
:
white
!
default
;
$chat-head-height
:
62px
!
default
;
$chat-head-height
:
62px
!
default
;
$chat-textarea-height
:
7
0px
!
default
;
$chat-textarea-height
:
6
0px
!
default
;
$input-focus-color
:
#1A9707
!
default
;
$input-focus-color
:
#1A9707
!
default
;
$highlight-color
:
#DCF9F6
!
default
;
$highlight-color
:
#DCF9F6
!
default
;
...
@@ -104,13 +104,12 @@ $font-size-large: 18px !default;
...
@@ -104,13 +104,12 @@ $font-size-large: 18px !default;
$font-size-huge
:
26px
!
default
;
$font-size-huge
:
26px
!
default
;
$legend-font-size
:
18px
!
default
;
$legend-font-size
:
18px
!
default
;
$toolbar-height
:
29px
!
default
;
$toolbar-color
:
$greenish-white
!
default
;
$toolbar-color
:
$greenish-white
!
default
;
$line-height-small
:
20px
!
default
;
$line-height-small
:
20px
!
default
;
$line-height
:
22px
!
default
;
$line-height
:
22px
!
default
;
$line-height-large
:
24px
!
default
;
$line-height-large
:
24px
!
default
;
$line-height-huge
:
30
px
!
default
;
$line-height-huge
:
26
px
!
default
;
$controlbox-width
:
250px
!
default
;
$controlbox-width
:
250px
!
default
;
$chat-width
:
100%
!
default
;
$chat-width
:
100%
!
default
;
...
...
sass/inverse/inverse.scss
View file @
b154d6d5
...
@@ -13,7 +13,6 @@
...
@@ -13,7 +13,6 @@
@import
"bootstrap/scss/variables"
;
@import
"bootstrap/scss/variables"
;
@import
"bootstrap/scss/mixins"
;
@import
"bootstrap/scss/mixins"
;
@import
"../fonts"
;
#conversejs
{
#conversejs
{
@import
"bootstrap/scss/root"
;
@import
"bootstrap/scss/root"
;
@import
"bootstrap/scss/reboot"
;
@import
"bootstrap/scss/reboot"
;
...
...
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