Ensure Kiwix icon is rendered correctly

Former-commit-id: 692c89fb6a88f76590d5774e99049eb8fee9065b [formerly 224b8954c6123ff234192f5492ca91d0ab4408da]
Former-commit-id: 47256528b0132a979558fff0c07bedb81fa0d456
This commit is contained in:
Jaifroid 2017-08-03 12:30:06 +01:00
parent d8c132c06c
commit 6f30761378
3 changed files with 6 additions and 6 deletions

View File

@ -32,7 +32,7 @@
<AppXManifest Include="C:\Users\geoff\Source\Repos\kiwix-js-windows\bin\Release\AppxManifest.xml">
<PackagePath>AppxManifest.xml</PackagePath>
<ReRegisterAppIfChanged>true</ReRegisterAppIfChanged>
<Modified>2017-08-02T21:47:27.355</Modified>
<Modified>2017-08-03T06:44:44.458</Modified>
</AppXManifest>
</ItemGroup>
<ItemGroup>
@ -371,7 +371,7 @@
</AppxPackagedFile>
<AppxPackagedFile Include="C:\Users\geoff\Source\Repos\kiwix-js-windows\www\-\s\style-dark.css">
<PackagePath>www\-\s\style-dark.css</PackagePath>
<Modified>2017-08-02T21:47:09.941</Modified>
<Modified>2017-08-03T06:44:19.647</Modified>
</AppxPackagedFile>
<AppxPackagedFile Include="C:\Users\geoff\Source\Repos\kiwix-js-windows\www\-\s\style-mobile.css">
<PackagePath>www\-\s\style-mobile.css</PackagePath>

View File

@ -174,7 +174,7 @@ td[style*="background:#F2F2F2"], table.wikitable > tbody > tr[style*="background
}
/* add a white background to transparent images; see
* https://forum.userstyles.org/discussion/48549/x */
img[data-kiwixsrc$=".svg"], img[data-kiwixsrc*="transparent"], a.image img, a[href*=".svg"] img {
img[data-kiwixsrc$=".svg"], a.image img, a[href*=".svg"] img {
background: #ddd !important;
}
@ -326,7 +326,7 @@ td[style*="border-bottom"] {
/*** invert images ***/
img[title="Wikipedia"], .bookshelf-container .bookend, img.mwe-math-fallback-image-inline,
#mw-wsmfinal-close, img[src*="Speaker_Icon"], .infobox img[alt*="structure"][src*=".svg"], img[src*=".png"]:active,
img[src*=".svg"][height="16"], img[src*=".svg"][height="17"], img[src*=".svg"][height="18"],
img[src*=".svg"][height="16"], img[src*=".svg"][height="17"], img[src*=".svg"][height="18"], img[data-kiwixsrc*="Kiwix"],
.oo-ui-iconElement-icon:not(.mw-echo-notifications-badge), .RTsettings, #gtx-host, .jfk-bubble-closebtn,
#pt-notifications-notice .mw-echo-notifications-badge:before, .oo-ui-pendingElement-pending,
#pt-notifications-alert .mw-echo-notifications-badge:before {

View File

@ -174,7 +174,7 @@ td[style*="background:#F2F2F2"], table.wikitable > tbody > tr[style*="background
}
/* add a white background to transparent images; see
* https://forum.userstyles.org/discussion/48549/x */
img[data-kiwixsrc$=".svg"], img[data-kiwixsrc*="transparent"], a.image img, a[href*=".svg"] img {
img[data-kiwixsrc$=".svg"], img[data-kiwixsrc*="Kiwix_logo"], a.image img, a[href*=".svg"] img {
background: #ddd !important;
}
@ -326,7 +326,7 @@ td[style*="border-bottom"] {
/*** invert images ***/
img[title="Wikipedia"], .bookshelf-container .bookend, img.mwe-math-fallback-image-inline,
#mw-wsmfinal-close, img[src*="Speaker_Icon"], .infobox img[alt*="structure"][src*=".svg"], img[src*=".png"]:active,
img[src*=".svg"][height="16"], img[src*=".svg"][height="17"], img[src*=".svg"][height="18"],
img[src*=".svg"][height="16"], img[src*=".svg"][height="17"], img[src*=".svg"][height="18"], img[data-kiwixsrc*="Kiwix_icon"],
.oo-ui-iconElement-icon:not(.mw-echo-notifications-badge), .RTsettings, #gtx-host, .jfk-bubble-closebtn,
#pt-notifications-notice .mw-echo-notifications-badge:before, .oo-ui-pendingElement-pending,
#pt-notifications-alert .mw-echo-notifications-badge:before {