Skip to content

Commit 0e6e4c6

Browse files
authored
Merge pull request #344 from rackerlabs/fix-css-cathysiller1
fix-css-cathysiller1
2 parents 421defd + 226bf87 commit 0e6e4c6

File tree

38 files changed

+101
-119
lines changed

38 files changed

+101
-119
lines changed

docs/_templates/partials/see-also.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<section>
22
<h2 id="see-also">See Also</h2>
3-
<ul>
3+
<ul class="hxList">
44
{% for href,label in page.also %}
55
<li><a href="{{href}}">{{label}}</a></li>
66
{% endfor %}

docs/components/box/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h2 id="containers">Containers</h2>
2020
<p>
2121
Containers can be defined in one of two ways:
2222
</p>
23-
<ol>
23+
<ol class="hxList">
2424
<li>Using an <code>&lt;hx-div&gt;</code> element <em class="hxSubBody">(recommended)</em></li>
2525
<li>Adding the <code>.hxBox</code> CSS class to any block element</li>
2626
</ol>

docs/components/buttons/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h2 id="basic-button">Basic Button</h2>
2121
Define a basic button by adding the <code>.hxBtn</code>
2222
CSS class to any of the following elements:
2323
</p>
24-
<ul>
24+
<ul class="hxList">
2525
<li><code>&lt;button&gt;</code></li>
2626
<li><code>&lt;a href="..."&gt;</code></li>
2727
<li><code>&lt;input type="button"&gt;</code></li>

docs/components/grid/index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<section><!-- rows -->
2222
<h2 id="rows">Rows</h2>
23-
<ul>
23+
<ul class="hxList">
2424
<li>
2525
Rows are containers that allow you to divide their
2626
<em>width</em> amongst their children.
@@ -61,7 +61,7 @@ <h2 id="rows">Rows</h2>
6161

6262
<section><!-- columns -->
6363
<h2 id="columns">Columns</h2>
64-
<ul>
64+
<ul class="hxList">
6565
<li>
6666
Columns are containers that allow you to divide their
6767
<em>height</em> amongst their children.
@@ -118,7 +118,7 @@ <h2 id="column-width">Column Width</h2>
118118
Use the <code>.hxSpan-{N}</code> modifier (1 &le; N &le; 12) to create
119119
columns that are a fraction of a 12-column row width.
120120
</p>
121-
<ul>
121+
<ul class="hxList">
122122
<li><code>.hxSpan-{N}-{size}</code> responsive classes are available.</li>
123123
<li><code>.hxSpan-{N}</code> is shorthand for <code>.hxSpan-{N}-xs</code></li>
124124
</ul>
@@ -195,7 +195,7 @@ <h2 id="column-offset">Column Offset</h2>
195195
You can use the <code>.hxOffset-{N}</code> class (1 &le; N &le; 11)
196196
to offset your column from the start of the row.
197197
</p>
198-
<ul>
198+
<ul class="hxList">
199199
<li>
200200
<code>.hxOffset-{N}-{size}</code> responsive classes are available
201201
</li>
@@ -254,7 +254,7 @@ <h2 id="column-ordering">Column Ordering</h2>
254254
Use the <code>.hxOrder-{N}</code> class (1 &le; N &le; 12) to reorder
255255
your columns.
256256
</p>
257-
<ul>
257+
<ul class="hxList">
258258
<li>
259259
<code>.hxOrder-{N}-{size}</code> responsive classes are available
260260
</li>
@@ -294,7 +294,7 @@ <h2 id="column-ordering">Column Ordering</h2>
294294

295295
<section><!-- responsive options -->
296296
<h2 id="responsive-options">Responsive Options</h2>
297-
<ul>
297+
<ul class="hxList">
298298
<li>All column modifiers support adding an optional breakpoint.</li>
299299
<li>
300300
Omitting the breakpoint will default to <code>xs</code>
@@ -396,7 +396,7 @@ <h2 id="column-wrapping">Column Wrapping</h2>
396396
<p>
397397
The following example should arrange the content into:
398398
</p>
399-
<ul>
399+
<ul class="hxList">
400400
<li>3 columns on small screens</li>
401401
<li>4 columns on medium screens</li>
402402
<li>6 columns on all other sizes</li>
@@ -500,7 +500,7 @@ <h2 id="styling-containers">Styling Containers</h2>
500500
<hx-alert type="warning" status="warning" static>
501501
Do not attempt to style rows or columns directly.
502502
</hx-alert>
503-
<ul>
503+
<ul class="hxList">
504504
<li>Rows have margins set to align the outer columns with surrounding content.</li>
505505
<li>Columns in a row have padding applied to them to simulate gutters.</li>
506506
<li>Wrap your content in a <code>&lt;div&gt;</code> to apply custom CSS.</li>
@@ -560,7 +560,7 @@ <h2 id="styling-containers">Styling Containers</h2>
560560

561561
<section><!-- going gutterless -->
562562
<h2 id="going-gutterless">Going Gutterless</h2>
563-
<ul>
563+
<ul class="hxList">
564564
<li>
565565
Add the <code>.hxGutterless</code> CSS class to your row container
566566
to remove gutters from its immediate children.

docs/components/layouts/horizontal-layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</nav>
3131
<h1>Primary Panel</h1>
3232

33-
<ul>
33+
<ul class="hxList">
3434
<li>
3535
Horizontal layout enables two variable width panels, entitled
3636
"primary" and "secondary", to operate adjacent to one another.

docs/components/layouts/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ <h2 id="prerequisites">Prerequisites</h2>
107107
To get the most out of this documentation, developers are
108108
expected to:
109109
</p>
110-
<ol>
110+
<ol class="hxList">
111111
<li>
112112
Review the instructions in the
113113
<a href="guides/getting-started">Getting Started</a> guide.
@@ -242,7 +242,7 @@ <h2 id="document-body">Document Body</h2>
242242
Add one of the following CSS classes to the <code>&lt;body&gt;</code> element
243243
to begin with pre-defined layout styles.
244244
</p>
245-
<ul>
245+
<ul class="hxList">
246246
<li><code>hxVertical</code> for a vertical layout</li>
247247
<li><code>hxHorizontal</code> for a horizontal layout</li>
248248
</ul>
@@ -254,7 +254,7 @@ <h2 id="app-container">App Container</h2>
254254
The app container serves as the mounting point
255255
for your single-page application.
256256
</p>
257-
<ul>
257+
<ul class="hxList">
258258
<li>It must have an ID of <code>app</code>.</li>
259259
<li>It can be any block element.</li>
260260
</ul>
@@ -295,7 +295,7 @@ <h2 id="stage-area">Stage</h2>
295295
that use virtual DOM technologies (i.e., hyperscript). It can be divided
296296
into three areas:
297297
</p>
298-
<ol>
298+
<ol class="hxList">
299299
<li><a href="#nav-area">Nav</a> (optional)</li>
300300
<li><a href="#main-content">Main Content</a></li>
301301
<li>left or right <a href="#side-rail">Side Rail</a> (optional)</li>
@@ -335,7 +335,7 @@ <h2 id="nav-area">Nav</h2>
335335
<p>
336336
The nav area houses hyperlinks to pages within your application.
337337
</p>
338-
<ul>
338+
<ul class="hxList">
339339
<li>
340340
It must have an ID of <code>nav</code>.
341341
</li>
@@ -363,7 +363,7 @@ <h2 id="main-content">Main Content</h2>
363363
<p>
364364
The main content area houses primary page content.
365365
</p>
366-
<ul>
366+
<ul class="hxList">
367367
<li>
368368
It must have an ID of <code>content</code>.
369369
</li>
@@ -401,7 +401,7 @@ <h2 id="side-rail">Side Rail</h2>
401401
<p>
402402
The side rail houses secondary page content.
403403
</p>
404-
<ul>
404+
<ul class="hxList">
405405
<li>
406406
Use an <code>&lt;aside&gt;</code> element to provide the best support
407407
for accessible user agents.

docs/components/layouts/vertical-layout.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<h1>Main Content</h1>
3131

32-
<ul>
32+
<ul class="hxList">
3333
<li>
3434
Footer will be pushed off viewport by lengthy content.
3535
</li>
@@ -52,7 +52,7 @@ <h1>Main Content</h1>
5252

5353
<aside class="hxSiderail hxBox hxMd">
5454
<h2>Side Rail</h2>
55-
<ul>
55+
<ul class="hxList">
5656
<li>
5757
A side rail may appear before or after main content.
5858
</li>

docs/components/lists/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ <h2 id="unordered-list">Unordered List</h2>
7474
<p class="hxSubBody">Added: v0.10.0</p>
7575
<div class="example">
7676
<div>
77-
<ul>
77+
<ul class="hxList">
7878
<li>List Item 1</li>
7979
<li>
8080
List Item 2 with a bunch of extra text that
@@ -93,7 +93,7 @@ <h2 id="unordered-list">Unordered List</h2>
9393

9494
<footer>
9595
{% code 'html' %}
96-
<ul>
96+
<ul class="hxList">
9797
<li>List Item 1</li>
9898
<li>List Item 2...</li>
9999
<li>List Item 3
@@ -114,7 +114,7 @@ <h2 id="ordered-list">Ordered List</h2>
114114
<p class="hxSubBody">Added: v0.10.0</p>
115115
<div class="example">
116116
<div>
117-
<ol>
117+
<ol class="hxList">
118118
<li>Child Item</li>
119119
<li>Child Item</li>
120120
<li>Child Item
@@ -147,7 +147,7 @@ <h2 id="ordered-list">Ordered List</h2>
147147

148148
<footer>
149149
{% code 'html' %}
150-
<ol>
150+
<ol class="hxList">
151151
...
152152
<li>Child Item
153153
<ol>

docs/components/popovers/test.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ <h2>Unconventional HTML5-compatible ID</h2>
105105

106106
<section id="popover-in-scrolling-container" class="test">
107107
<h2>Within Scrollable Container</h2>
108-
<ul>
108+
<ul class="hxList">
109109
<li>TODO: Should we hide the popover when its relative element isn't visible (scrolls out of view)?</li>
110110
</ul>
111111
<hx-div scroll="vertical" class="scrolling hxMd">

docs/components/typography/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ <h2 id="caption">Caption</h2>
126126
<p>
127127
Apply the Helix "caption" style with any of the following configurations:
128128
</p>
129-
<ul>
129+
<ul class="hxList">
130130
<li>
131131
A <code>&lt;caption&gt;</code> element within a
132132
<a href="components/tables">Table</a>
@@ -171,7 +171,7 @@ <h2 id="sub-body">Sub-Body</h2>
171171
<p>
172172
Apply the "sub-body" style with any of the following:
173173
</p>
174-
<ul>
174+
<ul class="hxList">
175175
<li>A <code>&lt;small&gt;</code> element</li>
176176
<li>Add the <code>.hxSubBody</code> CSS class to any element</li>
177177
</ul>

0 commit comments

Comments
 (0)