Skip to content

Commit f681ce5

Browse files
committed
add CSS for TabCompleteBar
1 parent ceadfef commit f681ce5

3 files changed

Lines changed: 87 additions & 2 deletions

File tree

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
Copyright 2015 OpenMarket Ltd
3+
4+
Licensed under the Apache License, Version 2.0 (the "License");
5+
you may not use this file except in compliance with the License.
6+
You may obtain a copy of the License at
7+
8+
http://www.apache.org/licenses/LICENSE-2.0
9+
10+
Unless required by applicable law or agreed to in writing, software
11+
distributed under the License is distributed on an "AS IS" BASIS,
12+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
See the License for the specific language governing permissions and
14+
limitations under the License.
15+
*/
16+
17+
.mx_TabCompleteBar {
18+
overflow: hidden;
19+
}
20+
21+
.mx_TabCompleteBar_item {
22+
display: inline-block;
23+
margin-right: 15px;
24+
}
25+
26+
.mx_TabCompleteBar_item img {
27+
border-radius: 24px;
28+
margin-right: 8px;
29+
vertical-align: middle;
30+
}
31+
32+
.mx_TabCompleteBar_text {
33+
color: #4a4a4a;
34+
opacity: 0.5;
35+
}

‎src/skins/vector/css/organisms/RoomView.css‎

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ limitations under the License.
182182
}
183183

184184
.mx_RoomView_inCall .mx_RoomView_statusAreaBox {
185-
background-color: #76CFA6;
185+
background-color: #76CFA6;
186186
color: #fff;
187187
position: relative;
188188
}
@@ -249,25 +249,59 @@ limitations under the License.
249249
cursor: pointer;
250250
}
251251

252+
.mx_RoomView_tabCompleteBar {
253+
margin-top: 5px;
254+
margin-left: 65px;
255+
color: #4a4a4a;
256+
}
257+
252258
.mx_RoomView_typingBar {
253259
margin-top: 6px;
254260
margin-left: 65px;
255261
color: #4a4a4a;
256262
opacity: 0.5;
257263
}
258264

265+
.mx_RoomView_tabCompleteImage,
259266
.mx_RoomView_typingImage {
260267
display: inline;
261-
margin-left: -47px;
268+
margin-left: -50px;
262269
margin-top: -4px;
263270
float: left;
264271
}
265272

273+
.mx_RoomView_tabCompleteImage {
274+
opacity: 0.5;
275+
}
276+
266277
.mx_RoomView_typingText {
267278
overflow-y: hidden;
268279
display: block;
269280
}
270281

282+
.mx_RoomView_tabCompleteWrapper {
283+
display: flex;
284+
display: -webkit-flex;
285+
height: 24px;
286+
}
287+
288+
.mx_RoomView_tabCompleteWrapper .mx_TabCompleteBar {
289+
flex: 1 1 auto;
290+
-webkit-flex: 1 1 auto;
291+
}
292+
293+
.mx_RoomView_tabCompleteEol {
294+
flex: 0 0 auto;
295+
-webkit-flex: 0 0 auto;
296+
color: #76CFA6;
297+
}
298+
299+
.mx_RoomView_tabCompleteEol img {
300+
vertical-align: middle;
301+
margin-right: 8px;
302+
margin-top: -2px;
303+
}
304+
271305
.mx_RoomView .mx_MessageComposer {
272306
-webkit-box-ordinal-group: 5;
273307
-moz-box-ordinal-group: 5;

‎src/skins/vector/img/eol.svg‎

Lines changed: 16 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)