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
bfc30818
Commit
bfc30818
authored
Mar 11, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update css for mobile view of overlay mode.
parent
d7de7390
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
117 additions
and
83 deletions
+117
-83
css/converse.css
css/converse.css
+38
-23
css/inverse.css
css/inverse.css
+38
-23
css/mobile.css
css/mobile.css
+0
-13
sass/_chatrooms.scss
sass/_chatrooms.scss
+2
-4
sass/_controlbox.scss
sass/_controlbox.scss
+39
-20
No files found.
css/converse.css
View file @
bfc30818
...
...
@@ -5692,6 +5692,7 @@ body.reset {
#conversejs
#controlbox
.add-xmpp-contact
button
{
width
:
100%
;
}
#conversejs
.toggle-controlbox
{
text-align
:
center
;
background-color
:
#578EA9
;
border-top-left-radius
:
5px
;
border-top-right-radius
:
5px
;
...
...
@@ -5703,21 +5704,35 @@ body.reset {
#conversejs
.toggle-controlbox
span
{
color
:
white
;
}
@media
screen
and
(
max-width
:
767px
)
{
#conversejs
#controlbox
.box-flyout
{
width
:
100%
;
left
:
0
;
}
#conversejs
#controlbox
.sidebar
{
display
:
block
;
}
#conversejs
#controlbox
.controlbox-pane
{
position
:
absolute
;
top
:
0
;
display
:
none
;
width
:
100%
;
}
#conversejs
.sidebar-open
.chatbox
:not
(
#controlbox
)
{
display
:
none
;
}
#conversejs
.sidebar-open
#controlbox
.controlbox-pane
{
display
:
block
;
}
}
@media
(
max-width
:
767.98px
)
{
#conversejs
{
left
:
0
;
right
:
0
;
padding-left
:
env
(
safe-area-inset-left
);
padding-right
:
env
(
safe-area-inset-right
);
}
#conversejs
.converse-chatboxes
{
margin
:
0
!important
;
flex-direction
:
row
!important
;
justify-content
:
space-between
;
}
#conversejs
.converse-chatboxes
.converse-chatroom
{
font-size
:
14px
;
}
#conversejs
.converse-chatboxes
.chatbox
.box-flyout
{
left
:
0
;
bottom
:
0
;
border-radius
:
0
;
width
:
100vw
!important
;
height
:
100vh
!important
;
}
#conversejs
.converse-chatboxes
#controlbox
{
order
:
0
;
}
#conversejs
.converse-chatboxes
#controlbox
.box-flyout
{
width
:
100vw
!important
;
height
:
100vh
!important
;
}
#conversejs
.converse-chatboxes
#controlbox
.sidebar
{
display
:
block
;
}
#conversejs
.converse-chatboxes.sidebar-open
.chatbox
:not
(
#controlbox
)
{
display
:
none
;
}
#conversejs
.converse-chatboxes.sidebar-open
#controlbox
.controlbox-pane
{
display
:
block
;
}
}
#conversejs
:not
(
.fullscreen
)
#controlbox
{
order
:
-1
;
min-width
:
250px
!important
;
...
...
@@ -5884,9 +5899,6 @@ body.reset {
line-height
:
16px
;
width
:
100%
;
}
#converse-embedded-chat
.new-chatroom-nick
,
#conversejs
.new-chatroom-nick
{
margin
:
1em
auto
;
}
#converse-embedded-chat
.add-chatroom
input
[
type
=
"submit"
],
#converse-embedded-chat
.add-chatroom
input
[
type
=
"button"
],
#conversejs
.add-chatroom
input
[
type
=
"submit"
],
...
...
@@ -6138,11 +6150,14 @@ body.reset {
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.validation-message
{
font-size
:
90%
;
color
:
#A53214
;
}
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.chatroom-form
label
,
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.chatroom-form
input
[
type
=
text
],
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.chatroom-form
label
,
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.chatroom-form
input
[
type
=
text
]
{
display
:
block
;
}
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.chatroom-form
,
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.chatroom-form
{
margin-top
:
2em
;
}
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.chatroom-form
label
,
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.chatroom-form
input
[
type
=
text
],
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.chatroom-form
label
,
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.chatroom-form
input
[
type
=
text
]
{
display
:
block
;
}
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
input
[
type
=
button
],
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
input
[
type
=
submit
],
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
input
[
type
=
button
],
...
...
css/inverse.css
View file @
bfc30818
...
...
@@ -5762,6 +5762,7 @@ body {
#conversejs
#controlbox
.add-xmpp-contact
button
{
width
:
100%
;
}
#conversejs
.toggle-controlbox
{
text-align
:
center
;
background-color
:
#578EA9
;
border-top-left-radius
:
5px
;
border-top-right-radius
:
5px
;
...
...
@@ -5773,21 +5774,35 @@ body {
#conversejs
.toggle-controlbox
span
{
color
:
white
;
}
@media
screen
and
(
max-width
:
767px
)
{
#conversejs
#controlbox
.box-flyout
{
width
:
100%
;
left
:
0
;
}
#conversejs
#controlbox
.sidebar
{
display
:
block
;
}
#conversejs
#controlbox
.controlbox-pane
{
position
:
absolute
;
top
:
0
;
display
:
none
;
width
:
100%
;
}
#conversejs
.sidebar-open
.chatbox
:not
(
#controlbox
)
{
display
:
none
;
}
#conversejs
.sidebar-open
#controlbox
.controlbox-pane
{
display
:
block
;
}
}
@media
(
max-width
:
767.98px
)
{
#conversejs
{
left
:
0
;
right
:
0
;
padding-left
:
env
(
safe-area-inset-left
);
padding-right
:
env
(
safe-area-inset-right
);
}
#conversejs
.converse-chatboxes
{
margin
:
0
!important
;
flex-direction
:
row
!important
;
justify-content
:
space-between
;
}
#conversejs
.converse-chatboxes
.converse-chatroom
{
font-size
:
14px
;
}
#conversejs
.converse-chatboxes
.chatbox
.box-flyout
{
left
:
0
;
bottom
:
0
;
border-radius
:
0
;
width
:
100vw
!important
;
height
:
100vh
!important
;
}
#conversejs
.converse-chatboxes
#controlbox
{
order
:
0
;
}
#conversejs
.converse-chatboxes
#controlbox
.box-flyout
{
width
:
100vw
!important
;
height
:
100vh
!important
;
}
#conversejs
.converse-chatboxes
#controlbox
.sidebar
{
display
:
block
;
}
#conversejs
.converse-chatboxes.sidebar-open
.chatbox
:not
(
#controlbox
)
{
display
:
none
;
}
#conversejs
.converse-chatboxes.sidebar-open
#controlbox
.controlbox-pane
{
display
:
block
;
}
}
#conversejs
.fullscreen
#controlbox
{
position
:
relative
;
width
:
100%
;
...
...
@@ -6022,9 +6037,6 @@ body {
#conversejs
.fullscreen
#controlbox
#chatrooms
.bookmarks-list
dl
.rooms-list.bookmarks
dd
.available-chatroom
a
.open-room
{
width
:
80%
;
}
#converse-embedded-chat
.new-chatroom-nick
,
#conversejs
.new-chatroom-nick
{
margin
:
1em
auto
;
}
#converse-embedded-chat
.add-chatroom
input
[
type
=
"submit"
],
#converse-embedded-chat
.add-chatroom
input
[
type
=
"button"
],
#conversejs
.add-chatroom
input
[
type
=
"submit"
],
...
...
@@ -6276,11 +6288,14 @@ body {
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.validation-message
{
font-size
:
90%
;
color
:
#A53214
;
}
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.chatroom-form
label
,
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.chatroom-form
input
[
type
=
text
],
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.chatroom-form
label
,
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.chatroom-form
input
[
type
=
text
]
{
display
:
block
;
}
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.chatroom-form
,
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.chatroom-form
{
margin-top
:
2em
;
}
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.chatroom-form
label
,
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.chatroom-form
input
[
type
=
text
],
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.chatroom-form
label
,
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
.chatroom-form
input
[
type
=
text
]
{
display
:
block
;
}
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
input
[
type
=
button
],
#converse-embedded-chat
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
input
[
type
=
submit
],
#conversejs
.chatroom
.box-flyout
.chatroom-body
.chatroom-form-container
input
[
type
=
button
],
...
...
css/mobile.css
deleted
100644 → 0
View file @
d7de7390
#conversejs
{
left
:
0px
;
right
:
0px
;
padding-left
:
env
(
safe-area-inset-left
);
padding-right
:
env
(
safe-area-inset-right
);
}
.converse-chatroom
{
font-size
:
14px
;
}
.intro
{
padding
:
0
;
height
:
100vh
;
}
sass/_chatrooms.scss
View file @
bfc30818
#converse-embedded-chat
,
#conversejs
{
.new-chatroom-nick
{
margin
:
1em
auto
;
}
.add-chatroom
{
input
[
type
=
"submit"
],
input
[
type
=
"button"
]
{
...
...
@@ -266,6 +262,8 @@
color
:
$error-color
;
}
.chatroom-form
{
margin-top
:
2em
;
label
,
input
[
type
=
text
]
{
display
:
block
;
...
...
sass/_controlbox.scss
View file @
bfc30818
...
...
@@ -419,6 +419,7 @@
}
.toggle-controlbox
{
text-align
:
center
;
background-color
:
$link-color
;
border-top-left-radius
:
$button-border-radius
;
border-top-right-radius
:
$button-border-radius
;
...
...
@@ -433,36 +434,54 @@
}
}
@media
screen
and
(
max-width
:
767px
)
{
@include
media-breakpoint-down
(
sm
)
{
#conversejs
{
#controlbox
{
.box-flyout
{
width
:
100%
;
left
:
0
;
}
left
:
0
;
right
:
0
;
padding-left
:
env
(
safe-area-inset-left
);
padding-right
:
env
(
safe-area-inset-right
);
.sidebar
{
display
:
block
;
}
.converse-chatboxes
{
margin
:
0
!
important
;
flex-direction
:
row
!
important
;
justify-content
:
space-between
;
.controlbox-pane
{
position
:
absolute
;
top
:
0
;
display
:
none
;
width
:
100%
;
.converse-chatroom
{
font-size
:
14px
;
}
}
&
.sidebar-open
{
.chatbox
:not
(
#controlbox
)
{
display
:
none
;
.chatbox
{
.box-flyout
{
left
:
0
;
bottom
:
0
;
border-radius
:
0
;
width
:
100vw
!
important
;
height
:
100vh
!
important
;
}
}
#controlbox
{
.controlbox-pane
{
order
:
0
;
.box-flyout
{
width
:
100vw
!
important
;
height
:
100vh
!
important
;
}
.sidebar
{
display
:
block
;
}
}
&
.sidebar-open
{
.chatbox
:not
(
#controlbox
)
{
display
:
none
;
}
#controlbox
{
.controlbox-pane
{
display
:
block
;
}
}
}
}
}
}
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