Skip to content

Commit ece6b32

Browse files
author
Cornelis G. A. Kolbach
committed
Update patterns
1 parent a0cd9e5 commit ece6b32

File tree

1 file changed

+35
-15
lines changed

1 file changed

+35
-15
lines changed

src/pat/stacks/index.html

Lines changed: 35 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,22 @@
1717
</style>
1818
</head>
1919
<body>
20-
<h3>The stacks pattern can be used to make tabs</h3>
21-
<nav class="tabs">
22-
<a href="#sheet-1" class="current">Tab one</a>
23-
<a href="#sheet-2">Tab two</a> <a href="#sheet-3">Tab three</a>
24-
</nav>
25-
<article class="pat-stacks">
20+
<article class="pat-rich">
21+
<p>The stacks pattern can for instance be used to make tabs. Use your own styling to create various manifestations of this interaction pattern.</p>
22+
</article>
23+
24+
<div class="canvas-toolbar">
25+
<nav class="tabs">
26+
<a href="#sheet-1"
27+
class="small pat-button current">Tab one</a>
28+
<a href="#sheet-2"
29+
class="small pat-button">Tab two</a>
30+
<a href="#sheet-3"
31+
class="small pat-button">Tab three</a>
32+
</nav>
33+
</div>
34+
35+
<article class="pat-stacks pat-rich">
2636
<section id="sheet-1">
2737
<h4>Sheet one</h4>
2838
<p>
@@ -51,15 +61,25 @@ <h4>Sheet three</h4>
5161
</section>
5262
</article>
5363

54-
<p>
55-
Same pattern, but starting with another default tab by setting the
56-
class current on the third tab in the source markup
57-
</p>
58-
<nav class="tabs">
59-
<a href="#sheet-a">Tab one</a> <a href="#sheet-b">Tab two</a>
60-
<a href="#sheet-c" class="current">Tab three</a>
61-
</nav>
62-
<article class="pat-stacks">
64+
<article class="pat-rich">
65+
<p>
66+
Same pattern, but starting with another default tab by setting the
67+
class current on the third tab in the source markup
68+
</p>
69+
</article>
70+
71+
<div class="canvas-toolbar">
72+
<nav class="tabs">
73+
<a href="#sheet-a"
74+
class="small pat-button">Tab one</a>
75+
<a href="#sheet-b"
76+
class="small pat-button">Tab two</a>
77+
<a href="#sheet-c"
78+
class="small pat-button current">Tab three</a>
79+
</nav>
80+
</div>
81+
82+
<article class="pat-stacks pat-rich">
6383
<section id="sheet-a">
6484
<h4>Sheet one</h4>
6585
<p>

0 commit comments

Comments
 (0)