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

Unified Diff: pages/forms/buttons.html

Issue 29510560: Issue 4633 - Default form styles (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Rebase on website-defaults with reset and namespaced content Created Sept. 13, 2017, 7:39 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pages/forms/buttons.html
===================================================================
new file mode 100644
--- /dev/null
+++ b/pages/forms/buttons.html
@@ -0,0 +1,48 @@
+title=Buttons
+
+<h1>Buttons</h1>
+<p>Default styles for buttons.</p>
+
+<nav>
+ <ol>
+ <li><a href="#default">Default buttons</a></li>
+ <li><a href="#reset">Reset buttons</a></li>
+ <li><a href="#submit">Submit buttons</a></li>
+ </ol>
+</nav>
+
+<section id="default">
+ <h2>Default buttons</h2>
+ <p>
+ <button type="button">Default button</button>
+ <input type="button" value="Default input" />
+ </p>
+ <p>
+ <button type="button" disabled>Disabled default button</button>
+ <input type="button" disabled value="Disabled default input" />
+ </p>
+</section>
+
+<section id="reset">
+ <h2>Reset buttons</h2>
+ <p>
+ <button type="reset">Reset button</button>
+ <input type="reset" value="Reset input" />
+ </p>
+ <p>
+ <button type="reset" disabled>Disabled reset button</button>
+ <input type="reset" disabled value="Disabled reset input" />
+ </p>
+</section>
+
+<section id="submit">
+ <h2>Submit buttons</h2>
+ <p>
+ <button type="submit">Submit button</button>
+ <input type="submit" value="Submit input" />
+ </p>
+ <p>
+ <button type="submit" disabled>Disabled submit button</button>
+ <input type="submit" disabled value="Disabled submit input" />
+ </p>
+</section>

Powered by Google App Engine
This is Rietveld