Skip to content

Commit 58b7530

Browse files
authored
Merge pull request element-hq#5702 from vector-im/luke/move-group-flair-toggle-to-user-settings
CSS required for moving group publication toggles to UserSettings
2 parents 93f05ce + 6fc173e commit 58b7530

3 files changed

Lines changed: 67 additions & 1 deletion

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@
3838
@import "./matrix-react-sdk/views/elements/_RichText.scss";
3939
@import "./matrix-react-sdk/views/elements/_RoleButton.scss";
4040
@import "./matrix-react-sdk/views/elements/_ToolTipButton.scss";
41+
@import "./matrix-react-sdk/views/groups/_GroupPublicityToggle.scss";
4142
@import "./matrix-react-sdk/views/groups/_GroupRoomList.scss";
43+
@import "./matrix-react-sdk/views/groups/_GroupUserSettings.scss";
4244
@import "./matrix-react-sdk/views/login/_InteractiveAuthEntryComponents.scss";
4345
@import "./matrix-react-sdk/views/login/_ServerConfig.scss";
4446
@import "./matrix-react-sdk/views/messages/_MEmoteBody.scss";
@@ -81,7 +83,7 @@
8183
@import "./vector-web/structures/_RoomSubList.scss";
8284
@import "./vector-web/structures/_ViewSource.scss";
8385
@import "./vector-web/views/context_menus/_MessageContextMenu.scss";
84-
@import "vector-web/views/context_menus/_PresenceContextMenuOption.scss";
86+
@import "./vector-web/views/context_menus/_PresenceContextMenuOption.scss";
8587
@import "./vector-web/views/context_menus/_RoomTileContextMenu.scss";
8688
@import "./vector-web/views/dialogs/_ChangelogDialog.scss";
8789
@import "./vector-web/views/dialogs/_DevtoolsDialog.scss";
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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_GroupPublicity_toggle {
18+
display: flex;
19+
align-items: center;
20+
margin: 8px;
21+
}
22+
23+
.mx_GroupPublicity_toggle > label {
24+
display: flex;
25+
align-items: flex-start;
26+
}
27+
28+
.mx_GroupPublicity_toggle > label,
29+
.mx_GroupPublicity_toggle .mx_GroupTile {
30+
width: 50%;
31+
}
32+
33+
.mx_GroupPublicity_toggle input {
34+
margin-right: 8px;
35+
vertical-align: -4px;
36+
}
37+
38+
.mx_GroupPublicity_toggle .mx_GroupTile {
39+
display: flex;
40+
align-items: flex-start;
41+
cursor: pointer;
42+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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_GroupUserSettings_groupPublicity_scrollbox {
18+
height: 200px;
19+
border: 1px solid $primary-hairline-color;
20+
border-radius: 3px;
21+
margin-right: 32px;
22+
}

0 commit comments

Comments
 (0)