From 37b9ae3ed8f4175d1edd50d1388e2039ee51e8d8 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Thu, 16 Nov 2023 10:43:10 +0000 Subject: [PATCH] Remove unused CSS classes. * user-button removed in I55c18cf72. * mw-notifications-widget removed in I34e27364. Change-Id: I802be3c15fd3d09f72094fc36e101ad38864ef41 --- modules/mobile/overlay.less | 15 --------------- modules/nojs/mw.echo.notifications.less | 4 ---- .../mw.echo.ui.NotificationsListWidget.less | 4 ---- 3 files changed, 23 deletions(-) diff --git a/modules/mobile/overlay.less b/modules/mobile/overlay.less index 563bdc69e..e94ea6fa8 100644 --- a/modules/mobile/overlay.less +++ b/modules/mobile/overlay.less @@ -52,24 +52,9 @@ top: @overlayHeaderHeight; bottom: @overlayHeaderHeight; - .mw-echo-ui-notificationsWidget { - top: @overlayHeaderHeight; - height: 100%; - } - .mw-echo-ui-notificationsListWidget > .mw-echo-ui-notificationItemWidget { border-left: 0; border-right: 0; } } - - /* stylelint-disable-next-line selector-class-pattern */ - .user-button { - position: absolute; - right: 0; - top: 0; - padding-right: 0; - // Should correspond to @z-indexOverOverlay in MobileFrontend - z-index: 2; - } } diff --git a/modules/nojs/mw.echo.notifications.less b/modules/nojs/mw.echo.notifications.less index 8960da139..98e99e14f 100644 --- a/modules/nojs/mw.echo.notifications.less +++ b/modules/nojs/mw.echo.notifications.less @@ -43,10 +43,6 @@ } } - .mw-echo-notifications { - background-color: @notification-background-read; - } - .mw-echo-content { overflow: hidden; display: block; diff --git a/modules/styles/mw.echo.ui.NotificationsListWidget.less b/modules/styles/mw.echo.ui.NotificationsListWidget.less index 22a8958df..613e3af3e 100644 --- a/modules/styles/mw.echo.ui.NotificationsListWidget.less +++ b/modules/styles/mw.echo.ui.NotificationsListWidget.less @@ -2,10 +2,6 @@ @import '../echo.variables.less'; .mw-echo-ui-notificationsListWidget { - .mw-echo-ui-notificationsListWidget-bundle & { - padding: 0; - } - > .mw-echo-ui-notificationItemWidget:first-child { border-top: 0; }