From 7ea9538defbb997a0f891967e4f9c3f09a06d441 Mon Sep 17 00:00:00 2001 From: Alexey Date: Tue, 11 Mar 2014 12:32:46 +0300 Subject: Support for hovering on cell's with state If parent row are hovered, child cell with state should react to this. --- less/mixins/table-row.less | 1 + 1 file changed, 1 insertion(+) (limited to 'less') diff --git a/less/mixins/table-row.less b/less/mixins/table-row.less index 30a30e363..0f287f1a8 100644 --- a/less/mixins/table-row.less +++ b/less/mixins/table-row.less @@ -20,6 +20,7 @@ > td.@{state}:hover, > th.@{state}:hover, &.@{state}:hover > td, + &:hover > .@{state}, &.@{state}:hover > th { background-color: darken(@background, 5%); } -- cgit v1.2.3 From 1be0b57d34c4712ba747ccb0e917acef2117dc13 Mon Sep 17 00:00:00 2001 From: Rob Fletcher Date: Mon, 17 Mar 2014 14:36:58 +0000 Subject: Fix vertical alignment of temporal inputs on iOS Fixes #13098 Closes #13099 --- less/forms.less | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'less') diff --git a/less/forms.less b/less/forms.less index 8578e8ce6..f8de2e403 100644 --- a/less/forms.less +++ b/less/forms.less @@ -170,7 +170,10 @@ input[type="search"] { // given height of the input. Since this fucks up everything else, we have to // appropriately reset it for Internet Explorer and the size variations. -input[type="date"] { +input[type="date"], +input[type="time"], +input[type="datetime-local"], +input[type="month"] { line-height: @input-height-base; // IE8+ misaligns the text within date inputs, so we reset line-height: @line-height-base ~"\0"; -- cgit v1.2.3 From 21084192b642f7a7340a58c88025771ea281f48d Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 24 Mar 2014 19:08:05 -0700 Subject: Fixes #13079: Scope .open class in button variant mixin to immediate children --- less/mixins/buttons.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'less') diff --git a/less/mixins/buttons.less b/less/mixins/buttons.less index d7f7cd97a..409f8f20a 100644 --- a/less/mixins/buttons.less +++ b/less/mixins/buttons.less @@ -12,14 +12,14 @@ &:focus, &:active, &.active, - .open .dropdown-toggle& { + .open > .dropdown-toggle& { color: @color; background-color: darken(@background, 10%); border-color: darken(@border, 12%); } &:active, &.active, - .open .dropdown-toggle& { + .open > .dropdown-toggle& { background-image: none; } &.disabled, -- cgit v1.2.3 From 6f6bce5944bd0e6ab36ab6b39339f381d8a80b2a Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 24 Mar 2014 19:26:41 -0700 Subject: Fixes #13141: Add a max-width: 100%; to label elements so IE8 wraps text --- less/forms.less | 1 + 1 file changed, 1 insertion(+) (limited to 'less') diff --git a/less/forms.less b/less/forms.less index f8de2e403..d51065cf6 100644 --- a/less/forms.less +++ b/less/forms.less @@ -31,6 +31,7 @@ legend { label { display: inline-block; + max-width: 100%; // Force IE8 to wrap long content (see #13141) margin-bottom: 5px; font-weight: bold; } -- cgit v1.2.3 From 06451a58d0d69ca035d3564f4a69c6e7b7f15ff9 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 24 Mar 2014 19:48:21 -0700 Subject: expand issue # ref to full URL --- less/forms.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less') diff --git a/less/forms.less b/less/forms.less index d51065cf6..8bec21e48 100644 --- a/less/forms.less +++ b/less/forms.less @@ -31,7 +31,7 @@ legend { label { display: inline-block; - max-width: 100%; // Force IE8 to wrap long content (see #13141) + max-width: 100%; // Force IE8 to wrap long content (see https://github.com/twbs/bootstrap/issues/13141) margin-bottom: 5px; font-weight: bold; } -- cgit v1.2.3 From b4f4c7b16f26ca1cf9fabf4bca4447e1cb2a688e Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 24 Mar 2014 20:02:56 -0700 Subject: Fixes #13037: add text-align: left; to prevent alignment change in dropdowns --- less/dropdowns.less | 1 + 1 file changed, 1 insertion(+) (limited to 'less') diff --git a/less/dropdowns.less b/less/dropdowns.less index f165165e7..8d0a6a2d0 100644 --- a/less/dropdowns.less +++ b/less/dropdowns.less @@ -38,6 +38,7 @@ margin: 2px 0 0; // override default ul list-style: none; font-size: @font-size-base; + text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer) background-color: @dropdown-bg; border: 1px solid @dropdown-fallback-border; // IE8 fallback border: 1px solid @dropdown-border; -- cgit v1.2.3 From acf57073231ebd521a87f523de6c51930d3c1ff4 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 24 Mar 2014 20:07:54 -0700 Subject: Fixes #13066: Add z-index to the form control feedback icons so input groups don't render on top of them --- less/forms.less | 1 + 1 file changed, 1 insertion(+) (limited to 'less') diff --git a/less/forms.less b/less/forms.less index 8bec21e48..0368c0c0f 100644 --- a/less/forms.less +++ b/less/forms.less @@ -292,6 +292,7 @@ input[type="checkbox"], position: absolute; top: (@line-height-computed + 5); // Height of the `label` and its margin right: 0; + z-index: 2; // Ensure icon is above input groups display: block; width: @input-height-base; height: @input-height-base; -- cgit v1.2.3 From 0c775f84ee4a7bb657c1dd1241c65053b6991f38 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 27 Mar 2014 08:00:20 +0200 Subject: Update normalize.css to v3.0.1 --- less/normalize.less | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) (limited to 'less') diff --git a/less/normalize.less b/less/normalize.less index 024e257c1..ce04b6a2f 100644 --- a/less/normalize.less +++ b/less/normalize.less @@ -1,4 +1,4 @@ -/*! normalize.css v3.0.0 | MIT License | git.io/normalize */ +/*! normalize.css v3.0.1 | MIT License | git.io/normalize */ // // 1. Set default font family to sans-serif. @@ -24,7 +24,9 @@ body { // ========================================================================== // -// Correct `block` display not defined in IE 8/9. +// Correct `block` display not defined for any HTML5 element in IE 8/9. +// Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox. +// Correct `block` display not defined for `main` in IE 11. // article, @@ -66,8 +68,8 @@ audio:not([controls]) { } // -// Address `[hidden]` styling not present in IE 8/9. -// Hide the `template` element in IE, Safari, and Firefox < 22. +// Address `[hidden]` styling not present in IE 8/9/10. +// Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22. // [hidden], @@ -99,7 +101,7 @@ a:hover { // ========================================================================== // -// Address styling not present in IE 8/9, Safari 5, and Chrome. +// Address styling not present in IE 8/9/10/11, Safari, and Chrome. // abbr[title] { @@ -107,7 +109,7 @@ abbr[title] { } // -// Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome. +// Address style set to `bolder` in Firefox 4+, Safari, and Chrome. // b, @@ -116,7 +118,7 @@ strong { } // -// Address styling not present in Safari 5 and Chrome. +// Address styling not present in Safari and Chrome. // dfn { @@ -125,7 +127,7 @@ dfn { // // Address variable `h1` font-size and margin within `section` and `article` -// contexts in Firefox 4+, Safari 5, and Chrome. +// contexts in Firefox 4+, Safari, and Chrome. // h1 { @@ -174,7 +176,7 @@ sub { // ========================================================================== // -// Remove border when inside `a` element in IE 8/9. +// Remove border when inside `a` element in IE 8/9/10. // img { @@ -182,7 +184,7 @@ img { } // -// Correct overflow displayed oddly in IE 9. +// Correct overflow not hidden in IE 9/10/11. // svg:not(:root) { @@ -193,7 +195,7 @@ svg:not(:root) { // ========================================================================== // -// Address margin not present in IE 8/9 and Safari 5. +// Address margin not present in IE 8/9 and Safari. // figure { @@ -242,7 +244,7 @@ samp { // 1. Correct color not being inherited. // Known issue: affects color of disabled elements. // 2. Correct font properties not being inherited. -// 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome. +// 3. Address margins set differently in Firefox 4+, Safari, and Chrome. // button, @@ -256,7 +258,7 @@ textarea { } // -// Address `overflow` set to `hidden` in IE 8/9/10. +// Address `overflow` set to `hidden` in IE 8/9/10/11. // button { @@ -266,7 +268,7 @@ button { // // Address inconsistent `text-transform` inheritance for `button` and `select`. // All other form control elements do not inherit `text-transform` values. -// Correct `button` style inheritance in Firefox, IE 8+, and Opera +// Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera. // Correct `select` style inheritance in Firefox. // @@ -345,8 +347,8 @@ input[type="number"]::-webkit-outer-spin-button { } // -// 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome. -// 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome +// 1. Address `appearance` set to `searchfield` in Safari and Chrome. +// 2. Address `box-sizing` set to `border-box` in Safari and Chrome // (include `-moz` to future-proof). // @@ -379,7 +381,7 @@ fieldset { } // -// 1. Correct `color` not being inherited in IE 8/9. +// 1. Correct `color` not being inherited in IE 8/9/10/11. // 2. Remove padding so people aren't caught out if they zero out fieldsets. // @@ -389,7 +391,7 @@ legend { } // -// Remove default vertical scrollbar in IE 8/9. +// Remove default vertical scrollbar in IE 8/9/10/11. // textarea { @@ -420,4 +422,4 @@ table { td, th { padding: 0; -} \ No newline at end of file +} -- cgit v1.2.3 From 015569a138e2de222e7d0d7abbf1b4d91364e9c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BC=D0=B8=D1=82=D1=80=D0=BE=20=D0=91=D1=83=D0=B4?= =?UTF-8?q?=D0=BD=D0=B8=D0=BA?= Date: Thu, 27 Mar 2014 11:54:39 +0200 Subject: fix doc typo one can find correct name of variable just few lines below the typo --- less/mixins/forms.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less') diff --git a/less/mixins/forms.less b/less/mixins/forms.less index 3c260f52d..e36c4a8cf 100644 --- a/less/mixins/forms.less +++ b/less/mixins/forms.less @@ -39,7 +39,7 @@ // Form control focus state // // Generate a customized focus state and for any input with the specified color, -// which defaults to the `@input-focus-border` variable. +// which defaults to the `@input-border-focus` variable. // // We highly encourage you to not customize the default value, but instead use // this to tweak colors on an as-needed basis. This aesthetic change is based on -- cgit v1.2.3 From 7dec5c79c8ffb80592576a463472d6cf9bd959a8 Mon Sep 17 00:00:00 2001 From: David Scherer Date: Fri, 28 Mar 2014 14:56:12 -0400 Subject: fixes #13216 change `@zindex-popover` and `@zindex-tooltip` values to be greater than those set for `@zindex-modal` allowing tooltips and popovers to be displayed in front of modals (and all other content). --- less/variables.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'less') diff --git a/less/variables.less b/less/variables.less index cdc1ba881..b6b15ae19 100644 --- a/less/variables.less +++ b/less/variables.less @@ -249,8 +249,8 @@ @zindex-navbar: 1000; @zindex-dropdown: 1000; -@zindex-popover: 1010; -@zindex-tooltip: 1030; +@zindex-popover: 1060; // @fix #13216 +@zindex-tooltip: 1070; // @fix #13216 @zindex-navbar-fixed: 1030; @zindex-modal-background: 1040; @zindex-modal: 1050; -- cgit v1.2.3 From dffbf8ff780042d211835e68dc79ed6dbc24e779 Mon Sep 17 00:00:00 2001 From: Nikolay Shebanov Date: Mon, 31 Mar 2014 12:37:55 +0400 Subject: Fix carousel control margin asymmetry --- less/carousel.less | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'less') diff --git a/less/carousel.less b/less/carousel.less index 6f5023756..f06bc160a 100644 --- a/less/carousel.less +++ b/less/carousel.less @@ -110,20 +110,22 @@ .icon-prev, .glyphicon-chevron-left { left: 50%; + margin-left: -10px; } .icon-next, .glyphicon-chevron-right { right: 50%; + margin-right: -10px; } .icon-prev, .icon-next { width: 20px; height: 20px; margin-top: -10px; - margin-left: -10px; font-family: serif; } + .icon-prev { &:before { content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039) @@ -213,9 +215,16 @@ width: 30px; height: 30px; margin-top: -15px; - margin-left: -15px; font-size: 30px; } + .glyphicon-chevron-left, + .icon-prev { + margin-left: -15px; + } + .glyphicon-chevron-right, + .icon-next { + margin-right: -15px; + } } // Show and left align the captions -- cgit v1.2.3 From f9e98a1422134077aa429f9053295e4765260736 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 1 Apr 2014 12:49:52 -0700 Subject: re-deprecate @screen-xs-min per #12913 By definition, XS screens have no minimum size, only a maximum size. (Symmetrically, LG screens have no maximum size, hence why there's no @screen-lg-max.) --- less/variables.less | 1 + 1 file changed, 1 insertion(+) (limited to 'less') diff --git a/less/variables.less b/less/variables.less index cdc1ba881..feaaa72d9 100644 --- a/less/variables.less +++ b/less/variables.less @@ -262,6 +262,7 @@ // Extra small screen / phone // Note: Deprecated @screen-xs and @screen-phone as of v3.0.1 +// Note: Deprecated @screen-xs-min as of v3.2.0 @screen-xs: 480px; @screen-xs-min: @screen-xs; @screen-phone: @screen-xs-min; -- cgit v1.2.3 From 3777ef007d7329e44a415e12858606b8728e95b5 Mon Sep 17 00:00:00 2001 From: Sean Dwyer Date: Thu, 10 Apr 2014 17:43:53 -0700 Subject: Fix form-control-feedback position when label has sr-only class --- less/forms.less | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'less') diff --git a/less/forms.less b/less/forms.less index 0368c0c0f..15044cc49 100644 --- a/less/forms.less +++ b/less/forms.less @@ -322,6 +322,12 @@ input[type="checkbox"], } +// Reposition feedback icon if label is hidden with "screenreader only" state +.has-feedback label.sr-only ~ .form-control-feedback { + top: 0; +} + + // Static form control text // // Apply class to a `p` element to make any string of text align with labels in -- cgit v1.2.3 From 06f6c9f00691e9d536958f775b9bc72dc2b3f5c5 Mon Sep 17 00:00:00 2001 From: Sean Dwyer Date: Fri, 11 Apr 2014 14:15:33 -0700 Subject: Fix indent --- less/forms.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less') diff --git a/less/forms.less b/less/forms.less index 15044cc49..335c1e0e8 100644 --- a/less/forms.less +++ b/less/forms.less @@ -324,7 +324,7 @@ input[type="checkbox"], // Reposition feedback icon if label is hidden with "screenreader only" state .has-feedback label.sr-only ~ .form-control-feedback { - top: 0; + top: 0; } -- cgit v1.2.3 From 2127eb563fafdad10d004d33533a44ad023440e5 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 15 Apr 2014 11:01:51 -0700 Subject: rm not particularly useful @zindex var comments --- less/variables.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'less') diff --git a/less/variables.less b/less/variables.less index ab4cf5ed7..a6d87f46e 100644 --- a/less/variables.less +++ b/less/variables.less @@ -249,8 +249,8 @@ @zindex-navbar: 1000; @zindex-dropdown: 1000; -@zindex-popover: 1060; // @fix #13216 -@zindex-tooltip: 1070; // @fix #13216 +@zindex-popover: 1060; +@zindex-tooltip: 1070; @zindex-navbar-fixed: 1030; @zindex-modal-background: 1040; @zindex-modal: 1050; -- cgit v1.2.3 From f18bff0a7c10fe7afe4276029e9eda15e1f0c227 Mon Sep 17 00:00:00 2001 From: Cecchi MacNaughton Date: Tue, 15 Apr 2014 14:12:39 -0700 Subject: Add nested kbd element styles for actual keys or inputs --- less/code.less | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'less') diff --git a/less/code.less b/less/code.less index 4d0eadc6d..baa13df61 100644 --- a/less/code.less +++ b/less/code.less @@ -28,6 +28,12 @@ kbd { background-color: @kbd-bg; border-radius: @border-radius-small; box-shadow: inset 0 -1px 0 rgba(0,0,0,.25); + + kbd { + padding: 0; + font-size: 100%; + box-shadow: none; + } } // Blocks of code -- cgit v1.2.3 From 132732e4220fb73c26ab07b4486b2e5ad91100ee Mon Sep 17 00:00:00 2001 From: Iqbal Kabir Date: Thu, 17 Apr 2014 13:21:09 +0600 Subject: Dropdown menu in justified button-group It seems that dropdown-menu in justified button-group appears at the far left of the group. Check the problem in [Bootstrap site](http://getbootstrap.com/components/#btn-groups-justified). --- less/button-groups.less | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'less') diff --git a/less/button-groups.less b/less/button-groups.less index ef11cf12a..94e2d8971 100644 --- a/less/button-groups.less +++ b/less/button-groups.less @@ -216,6 +216,10 @@ > .btn-group .btn { width: 100%; } + + > .btn-group .dropdown-menu { + left: auto; + } } -- cgit v1.2.3 From 98acc69219d7f15f3d87225ad96851ec9ba0e3c0 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Thu, 17 Apr 2014 18:43:05 -0700 Subject: fix #13360 by making deprecation notices visible in customizer --- less/variables.less | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'less') diff --git a/less/variables.less b/less/variables.less index a6d87f46e..a2e464b6e 100644 --- a/less/variables.less +++ b/less/variables.less @@ -236,7 +236,7 @@ //** Text color for headers within dropdown menus. @dropdown-header-color: @gray-light; -// Note: Deprecated @dropdown-caret-color as of v3.1.0 +//** Deprecated `@dropdown-caret-color` as of v3.1.0 @dropdown-caret-color: #000; @@ -261,28 +261,32 @@ //## Define the breakpoints at which your layout will change, adapting to different screen sizes. // Extra small screen / phone -// Note: Deprecated @screen-xs and @screen-phone as of v3.0.1 -// Note: Deprecated @screen-xs-min as of v3.2.0 +//** Deprecated `@screen-xs` as of v3.0.1 @screen-xs: 480px; +//** Deprecated `@screen-xs-min` as of v3.2.0 @screen-xs-min: @screen-xs; +//** Deprecated `@screen-phone` as of v3.0.1 @screen-phone: @screen-xs-min; // Small screen / tablet -// Note: Deprecated @screen-sm and @screen-tablet as of v3.0.1 +//** Deprecated `@screen-sm` as of v3.0.1 @screen-sm: 768px; @screen-sm-min: @screen-sm; +//** Deprecated `@screen-tablet` as of v3.0.1 @screen-tablet: @screen-sm-min; // Medium screen / desktop -// Note: Deprecated @screen-md and @screen-desktop as of v3.0.1 +//** Deprecated `@screen-md` as of v3.0.1 @screen-md: 992px; @screen-md-min: @screen-md; +//** Deprecated `@screen-desktop` as of v3.0.1 @screen-desktop: @screen-md-min; // Large screen / wide desktop -// Note: Deprecated @screen-lg and @screen-lg-desktop as of v3.0.1 +//** Deprecated `@screen-lg` as of v3.0.1 @screen-lg: 1200px; @screen-lg-min: @screen-lg; +//** Deprecated `@screen-lg-desktop` as of v3.0.1 @screen-lg-desktop: @screen-lg-min; // So media queries don't overlap when required, provide a maximum -- cgit v1.2.3 From 5ea66ba3b00659779dcdc4dae05e38cfe7a0da77 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sat, 26 Apr 2014 02:30:50 -0400 Subject: Minor Spacing fixes Flagged upstream in bootstrap-sass by scss-lint --- less/alerts.less | 2 +- less/carousel.less | 4 +++- less/input-groups.less | 8 ++++++-- less/navs.less | 2 +- less/type.less | 8 ++++++-- 5 files changed, 17 insertions(+), 7 deletions(-) (limited to 'less') diff --git a/less/alerts.less b/less/alerts.less index 3eab06629..c3afeb958 100644 --- a/less/alerts.less +++ b/less/alerts.less @@ -38,7 +38,7 @@ // Expand the right padding and account for the close button's positioning. .alert-dismissable { - padding-right: (@alert-padding + 20); + padding-right: (@alert-padding + 20); // Adjust close link position .close { diff --git a/less/carousel.less b/less/carousel.less index f06bc160a..1644ddf7f 100644 --- a/less/carousel.less +++ b/less/carousel.less @@ -28,7 +28,9 @@ > .active, > .next, - > .prev { display: block; } + > .prev { + display: block; + } > .active { left: 0; diff --git a/less/input-groups.less b/less/input-groups.less index a11147463..a8712f25b 100644 --- a/less/input-groups.less +++ b/less/input-groups.less @@ -39,10 +39,14 @@ .input-group-lg > .form-control, .input-group-lg > .input-group-addon, -.input-group-lg > .input-group-btn > .btn { .input-lg(); } +.input-group-lg > .input-group-btn > .btn { + .input-lg(); +} .input-group-sm > .form-control, .input-group-sm > .input-group-addon, -.input-group-sm > .input-group-btn > .btn { .input-sm(); } +.input-group-sm > .input-group-btn > .btn { + .input-sm(); +} // Display as table-cell diff --git a/less/navs.less b/less/navs.less index 9e729b39f..98a64307a 100644 --- a/less/navs.less +++ b/less/navs.less @@ -162,7 +162,7 @@ > li { float: none; - > a { + > a { text-align: center; margin-bottom: 5px; } diff --git a/less/type.less b/less/type.less index 91298f1c0..83455e828 100644 --- a/less/type.less +++ b/less/type.less @@ -76,10 +76,14 @@ p { // Ex: 14px base font * 85% = about 12px small, -.small { font-size: 85%; } +.small { + font-size: 85%; +} // Undo browser default styling -cite { font-style: normal; } +cite { + font-style: normal; +} mark, .mark { -- cgit v1.2.3 From 3564369fdf7ed23c04774d0e023d3efeb060fa71 Mon Sep 17 00:00:00 2001 From: Sam Roth Date: Sun, 27 Apr 2014 15:40:25 -0400 Subject: Update type.less For better readability on mobile devices --- less/type.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less') diff --git a/less/type.less b/less/type.less index 83455e828..384cacc8e 100644 --- a/less/type.less +++ b/less/type.less @@ -62,7 +62,7 @@ p { .lead { margin-bottom: @line-height-computed; font-size: floor((@font-size-base * 1.15)); - font-weight: 200; + font-weight: 300; line-height: 1.4; @media (min-width: @screen-sm-min) { -- cgit v1.2.3 From dd0b0cd664c800e0a1c6a4848716aa85d8eec66f Mon Sep 17 00:00:00 2001 From: Nick Colley Date: Wed, 30 Apr 2014 00:57:41 +0100 Subject: Changed last-child to first-child As noted by @jerem the first child will actually be the last shown --- less/navbar.less | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'less') diff --git a/less/navbar.less b/less/navbar.less index b5e9a5f8d..c4bd0c4a5 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -271,7 +271,7 @@ } } - &.navbar-right:last-child { + &.navbar-right:first-child { margin-right: -@navbar-padding-horizontal; } } @@ -326,8 +326,8 @@ padding-bottom: 0; .box-shadow(none); - // Outdent the form if last child to line up with content down the page - &.navbar-right:last-child { + // Outdent the form if first child to line up with content down the page + &.navbar-right:first-child { margin-right: -@navbar-padding-horizontal; } } @@ -375,8 +375,8 @@ margin-left: @navbar-padding-horizontal; margin-right: @navbar-padding-horizontal; - // Outdent the form if last child to line up with content down the page - &.navbar-right:last-child { + // Outdent the form if first child to line up with content down the page + &.navbar-right:first-child { margin-right: 0; } } -- cgit v1.2.3 From 510f4fe50ad30499adf1d19dd65ef694c414aacd Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 8 May 2014 15:41:08 -0700 Subject: Fixes #13478, reverts #10941 --- less/glyphicons.less | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'less') diff --git a/less/glyphicons.less b/less/glyphicons.less index 789c5e7f4..d3485dcb1 100644 --- a/less/glyphicons.less +++ b/less/glyphicons.less @@ -10,11 +10,11 @@ // Import the fonts @font-face { font-family: 'Glyphicons Halflings'; - src: ~"url('@{icon-font-path}@{icon-font-name}.eot')"; - src: ~"url('@{icon-font-path}@{icon-font-name}.eot?#iefix') format('embedded-opentype')", - ~"url('@{icon-font-path}@{icon-font-name}.woff') format('woff')", - ~"url('@{icon-font-path}@{icon-font-name}.ttf') format('truetype')", - ~"url('@{icon-font-path}@{icon-font-name}.svg#@{icon-font-svg-id}') format('svg')"; + src: url('@{icon-font-path}@{icon-font-name}.eot'); + src: url('@{icon-font-path}@{icon-font-name}.eot?#iefix') format('embedded-opentype'), + url('@{icon-font-path}@{icon-font-name}.woff') format('woff'), + url('@{icon-font-path}@{icon-font-name}.ttf') format('truetype'), + url('@{icon-font-path}@{icon-font-name}.svg#@{icon-font-svg-id}') format('svg'); } // Catchall baseclass -- cgit v1.2.3 From 056a192f95de23b6bb9092b224f36f85fe253b04 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 10 May 2014 17:39:34 +0100 Subject: Squashed commit of the following: commit 81324491f4913d6797c3c9e4df83a1aefd7d9116 Author: Daniel Date: Sat May 10 17:37:29 2014 +0100 use opacity mixin commit 694b0a3fcd196e8cba9e4c23850f903c0804cb44 Author: Daniel Husar Date: Fri May 9 13:47:35 2014 +0100 Update button-groups.less --- less/button-groups.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less') diff --git a/less/button-groups.less b/less/button-groups.less index ef11cf12a..6dbb09f4c 100644 --- a/less/button-groups.less +++ b/less/button-groups.less @@ -232,5 +232,5 @@ [data-toggle="buttons"] > .btn > input[type="checkbox"] { position: absolute; z-index: -1; - opacity: 0; + .opacity(0); } -- cgit v1.2.3 From 95683ddfca4134b119a19143320b17d43cee64cd Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Wed, 14 May 2014 15:33:41 -0700 Subject: change note in .resizable() mixin for accuracy Not a Safari bug. It's standards-compliant. Quoting from http://www.w3.org/TR/css3-ui/#resize : > ### 8.1. `resize` property > > * Applies to: elements with `overflow` other than `visible` > > The `resize` property applies to elements whose computed `overflow` value is something other than `visible`. Original comment was added in commit 648c4689273647c321dd6e3979d910282e9a9339. --- less/mixins/resize.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less') diff --git a/less/mixins/resize.less b/less/mixins/resize.less index fabb15d7f..3acd3afdb 100644 --- a/less/mixins/resize.less +++ b/less/mixins/resize.less @@ -2,5 +2,5 @@ .resizable(@direction) { resize: @direction; // Options: horizontal, vertical, both - overflow: auto; // Safari fix + overflow: auto; // Per CSS3 UI, `resize` only applies when `overflow` isn't `visible` } -- cgit v1.2.3 From 7287582cf2187c59cfdd318fb03ceb2408f762f0 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Wed, 14 May 2014 16:41:40 -0700 Subject: more precise docs link --- less/responsive-utilities.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less') diff --git a/less/responsive-utilities.less b/less/responsive-utilities.less index 93f2e8ea8..abbeeeb43 100644 --- a/less/responsive-utilities.less +++ b/less/responsive-utilities.less @@ -14,7 +14,7 @@ // For more information, see the following: // // Issue: https://github.com/twbs/bootstrap/issues/10497 -// Docs: http://getbootstrap.com/getting-started/#browsers +// Docs: http://getbootstrap.com/getting-started/#support-ie10-width // Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/ @-ms-viewport { -- cgit v1.2.3 From f6bebbd83af66476da63fada2766165dac9fb0a7 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Wed, 14 May 2014 17:08:53 -0700 Subject: reference other more recent source regarding the IE viewport bug --- less/responsive-utilities.less | 1 + 1 file changed, 1 insertion(+) (limited to 'less') diff --git a/less/responsive-utilities.less b/less/responsive-utilities.less index abbeeeb43..b1db31d7b 100644 --- a/less/responsive-utilities.less +++ b/less/responsive-utilities.less @@ -15,6 +15,7 @@ // // Issue: https://github.com/twbs/bootstrap/issues/10497 // Docs: http://getbootstrap.com/getting-started/#support-ie10-width +// Source: http://timkadlec.com/2013/01/windows-phone-8-and-device-width/ // Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/ @-ms-viewport { -- cgit v1.2.3 From 7da34cc0ec493355e8f6123875261e508d826d83 Mon Sep 17 00:00:00 2001 From: ItsJonQ Date: Wed, 21 May 2014 17:24:43 -0400 Subject: Applied translate3d to modal, navbar-fixed and affix to combat browser repaint --- less/modals.less | 4 ++-- less/navbar.less | 1 + less/utilities.less | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'less') diff --git a/less/modals.less b/less/modals.less index 093d05131..abf46cce8 100644 --- a/less/modals.less +++ b/less/modals.less @@ -31,10 +31,10 @@ // When fading in the modal, animate it to slide down &.fade .modal-dialog { - .translate(0, -25%); + .translate3d(0, -25%, 0); .transition-transform(~"0.3s ease-out"); } - &.in .modal-dialog { .translate(0, 0)} + &.in .modal-dialog { .translate3d(0, 0, 0) } } // Shell div to position the modal with bottom padding diff --git a/less/navbar.less b/less/navbar.less index b5e9a5f8d..55bfd2942 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -141,6 +141,7 @@ right: 0; left: 0; z-index: @zindex-navbar-fixed; + .translate3d(0, 0, 0); // Undo the rounded corners @media (min-width: @grid-float-breakpoint) { diff --git a/less/utilities.less b/less/utilities.less index a26031214..c0becabe3 100644 --- a/less/utilities.less +++ b/less/utilities.less @@ -53,4 +53,5 @@ .affix { position: fixed; + .translate3d(0, 0, 0); } -- cgit v1.2.3 From 3261ab704e0608740919eeedcac866b0b470887c Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Wed, 21 May 2014 16:44:09 -0700 Subject: update explanatory comment about iOS date/time inputs bug Per: * http://jsbin.com/purer/2/edit * https://github.com/cvrebert/bs-css-hacks/blob/6e8aa78384a005b007fc45327c9516dcf6ec0f30/README.md#ios-temporal-input-line-height Thanks @mdo <3 [skip sauce] [skip validator] --- less/forms.less | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'less') diff --git a/less/forms.less b/less/forms.less index 335c1e0e8..f0e9204f4 100644 --- a/less/forms.less +++ b/less/forms.less @@ -165,9 +165,11 @@ input[type="search"] { } -// Special styles for iOS date input +// Special styles for iOS temporal inputs // -// In Mobile Safari, date inputs require a pixel line-height that matches the +// 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. Since this fucks up everything else, we have to // appropriately reset it for Internet Explorer and the size variations. -- cgit v1.2.3 From fab9ab8fe9b51ebc88872482556df3f793e5ac4a Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 22 May 2014 18:42:21 -0700 Subject: Reset the padding on radio/checkbox labels in form-inline --- less/forms.less | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'less') diff --git a/less/forms.less b/less/forms.less index 335c1e0e8..e3fe6c3d2 100644 --- a/less/forms.less +++ b/less/forms.less @@ -410,8 +410,11 @@ input[type="checkbox"], display: inline-block; margin-top: 0; margin-bottom: 0; - padding-left: 0; vertical-align: middle; + + label { + padding-left: 0; + } } .radio input[type="radio"], .checkbox input[type="checkbox"] { -- cgit v1.2.3 From 36616db81dbf463c932b77c9bae8c722f007f8a3 Mon Sep 17 00:00:00 2001 From: Nadan Gergeo Date: Sat, 24 May 2014 05:50:45 +0200 Subject: Table-responsive: changed overflow-x to auto to hide scrollbar when it's not overflown, fixes #13669. --- less/tables.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less') diff --git a/less/tables.less b/less/tables.less index 555d7924c..d46b141d9 100644 --- a/less/tables.less +++ b/less/tables.less @@ -173,7 +173,7 @@ table { width: 100%; margin-bottom: (@line-height-computed * 0.75); overflow-y: hidden; - overflow-x: scroll; + overflow-x: auto; -ms-overflow-style: -ms-autohiding-scrollbar; border: 1px solid @table-border-color; -webkit-overflow-scrolling: touch; -- cgit v1.2.3 From 585f4787f7080e738e8172a56901c2f347a54a30 Mon Sep 17 00:00:00 2001 From: Konstantin Kulinicenko Date: Sat, 24 May 2014 15:33:15 +0200 Subject: text transformation added Transform text in components with text capitalization classes. --- less/type.less | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'less') diff --git a/less/type.less b/less/type.less index 384cacc8e..d76298e57 100644 --- a/less/type.less +++ b/less/type.less @@ -97,6 +97,11 @@ mark, .text-center { text-align: center; } .text-justify { text-align: justify; } +// Transformation +.text-lowercase { text-transform: lowercase; } +.text-uppercase { text-transform: uppercase; } +.text-capitalize { text-transform: capitalize; } + // Contextual colors .text-muted { color: @text-muted; -- cgit v1.2.3 From 6e4825aef19a1480d48a85af297169849b0437d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D8=B3=DB=8C=D8=AF=20=D9=85=D8=B1=D8=AA=D8=B6=DB=8C=20?= =?UTF-8?q?=D9=85=D9=88=D8=B3=D9=88=DB=8C?= Date: Tue, 27 May 2014 15:31:13 +0430 Subject: Color Contrast for panel heading related to #13686 --- less/mixins/panels.less | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'less') diff --git a/less/mixins/panels.less b/less/mixins/panels.less index e2c2e462f..1d684c9e1 100644 --- a/less/mixins/panels.less +++ b/less/mixins/panels.less @@ -11,6 +11,10 @@ + .panel-collapse > .panel-body { border-top-color: @border; } + .badge { + color: @background-color; + background-color: @color; + } } & > .panel-footer { + .panel-collapse > .panel-body { -- cgit v1.2.3 From 67a332c97b1ab06751798bf3b2f1690a2b27dc6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D8=B3=DB=8C=D8=AF=20=D9=85=D8=B1=D8=AA=D8=B6=DB=8C=20?= =?UTF-8?q?=D9=85=D9=88=D8=B3=D9=88=DB=8C?= Date: Tue, 27 May 2014 17:09:47 +0430 Subject: fix variables in panels.less --- less/mixins/panels.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'less') diff --git a/less/mixins/panels.less b/less/mixins/panels.less index 1d684c9e1..49ee10d4a 100644 --- a/less/mixins/panels.less +++ b/less/mixins/panels.less @@ -12,8 +12,8 @@ border-top-color: @border; } .badge { - color: @background-color; - background-color: @color; + color: @heading-bg-color; + background-color: @heading-text-color; } } & > .panel-footer { -- cgit v1.2.3 From 445deb7e2d8d877237b0da81515e656428c6aecd Mon Sep 17 00:00:00 2001 From: bcullman Date: Thu, 29 May 2014 13:13:03 -0700 Subject: removing unnecessary max-width on tables --- less/tables.less | 1 - 1 file changed, 1 deletion(-) (limited to 'less') diff --git a/less/tables.less b/less/tables.less index 555d7924c..ca91630ce 100644 --- a/less/tables.less +++ b/less/tables.less @@ -4,7 +4,6 @@ table { - max-width: 100%; background-color: @table-bg; } th { -- cgit v1.2.3 From f87a023153c7bb460c3a2520fd1ec6310f60a11a Mon Sep 17 00:00:00 2001 From: Siarhei Khilko Date: Wed, 4 Jun 2014 15:20:36 -0700 Subject: Fix bug where a panel recieve extra top border https://github.com/twbs/bootstrap/issues/13734 A panel placed inside of a collapsible panel recieve extra top border. This commit reduces the effect of a selector to apply a border only to the collapsible panel body itself, not to any panel placed within it. --- less/panels.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less') diff --git a/less/panels.less b/less/panels.less index 9afa4cbfd..f3b9582c3 100644 --- a/less/panels.less +++ b/less/panels.less @@ -206,7 +206,7 @@ .panel-heading { border-bottom: 0; - + .panel-collapse .panel-body { + + .panel-collapse > .panel-body { border-top: 1px solid @panel-inner-border; } } -- cgit v1.2.3 From 5872a7e0aca5e2b5b8e0be5df8b2a7cdf987d805 Mon Sep 17 00:00:00 2001 From: Ben Zumhagen Date: Tue, 3 Jun 2014 22:48:36 -0400 Subject: Resolves Issue #13689 Doing this the right way this time. Hiding .panel-footer top border when preceeded by a .list-group. This should resolve the "double border" issue. --- less/panels.less | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'less') diff --git a/less/panels.less b/less/panels.less index 9afa4cbfd..3f8e6a73e 100644 --- a/less/panels.less +++ b/less/panels.less @@ -86,7 +86,9 @@ border-top-width: 0; } } - +.list-group + .panel-footer { + border-top-width: 0; +} // Tables in panels // -- cgit v1.2.3 From ea99e3c91b0470a14a8c00c767f6dc627a2d274f Mon Sep 17 00:00:00 2001 From: Thomas Welton Date: Thu, 5 Jun 2014 12:07:40 +0100 Subject: Use px for font-size fixes #13737 --- less/scaffolding.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less') diff --git a/less/scaffolding.less b/less/scaffolding.less index c658d7bf5..c1e270fb7 100644 --- a/less/scaffolding.less +++ b/less/scaffolding.less @@ -20,7 +20,7 @@ // Body reset html { - font-size: 62.5%; + font-size: 10px; -webkit-tap-highlight-color: rgba(0,0,0,0); } -- cgit v1.2.3 From 739bf379a93a2a396e23f0423167b3552eb88191 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Thu, 5 Jun 2014 13:31:39 -0700 Subject: set not-allowed cursor on disabled radio+checkbox labels; fixes #13281 [skip validator] [skip sauce] --- less/forms.less | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'less') diff --git a/less/forms.less b/less/forms.less index cb8a74fa1..b678d44fc 100644 --- a/less/forms.less +++ b/less/forms.less @@ -247,19 +247,35 @@ input[type="month"] { } // Apply same disabled cursor tweak as for inputs +// Some special care is needed because