Skip to content

Commit 75c81b3

Browse files
committed
Mouse actions on the queryList added, as well as better queryListElement styling
1 parent 48501d9 commit 75c81b3

File tree

5 files changed

+29
-11
lines changed

5 files changed

+29
-11
lines changed

src/skins/vector/css/common.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ input[type=text]:focus, textarea:focus {
6464
box-shadow: none;
6565
}
6666

67+
/* Required by Firefox */
68+
textarea {
69+
font-family: 'Open Sans', Arial, Helvetica, Sans-Serif;
70+
}
71+
6772
/* Prevent ugly dotted highlight around selected elements in Firefox */
6873
::-moz-focus-inner {
6974
border: 0;

src/skins/vector/css/matrix-react-sdk/views/dialogs/ChatInviteDialog.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ limitations under the License.
2020
{
2121
height: 26px;
2222
font-size: 14px;
23+
font-family: font-family: 'Open Sans', Arial, Helvetica, Sans-Serif;
2324
padding-left: 12px;
2425
padding-right: 12px;
2526
margin: 0 !important;
@@ -39,24 +40,26 @@ limitations under the License.
3940
line-height: 36px;
4041
padding-left: 4px;
4142
padding-right: 4px;
42-
padding-top: 2px;
43+
padding-top: 1px;
44+
padding-bottom: 1px;
4345
overflow: hidden;
4446
}
4547

4648
.mx_ChatInviteDialog_queryList {
4749
position: absolute;
4850
background-color: #fff;
49-
width: 410px;
51+
width: 470px;
5052
max-height: 116px;
5153
overflow-y: scroll;
5254
border-radius: 3px;
5355
background-color: #fff;
5456
border: solid 1px #76cfa6;
57+
cursor: pointer;
5558
}
5659

5760
.mx_ChatInviteDialog_queryListElement .mx_AddressTile {
5861
background-color: #fff;
59-
border: solid 1px #fff;
62+
border: 0;
6063
}
6164

6265
.mx_ChatInviteDialog_queryListElement.mx_ChatInviteDialog_selected {
@@ -65,7 +68,6 @@ limitations under the License.
6568

6669
.mx_ChatInviteDialog_queryListElement.mx_ChatInviteDialog_selected .mx_AddressTile {
6770
background-color: #eaf5f0; /* selected colour */
68-
border: solid 1px #eaf5f0; /* selected colour */
6971
}
7072

7173
.mx_ChatInviteDialog_cancel {

src/skins/vector/css/matrix-react-sdk/views/elements/AddressTile.css

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,20 @@ limitations under the License.
2525
font-weight: normal;
2626
}
2727

28+
.mx_AddressTile_network {
29+
display: inline-block;
30+
position: relative;
31+
padding-left: 2px;
32+
padding-right: 4px;
33+
vertical-align: middle;
34+
}
35+
2836
.mx_AddressTile_avatar {
2937
display: inline-block;
3038
position: relative;
31-
top: 1px;
3239
padding-left: 2px;
3340
padding-right: 7px;
41+
vertical-align: middle;
3442
}
3543

3644
.mx_AddressTile_name {
@@ -40,10 +48,11 @@ limitations under the License.
4048
}
4149

4250
.mx_AddressTile_name.mx_AddressTile_justified {
43-
width: 120px;
51+
width: 180px;
4452
overflow: hidden;
4553
white-space: nowrap;
4654
text-overflow: ellipsis;
55+
vertical-align: middle;
4756
}
4857

4958
.mx_AddressTile_id {
@@ -56,6 +65,7 @@ limitations under the License.
5665
overflow: hidden;
5766
white-space: nowrap;
5867
text-overflow: ellipsis;
68+
vertical-align: middle;
5969
}
6070

6171
.mx_AddressTile_dismiss {

src/skins/vector/css/vector-web/structures/RoomSubList.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ limitations under the License.
3939
padding-top: 6px;
4040
padding-bottom: 6px;
4141
cursor: pointer;
42-
background-color: rgba(118, 207, 166, 0.2);
42+
background-color: rgba(118, 207, 166, 0.2); /* Should be #d3ede1, but not a magic colour */
4343
border-top: solid 2px #eaf5f0;
4444
}
4545

src/skins/vector/img/search-icon-vector.svg

Lines changed: 5 additions & 4 deletions
Loading

0 commit comments

Comments
 (0)