Update settings tab icons (#12867)
* Change icon for general/account tab ...and add support for compound design token icons to TabbedView, changing all the other icons over while we're at it. * Update snapshots * Fix responsive mode * Missed one * truthy-check the whole block * Use asset imports * Update snapshots
This commit is contained in:
parent
5519b81af9
commit
6ca4f670bf
10 changed files with 177 additions and 102 deletions
|
@ -136,6 +136,12 @@ limitations under the License.
|
|||
transition:
|
||||
color 0.1s,
|
||||
background-color 0.1s;
|
||||
|
||||
svg {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-right: var(--cpd-space-3x);
|
||||
}
|
||||
}
|
||||
|
||||
.mx_TabbedView_maskedIcon {
|
||||
|
@ -184,6 +190,10 @@ limitations under the License.
|
|||
}
|
||||
.mx_TabbedView_tabLabel {
|
||||
padding-inline: 0 0;
|
||||
justify-content: center;
|
||||
svg {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,54 +30,3 @@ limitations under the License.
|
|||
font: var(--cpd-font-heading-md-semibold);
|
||||
}
|
||||
}
|
||||
|
||||
/* ICONS */
|
||||
/* ========================================================== */
|
||||
|
||||
.mx_UserSettingsDialog_settingsIcon::before {
|
||||
mask-image: url("$(res)/img/element-icons/settings.svg");
|
||||
}
|
||||
|
||||
.mx_UserSettingsDialog_appearanceIcon::before {
|
||||
mask-image: url("$(res)/img/element-icons/settings/appearance.svg");
|
||||
}
|
||||
|
||||
.mx_UserSettingsDialog_voiceIcon::before {
|
||||
mask-image: url("$(res)/img/element-icons/call/voice-call.svg");
|
||||
}
|
||||
|
||||
.mx_UserSettingsDialog_bellIcon::before {
|
||||
mask-image: url("$(res)/img/element-icons/notifications.svg");
|
||||
}
|
||||
|
||||
.mx_UserSettingsDialog_preferencesIcon::before {
|
||||
mask-image: url("$(res)/img/element-icons/settings/preference.svg");
|
||||
}
|
||||
|
||||
.mx_UserSettingsDialog_keyboardIcon::before {
|
||||
mask-image: url("$(res)/img/element-icons/settings/keyboard.svg");
|
||||
}
|
||||
|
||||
.mx_UserSettingsDialog_sidebarIcon::before {
|
||||
mask-image: url("$(res)/img/element-icons/settings/sidebar.svg");
|
||||
}
|
||||
|
||||
.mx_UserSettingsDialog_securityIcon::before {
|
||||
mask-image: url("$(res)/img/element-icons/security.svg");
|
||||
}
|
||||
|
||||
.mx_UserSettingsDialog_sessionsIcon::before {
|
||||
mask-image: url("$(res)/img/element-icons/settings/devices.svg");
|
||||
}
|
||||
|
||||
.mx_UserSettingsDialog_helpIcon::before {
|
||||
mask-image: url("$(res)/img/element-icons/settings/help.svg");
|
||||
}
|
||||
|
||||
.mx_UserSettingsDialog_labsIcon::before {
|
||||
mask-image: url("$(res)/img/element-icons/settings/flask.svg");
|
||||
}
|
||||
|
||||
.mx_UserSettingsDialog_mjolnirIcon::before {
|
||||
mask-image: url("$(res)/img/element-icons/room/composer/emoji.svg");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue