Skip to content

Commit d5b47e5

Browse files
author
Pascal Alferink
committed
breadcrumbs update: rename class-names and variable
1 parent a8fd3e8 commit d5b47e5

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

scss/variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,4 @@ $font-size-default: 1.6rem;
120120
$line-height-default: 1.5;
121121

122122

123-
$castlecss-breadcrumbs-separator: '\00bb';
123+
$breadcrumbs-separator: '\00bb';

views/breadcrumbs.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
<h1>Breadcrumbs</h1>
88
<p class="intro">Make sure your visitors never get lost</p>
99
<p class="alert">
10-
Note: You need castlecss-breadcrumbs or the full package of CastleCSS for this.
10+
Note: You need breadcrumbs or the full package of CastleCSS for this.
1111
</p>
1212
<p>Feel free to use these breadcrumbs to get you started. Create your own breadcrumbs.scss to overwrite the standard breadcrumbs or edit your <a href="variables.html">variables document</a> for different colors/styles.</p>
1313
</div>
1414

1515
<div class="block p" style="background: #eee;">
1616

17-
<nav class="castlecss-breadcrumbs">
17+
<nav class="breadcrumbs">
1818
<ol class="breadcrumbs-wrap" itemtype="http://schema.org/BreadcrumbList">
1919
<li class="breadcrumb breadcrumb-home" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
2020
<a href="/" itemprop="item"><span itemprop="name">Home</span></a>
@@ -37,7 +37,7 @@ <h1>Breadcrumbs</h1>
3737
</div>
3838

3939
<pre class="brush: xml;">
40-
<nav class="castlecss-breadcrumbs">
40+
<nav class="breadcrumbs">
4141
<ol class="breadcrumbs-wrap" itemtype="http://schema.org/BreadcrumbList">
4242
<li class="breadcrumb breadcrumb-home" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
4343
<a href="/" itemprop="item"><span itemprop="name">Home</span></a>
@@ -62,20 +62,20 @@ <h2>Options</h2>
6262
<h3>Changing the breadcrumb separator</h3>
6363
<p>
6464
The default separator between the breadcrumbs is the double arrow <code>&raquo;</code>. <br />
65-
If you want a different character as your separator for all crumbs, please overwrite the variable <code>$castlecss-breadcrumbs-separator</code>.
65+
If you want a different character as your separator for all crumbs, please overwrite the variable <code>$breadcrumbs-separator</code>.
6666
</p>
6767
<p>
68-
If you want a different charactor for a specific separator, please add the attribute <code>data-castlecss-breadcrumbs-separator</code> and give it the vaule of your separator.
68+
If you want a different charactor for a specific separator, please add the attribute <code>data-breadcrumbs-separator</code> and give it the vaule of your separator.
6969
</p>
7070
<p>
71-
<strong>Example:</strong> <code>data-castlecss-breadcrumbs-separator="/"</code> sets a / as separator
71+
<strong>Example:</strong> <code>data-breadcrumbs-separator="/"</code> sets a / as separator
7272
</p>
7373
</div>
7474

7575
<div class="block p" style="background: #eee;">
76-
<nav class="castlecss-breadcrumbs">
76+
<nav class="breadcrumbs">
7777
<ol class="breadcrumbs-wrap" itemtype="http://schema.org/BreadcrumbList">
78-
<li class="breadcrumb breadcrumb-home" data-castlecss-breadcrumbs-separator="/" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
78+
<li class="breadcrumb breadcrumb-home" data-breadcrumbs-separator="/" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
7979
<a href="/" itemprop="item"><span itemprop="name">Home</span></a>
8080
</li>
8181
<li class="breadcrumb breadcrumb-current" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
@@ -86,9 +86,9 @@ <h3>Changing the breadcrumb separator</h3>
8686

8787
</div>
8888
<pre class="brush: xml;">
89-
<nav class="castlecss-breadcrumbs">
89+
<nav class="breadcrumbs">
9090
<ol class="breadcrumbs-wrap" itemtype="http://schema.org/BreadcrumbList">
91-
<li class="breadcrumb breadcrumb-home" data-castlecss-breadcrumbs-separator="/" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
91+
<li class="breadcrumb breadcrumb-home" data-breadcrumbs-separator="/" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
9292
<a href="/" itemprop="item"><span itemprop="name">Home</span></a>
9393
</li>
9494
<li class="breadcrumb breadcrumb-current" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">

0 commit comments

Comments
 (0)