Skip to content

Commit 7153d03

Browse files
author
Weblate
committed
Merge remote-tracking branch 'origin/develop' into develop
2 parents fd63aac + 123ad19 commit 7153d03

5 files changed

Lines changed: 83 additions & 3 deletions

File tree

‎src/skins/vector/css/_components.scss‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
@import "./matrix-react-sdk/structures/_RoomStatusBar.scss";
1212
@import "./matrix-react-sdk/structures/_RoomView.scss";
1313
@import "./matrix-react-sdk/structures/_SearchBox.scss";
14+
@import "./matrix-react-sdk/structures/_TagPanel.scss";
1415
@import "./matrix-react-sdk/structures/_UploadBar.scss";
1516
@import "./matrix-react-sdk/structures/_UserSettings.scss";
1617
@import "./matrix-react-sdk/structures/login/_Login.scss";

‎src/skins/vector/css/matrix-react-sdk/structures/_SearchBox.scss‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ limitations under the License.
2121
padding-top: 24px;
2222
padding-bottom: 22px;
2323

24+
border-bottom: 1px solid $panel-divider-color;
25+
2426
display: flex;
2527
}
2628

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
/*
2+
Copyright 2017 New Vector 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_TagPanel {
18+
width: 60px;
19+
background-color: $tertiary-accent-color;
20+
cursor: pointer;
21+
22+
display: flex;
23+
flex-direction: column;
24+
align-items: center;
25+
justify-content: space-between;
26+
}
27+
28+
.mx_TagPanel .mx_TagPanel_tagTileContainer {
29+
display: flex;
30+
flex-direction: column;
31+
align-items: center;
32+
margin-top: 65px;
33+
}
34+
35+
.mx_TagPanel .mx_TagTile {
36+
margin: 6px 0px;
37+
opacity: 0.5;
38+
}
39+
.mx_TagPanel .mx_TagTile:focus,
40+
.mx_TagPanel .mx_TagTile:hover,
41+
.mx_TagPanel .mx_TagTile.mx_TagTile_selected {
42+
opacity: 1;
43+
}
44+
45+
.mx_TagPanel .mx_TagTile.mx_TagTile_selected {
46+
/* To offset border of mx_TagTile_avatar */
47+
margin: 3px 0px;
48+
}
49+
50+
.mx_TagPanel .mx_TagTile.mx_TagTile_selected .mx_TagTile_avatar {
51+
border: 3px solid $accent-color;
52+
border-radius: 60px;
53+
}
54+
55+
.mx_TagPanel .mx_TagTile.mx_AccessibleButton:focus {
56+
filter: none;
57+
}
58+
59+
.mx_TagTile_tooltip {
60+
position: relative;
61+
top: -30px;
62+
left: 5px;
63+
}
64+
65+
.mx_TagPanel_createGroupButton {
66+
cursor: pointer;
67+
opacity: 0.5;
68+
margin-bottom: 12px;
69+
}
70+
71+
.mx_TagPanel_createGroupButton:hover {
72+
opacity: 1;
73+
}
74+
75+
.mx_TagPanel_createGroupButton object {
76+
pointer-events: none;
77+
}

‎src/skins/vector/css/themes/_base.scss‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ $preview-bar-bg-color: #f7f7f7;
4040

4141
// left-panel style muted accent color
4242
$secondary-accent-color: #eaf5f0;
43+
$tertiary-accent-color: #d3efe1;
4344

4445
// used by RoomDirectory permissions
4546
$plinth-bg-color: $secondary-accent-color;

‎src/skins/vector/css/vector-web/structures/_RoomSubList.scss‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,13 @@ limitations under the License.
3333
font-weight: 600;
3434
font-size: 12px;
3535
width: 203px; /* padding + width = LHS Panel width */
36-
height: 17px; /* padding + height = 29px, same as mx_RoomSubList_stickyContainer */
36+
height: 19px; /* height + padding = 31px = mx_RoomSubList_label height */
3737
padding-left: 16px; /* gutter */
3838
padding-right: 16px; /* gutter */
3939
padding-top: 6px;
4040
padding-bottom: 6px;
4141
cursor: pointer;
42-
background-color: $roomsublist-label-bg-color;
43-
border-top: solid 2px $secondary-accent-color;
42+
background-color: $secondary-accent-color;
4443
}
4544

4645
.mx_RoomSubList_label.mx_RoomSubList_fixed {

0 commit comments

Comments
 (0)