Task #50277

CSS Side Effects

Added by Carsten Bleicker about 2 years ago. Updated 10 months ago.

Status:Closed Start date:2013-07-22
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:-
Target version:-

Description

Client sends me a Template wich has css styles like

a{
text-shadow: -1px -1px 0px #101010, 1px 1px 0px #505050;
}

Styles like this having side effects f.e. on the pagetree.
Maybe its a good advice for the template builder to introduce a rule like:
Always build a wrapper div after the body <div class="myProject"> and prefix all your css with .myProject ...{}
wich should be not a big problem if youre using sass or less.

Or the css of neos has to reset all possible stype informations. but i think you'll never get all of them, right?

Kind regards
Carsten Bleicker

History

#1 Updated by Frans Saris about 2 years ago

Hi,

is it not possible to reset every style in .neos before setting the neos styles?

gr. Frans

#2 Updated by Benjamin Albrecht over 1 year ago

Hi,

I have the same problem with my custom style for links:
My links have a background color and now all links in the Neos "backend" have the same background color...

The UX of the Neos Backend isn't really cool with this side effect ;-)

#3 Updated by Philipp Hanebrink 10 months ago

  • Status changed from New to Closed

Also available in: Atom PDF