Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Anchor templates less logo-specific #1469

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cms/static/cms/css/plugins/cms.toolbar.css
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@


/* #TOOLBAR/items/logo# */ /* #TOOLBAR/items/logo# */
.cms_toolbar-item_logo { padding-right:5px !important; } .cms_toolbar-item_logo { padding-right:5px !important; }
.cms_toolbar-item_logo .cms_toolbar-item_logo-link { float:left; cursor:pointer; text-indent:-1000px; overflow:hidden; .cms_toolbar-item_logo .cms_toolbar-link_left { float:left; cursor:pointer; text-indent:-1000px; overflow:hidden;
width:105px; height:42px; background:url('../../images/toolbar/sprite_toolbar.png') no-repeat left top; } width:105px; height:42px; background:url('../../images/toolbar/sprite_toolbar.png') no-repeat left top; }
.cms_toolbar-item_logo .cms_toolbar-item_logo-link:hover { background-position:-120px top; } .cms_toolbar-item_logo .cms_toolbar-link_left:hover { background-position:-120px top; }


/* #TOOLBAR/items/login# */ /* #TOOLBAR/items/login# */
#cms_toolbar-item_login label { float:left; cursor:pointer; padding:4px 10px 0 0; width: auto; } #cms_toolbar-item_login label { float:left; cursor:pointer; padding:4px 10px 0 0; width: auto; }
Expand Down Expand Up @@ -137,4 +137,4 @@
background-image: url('../../images/toolbar/sprite_toolbar-ie.png'); background-image: url('../../images/toolbar/sprite_toolbar-ie.png');
} }
*html #cms_toolbar-toggle .cms_toolbar_icon-toggle { width:12px; } *html #cms_toolbar-toggle .cms_toolbar_icon-toggle { width:12px; }
*html .cms_toolbar_icon-more { padding-right:6px; } *html .cms_toolbar_icon-more { padding-right:6px; }
14 changes: 7 additions & 7 deletions cms/templates/cms/toolbar/items/anchor.html
Original file line number Original file line Diff line number Diff line change
@@ -1,8 +1,8 @@
<div id="cms_toolbar-item_anchor" class="cms_toolbar-item"> <div id="cms_toolbar-item_anchor" class="cms_toolbar-item">
<a href="[url]" class="cms_toolbar-item_logo-link cms_toolbar-link_left"> <a href="[url]" class="cms_toolbar-link_left">
<span class="cms_toolbar-link_right"> <span class="cms_toolbar-link_right">
<span class="cms_toolbar_icon toolbar_icon-prefix">&nbsp;</span> <span class="cms_toolbar_icon toolbar_icon-prefix">&nbsp;</span>
<span class="cms_toolbar_title">&nbsp;[title]</span> <span class="cms_toolbar_title">&nbsp;[title]</span>
</span> </span>
</a> </a>
</div> </div>