From 23ef8c0c209844dd8b92d2a5ac82daffa7bd2914 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sat, 3 Aug 2013 21:39:57 -0700 Subject: Greater standardization of sizing terminology In class names: * large => lg * small => sm * mini => xs ("Extra small") In screen size categories: * Tiny => Extra small --- less/button-groups.less | 6 +++--- less/buttons.less | 8 ++++---- less/forms.less | 12 ++++++------ less/grid.less | 2 +- less/input-groups.less | 4 ++-- less/pagination.less | 4 ++-- less/variables.less | 6 +++--- less/wells.less | 4 ++-- 8 files changed, 23 insertions(+), 23 deletions(-) (limited to 'less') diff --git a/less/button-groups.less b/less/button-groups.less index 4ee5616f3..d8eae0a50 100644 --- a/less/button-groups.less +++ b/less/button-groups.less @@ -100,7 +100,7 @@ padding-left: 8px; padding-right: 8px; } -.btn-group > .btn-large + .dropdown-toggle { +.btn-group > .btn-lg + .dropdown-toggle { padding-left: 12px; padding-right: 12px; } @@ -117,11 +117,11 @@ margin-left: 0; } // Carets in other button sizes -.btn-large .caret { +.btn-lg .caret { border-width: 5px; } // Upside down carets for .dropup -.dropup .btn-large .caret { +.dropup .btn-lg .caret { border-bottom-width: 5px; } diff --git a/less/buttons.less b/less/buttons.less index e53b0132f..8fad99cc8 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -120,20 +120,20 @@ // Button Sizes // -------------------------------------------------- -.btn-large { +.btn-lg { padding: @padding-large-vertical @padding-large-horizontal; font-size: @font-size-large; line-height: @line-height-large; // ensure even-numbered height of button next to large input border-radius: @border-radius-large; } -.btn-small, -.btn-mini { +.btn-sm, +.btn-xs { padding: @padding-small-vertical @padding-small-horizontal; font-size: @font-size-small; line-height: @line-height-small; // ensure proper height of button next to small input border-radius: @border-radius-small; } -.btn-mini { +.btn-xs { padding: 3px 5px; } diff --git a/less/forms.less b/less/forms.less index 41d50a5e0..127f6a67a 100644 --- a/less/forms.less +++ b/less/forms.less @@ -218,14 +218,14 @@ input[type="number"] { // horizontal sizing, wrap controls in the predefined grid classes. `