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

Remove some obsolete CSS rules #10754

Merged
merged 8 commits into from
May 3, 2023
17 changes: 1 addition & 16 deletions res/css/views/messages/_MImageReplyBody.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
5 changes: 0 additions & 5 deletions res/css/views/right_panel/_WidgetCard.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,3 @@ limitations under the License.
border: 0;
}
}

.mx_WidgetCard_maxPinnedTooltip {
background-color: $alert;
color: #ffffff;
}
17 changes: 0 additions & 17 deletions res/css/views/room_settings/_AliasSettings.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
summary {
cursor: pointer;
Expand All @@ -39,8 +26,4 @@ limitations under the License.
display: none;
}
}

.mx_AliasSettings_localAliasHeader {
margin-top: 35px;
}
}
46 changes: 0 additions & 46 deletions res/css/views/rooms/_RoomList.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}
}
4 changes: 0 additions & 4 deletions res/css/views/rooms/_Stickers.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,3 @@
cursor: pointer;
color: $accent;
}

.mx_Stickers_hideStickers {
z-index: 2001;
}