Commit be299c1b authored by Mark Otto's avatar Mark Otto
Browse files

switch to primary button there

parent f534cabc
Showing with 14 additions and 14 deletions
+14 -14
...@@ -1457,7 +1457,7 @@ pre { ...@@ -1457,7 +1457,7 @@ pre {
.form-control { .form-control {
display: block; display: block;
width: 100%; width: 100%;
padding: 0.5rem 0.75rem; padding: 0.5rem 1rem;
font-size: 1rem; font-size: 1rem;
line-height: 1.5; line-height: 1.5;
color: #55595c; color: #55595c;
...@@ -1489,7 +1489,7 @@ pre { ...@@ -1489,7 +1489,7 @@ pre {
display: block; } display: block; }
.form-control-label { .form-control-label {
padding: 0.5625rem 0.75rem; padding: 0.5625rem 1rem;
margin-bottom: 0; } margin-bottom: 0; }
@media screen and (-webkit-min-device-pixel-ratio: 0) { @media screen and (-webkit-min-device-pixel-ratio: 0) {
...@@ -1780,7 +1780,7 @@ fieldset[disabled] .checkbox label { ...@@ -1780,7 +1780,7 @@ fieldset[disabled] .checkbox label {
cursor: pointer; cursor: pointer;
user-select: none; user-select: none;
border: 0.0625rem solid transparent; border: 0.0625rem solid transparent;
padding: 0.5rem 0.75rem; padding: 0.5rem 1rem;
font-size: 1rem; font-size: 1rem;
line-height: 1.5; line-height: 1.5;
border-radius: 0.25rem; border-radius: 0.25rem;
...@@ -2406,7 +2406,7 @@ input[type="button"].btn-block { ...@@ -2406,7 +2406,7 @@ input[type="button"].btn-block {
vertical-align: middle; } vertical-align: middle; }
.input-group-addon { .input-group-addon {
padding: 0.5rem 0.75rem; padding: 0.5rem 1rem;
font-size: 1rem; font-size: 1rem;
font-weight: normal; font-weight: normal;
line-height: 1; line-height: 1;
...@@ -3134,7 +3134,7 @@ input[type="button"].btn-block { ...@@ -3134,7 +3134,7 @@ input[type="button"].btn-block {
.pagination > li > span { .pagination > li > span {
position: relative; position: relative;
float: left; float: left;
padding: 0.5rem 0.75rem; padding: 0.5rem 1rem;
margin-left: -1px; margin-left: -1px;
line-height: 1.5; line-height: 1.5;
color: #0275d8; color: #0275d8;
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
...@@ -1360,7 +1360,7 @@ pre { ...@@ -1360,7 +1360,7 @@ pre {
.form-control { .form-control {
display: block; display: block;
width: 100%; width: 100%;
padding: 0.5rem 0.75rem; padding: 0.5rem 1rem;
font-size: 1rem; font-size: 1rem;
line-height: 1.5; line-height: 1.5;
color: #55595c; color: #55595c;
...@@ -1392,7 +1392,7 @@ pre { ...@@ -1392,7 +1392,7 @@ pre {
display: block; } display: block; }
.form-control-label { .form-control-label {
padding: 0.5625rem 0.75rem; padding: 0.5625rem 1rem;
margin-bottom: 0; } margin-bottom: 0; }
@media screen and (-webkit-min-device-pixel-ratio: 0) { @media screen and (-webkit-min-device-pixel-ratio: 0) {
...@@ -1683,7 +1683,7 @@ fieldset[disabled] .checkbox label { ...@@ -1683,7 +1683,7 @@ fieldset[disabled] .checkbox label {
cursor: pointer; cursor: pointer;
user-select: none; user-select: none;
border: 0.0625rem solid transparent; border: 0.0625rem solid transparent;
padding: 0.5rem 0.75rem; padding: 0.5rem 1rem;
font-size: 1rem; font-size: 1rem;
line-height: 1.5; line-height: 1.5;
border-radius: 0.25rem; border-radius: 0.25rem;
...@@ -2316,7 +2316,7 @@ input[type="button"].btn-block { ...@@ -2316,7 +2316,7 @@ input[type="button"].btn-block {
vertical-align: middle; } vertical-align: middle; }
.input-group-addon { .input-group-addon {
padding: 0.5rem 0.75rem; padding: 0.5rem 1rem;
font-size: 1rem; font-size: 1rem;
font-weight: normal; font-weight: normal;
line-height: 1; line-height: 1;
...@@ -3049,7 +3049,7 @@ input[type="button"].btn-block { ...@@ -3049,7 +3049,7 @@ input[type="button"].btn-block {
.pagination > li > span { .pagination > li > span {
position: relative; position: relative;
float: left; float: left;
padding: 0.5rem 0.75rem; padding: 0.5rem 1rem;
margin-left: -1px; margin-left: -1px;
line-height: 1.5; line-height: 1.5;
color: #0275d8; color: #0275d8;
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
...@@ -48,10 +48,10 @@ The `.btn` classes are designed to be used with the `<button>` element. However, ...@@ -48,10 +48,10 @@ The `.btn` classes are designed to be used with the `<button>` element. However,
When using button classes on `<a>` elements that are used to trigger in-page functionality (like collapsing content), rather than linking to new pages or sections within the current page, these links should be given a `role="button"` to appropriately convey their purpose to assistive technologies such as screen readers. When using button classes on `<a>` elements that are used to trigger in-page functionality (like collapsing content), rather than linking to new pages or sections within the current page, these links should be given a `role="button"` to appropriately convey their purpose to assistive technologies such as screen readers.
{% example html %} {% example html %}
<a class="btn btn-secondary" href="#" role="button">Link</a> <a class="btn btn-primary" href="#" role="button">Link</a>
<button class="btn btn-secondary" type="submit">Button</button> <button class="btn btn-primary" type="submit">Button</button>
<input class="btn btn-secondary" type="button" value="Input"> <input class="btn btn-primary" type="button" value="Input">
<input class="btn btn-secondary" type="submit" value="Submit"> <input class="btn btn-primary" type="submit" value="Submit">
{% endexample %} {% endexample %}
## Sizes ## Sizes
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment