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
5a7340b3
Commit
5a7340b3
authored
Oct 30, 2015
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase padding in #users pane
parent
be6ae092
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
83 additions
and
70 deletions
+83
-70
css/converse.css
css/converse.css
+39
-34
mockup/controlbox.html
mockup/controlbox.html
+1
-1
sass/_controlbox.scss
sass/_controlbox.scss
+6
-2
sass/_roster.scss
sass/_roster.scss
+37
-33
No files found.
css/converse.css
View file @
5a7340b3
...
...
@@ -1539,7 +1539,7 @@
width
:
100%
;
margin
:
0.5em
0
;
}
#conversejs
#controlbox
#users
.add-converse-contact
{
margin
:
0
0.5em
0.75em
0.5
em
;
}
margin
:
0
1em
0.75em
1
em
;
}
#conversejs
#controlbox
#chatrooms
form
.add-chatroom
input
[
type
=
button
],
#conversejs
#controlbox
#chatrooms
form
.add-chatroom
input
[
type
=
submit
],
#conversejs
#controlbox
#chatrooms
form
.add-chatroom
input
[
type
=
text
]
{
...
...
@@ -1718,6 +1718,8 @@
margin-bottom
:
0
;
}
#conversejs
#controlbox
.controlbox-pane
dd
.odd
{
background-color
:
#DCEAC5
;
}
#conversejs
#controlbox
#users
{
overflow-y
:
hidden
;
}
#conversejs
#controlbox
.add-xmpp-contact
{
background
:
none
;
padding
:
1em
;
}
...
...
@@ -1739,7 +1741,7 @@
color
:
#D24E2B
;
}
#conversejs
#controlbox
.set-xmpp-status
{
background
:
none
;
padding
:
0.75em
0.5em
0.5em
0.5
em
;
}
margin
:
0.75em
1em
0.5em
1
em
;
}
#conversejs
#controlbox
.set-xmpp-status
.dropdown
dd
ul
{
z-index
:
22
;
}
#conversejs
.toggle-controlbox
{
...
...
@@ -1758,40 +1760,43 @@
text-align
:
left
;
width
:
100%
;
position
:
relative
;
margin
:
0.5
em
0
0
0
;
margin
:
1
em
0
0
0
;
height
:
194px
;
height
:
calc
(
100%
-
50px
-
20px
);
overflow
:
hidden
;
padding-bottom
:
3em
;
/* (jQ addClass:) if input has value: */
/* (jQ addClass:) if mouse is over the 'x' input area*/
}
padding
:
0
;
padding-bottom
:
3em
;
}
#conversejs
#converse-roster
.no-contact-requests
{
height
:
calc
(
100%
-
25px
-
20px
);
}
#conversejs
#converse-roster
.search-xmpp
ul
li
.chat-info
{
padding-left
:
10px
;
}
#conversejs
#converse-roster
.filter-type
{
display
:
table-cell
;
float
:
right
;
font-size
:
calc
(
14px
-
1px
);
height
:
25px
;
padding
:
0
;
width
:
84px
;
border-radius
:
0
;
border
:
1px
solid
;
}
#conversejs
#converse-roster
.roster-filter
{
float
:
left
;
background
:
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAABNSURBVHjaXI7BDcAwCAMvyQjMyQ6dAbZiKfqoUK34g2zJh1dENIC7M8pMAPYdzAVY3d0ajNz9aypS/b5R6o+ZPdqoKgCq6h80KH3xDgBqNR97p8oAGQAAAABJRU5ErkJggg==)
no-repeat
right
-20px
center
;
border
:
1px
solid
#999
;
font-size
:
14px
;
height
:
25px
;
margin
:
0
0
0.5em
7px
;
padding
:
0
;
padding-left
:
0.4em
;
width
:
103px
;
}
#conversejs
#converse-roster
.roster-filter.x
{
background-position
:
right
3px
center
;
}
#conversejs
#converse-roster
.roster-filter.onX
{
cursor
:
pointer
;
}
#conversejs
#converse-roster
.roster-filter-group
{
margin
:
0
1em
;
/* (jQ addClass:) if input has value: */
/* (jQ addClass:) if mouse is over the 'x' input area*/
}
#conversejs
#converse-roster
.roster-filter-group
.roster-filter
{
float
:
left
;
background
:
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAABNSURBVHjaXI7BDcAwCAMvyQjMyQ6dAbZiKfqoUK34g2zJh1dENIC7M8pMAPYdzAVY3d0ajNz9aypS/b5R6o+ZPdqoKgCq6h80KH3xDgBqNR97p8oAGQAAAABJRU5ErkJggg==)
no-repeat
right
-20px
center
;
border
:
1px
solid
#999
;
font-size
:
14px
;
height
:
25px
;
margin
:
0
;
padding
:
0
;
padding-left
:
0.4em
;
width
:
53%
;
}
#conversejs
#converse-roster
.roster-filter-group
.roster-filter.x
{
background-position
:
right
3px
center
;
}
#conversejs
#converse-roster
.roster-filter-group
.roster-filter.onX
{
cursor
:
pointer
;
}
#conversejs
#converse-roster
.roster-filter-group
.filter-type
{
display
:
table-cell
;
float
:
right
;
font-size
:
calc
(
14px
-
2px
);
height
:
25px
;
padding
:
0
;
width
:
47%
;
border-radius
:
0
;
border
:
1px
solid
;
}
#conversejs
#converse-roster
.roster-contacts
{
margin
:
0
;
height
:
100%
;
...
...
@@ -1802,7 +1807,8 @@
color
:
#818479
;
display
:
none
;
font-weight
:
normal
;
padding
:
0.5em
;
margin-top
:
0.5em
;
padding
:
0.5em
1em
;
text-shadow
:
0
1px
0
#FAFAFA
;
}
#conversejs
#converse-roster
.roster-contacts
dt
.roster-group
:hover
{
background-color
:
#DCF9F6
;
}
...
...
@@ -1818,7 +1824,7 @@
height
:
24px
;
line-height
:
16px
;
overflow-y
:
hidden
;
padding
:
4px
2px
0
4px
;
padding
:
0.5em
1em
;
text-shadow
:
0
1px
0
#FAFAFA
;
}
#conversejs
#converse-roster
.roster-contacts
dd
:hover
{
background-color
:
#DCF9F6
;
}
...
...
@@ -1839,10 +1845,9 @@
display
:
inline-block
;
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
margin-left
:
3px
;
}
text-overflow
:
ellipsis
;
}
#conversejs
#converse-roster
.roster-contacts
dd
span
{
padding
:
0
5px
0
0
;
}
padding
:
0
0.5em
0
0
;
}
#conversejs
#converse-roster
.roster-contacts
dd
a
.decline-xmpp-request
{
margin-left
:
5px
;
}
#conversejs
#converse-roster
.roster-contacts
dd
a
.remove-xmpp-contact
{
...
...
mockup/controlbox.html
View file @
5a7340b3
...
...
@@ -136,7 +136,7 @@
</dd>
</dl>
<div
id=
"converse-roster"
>
<span
class=
"input-button-group"
>
<span
class=
"
roster-filter-group
input-button-group"
>
<input
class=
"roster-filter"
placeholder=
"Type to filter"
>
<select
class=
"filter-type"
>
<option
value=
"contacts"
>
Contacts
</option>
...
...
sass/_controlbox.scss
View file @
5a7340b3
...
...
@@ -88,7 +88,7 @@
}
#users
{
.add-converse-contact
{
margin
:
0
0
.5em
0
.75em
0
.5
em
;
margin
:
0
1em
0
.75em
1
em
;
}
}
...
...
@@ -328,6 +328,10 @@
}
}
#users
{
overflow-y
:
hidden
;
}
.add-xmpp-contact
{
background
:
none
;
padding
:
1em
;
...
...
@@ -358,7 +362,7 @@
.set-xmpp-status
{
background
:
none
;
padding
:
0
.75em
0
.5em
0
.5em
0
.5
em
;
margin
:
0
.75em
1em
0
.5em
1
em
;
.dropdown
dd
ul
{
z-index
:
22
;
}
...
...
sass/_roster.scss
View file @
5a7340b3
...
...
@@ -2,10 +2,11 @@
text-align
:
left
;
width
:
100%
;
position
:
relative
;
margin
:
0
.5
em
0
0
0
;
margin
:
1
em
0
0
0
;
height
:
$roster-height
;
height
:
calc
(
100%
-
#{
$controlbox-dropdown-height
*
2
}
-
20px
);
overflow
:
hidden
;
padding
:
0
;
padding-bottom
:
3em
;
&
.no-contact-requests
{
...
...
@@ -20,34 +21,37 @@
}
}
.filter-type
{
display
:
table-cell
;
float
:
right
;
font-size
:
calc
(
#{
$font-size
}
-
1px
);
height
:
$controlbox-dropdown-height
;
padding
:
0
;
width
:
84px
;
border-radius
:
0
;
border
:
1px
solid
;
}
.roster-filter
{
float
:
left
;
background
:
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAABNSURBVHjaXI7BDcAwCAMvyQjMyQ6dAbZiKfqoUK34g2zJh1dENIC7M8pMAPYdzAVY3d0ajNz9aypS/b5R6o+ZPdqoKgCq6h80KH3xDgBqNR97p8oAGQAAAABJRU5ErkJggg== )
no-repeat
right
-20px
center
;
border
:
1px
solid
#999
;
font-size
:
$font-size
;
height
:
$controlbox-dropdown-height
;
margin
:
0
0
0
.5em
7px
;
padding
:
0
;
padding-left
:
0
.4em
;
width
:
103px
;
}
/* (jQ addClass:) if input has value: */
.roster-filter.x
{
background-position
:
right
3px
center
;
}
/* (jQ addClass:) if mouse is over the 'x' input area*/
.roster-filter.onX
{
cursor
:
pointer
;
.roster-filter-group
{
margin
:
0
1em
;
.roster-filter
{
float
:
left
;
background
:
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAABNSURBVHjaXI7BDcAwCAMvyQjMyQ6dAbZiKfqoUK34g2zJh1dENIC7M8pMAPYdzAVY3d0ajNz9aypS/b5R6o+ZPdqoKgCq6h80KH3xDgBqNR97p8oAGQAAAABJRU5ErkJggg== )
no-repeat
right
-20px
center
;
border
:
1px
solid
#999
;
font-size
:
$font-size
;
height
:
$controlbox-dropdown-height
;
margin
:
0
;
padding
:
0
;
padding-left
:
0
.4em
;
width
:
53%
;
}
/* (jQ addClass:) if input has value: */
.roster-filter.x
{
background-position
:
right
3px
center
;
}
/* (jQ addClass:) if mouse is over the 'x' input area*/
.roster-filter.onX
{
cursor
:
pointer
;
}
.filter-type
{
display
:
table-cell
;
float
:
right
;
font-size
:
calc
(
#{
$font-size
}
-
2px
);
height
:
$controlbox-dropdown-height
;
padding
:
0
;
width
:
47%
;
border-radius
:
0
;
border
:
1px
solid
;
}
}
.roster-contacts
{
...
...
@@ -60,7 +64,8 @@
color
:
$text-color
;
display
:
none
;
font-weight
:
normal
;
padding
:
0
.5em
;
margin-top
:
0
.5em
;
padding
:
0
.5em
1em
;
text-shadow
:
0
1px
0
$text-shadow-color
;
&
:hover
{
background-color
:
$highlight-color
;
...
...
@@ -79,7 +84,7 @@
height
:
24px
;
line-height
:
16px
;
overflow-y
:
hidden
;
padding
:
4px
2px
0
4px
;
padding
:
0
.5em
1em
;
text-shadow
:
0
1px
0
$text-shadow-color
;
&
:hover
{
background-color
:
$highlight-color
;
...
...
@@ -108,10 +113,9 @@
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
margin-left
:
3px
;
}
span
{
padding
:
0
5px
0
0
;
padding
:
0
0
.5em
0
0
;
}
a
{
&
.decline-xmpp-request
{
...
...
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