Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit f5d7989

Browse files
authored
Remove some obsolete CSS rules (#10754)
* Remove `mx_MImageReplyBody_info` from `_MImageReplyBody.pcss` Edited by 866a11d Deprecated by 6b3098d Signed-off-by: Suguru Hirahara <[email protected]> * Remove `mx_WidgetCard_maxPinnedTooltip` from `_WidgetCard.pcss` Added by ef0843d Deprecated by ada6d1a Signed-off-by: Suguru Hirahara <[email protected]> * Remove `mx_AliasSettings_editable` from `_AliasSettings.pcss` Added by eac50aa Deprecated by 2903a0e Signed-off-by: Suguru Hirahara <[email protected]> * Remove `mx_AliasSettings_localAliasHeader` from `_AliasSettings.pcss` Added by 3253d0b Deprecated by 2e3f225 Signed-off-by: Suguru Hirahara <[email protected]> * Remove `mx_RoomList_explorePrompt` from `_RoomList.pcss` Added by e20b375 Deprecated by 328d7ea Signed-off-by: Suguru Hirahara <[email protected]> * Remove `mx_Stickers_hideStickers` from `_Stickers.pcss` Added by 79d3cca Deprecated by 31b3b2e Signed-off-by: Suguru Hirahara <[email protected]> --------- Signed-off-by: Suguru Hirahara <[email protected]>
1 parent af3a0e3 commit f5d7989

File tree

5 files changed

+1
-84
lines changed

5 files changed

+1
-84
lines changed

res/css/views/messages/_MImageReplyBody.pcss

+1-16
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,8 @@ limitations under the License.
1818
display: flex;
1919
column-gap: $spacing-4;
2020

21-
.mx_MImageBody_thumbnail_container,
22-
.mx_MImageReplyBody_info {
21+
.mx_MImageBody_thumbnail_container {
2322
flex: 1;
2423
min-width: 0; /* Prevent a blowout */
2524
}
26-
27-
.mx_MImageReplyBody_info {
28-
.mx_MImageReplyBody_sender {
29-
grid-area: sender;
30-
31-
.mx_DisambiguatedProfile {
32-
max-width: 100%;
33-
}
34-
}
35-
36-
.mx_MImageReplyBody_filename {
37-
grid-area: filename;
38-
}
39-
}
4025
}

res/css/views/right_panel/_WidgetCard.pcss

-5
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,3 @@ limitations under the License.
2222
border: 0;
2323
}
2424
}
25-
26-
.mx_WidgetCard_maxPinnedTooltip {
27-
background-color: $alert;
28-
color: #ffffff;
29-
}

res/css/views/room_settings/_AliasSettings.pcss

-13
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,6 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
.mx_AliasSettings_editable {
18-
border: 0px;
19-
border-bottom: 1px solid $strong-input-border-color;
20-
padding: 0px;
21-
min-width: 240px;
22-
}
23-
24-
.mx_AliasSettings_editable:focus {
25-
border-bottom: 1px solid $accent;
26-
outline: none;
27-
box-shadow: none;
28-
}
29-
3017
.mx_AliasSettings_localAddresses {
3118
cursor: pointer;
3219
color: $accent;

res/css/views/rooms/_RoomList.pcss

-46
Original file line numberDiff line numberDiff line change
@@ -42,49 +42,3 @@ limitations under the License.
4242
.mx_RoomList_iconInvite::before {
4343
mask-image: url("$(res)/img/element-icons/room/share.svg");
4444
}
45-
46-
.mx_RoomList_explorePrompt {
47-
margin: 4px 12px 4px;
48-
padding-top: 12px;
49-
border-top: 1px solid $input-border-color;
50-
font-size: $font-14px;
51-
52-
div:first-child {
53-
font-weight: var(--font-semi-bold);
54-
line-height: $font-18px;
55-
color: $primary-content;
56-
}
57-
58-
.mx_AccessibleButton {
59-
color: $primary-content;
60-
position: relative;
61-
padding: 8px 8px 8px 32px;
62-
font-size: inherit;
63-
margin-top: 12px;
64-
display: block;
65-
text-align: start;
66-
background-color: $panel-actions;
67-
border-radius: 4px;
68-
69-
&::before {
70-
content: "";
71-
width: 16px;
72-
height: 16px;
73-
position: absolute;
74-
top: 8px;
75-
left: 8px;
76-
background: $secondary-content;
77-
mask-position: center;
78-
mask-size: contain;
79-
mask-repeat: no-repeat;
80-
}
81-
82-
&.mx_RoomList_explorePrompt_startChat::before {
83-
mask-image: url("$(res)/img/element-icons/feedback.svg");
84-
}
85-
86-
&.mx_RoomList_explorePrompt_explore::before {
87-
mask-image: url("$(res)/img/element-icons/roomlist/explore.svg");
88-
}
89-
}
90-
}

res/css/views/rooms/_Stickers.pcss

-4
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,3 @@
4444
cursor: pointer;
4545
color: $accent;
4646
}
47-
48-
.mx_Stickers_hideStickers {
49-
z-index: 2001;
50-
}

0 commit comments

Comments
 (0)