mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
line-height-base to line-height var
This commit is contained in:
parent
03a5ff6b82
commit
ed42fc9b76
@ -11,7 +11,7 @@
|
||||
padding-left: .6em;
|
||||
font-size: .75em;
|
||||
font-weight: $badge-font-weight;
|
||||
line-height: $line-height-base;
|
||||
line-height: $line-height;
|
||||
color: $badge-color;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
|
@ -17,7 +17,7 @@
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
border: $border-width solid transparent;
|
||||
@include button-size($padding-y, $padding-x, $font-size-base, $line-height-base, $btn-border-radius);
|
||||
@include button-size($padding-y, $padding-x, $font-size-base, $line-height, $btn-border-radius);
|
||||
transition: all .2s ease-in-out;
|
||||
|
||||
&,
|
||||
|
@ -43,7 +43,7 @@ pre {
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
font-size: 90%;
|
||||
line-height: $line-height-base;
|
||||
line-height: $line-height;
|
||||
color: $pre-color;
|
||||
|
||||
// Account for some code outputs that place code tags in pre tags
|
||||
|
@ -60,7 +60,7 @@
|
||||
padding: 3px 20px;
|
||||
clear: both;
|
||||
font-weight: normal;
|
||||
line-height: $line-height-base;
|
||||
line-height: $line-height;
|
||||
color: $dropdown-link-color;
|
||||
white-space: nowrap; // prevent links from randomly breaking onto new lines
|
||||
}
|
||||
@ -141,7 +141,7 @@
|
||||
display: block;
|
||||
padding: 3px 20px;
|
||||
font-size: $font-size-sm;
|
||||
line-height: $line-height-base;
|
||||
line-height: $line-height;
|
||||
color: $dropdown-header-color;
|
||||
white-space: nowrap; // as with > li > a
|
||||
}
|
||||
|
@ -14,7 +14,7 @@
|
||||
// height: $input-height;
|
||||
padding: $padding-y $padding-x;
|
||||
font-size: $font-size-base;
|
||||
line-height: $line-height-base;
|
||||
line-height: $line-height;
|
||||
color: $input-color;
|
||||
background-color: $input-bg;
|
||||
// Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214.
|
||||
|
@ -11,7 +11,7 @@
|
||||
// Image thumbnails
|
||||
.img-thumbnail {
|
||||
padding: $thumbnail-padding;
|
||||
line-height: $line-height-base;
|
||||
line-height: $line-height;
|
||||
background-color: $thumbnail-bg;
|
||||
border: 1px solid $thumbnail-border;
|
||||
border-radius: $thumbnail-border-radius;
|
||||
|
@ -19,7 +19,7 @@
|
||||
float: left; // Collapse white-space
|
||||
padding: $padding-y $padding-x;
|
||||
margin-left: -1px;
|
||||
line-height: $line-height-base;
|
||||
line-height: $line-height;
|
||||
color: $pagination-color;
|
||||
text-decoration: none;
|
||||
background-color: $pagination-bg;
|
||||
|
@ -68,7 +68,7 @@ body {
|
||||
// Make the `body` use the `font-size-root`
|
||||
font-family: $font-family-base;
|
||||
font-size: $font-size-base;
|
||||
line-height: $line-height-base;
|
||||
line-height: $line-height;
|
||||
// Go easy on the eyes and use something other than `#000` for text
|
||||
color: $text-color;
|
||||
// By default, `<body>` has no `background-color` so we set one as a best practice.
|
||||
@ -290,6 +290,6 @@ input[type="search"] {
|
||||
output {
|
||||
display: inline-block;
|
||||
// font-size: $font-size-base;
|
||||
// line-height: $line-height-base;
|
||||
// line-height: $line-height;
|
||||
// color: $input-color;
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
th,
|
||||
td {
|
||||
padding: $table-cell-padding;
|
||||
line-height: $line-height-base;
|
||||
line-height: $line-height;
|
||||
vertical-align: top;
|
||||
border-top: 1px solid $table-border-color;
|
||||
}
|
||||
|
@ -144,7 +144,7 @@ mark,
|
||||
footer {
|
||||
display: block;
|
||||
font-size: 80%; // back to default font-size
|
||||
line-height: $line-height-base;
|
||||
line-height: $line-height;
|
||||
color: $blockquote-small-color;
|
||||
|
||||
&:before {
|
||||
|
@ -189,7 +189,7 @@ $input-box-shadow-focus: rgba(102,175,233,.6) !default;
|
||||
|
||||
$input-color-placeholder: #999 !default;
|
||||
|
||||
$input-height: (($font-size-base * $line-height-base) + ($padding-y * 2) + ($border-width * 2)) !default;
|
||||
$input-height: (($font-size-base * $line-height) + ($padding-y * 2) + ($border-width * 2)) !default;
|
||||
$input-height-lg: (($font-size-lg * $line-height-lg) + ($padding-lg-y * 2) + ($border-width * 2)) !default;
|
||||
$input-height-sm: (($font-size-sm * $line-height-sm) + ($padding-sm-y * 2) + ($border-width * 2)) !default;
|
||||
|
||||
@ -466,7 +466,7 @@ $label-link-hover-color: #fff !default;
|
||||
$modal-inner-padding: 15px !default;
|
||||
|
||||
$modal-title-padding: 15px !default;
|
||||
$modal-title-line-height: $line-height-base !default;
|
||||
$modal-title-line-height: $line-height !default;
|
||||
|
||||
$modal-content-bg: #fff !default;
|
||||
$modal-content-border-color: rgba(0,0,0,.2) !default;
|
||||
|
@ -5,7 +5,7 @@
|
||||
font-weight: normal;
|
||||
letter-spacing: normal;
|
||||
line-break: auto;
|
||||
line-height: $line-height-base;
|
||||
line-height: $line-height;
|
||||
text-align: left; // Fallback for where `start` is not supported
|
||||
text-align: start;
|
||||
text-decoration: none;
|
||||
|
Loading…
x
Reference in New Issue
Block a user