ozonos / atom-dock

Custom Dock for Ozon Desktop
GNU General Public License v3.0
72 stars 13 forks source link

Implement Pseudo Class for Dock, increase animation time for snappier reaction #7

Closed cldx closed 10 years ago

cldx commented 10 years ago

This goes hand in hand with the latest Ozon Shell Theme, this will not affect User Themes unless they are adapting our new #dash:overview pseudo-class, if the User Theme doesn't have it, it just falls back to using the standard #dash class provided in the theme for Desktop Vies as well as for Overview. This reduces hacking into CSS from the extension.

Vice-versa, Ozon Shell Theme will no break stuff if you don't use Atom Dock, since the Gnome Dash never calls for a #dash:overview class it will simpy be ignored.

Theme Maintainers are encouraged (but not enforced) to support this pseudo-class for Atom Dock by simply adding something like:

dash:overview{ /* style as seen fit */}

to their Theme.

ndyakov commented 10 years ago

Code looks fine :+1:

me4oslav commented 10 years ago

Tested this on 3.10 and 3.12 both. It work like a charm. The code is also approved by @ndyakov so, I am merging this.