mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
unify button sizing, use mixin ".button-size" also for the base sized button
This commit is contained in:
parent
c43462678c
commit
70453c2327
@ -9,18 +9,15 @@
|
|||||||
// Core styles
|
// Core styles
|
||||||
.btn {
|
.btn {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: @padding-base-vertical @padding-base-horizontal;
|
|
||||||
margin-bottom: 0; // For input.btn
|
margin-bottom: 0; // For input.btn
|
||||||
font-size: @font-size-base;
|
|
||||||
font-weight: @btn-font-weight;
|
font-weight: @btn-font-weight;
|
||||||
line-height: @line-height-base;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
|
||||||
border: 1px solid transparent;
|
border: 1px solid transparent;
|
||||||
border-radius: @border-radius-base;
|
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
.button-size(@padding-base-vertical; @padding-base-horizontal; @font-size-base; @line-height-base; @border-radius-base);
|
||||||
.user-select(none);
|
.user-select(none);
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
|
Loading…
Reference in New Issue
Block a user