aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-01-03 20:08:58 -0800
committerMark Otto <[email protected]>2015-01-03 20:08:58 -0800
commit0e5d17d5f651a7bd3ff7f245d75a2d9fd591c8ce (patch)
tree69acdd16736989d5fc2af762b26fa372dcfc3521 /scss
parent31610258de7a7eeb635103de25f7f339f872d867 (diff)
parent57260f16b364e4cb559cd65159197fd1cf5248f7 (diff)
downloadbootstrap-0e5d17d5f651a7bd3ff7f245d75a2d9fd591c8ce.tar.xz
bootstrap-0e5d17d5f651a7bd3ff7f245d75a2d9fd591c8ce.zip
Merge branch 'master' into v4
Conflicts: Gruntfile.js dist/css/bootstrap-theme.css dist/css/bootstrap-theme.css.map dist/css/bootstrap-theme.min.css dist/css/bootstrap.css dist/css/bootstrap.css.map dist/css/bootstrap.min.css dist/js/bootstrap.min.js docs/_data/glyphicons.yml docs/_includes/components/alerts.html docs/_includes/components/badges.html docs/_includes/components/breadcrumbs.html docs/_includes/components/button-dropdowns.html docs/_includes/components/button-groups.html docs/_includes/components/dropdowns.html docs/_includes/components/glyphicons.html docs/_includes/components/input-groups.html docs/_includes/components/jumbotron.html docs/_includes/components/labels.html docs/_includes/components/list-group.html docs/_includes/components/media.html docs/_includes/components/navbar.html docs/_includes/components/navs.html docs/_includes/components/page-header.html docs/_includes/components/pagination.html docs/_includes/components/panels.html docs/_includes/components/progress-bars.html docs/_includes/components/responsive-embed.html docs/_includes/components/thumbnails.html docs/_includes/components/wells.html docs/_includes/css/buttons.html docs/_includes/css/code.html docs/_includes/css/forms.html docs/_includes/css/grid.html docs/_includes/css/helpers.html docs/_includes/css/images.html docs/_includes/css/less.html docs/_includes/css/tables.html docs/_includes/css/type.html docs/_includes/customizer-variables.html docs/_includes/getting-started/accessibility.html docs/_includes/getting-started/disabling-responsiveness.html docs/_includes/getting-started/download.html docs/_includes/getting-started/whats-included.html docs/_includes/js/alerts.html docs/_includes/js/buttons.html docs/_includes/js/carousel.html docs/_includes/js/collapse.html docs/_includes/js/modal.html docs/_includes/js/overview.html docs/_includes/js/popovers.html docs/_includes/js/tabs.html docs/_includes/js/tooltips.html docs/_includes/nav/components.html docs/_includes/nav/javascript.html docs/_jade/customizer-variables.jade docs/_layouts/default.html docs/about.html docs/assets/css/docs.min.css docs/assets/css/src/docs.css docs/assets/js/customize.min.js docs/assets/js/raw-files.min.js docs/assets/js/src/customizer.js docs/customize.html docs/dist/css/bootstrap-theme.css.map docs/dist/css/bootstrap.css docs/dist/css/bootstrap.css.map docs/dist/css/bootstrap.min.css less/glyphicons.less less/mixins/vendor-prefixes.less less/navbar.less less/popovers.less less/tables.less less/theme.less less/tooltip.less less/variables.less package.json scss/_carousel.scss scss/_close.scss scss/_forms.scss test-infra/npm-shrinkwrap.json
Diffstat (limited to 'scss')
-rw-r--r--scss/_close.scss1
-rw-r--r--scss/_forms.scss31
-rw-r--r--scss/_media.scss4
-rw-r--r--scss/_popover.scss2
-rw-r--r--scss/_tables.scss4
-rw-r--r--scss/_tooltip.scss2
6 files changed, 23 insertions, 21 deletions
diff --git a/scss/_close.scss b/scss/_close.scss
index 76e4d5c29..dd9b652b2 100644
--- a/scss/_close.scss
+++ b/scss/_close.scss
@@ -23,6 +23,7 @@
// Additional properties for button version
// iOS requires the button element instead of an anchor tag.
// If you want the anchor version, it requires `href="#"`.
+ // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
&button {
padding: 0;
cursor: pointer;
diff --git a/scss/_forms.scss b/scss/_forms.scss
index 2d9867d32..0c3eb90cd 100644
--- a/scss/_forms.scss
+++ b/scss/_forms.scss
@@ -145,7 +145,7 @@ output {
fieldset[disabled] & {
cursor: $cursor-disabled;
background-color: $input-bg-disabled;
- opacity: 1; // iOS fix for unreadable disabled content
+ opacity: 1; // iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655
}
}
@@ -174,26 +174,24 @@ input[type="search"] {
// In Mobile Safari, setting `display: block` on temporal inputs causes the
// text within the input to become vertically misaligned. As a workaround, we
// set a pixel line-height that matches the given height of the input, but only
-// for Safari.
+// for Safari. See https://bugs.webkit.org/show_bug.cgi?id=139848
@media screen and (-webkit-min-device-pixel-ratio: 0) {
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
- line-height: $input-height-base;
- }
- input[type="date"].input-sm,
- input[type="time"].input-sm,
- input[type="datetime-local"].input-sm,
- input[type="month"].input-sm {
- line-height: $input-height-sm;
- }
- input[type="date"].input-lg,
- input[type="time"].input-lg,
- input[type="datetime-local"].input-lg,
- input[type="month"].input-lg {
- line-height: $input-height-lg;
+ line-height: @input-height-base;
+
+ &.input-sm,
+ .input-group-sm & {
+ line-height: @input-height-small;
+ }
+
+ &.input-lg,
+ .input-group-lg & {
+ line-height: @input-height-large;
+ }
}
}
@@ -460,8 +458,7 @@ input[type="checkbox"] {
}
// Remove default margin on radios/checkboxes that were used for stacking, and
- // then undo the floating of radios and checkboxes to match (which also avoids
- // a bug in WebKit: https://github.com/twbs/bootstrap/issues/1969).
+ // then undo the floating of radios and checkboxes to match.
.radio,
.checkbox {
display: inline-block;
diff --git a/scss/_media.scss b/scss/_media.scss
index e08d6972a..aec4b334c 100644
--- a/scss/_media.scss
+++ b/scss/_media.scss
@@ -13,6 +13,10 @@
zoom: 1;
}
+.media-body {
+ width: 10000px;
+}
+
.media-object {
display: block;
}
diff --git a/scss/_popover.scss b/scss/_popover.scss
index a614518c7..d73bbd0ab 100644
--- a/scss/_popover.scss
+++ b/scss/_popover.scss
@@ -11,7 +11,7 @@
display: none;
max-width: $popover-max-width;
padding: 1px;
- // Reset font and text propertes given new insertion method
+ // Reset font and text properties given new insertion method
font-family: $font-family-base;
font-size: $font-size-base;
font-weight: normal;
diff --git a/scss/_tables.scss b/scss/_tables.scss
index 1148a9f16..8de4e4c5e 100644
--- a/scss/_tables.scss
+++ b/scss/_tables.scss
@@ -110,7 +110,7 @@ th {
// Reset default table behavior
table col[class*="col-"] {
- position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)
+ position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
display: table-column;
float: none;
}
@@ -119,7 +119,7 @@ table {
td,
th {
&[class*="col-"] {
- position: static; // Prevent border hiding in Firefox and IE9/10 (see https://github.com/twbs/bootstrap/issues/11623)
+ position: static; // Prevent border hiding in Firefox and IE9-11 (see https://github.com/twbs/bootstrap/issues/11623)
display: table-cell;
float: none;
}
diff --git a/scss/_tooltip.scss b/scss/_tooltip.scss
index 49af2b288..00c6049b8 100644
--- a/scss/_tooltip.scss
+++ b/scss/_tooltip.scss
@@ -8,7 +8,7 @@
position: absolute;
z-index: $zindex-tooltip;
display: block;
- // Reset font and text propertes given new insertion method
+ // Reset font and text properties given new insertion method
font-family: $font-family-base;
font-size: $font-size-sm;
font-weight: normal;