Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: pages/utilities.html

Issue 29592630: Issue 5734 - Add utility classes to website-defaults (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Created Oct. 30, 2017, 4:18 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | static/scss/_utilities.scss » ('j') | static/scss/_utilities.scss » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 title=Utilities 1 title=Utilities
2 2
3 <h1>Utilities</h1> 3 <h1>Utilities</h1>
4 <p>HTML & SCSS component utilities</p> 4 <p>HTML & SCSS component utilities</p>
5 5
6 <ol> 6 <ol>
7 <li><a href="#backgrounds">Backgrounds</a></li> 7 <li><a href="#backgrounds">Backgrounds</a></li>
8 <li><a href="#text-alignment">Text Alignment</a></li>
8 </ol> 9 </ol>
9 10
10 <h2 id="backgrounds">Backgrounds</h2> 11 <h2 id="backgrounds">Backgrounds</h2>
11 12
12 <p class="bg-primary">Primary background</p> 13 <p class="bg-primary">Primary background</p>
13 14
14 <p class="bg-secondary">Secondary background</p> 15 <p class="bg-secondary">Secondary background</p>
15 16
16 <p class="bg-accent">Accent background</p> 17 <p class="bg-accent">Accent background</p>
17 18
18 <p class="bg-error">Error background</p> 19 <p class="bg-error">Error background</p>
20
21
22 <h2 id="text-alignment">Text Alignment</h2>
23
24 <p class="text-center">Text aligned center</p>
25
26 <p class="text-left">Text aligned left</p>
27
28 <p class="text-start">Text aligned to the start of the container</p>
29
30 <p class="text-right">Text aligned right</p>
31
32 <p class="text-end">Text aligned to the end of the container</p>
OLDNEW
« no previous file with comments | « no previous file | static/scss/_utilities.scss » ('j') | static/scss/_utilities.scss » ('J')

Powered by Google App Engine
This is Rietveld