2019-01-26 03:51:33 +08:00
|
|
|
/*
|
|
|
|
Copyright 2019 New Vector Ltd.
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
// ICONS
|
|
|
|
// ==========================================================
|
|
|
|
|
2019-07-10 01:15:10 +08:00
|
|
|
.mx_RoomSettingsDialog_settingsIcon::before {
|
2020-07-07 18:30:02 +08:00
|
|
|
mask-image: url('$(res)/img/element-icons/settings.svg');
|
2019-01-26 03:51:33 +08:00
|
|
|
}
|
|
|
|
|
2019-07-10 01:15:10 +08:00
|
|
|
.mx_RoomSettingsDialog_securityIcon::before {
|
2020-07-07 18:30:02 +08:00
|
|
|
mask-image: url('$(res)/img/element-icons/security.svg');
|
2019-01-26 03:51:33 +08:00
|
|
|
}
|
|
|
|
|
2019-07-10 01:15:10 +08:00
|
|
|
.mx_RoomSettingsDialog_rolesIcon::before {
|
2020-07-07 18:30:02 +08:00
|
|
|
mask-image: url('$(res)/img/element-icons/room/settings/roles.svg');
|
2019-01-26 03:51:33 +08:00
|
|
|
}
|
|
|
|
|
2020-04-01 19:57:28 +08:00
|
|
|
.mx_RoomSettingsDialog_notificationsIcon::before {
|
2020-07-07 18:30:02 +08:00
|
|
|
mask-image: url('$(res)/img/element-icons/notifications.svg');
|
2020-04-01 19:57:28 +08:00
|
|
|
}
|
|
|
|
|
2019-12-03 01:27:31 +08:00
|
|
|
.mx_RoomSettingsDialog_bridgesIcon::before {
|
|
|
|
// This icon is pants, please improve :)
|
|
|
|
mask-image: url('$(res)/img/feather-customised/bridge.svg');
|
|
|
|
}
|
|
|
|
|
2019-07-10 01:15:10 +08:00
|
|
|
.mx_RoomSettingsDialog_warningIcon::before {
|
2020-07-07 18:30:02 +08:00
|
|
|
mask-image: url('$(res)/img/element-icons/room/settings/advanced.svg');
|
2019-01-26 03:51:33 +08:00
|
|
|
}
|
2019-02-26 07:08:51 +08:00
|
|
|
|
|
|
|
.mx_RoomSettingsDialog .mx_Dialog_title {
|
|
|
|
-ms-text-overflow: ellipsis;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding-right: 80px;
|
|
|
|
}
|
2019-12-03 01:27:31 +08:00
|
|
|
|
2019-12-17 00:19:43 +08:00
|
|
|
// show a different AvatarSetting placeholder for RoomProfileSettings which is basically a clone of ProfileSettings
|
|
|
|
.mx_RoomSettingsDialog .mx_AvatarSetting_avatar .mx_AvatarSetting_avatarPlaceholder::before {
|
|
|
|
mask: url("$(res)/img/feather-customised/image.svg");
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
mask-size: 36px;
|
|
|
|
mask-position: center;
|
2020-01-02 17:41:50 +08:00
|
|
|
}
|