mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 07:54:13 +00:00
Merge "Use updated bell/tray icons from OOUI 0.26"
This commit is contained in:
commit
05e42c6a6a
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<title>
|
||||
bell
|
||||
</title>
|
||||
<path d="M17.5 14V9c0-3-2.3-5-5.5-5S6.5 6 6.5 9v5c0 2 0 3-2 3v1h15v-1c-2 0-2-1-2-3zM12 20H9c0 1 1.6 2 3 2s3-1 3-2h-3z"/>
|
||||
<path d="M16 7a5.38 5.38 0 0 0-4.46-4.85C11.6 1.46 11.53 0 10 0S8.4 1.46 8.46 2.15A5.38 5.38 0 0 0 4 7v6l-2 2v1h16v-1l-2-2zm-6 13a3 3 0 0 0 3-3H7a3 3 0 0 0 3 3z"/>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 281 B After Width: | Height: | Size: 321 B |
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
||||
<title>
|
||||
tray
|
||||
</title>
|
||||
<path d="M3 13.35l1.8-7.2c.2-.996.81-1.8 1.8-1.8h10.8c.99 0 1.6.867 1.8 1.8l1.8 7.2v4.5c0 .99-.81 1.8-1.8 1.8H4.8c-.99 0-1.8-.81-1.8-1.8v-4.5zm6.96 1.8h4.08c-.49.557-1.212.9-2.04.9a2.68 2.68 0 0 1-2.04-.9h4.08c.414-.472.66-1.098.66-1.8h4.14l-1.44-7.2H6.6l-1.44 7.2H9.3c0 .702.246 1.328.66 1.8z"/>
|
||||
<path d="M17 1H3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2zm0 12h-4l-1 2H8l-1-2H3V3h14z"/>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 457 B After Width: | Height: | Size: 270 B |
|
@ -8,8 +8,9 @@
|
|||
#pt-notifications-notice & {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
padding: 0 2px;
|
||||
// Hide the text, but keep accessible for screen-readers
|
||||
// Later we put the icons back onscreen with an opposite offset
|
||||
top: -@badge-offscreen-offset - 5px;
|
||||
|
|
|
@ -16,6 +16,5 @@
|
|||
|
||||
#p-personal #pt-notifications-alert,
|
||||
#p-personal #pt-notifications-notice {
|
||||
margin-top: 0.3em;
|
||||
margin-right: 0.4em;
|
||||
}
|
||||
|
|
|
@ -11,16 +11,17 @@
|
|||
border-bottom: 1px solid #c8ccd1;
|
||||
|
||||
> .oo-ui-iconWidget {
|
||||
/* ( 3.5 - 1.875 ) / 2 = 0.8125 */
|
||||
margin: 0.8125em 0 0.8125em 1em;
|
||||
/* ( 3.5 - 1.428571 ) / 2 = 1.03571 */
|
||||
margin: 1.03571em 0 1.03571em 1em;
|
||||
float: left;
|
||||
opacity: @opacity-mid;
|
||||
}
|
||||
|
||||
> .oo-ui-labelElement-label {
|
||||
font-size: 1.2em;
|
||||
padding: 0.25em;
|
||||
margin-left: 0;
|
||||
padding: 0 0.25em;
|
||||
margin: 0;
|
||||
line-height: 2.91667em; /* 3.5/1.2 */
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue