Skip to content

Commit

Permalink
Added active and hover modifiers for navbar links
Browse files Browse the repository at this point in the history
  • Loading branch information
RacingTadpole committed May 24, 2013
1 parent f6e9e14 commit 20296b6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGES.txt
Expand Up @@ -91,3 +91,7 @@ Made button usable in the text plugin
0.4.4
-----
Allowed >, ", ' in some style modifier fields. Remove all <, script and expression.

0.4.5
-----
Added active and hover modifiers for navbar links
2 changes: 2 additions & 0 deletions cmsplugin_rt/style_modifier/models.py
Expand Up @@ -23,6 +23,8 @@ class StyleModifierPluginModel(CMSPlugin):
BOOTSTRAP_CLASSES = (
(".navbar,#navbar", _("navigation bar")),
("#navbar li > a", _("navigation bar links")),
("#navbar .active a", _("navigation bar active links")),
("#navbar a:hover, #navbar a:focus", _("navigation bar hover state")),
(".dropdown-menu", _("dropdown menus")),
("#navbar .dropdown-menu li > a", _("navbar dropdown links")),
(".hero-unit", _("hero")),
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -8,7 +8,7 @@

setup(
name = 'cmsplugin-rt',
version = '0.4.4',
version = '0.4.5',
packages = find_packages(), #'cmsplugin_rt', #find_packages(),
include_package_data = True,
license = 'BSD License', # example license
Expand Down

0 comments on commit 20296b6

Please sign in to comment.