Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #40843, comment 4


Ignore:
Timestamp:
09/18/2017 08:42:30 AM (7 years ago)
Author:
xkon
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40843, comment 4

    initial v1  
    1 '''40843.diff''' skips the `me-js` buttons from applying the custom background colors.
     1'''40843.diff''' skips the `me-js` play button from applying the custom background colors.
    22
    33Further information: As the button background is .svg based, by adding a custom color through an extra .css or Customizr was resulting on overwriting the .svg element. That being said there's no way to target the `me-js` specific .svg as installations are different on every WordPress. This patch uses a simple trick with `:not()` to 'skip' the `me-js` buttons while selecting new colors.
     
    66
    77Concerning browser support on `not()`: https://www.w3schools.com/cssref/sel_not.asp
     8
     9
     10-----
     11
     12'''40843.2.diff''' skips all buttons of the `.mejs-container`.