Development

#8186 ([PATCH] CSS rules in default.css is highest available priority)

You must first sign up to be able to contribute.

Ticket #8186 (new enhancement)

Opened 3 years ago

Last modified 3 years ago

[PATCH] CSS rules in default.css is highest available priority

Reported by: everzet Assigned to: fabien
Priority: major Milestone:
Component: generator Version: 1.4.1
Keywords: default css priority generator Cc:
Qualification: Unreviewed

Description

Default style of admin generator uses root element with id sf_admin_container (#sf_admin_container). Style rules with id in selector is higher priority of other. So, when you try to add tinyMCE/CKEditor/MarkItUp or other rich-styled component into admin form - styles from default.css overlaps styles of component, because "#sf_admin_container ul li a" is higher than ".markitup .markitupButton a". I suggest to add "class='sf_admin_container'" into container div (with saved "id='sf_admin_container'" for backward-compat) & change all #sf_admin_container calls in default.css to .sf_admin_container.

Patch in attach...

Attachments

sf_admin_container_patch.diff (11.3 kB) - added by everzet on 01/26/10 18:02:49.
Ticket patch

Change History

01/26/10 18:02:49 changed by everzet

  • attachment sf_admin_container_patch.diff added.

Ticket patch

02/02/10 13:32:43 changed by everzet

  • priority changed from minor to major.
  • type changed from defect to enhancement.