Remove some obsolete CSS rules (#10754)

* Remove `mx_MImageReplyBody_info` from `_MImageReplyBody.pcss`

Edited by 866a11d7e3
Deprecated by 6b3098d8fe

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove `mx_WidgetCard_maxPinnedTooltip` from `_WidgetCard.pcss`

Added by ef0843d4ad
Deprecated by ada6d1aa46

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove `mx_AliasSettings_editable` from `_AliasSettings.pcss`

Added by eac50aa800
Deprecated by 2903a0e712

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove `mx_AliasSettings_localAliasHeader` from `_AliasSettings.pcss`

Added by 3253d0b93d
Deprecated by 2e3f225520

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove `mx_RoomList_explorePrompt` from `_RoomList.pcss`

Added by e20b375433
Deprecated by 328d7ea5eb

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove `mx_Stickers_hideStickers` from `_Stickers.pcss`

Added by 79d3cca6e9
Deprecated by 31b3b2e2ed

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

---------

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
Suguru Hirahara 2023-05-03 13:26:10 +00:00 committed by GitHub
parent af3a0e3d59
commit f5d79897d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 1 additions and 84 deletions

View file

@ -18,23 +18,8 @@ limitations under the License.
display: flex;
column-gap: $spacing-4;
.mx_MImageBody_thumbnail_container,
.mx_MImageReplyBody_info {
.mx_MImageBody_thumbnail_container {
flex: 1;
min-width: 0; /* Prevent a blowout */
}
.mx_MImageReplyBody_info {
.mx_MImageReplyBody_sender {
grid-area: sender;
.mx_DisambiguatedProfile {
max-width: 100%;
}
}
.mx_MImageReplyBody_filename {
grid-area: filename;
}
}
}

View file

@ -22,8 +22,3 @@ limitations under the License.
border: 0;
}
}
.mx_WidgetCard_maxPinnedTooltip {
background-color: $alert;
color: #ffffff;
}

View file

@ -14,19 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
.mx_AliasSettings_editable {
border: 0px;
border-bottom: 1px solid $strong-input-border-color;
padding: 0px;
min-width: 240px;
}
.mx_AliasSettings_editable:focus {
border-bottom: 1px solid $accent;
outline: none;
box-shadow: none;
}
.mx_AliasSettings_localAddresses {
cursor: pointer;
color: $accent;

View file

@ -42,49 +42,3 @@ limitations under the License.
.mx_RoomList_iconInvite::before {
mask-image: url("$(res)/img/element-icons/room/share.svg");
}
.mx_RoomList_explorePrompt {
margin: 4px 12px 4px;
padding-top: 12px;
border-top: 1px solid $input-border-color;
font-size: $font-14px;
div:first-child {
font-weight: var(--font-semi-bold);
line-height: $font-18px;
color: $primary-content;
}
.mx_AccessibleButton {
color: $primary-content;
position: relative;
padding: 8px 8px 8px 32px;
font-size: inherit;
margin-top: 12px;
display: block;
text-align: start;
background-color: $panel-actions;
border-radius: 4px;
&::before {
content: "";
width: 16px;
height: 16px;
position: absolute;
top: 8px;
left: 8px;
background: $secondary-content;
mask-position: center;
mask-size: contain;
mask-repeat: no-repeat;
}
&.mx_RoomList_explorePrompt_startChat::before {
mask-image: url("$(res)/img/element-icons/feedback.svg");
}
&.mx_RoomList_explorePrompt_explore::before {
mask-image: url("$(res)/img/element-icons/roomlist/explore.svg");
}
}
}

View file

@ -44,7 +44,3 @@
cursor: pointer;
color: $accent;
}
.mx_Stickers_hideStickers {
z-index: 2001;
}