mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
b2fc4a1c4d
Signed-off-by: Half-Shot <will@half-shot.uk>
122 lines
3.0 KiB
SCSS
122 lines
3.0 KiB
SCSS
/*
|
|
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
|
|
// ==========================================================
|
|
|
|
.mx_RoomSettingsDialog_settingsIcon::before {
|
|
mask-image: url('$(res)/img/feather-customised/settings.svg');
|
|
}
|
|
|
|
.mx_RoomSettingsDialog_securityIcon::before {
|
|
mask-image: url('$(res)/img/feather-customised/lock.svg');
|
|
}
|
|
|
|
.mx_RoomSettingsDialog_rolesIcon::before {
|
|
mask-image: url('$(res)/img/feather-customised/users-sm.svg');
|
|
}
|
|
|
|
.mx_RoomSettingsDialog_bridgesIcon::before {
|
|
// This icon is pants, please improve :)
|
|
mask-image: url('$(res)/img/feather-customised/bridge.svg');
|
|
}
|
|
|
|
.mx_RoomSettingsDialog_warningIcon::before {
|
|
mask-image: url('$(res)/img/feather-customised/warning-triangle.svg');
|
|
}
|
|
|
|
.mx_RoomSettingsDialog .mx_Dialog_title {
|
|
-ms-text-overflow: ellipsis;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
margin: 0 auto;
|
|
padding-left: 40px;
|
|
padding-right: 80px;
|
|
}
|
|
|
|
// 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;
|
|
}
|
|
|
|
.mx_RoomSettingsDialog_BridgeList {
|
|
padding: 0;
|
|
}
|
|
|
|
.mx_RoomSettingsDialog_BridgeList li {
|
|
list-style-type: none;
|
|
padding: 5px;
|
|
margin-bottom: 8px;
|
|
border-width: 1px 1px;
|
|
border-color: $primary-hairline-color;
|
|
border-radius: 5px;
|
|
|
|
.protocol-icon {
|
|
float: left;
|
|
margin-right: 30px;
|
|
img {
|
|
border-radius: 5px;
|
|
border-width: 1px 1px;
|
|
border-color: $primary-hairline-color;
|
|
border-style: solid;
|
|
}
|
|
span {
|
|
/* Correct letter placement */
|
|
left: auto;
|
|
}
|
|
}
|
|
|
|
h3 {
|
|
margin-top: 0;
|
|
margin-bottom: 4px;
|
|
font-size: 16pt;
|
|
}
|
|
|
|
.column-icon {
|
|
float: left;
|
|
}
|
|
|
|
.column-data {
|
|
display: inline-block;
|
|
width: 85%;
|
|
}
|
|
|
|
.workspace-channel-details {
|
|
margin-top: 0;
|
|
color: $primary-fg-color;
|
|
}
|
|
|
|
.metadata {
|
|
color: $muted-fg-color;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.metadata.visible {
|
|
overflow-y: visible;
|
|
text-overflow: ellipsis;
|
|
white-space: normal;
|
|
}
|
|
|
|
}
|
|
|