Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Make Anchor templates less logo-specific #1469

Closed
wants to merge 2 commits into from

3 participants

@neoascetic

No description provided.

@digi604
Collaborator

What is the reason for this pull request?
And why the heck does travis fail? mmmh really strange indeed.

@neoascetic

For now, Toolbar API isn't documented, but when I tried to custumize it I found that template for Anchor item contains css class used only by default toolbar's Logo, which isn't good IMO.

I do not know what with Travis :)

@neoascetic neoascetic closed this
@coveralls

Coverage Status

Changes Unknown when pulling 01e3a4f on neoascetic:toolbar_anchor_fix into ** on divio:develop**.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 10, 2012
  1. @neoascetic
Commits on Oct 12, 2012
  1. @neoascetic
This page is out of date. Refresh to see the latest.
View
6 cms/static/cms/css/plugins/cms.toolbar.css
@@ -62,9 +62,9 @@
/* #TOOLBAR/items/logo# */
.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; }
-.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# */
#cms_toolbar-item_login label { float:left; cursor:pointer; padding:4px 10px 0 0; width: auto; }
@@ -137,4 +137,4 @@
background-image: url('../../images/toolbar/sprite_toolbar-ie.png');
}
*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; }
View
14 cms/templates/cms/toolbar/items/anchor.html
@@ -1,8 +1,8 @@
<div id="cms_toolbar-item_anchor" class="cms_toolbar-item">
- <a href="[url]" class="cms_toolbar-item_logo-link cms_toolbar-link_left">
- <span class="cms_toolbar-link_right">
- <span class="cms_toolbar_icon toolbar_icon-prefix">&nbsp;</span>
- <span class="cms_toolbar_title">&nbsp;[title]</span>
- </span>
- </a>
-</div>
+ <a href="[url]" class="cms_toolbar-link_left">
+ <span class="cms_toolbar-link_right">
+ <span class="cms_toolbar_icon toolbar_icon-prefix">&nbsp;</span>
+ <span class="cms_toolbar_title">&nbsp;[title]</span>
+ </span>
+ </a>
+</div>
Something went wrong with that request. Please try again.