skounis / mt-countdown

Display a custom block with a Countdown function for Announcements, such as time-limited offers or upcoming releases in a Drupal 8 website. Drupal 8 module
0 stars 1 forks source link

Provide the option to activate either the block or the inject #34

Closed skounis closed 6 years ago

skounis commented 6 years ago

We should adjust our code and do not Inject the HTML markup in the body of the front page always.

We should add a checkbox in the Configuration settings of the module. When this option is enabled we should proceed with the injection:

2018-01-17_18-49-09

skounis commented 6 years ago

@a4dyakonov

When I check out the branch, these changes are pushed, the background color of the area becomes black. Please see

That's not the behavior we have in the master branch

It seems that after the changes the "Theme" selection for the option is not taken into account and the Custom colors are used

Could you please check why is that happening?

skounis commented 6 years ago

@a4dyakonov It seems that the predefined colors are not working as well

a4dyakonov commented 6 years ago

@skounis I've fixed some color settings in the mt_countdown.settings.yml file. http://joxi.net/5mddKPyFkyPG9m Unfortunately, the Drupal field "color" doesn't work with RGBA color format that why Drupal converts the 'rgba(0,0,0,0.6)' value to the '#000000' All changes were added to the PR.