From a486a6f20b6502cf260368f5e0e423a7db2c6284 Mon Sep 17 00:00:00 2001 From: Jari Jokinen Date: Wed, 1 Feb 2012 12:59:38 +0200 Subject: Allow labels to be links --- less/labels.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/less/labels.less b/less/labels.less index c0f427750..923f1b84c 100644 --- a/less/labels.less +++ b/less/labels.less @@ -14,3 +14,7 @@ .label-warning { background-color: @orange; } .label-success { background-color: @successText; } .label-info { background-color: @infoText; } +.label:hover { + color: @white; + text-decoration: none; +} -- cgit v1.2.3 From b96e80cf3933cb5788cc21247e68b5cd2e0cbc94 Mon Sep 17 00:00:00 2001 From: Michael Shafrir Date: Wed, 1 Feb 2012 09:58:08 -0800 Subject: Fix broken named anchor link for LESS compiling instructions. --- docs/scaffolding.html | 2 +- docs/templates/pages/scaffolding.mustache | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/scaffolding.html b/docs/scaffolding.html index 7f9c9de66..5dcfc7ca2 100644 --- a/docs/scaffolding.html +++ b/docs/scaffolding.html @@ -242,7 +242,7 @@

How to customize

-

Modifying the grid means changing the three @grid* variables and recompiling Bootstrap. Change the grid variables in variables.less and use one of the four ways documented to recompile. If you're adding more columns, be sure to add the CSS for those in grid.less.

+

Modifying the grid means changing the three @grid* variables and recompiling Bootstrap. Change the grid variables in variables.less and use one of the four ways documented to recompile. If you're adding more columns, be sure to add the CSS for those in grid.less.

Staying responsive

diff --git a/docs/templates/pages/scaffolding.mustache b/docs/templates/pages/scaffolding.mustache index bfbd879d5..dc2a1a6fc 100644 --- a/docs/templates/pages/scaffolding.mustache +++ b/docs/templates/pages/scaffolding.mustache @@ -166,7 +166,7 @@

{{_i}}How to customize{{/i}}

-

{{_i}}Modifying the grid means changing the three @grid* variables and recompiling Bootstrap. Change the grid variables in variables.less and use one of the four ways documented to recompile. If you're adding more columns, be sure to add the CSS for those in grid.less.{{/i}}

+

{{_i}}Modifying the grid means changing the three @grid* variables and recompiling Bootstrap. Change the grid variables in variables.less and use one of the four ways documented to recompile. If you're adding more columns, be sure to add the CSS for those in grid.less.{{/i}}

{{_i}}Staying responsive{{/i}}

-- cgit v1.2.3 From 981cbfb4fa6d22b13aff08fc5820481ab1e613c6 Mon Sep 17 00:00:00 2001 From: eirikb Date: Wed, 1 Feb 2012 19:40:10 +0100 Subject: Removed extra / from 'Get the javascript'-link in components.html --- docs/components.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components.html b/docs/components.html index 0ccbf512e..526839729 100644 --- a/docs/components.html +++ b/docs/components.html @@ -605,7 +605,7 @@

Custom jQuery plugin

All tabbable tabs are powered by our lightweight jQuery plugin. Read more about how to bring tabbable tabs to life on the javascript docs page.

-

Get the javascript →

+

Get the javascript →

-- cgit v1.2.3 From 12ed7a2b33a7a76ec29081c52cd9fc0814c9df9a Mon Sep 17 00:00:00 2001 From: eirikb Date: Wed, 1 Feb 2012 19:44:33 +0100 Subject: Removed / from 'Get the javascript' in components.mustache --- docs/templates/pages/components.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache index ab11337df..c251ed04b 100644 --- a/docs/templates/pages/components.mustache +++ b/docs/templates/pages/components.mustache @@ -529,7 +529,7 @@

{{_i}}Custom jQuery plugin{{/i}}

{{_i}}All tabbable tabs are powered by our lightweight jQuery plugin. Read more about how to bring tabbable tabs to life on the javascript docs page.{{/i}}

-

{{_i}}Get the javascript →{{/i}}

+

{{_i}}Get the javascript →{{/i}}

-- cgit v1.2.3 From c3c13a247490cf177646dc2a9186b3a4e4c4242b Mon Sep 17 00:00:00 2001 From: Cary Landholt Date: Wed, 1 Feb 2012 22:20:24 -0600 Subject: Fixed typo "tabs" ==> "button" --- js/tests/unit/bootstrap-button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/tests/unit/bootstrap-button.js b/js/tests/unit/bootstrap-button.js index 59e8f33bc..8aed857e1 100644 --- a/js/tests/unit/bootstrap-button.js +++ b/js/tests/unit/bootstrap-button.js @@ -3,7 +3,7 @@ $(function () { module("bootstrap-buttons") test("should be defined on jquery object", function () { - ok($(document.body).button, 'tabs method is defined') + ok($(document.body).button, 'button method is defined') }) test("should return element", function () { -- cgit v1.2.3 From 4211f21e39631179753d6775e3ad90be05ab5f8f Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 1 Feb 2012 22:27:11 -0800 Subject: #1571: remove fixed width on file inputs --- docs/assets/bootstrap.zip | Bin 56824 -> 56825 bytes docs/assets/css/bootstrap.css | 1 + less/forms.less | 1 + 3 files changed, 2 insertions(+) diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index a1ef66887..c4ddd0f26 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index a90e31930..9de317af5 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -570,6 +570,7 @@ input[type="image"], input[type="checkbox"], input[type="radio"] { border-radius: 0; } input[type="file"] { + width: auto; padding: initial; line-height: initial; border: initial; diff --git a/less/forms.less b/less/forms.less index 9c9a9b8a9..ccf3c67fa 100644 --- a/less/forms.less +++ b/less/forms.less @@ -91,6 +91,7 @@ input[type="radio"] { // Reset the file input to browser defaults input[type="file"] { + width: auto; padding: initial; line-height: initial; border: initial; -- cgit v1.2.3 From 43d797dfff839013deb726a55edf082378444640 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 1 Feb 2012 22:29:15 -0800 Subject: #1566: add note about removal of secondary-nav in 2.0 --- docs/assets/bootstrap.zip | Bin 56825 -> 56825 bytes docs/templates/pages/upgrading.mustache | 1 + docs/upgrading.html | 1 + 3 files changed, 2 insertions(+) diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index c4ddd0f26..deab7e441 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/templates/pages/upgrading.mustache b/docs/templates/pages/upgrading.mustache index 02d1c7feb..30b843e0d 100644 --- a/docs/templates/pages/upgrading.mustache +++ b/docs/templates/pages/upgrading.mustache @@ -119,6 +119,7 @@
  • {{_i}}Base class changed from .topbar to .navbar{{/i}}
  • {{_i}}Now supports static position (default behavior, not fixed) and fixed to the top of viewport via .navbar-fixed-top (previously only supported fixed){{/i}}
  • +
  • {{_i}}Removed the .secondary-nav class; instead, just use .pull-right for right-aligned nav{{/i}}
  • {{_i}}Added vertical dividers to top-level nav{{/i}}
  • {{_i}}Improved support for inline forms in the navbar, which now require .navbar-form to properly scope styles to only the intended forms.{{/i}}
  • {{_i}}Navbar search form now requires use of the .navbar-search class and its input the use of .search-query. To position the search form, you must use .pull-left or .pull-right.{{/i}}
  • diff --git a/docs/upgrading.html b/docs/upgrading.html index 4d8328b7c..f3b18e4ed 100644 --- a/docs/upgrading.html +++ b/docs/upgrading.html @@ -195,6 +195,7 @@
    • Base class changed from .topbar to .navbar
    • Now supports static position (default behavior, not fixed) and fixed to the top of viewport via .navbar-fixed-top (previously only supported fixed)
    • +
    • Removed the .secondary-nav class; instead, just use .pull-right for right-aligned nav
    • Added vertical dividers to top-level nav
    • Improved support for inline forms in the navbar, which now require .navbar-form to properly scope styles to only the intended forms.
    • Navbar search form now requires use of the .navbar-search class and its input the use of .search-query. To position the search form, you must use .pull-left or .pull-right.
    • -- cgit v1.2.3 From 58fd0dea36173c8672fd77cf06df2ccfbeb4d068 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 1 Feb 2012 22:51:01 -0800 Subject: fixing some docs pages for i18n --- docs/assets/bootstrap.zip | Bin 56825 -> 56825 bytes docs/templates/pages/components.mustache | 10 +++++----- docs/templates/pages/index.mustache | 4 ++-- docs/templates/pages/javascript.mustache | 12 ++++++------ docs/templates/pages/less.mustache | 10 +++++----- docs/templates/pages/scaffolding.mustache | 4 ++-- docs/templates/pages/upgrading.mustache | 1 - docs/upgrading.html | 1 - 8 files changed, 20 insertions(+), 22 deletions(-) diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index deab7e441..4647e747b 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/templates/pages/components.mustache b/docs/templates/pages/components.mustache index d7b3efcae..d8218ecc0 100644 --- a/docs/templates/pages/components.mustache +++ b/docs/templates/pages/components.mustache @@ -8,8 +8,8 @@