mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
switch to primary button there
This commit is contained in:
parent
f534cabc7e
commit
be299c1b8b
10
dist/css/bootstrap-flex.css
vendored
10
dist/css/bootstrap-flex.css
vendored
@ -1457,7 +1457,7 @@ pre {
|
||||
.form-control {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 0.5rem 0.75rem;
|
||||
padding: 0.5rem 1rem;
|
||||
font-size: 1rem;
|
||||
line-height: 1.5;
|
||||
color: #55595c;
|
||||
@ -1489,7 +1489,7 @@ pre {
|
||||
display: block; }
|
||||
|
||||
.form-control-label {
|
||||
padding: 0.5625rem 0.75rem;
|
||||
padding: 0.5625rem 1rem;
|
||||
margin-bottom: 0; }
|
||||
|
||||
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
||||
@ -1780,7 +1780,7 @@ fieldset[disabled] .checkbox label {
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
border: 0.0625rem solid transparent;
|
||||
padding: 0.5rem 0.75rem;
|
||||
padding: 0.5rem 1rem;
|
||||
font-size: 1rem;
|
||||
line-height: 1.5;
|
||||
border-radius: 0.25rem;
|
||||
@ -2406,7 +2406,7 @@ input[type="button"].btn-block {
|
||||
vertical-align: middle; }
|
||||
|
||||
.input-group-addon {
|
||||
padding: 0.5rem 0.75rem;
|
||||
padding: 0.5rem 1rem;
|
||||
font-size: 1rem;
|
||||
font-weight: normal;
|
||||
line-height: 1;
|
||||
@ -3134,7 +3134,7 @@ input[type="button"].btn-block {
|
||||
.pagination > li > span {
|
||||
position: relative;
|
||||
float: left;
|
||||
padding: 0.5rem 0.75rem;
|
||||
padding: 0.5rem 1rem;
|
||||
margin-left: -1px;
|
||||
line-height: 1.5;
|
||||
color: #0275d8;
|
||||
|
2
dist/css/bootstrap-flex.css.map
vendored
2
dist/css/bootstrap-flex.css.map
vendored
File diff suppressed because one or more lines are too long
@ -1360,7 +1360,7 @@ pre {
|
||||
.form-control {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 0.5rem 0.75rem;
|
||||
padding: 0.5rem 1rem;
|
||||
font-size: 1rem;
|
||||
line-height: 1.5;
|
||||
color: #55595c;
|
||||
@ -1392,7 +1392,7 @@ pre {
|
||||
display: block; }
|
||||
|
||||
.form-control-label {
|
||||
padding: 0.5625rem 0.75rem;
|
||||
padding: 0.5625rem 1rem;
|
||||
margin-bottom: 0; }
|
||||
|
||||
@media screen and (-webkit-min-device-pixel-ratio: 0) {
|
||||
@ -1683,7 +1683,7 @@ fieldset[disabled] .checkbox label {
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
border: 0.0625rem solid transparent;
|
||||
padding: 0.5rem 0.75rem;
|
||||
padding: 0.5rem 1rem;
|
||||
font-size: 1rem;
|
||||
line-height: 1.5;
|
||||
border-radius: 0.25rem;
|
||||
@ -2316,7 +2316,7 @@ input[type="button"].btn-block {
|
||||
vertical-align: middle; }
|
||||
|
||||
.input-group-addon {
|
||||
padding: 0.5rem 0.75rem;
|
||||
padding: 0.5rem 1rem;
|
||||
font-size: 1rem;
|
||||
font-weight: normal;
|
||||
line-height: 1;
|
||||
@ -3049,7 +3049,7 @@ input[type="button"].btn-block {
|
||||
.pagination > li > span {
|
||||
position: relative;
|
||||
float: left;
|
||||
padding: 0.5rem 0.75rem;
|
||||
padding: 0.5rem 1rem;
|
||||
margin-left: -1px;
|
||||
line-height: 1.5;
|
||||
color: #0275d8;
|
||||
|
2
dist/css/bootstrap.css.map
vendored
2
dist/css/bootstrap.css.map
vendored
File diff suppressed because one or more lines are too long
@ -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.
|
||||
|
||||
{% example html %}
|
||||
<a class="btn btn-secondary" href="#" role="button">Link</a>
|
||||
<button class="btn btn-secondary" type="submit">Button</button>
|
||||
<input class="btn btn-secondary" type="button" value="Input">
|
||||
<input class="btn btn-secondary" type="submit" value="Submit">
|
||||
<a class="btn btn-primary" href="#" role="button">Link</a>
|
||||
<button class="btn btn-primary" type="submit">Button</button>
|
||||
<input class="btn btn-primary" type="button" value="Input">
|
||||
<input class="btn btn-primary" type="submit" value="Submit">
|
||||
{% endexample %}
|
||||
|
||||
## Sizes
|
||||
|
Loading…
Reference in New Issue
Block a user