Kaldari has uploaded a new change for review.
https://gerrit.wikimedia.org/r/52204
Change subject: Echo style tweaks per Vibha
......................................................................
Echo style tweaks per Vibha
Change-Id: I4111092e32213b50ccb0e8dee849a2edfb645827
---
M modules/icons/icons.css
M modules/overlay/ext.echo.overlay.css
M modules/overlay/ext.echo.overlay.js
M modules/special/ext.echo.special.css
4 files changed, 21 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo
refs/changes/04/52204/1
diff --git a/modules/icons/icons.css b/modules/icons/icons.css
index 14dd5c7..7a5947b 100644
--- a/modules/icons/icons.css
+++ b/modules/icons/icons.css
@@ -2,7 +2,8 @@
width: 30px;
height: 30px;
float: left;
- margin-right: 15px;
+ margin-right: 10px;
+ margin-left: 10px;
background: no-repeat center left;
}
diff --git a/modules/overlay/ext.echo.overlay.css
b/modules/overlay/ext.echo.overlay.css
index 6634872..adcfe34 100644
--- a/modules/overlay/ext.echo.overlay.css
+++ b/modules/overlay/ext.echo.overlay.css
@@ -30,6 +30,7 @@
}
#p-personal .mw-echo-overlay li.mw-echo-notification {
+ background-color: #F0F0F0;
display: block;
float: none;
border-bottom: 1px solid #DDDDDD;
@@ -39,6 +40,13 @@
font-size: 13px;
line-height: 16px;
}
+#p-personal .mw-echo-overlay li.mw-echo-notification:hover {
+ background-color: #F8F8F8;
+}
+#p-personal .mw-echo-overlay li.mw-echo-notification.mw-echo-unread,
+#p-personal .mw-echo-overlay li.mw-echo-notification.mw-echo-unread:hover {
+ background-color: white;
+}
#p-personal .mw-echo-overlay li.mw-echo-notification:last-child {
border-bottom: none;
}
diff --git a/modules/overlay/ext.echo.overlay.js
b/modules/overlay/ext.echo.overlay.js
index 09c0052..5f1d92b 100644
--- a/modules/overlay/ext.echo.overlay.js
+++ b/modules/overlay/ext.echo.overlay.js
@@ -19,7 +19,7 @@
$( '#pt-notifications > a' )
.text( '' )
.badge( newCount, true, true );
- $( '#pt-notifications .mw-badge' ).css(
'margin-left', '-5px' );
+ $( '#pt-notifications .mw-badge' ).css(
'margin-left', '-6px' );
}
mw.echo.overlay.notification_count = newCount;
diff --git a/modules/special/ext.echo.special.css
b/modules/special/ext.echo.special.css
index 30a1131..2585412 100644
--- a/modules/special/ext.echo.special.css
+++ b/modules/special/ext.echo.special.css
@@ -67,6 +67,16 @@
.mw-echo-notification {
padding: 15px 35px 10px 0;
}
+#mw-echo-special-container .mw-echo-notification {
+ background-color: #F0F0F0;
+}
+#mw-echo-special-container .mw-echo-notification:hover {
+ background-color: #F8F8F8;
+}
+#mw-echo-special-container .mw-echo-notification.mw-echo-unread,
+#mw-echo-special-container .mw-echo-notification.mw-echo-unread:hover {
+ background-color: white;
+}
#mw-echo-special-container .mw-echo-notification .mw-echo-state {
filter: alpha(opacity=50);
opacity: 0.5;
--
To view, visit https://gerrit.wikimedia.org/r/52204
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4111092e32213b50ccb0e8dee849a2edfb645827
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Kaldari <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits