]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Formatting, comment consolidation, and line endings
authorMark Otto <otto@github.com>
Mon, 10 Mar 2014 07:05:57 +0000 (00:05 -0700)
committerMark Otto <otto@github.com>
Mon, 10 Mar 2014 07:05:57 +0000 (00:05 -0700)
29 files changed:
less/mixins/alerts.less
less/mixins/background-variant.less
less/mixins/border-radius.less
less/mixins/buttons.less
less/mixins/center-block.less
less/mixins/clearfix.less
less/mixins/forms.less
less/mixins/gradients.less
less/mixins/grid-framework.less
less/mixins/grid.less
less/mixins/hide-text.less
less/mixins/image.less
less/mixins/labels.less
less/mixins/list-group.less
less/mixins/nav-divider.less
less/mixins/nav-vertical-align.less
less/mixins/opacity.less
less/mixins/pagination.less
less/mixins/panels.less
less/mixins/progress-bar.less
less/mixins/reset-filter.less
less/mixins/resize.less
less/mixins/responsive-visibility.less
less/mixins/size.less
less/mixins/tab-focus.less
less/mixins/table-row.less
less/mixins/text-emphasis.less
less/mixins/text-overflow.less
less/mixins/vendor-prefixes.less

index f6dbe143934ab0ac11ce4a64b94109df01809fa5..396196f438fd31e7757a0874ece4a99fe0cf9fd9 100644 (file)
@@ -12,4 +12,3 @@
     color: darken(@text-color, 10%);
   }
 }
-
index bbb52ad8b0251256dfb9cf9fa965d940adf4c82d..556e490d45d004c4e4504153133c5c1050207b65 100644 (file)
@@ -6,4 +6,3 @@
     background-color: darken(@color, 10%);
   }
 }
-
index 7467091d01a19435f3f6225949f953533315f4b3..ca05dbf457000d122a3b8afcc3847e44cffea421 100644 (file)
@@ -16,4 +16,3 @@
   border-bottom-left-radius: @radius;
      border-top-left-radius: @radius;
 }
-
index e2b863992affd8b7978c5a1d5f2d605e6067d0a4..d7f7cd97a228507c255c0f0e89c84101a4aa99e5 100644 (file)
@@ -48,4 +48,3 @@
   line-height: @line-height;
   border-radius: @border-radius;
 }
-
index 603d7d73ec476927f42d8d5eaf9b14325f0bb025..d18d6de9ed6a7af49415277cb72e57b7dbd42d0f 100644 (file)
@@ -5,4 +5,3 @@
   margin-left: auto;
   margin-right: auto;
 }
-
index 3604e8c7bf4dc9aa8293ae57f641041df2ec95fd..3f7a3820c1cf7756322917982646352e77119f46 100644 (file)
@@ -1,5 +1,4 @@
 // Clearfix
-// Source: http://nicolasgallagher.com/micro-clearfix-hack/
 //
 // For modern browsers
 // 1. The space content is one way to avoid an Opera bug when the
@@ -8,6 +7,8 @@
 //    that are clearfixed.
 // 2. The use of `table` rather than `block` is only necessary if using
 //    `:before` to contain the top-margins of child elements.
+//
+// Source: http://nicolasgallagher.com/micro-clearfix-hack/
 
 .clearfix() {
   &:before,
@@ -19,4 +20,3 @@
     clear: both;
   }
 }
-
index 35271edb3df3fe26353b990f749ba2c8e9786ffc..3c260f52d3f14f7cba710cdffb45da9cf21563ab 100644 (file)
 }
 
 
-
-// Forms
-// --------------------------------------------------
-
 // Form control focus state
 //
 // Generate a customized focus state and for any input with the specified color,
@@ -83,4 +79,3 @@
     height: auto;
   }
 }
-
index f06528e2e4161b75e841ff55fc6ccef2ae363e94..e7d2615987a2fb601430a92b66a87071589968d2 100644 (file)
@@ -1,7 +1,5 @@
 // Gradients
 
-// --------------------------------------------------
-
 #gradient {
 
   // Horizontal gradient, from left to right
@@ -59,4 +57,3 @@
     background-image: linear-gradient(@angle, @color 25%, transparent 25%, transparent 50%, @color 50%, @color 75%, transparent 75%, transparent);
   }
 }
-
index 430a3471fdae4c1b12a3fbf7fe06efc1d800687f..631785465f5507186b3af9bf0019b571d0a4ef90 100644 (file)
@@ -1,8 +1,8 @@
 // Framework grid generation
-// --------------------------------------------------
-
+//
 // Used only by Bootstrap to generate the correct number of grid classes given
 // any value of `@grid-columns`.
+
 .make-grid-columns() {
   // Common styles for all sizes of grid columns, widths 1-12
   .col(@index) when (@index = 1) { // initial
@@ -89,4 +89,3 @@
   .loop-grid-columns(@grid-columns, @class, push);
   .loop-grid-columns(@grid-columns, @class, offset);
 }
-
index 9672ebfe23b8332e0f463f1996273d6cc2eb0ca6..c2c6f0e757ecfc152785b2a545214f93535269c8 100644 (file)
@@ -1,5 +1,6 @@
 // Grid system
-// --------------------------------------------------
+//
+// Generate semantic grid columns with these mixins.
 
 // Centered container element
 .container-fixed() {
     right: percentage((@columns / @grid-columns));
   }
 }
-
index 4ab8159a2d7c9e4ff8273d61989a5404094dc451..c2315e572f83385f10407cae46253526e0bb3dd7 100644 (file)
@@ -19,4 +19,3 @@
 .text-hide() {
   .hide-text();
 }
-
index 9a6b1b50026d95ea5a9d81ce292fee713d0544f0..f233cb3e199f21ac194212e10ebb1e12feb0682b 100644 (file)
@@ -2,9 +2,9 @@
 // - Responsive image
 // - Retina image
 
-// Responsive image
-// --------------------------------------------------
 
+// Responsive image
+//
 // Keep images from scaling beyond the width of their parents.
 .img-responsive(@display: block) {
   display: @display;
@@ -12,9 +12,9 @@
   height: auto; // Part 2: Scale the height according to the width, otherwise you get stretching
 }
 
-// Retina image
-// --------------------------------------------------
 
+// Retina image
+//
 // Short retina mixin for setting background-image and -size. Note that the
 // spelling of `min--moz-device-pixel-ratio` is intentional.
 .img-retina(@file-1x; @file-2x; @width-1x; @height-1x) {
@@ -31,4 +31,3 @@
     background-size: @width-1x @height-1x;
   }
 }
-
index 0b921fb067f42500e6a384bb275398219a711c4d..6f9e490b8ec2cf8c42732ffc0af0b78c2b1d1914 100644 (file)
@@ -2,6 +2,7 @@
 
 .label-variant(@color) {
   background-color: @color;
+  
   &[href] {
     &:hover,
     &:focus {
@@ -9,4 +10,3 @@
     }
   }
 }
-
index 703036f938db15ca7f917d1370bdbd460a063500..8b5b065cb84cec3364d028e046b3fd24878f20b1 100644 (file)
@@ -8,7 +8,9 @@
     a& {
       color: @color;
 
-      .list-group-item-heading { color: inherit; }
+      .list-group-item-heading {
+        color: inherit;
+      }
 
       &:hover,
       &:focus {
@@ -25,4 +27,3 @@
     }
   }
 }
-
index e95663b5035a34821a0446aed4b99d389ce4d1aa..feb1e9ed0dad8d0db00ebb93b175591a88abf707 100644 (file)
@@ -8,4 +8,3 @@
   overflow: hidden;
   background-color: @color;
 }
-
index 80c84aa68f94afa4e9f2f1a72d433ad0eb9e1d00..d458c78613e6dc082141783ef45d56a5a7d601c3 100644 (file)
@@ -7,4 +7,3 @@
   margin-top: ((@navbar-height - @element-height) / 2);
   margin-bottom: ((@navbar-height - @element-height) / 2);
 }
-
index 3e4ae0f4f640c5ccb3024a6959df74351bf487d0..33ed25ce6763de7f8ae195628c1eb168379d8435 100644 (file)
@@ -6,4 +6,3 @@
   @opacity-ie: (@opacity * 100);
   filter: ~"alpha(opacity=@{opacity-ie})";
 }
-
index ba07fae57b7c46fe3634003094fb7bb132c408a5..7deb505d25f09cfc939beff303c0f6d52e83a9a2 100644 (file)
@@ -21,4 +21,3 @@
     }
   }
 }
-
index 5171583074bfc15e20244d8869279ab33b2c0725..e2c2e462fa4ca8dd5c185b7b2bedb00e65a1ac48 100644 (file)
@@ -18,4 +18,3 @@
     }
   }
 }
-
index fccbe92f39594eb9894dee42037cb41ecef4f873..f71a57154f2b7d4379046ba8c7e669dea788490c 100644 (file)
@@ -6,4 +6,3 @@
     #gradient > .striped();
   }
 }
-
index 1e4df1725dbe215a81cc93a2860093afbf0c3d5d..68cdb5e18602af3ab8e3ddba57a06045ef1c65bb 100644 (file)
@@ -6,4 +6,3 @@
 .reset-filter() {
   filter: e(%("progid:DXImageTransform.Microsoft.gradient(enabled = false)"));
 }
-
index edf8fc6ed5a3226f7c35bbda301b631beac1fbce..fabb15d7f0611d3fa1a8810b3a84ca4eb799c1fe 100644 (file)
@@ -4,4 +4,3 @@
   resize: @direction; // Options: horizontal, vertical, both
   overflow: auto; // Safari fix
 }
-
index 136b3bb04427b31601660d05b468be91fb9a2128..f7951c3d75cbe6bb72ea5f7493920611a2800797 100644 (file)
@@ -13,4 +13,3 @@
 .responsive-invisibility() {
   display: none !important;
 }
-
index 97740f56346418f052b389119708d1a8b312cc61..a8be65089606863ad878173e951b62fb387daf52 100644 (file)
@@ -8,4 +8,3 @@
 .square(@size) {
   .size(@size; @size);
 }
-
index 3e2e1cea9cf26c563506d4df8eda4e1c8de09a5f..1f1f05ab054412684539a94423c097d6cdadd8ba 100644 (file)
@@ -7,4 +7,3 @@
   outline: 5px auto -webkit-focus-ring-color;
   outline-offset: -2px;
 }
-
index 636197f013c397e6f52fba09763e15eaaa7a2f3f..30a30e3631fbf8ffab99b0882717606b13c0805c 100644 (file)
@@ -25,4 +25,3 @@
     }
   }
 }
-
index 8ba3aaee0b413a36faa13b67cad83ad02e4121ba..0868ef9f2caaf05c2fdbe9f3f3da1616fe221080 100644 (file)
@@ -6,4 +6,3 @@
     color: darken(@color, 10%);
   }
 }
-
index e0e34eccba9853878e23947da80ec429ffb891c3..c11ad2fb7471dd29ae781f1aefdfb8bb5e4a7d6c 100644 (file)
@@ -6,4 +6,3 @@
   text-overflow: ellipsis;
   white-space: nowrap;
 }
-
index 6b83fe0cc44440ec580c76f6c1aa4644434c8169..81b0e52e76e146fac5934ff2545e7aaafbc72a9e 100644 (file)
@@ -1,5 +1,7 @@
 // Vendor Prefixes
-// These are deprecated mixins that handle vendor prefixes
+//
+// All vender mixins are deprecated as of v3.2 due to the introduction of
+// Autoprefixer in our Gruntfile. They will be removed in v4.
 
 // - Animations
 // - Backface visibility
 // - Transitions
 // - User Select
 
+
 // Animations
-//
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .animation(@animation) {
   -webkit-animation: @animation;
        -o-animation: @animation;
           animation: @animation;
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .animation-name(@name) {
   -webkit-animation-name: @name;
           animation-name: @name;
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .animation-duration(@duration) {
   -webkit-animation-duration: @duration;
           animation-duration: @duration;
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .animation-timing-function(@timing-function) {
   -webkit-animation-timing-function: @timing-function;
           animation-timing-function: @timing-function;
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .animation-delay(@delay) {
   -webkit-animation-delay: @delay;
           animation-delay: @delay;
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .animation-iteration-count(@iteration-count) {
   -webkit-animation-iteration-count: @iteration-count;
           animation-iteration-count: @iteration-count;
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .animation-direction(@direction) {
   -webkit-animation-direction: @direction;
           animation-direction: @direction;
           animation-fill-mode: @fill-mode;
 }
 
-
 // Backface visibility
 // Prevent browsers from flickering when using CSS 3D transforms.
 // Default value is `visible`, but can be changed to `hidden`
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 
 .backface-visibility(@visibility){
   -webkit-backface-visibility: @visibility;
           backface-visibility: @visibility;
 }
 
-
 // Drop shadows
 //
 // Note: Deprecated `.box-shadow()` as of v3.1.0 since all of Bootstrap's
-//   supported browsers that have box shadow capabilities now support the
-//   standard `box-shadow` property.
+// supported browsers that have box shadow capabilities now support it.
 
 .box-shadow(@shadow) {
   -webkit-box-shadow: @shadow; // iOS <4.3 & Android <4.1
           box-shadow: @shadow;
 }
 
-
 // Box sizing
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .box-sizing(@boxmodel) {
   -webkit-box-sizing: @boxmodel;
      -moz-box-sizing: @boxmodel;
@@ -95,7 +78,6 @@
 }
 
 // CSS3 Content Columns
-
 .content-columns(@column-count; @column-gap: @grid-gutter-width) {
   -webkit-column-count: @column-count;
      -moz-column-count: @column-count;
 }
 
 // Optional hyphenation
-
 .hyphens(@mode: auto) {
   word-wrap: break-word;
   -webkit-hyphens: @mode;
 }
 
 // Placeholder text
-
 .placeholder(@color: @input-color-placeholder) {
   &::-moz-placeholder           { color: @color;   // Firefox
                                   opacity: 1; } // See https://github.com/twbs/bootstrap/pull/11526
 }
 
 // Transformations
-//
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .scale(@ratio) {
   -webkit-transform: scale(@ratio);
       -ms-transform: scale(@ratio); // IE9 only
        -o-transform: scale(@ratio);
           transform: scale(@ratio);
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .scale(@ratioX; @ratioY) {
   -webkit-transform: scale(@ratioX, @ratioY);
       -ms-transform: scale(@ratioX, @ratioY); // IE9 only
        -o-transform: scale(@ratioX, @ratioY);
           transform: scale(@ratioX, @ratioY);
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .scaleX(@ratio) {
   -webkit-transform: scaleX(@ratio);
       -ms-transform: scaleX(@ratio); // IE9 only
        -o-transform: scaleX(@ratio);
           transform: scaleX(@ratio);
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .scaleY(@ratio) {
   -webkit-transform: scaleY(@ratio);
       -ms-transform: scaleY(@ratio); // IE9 only
        -o-transform: scaleY(@ratio);
           transform: scaleY(@ratio);
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .skew(@x; @y) {
   -webkit-transform: skew(@x, @y);
       -ms-transform: skewX(@x) skewY(@y); // See https://github.com/twbs/bootstrap/issues/4885; IE9+
        -o-transform: skew(@x, @y);
           transform: skew(@x, @y);
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .translate(@x; @y) {
   -webkit-transform: translate(@x, @y);
       -ms-transform: translate(@x, @y); // IE9 only
        -o-transform: translate(@x, @y);
           transform: translate(@x, @y);
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .translate3d(@x; @y; @z) {
   -webkit-transform: translate3d(@x, @y, @z);
           transform: translate3d(@x, @y, @z);
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .rotate(@degrees) {
   -webkit-transform: rotate(@degrees);
       -ms-transform: rotate(@degrees); // IE9 only
        -o-transform: rotate(@degrees);
           transform: rotate(@degrees);
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .rotateX(@degrees) {
   -webkit-transform: rotateX(@degrees);
       -ms-transform: rotateX(@degrees); // IE9 only
        -o-transform: rotateX(@degrees);
           transform: rotateX(@degrees);
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .rotateY(@degrees) {
   -webkit-transform: rotateY(@degrees);
       -ms-transform: rotateY(@degrees); // IE9 only
        -o-transform: rotateY(@degrees);
           transform: rotateY(@degrees);
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .perspective(@perspective) {
   -webkit-perspective: @perspective;
      -moz-perspective: @perspective;
           perspective: @perspective;
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .perspective-origin(@perspective) {
   -webkit-perspective-origin: @perspective;
      -moz-perspective-origin: @perspective;
           perspective-origin: @perspective;
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .transform-origin(@origin) {
   -webkit-transform-origin: @origin;
      -moz-transform-origin: @origin;
 
 
 // Transitions
-//
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
+
 .transition(@transition) {
   -webkit-transition: @transition;
        -o-transition: @transition;
           transition: @transition;
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .transition-property(@transition-property) {
   -webkit-transition-property: @transition-property;
           transition-property: @transition-property;
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .transition-delay(@transition-delay) {
   -webkit-transition-delay: @transition-delay;
           transition-delay: @transition-delay;
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .transition-duration(@transition-duration) {
   -webkit-transition-duration: @transition-duration;
           transition-duration: @transition-duration;
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .transition-timing-function(@timing-function) {
   -webkit-transition-timing-function: @timing-function;
           transition-timing-function: @timing-function;
 }
-
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 .transition-transform(@transition) {
   -webkit-transition: -webkit-transform @transition;
      -moz-transition: -moz-transform @transition;
           transition: transform @transition;
 }
 
+
 // User select
 // For selecting text on the page
-// Deprecated as of v3.2.0 due to the introduction of autoprefixer (will be removed in v4)
 
 .user-select(@select) {
   -webkit-user-select: @select;
       -ms-user-select: @select; // IE10+
           user-select: @select;
 }
-