WebCabin / wcDocker

wcDocker (Web Cabin Docker) is a powerful window layout system with a responsive and completely interactive design. Move, remove, create, and duplicate panel windows at any time! Organize how you wish! View the demo here:
http://docker.webcabin.org
146 stars 53 forks source link

elements in css should better be namespaced #101

Open lomotelsch opened 8 years ago

lomotelsch commented 8 years ago

He Jeff,

I saw, that in your css, some styles are applied globally to some elements:

wcDocker.css 496: .fa-menu 501: .context-menu-submenu:after 621: .fa-pulse

Themes/default.css 156-173: .context-menu-* 196: input 201: select 205-232: button

With maintenance and scalibilty in mind, it would be nice to see these namespaced/wrapped with a .wcDocker-class or something, to bypass the need to edit your stylesheets or override these elements in my own stylesheet, since they are globally applied.

The html and body styles in line 18 also are very global and from my point of view they should only be mentioned in the tutorial-section instead of hardcoding them into the base css.

These are just some thoughts on how to bring more flexibilty into wcDocker...