]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
basic linting changes, disable some id selector testing per file as needed
authorMark Otto <markdotto@gmail.com>
Mon, 4 Jan 2016 02:17:58 +0000 (18:17 -0800)
committerMark Otto <markdotto@gmail.com>
Mon, 4 Jan 2016 02:17:58 +0000 (18:17 -0800)
docs/assets/scss/_component-examples.scss
docs/assets/scss/_content.scss
docs/assets/scss/_footer.scss
docs/assets/scss/_masthead.scss
docs/assets/scss/_sidebar.scss
docs/assets/scss/_skiplink.scss

index bc1aebc4086c6603229210df9962b3efa1500b0d..0dcf298c52a0d1fb391319a329cb4fa4e7290e02 100644 (file)
@@ -68,8 +68,8 @@
 
   @include media-breakpoint-up(sm) {
     margin-right: 0;
-    margin-left: 0;
     margin-bottom: 0;
+    margin-left: 0;
     padding: 1.5rem;
     border-width: .2rem;
   }
index 017dad413faea1bd7afcf38275ada723883642e0..70ca83375c461363268cbd6b0f78340d38dda608 100644 (file)
@@ -1,3 +1,5 @@
+// scss-lint:disable IdSelector
+
 //
 // Automatically style Markdown-based tables like a Bootstrap `.table`.
 //
@@ -7,8 +9,8 @@
     display: block;
     width: 100%;
     max-width: 100%;
-    overflow-y: auto;
     margin-bottom: $spacer;
+    overflow-y: auto;
 
     // Cells
     > thead,
index cd15e766824654c64df87dc2addbe559cf67bad9..237a90d327f0a21c087693a038da0f8716d8e148 100644 (file)
@@ -6,8 +6,8 @@
   padding: 4rem 0;
   margin-top: 4rem;
   font-size: 85%;
-  background-color: #f7f7f7;
   text-align: center;
+  background-color: #f7f7f7;
 
   a {
     font-weight: 500;
index 32e1aad86c0e9c882b61b8cb45edcbe11c3558ee..efbd5c649c333c6789d827284e02d2f3f2744ad9 100644 (file)
@@ -3,9 +3,7 @@
   padding: 3rem ($grid-gutter-width / 2) 2rem;
   color: $bd-purple-light;
   text-align: center;
-  background-image: -webkit-linear-gradient(135deg, darken($bd-purple, 20%), $bd-purple, lighten(saturate($bd-purple, 5%), 15%));
-  background-image:         linear-gradient(135deg, darken($bd-purple, 20%), $bd-purple, lighten(saturate($bd-purple, 5%), 15%));
-  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#{ie-hex-str(darken($bd-purple, 20%))}', endColorstr='#{ie-hex-str(lighten(saturate($bd-purple, 5%), 15%))}', gradientType='1');   /* For IE9 */
+  background-image: linear-gradient(135deg, darken($bd-purple, 20%), $bd-purple, lighten(saturate($bd-purple, 5%), 15%));
 
   .bd-booticon {
     margin: 0 auto 2rem;
@@ -19,9 +17,9 @@
   }
 
   .lead {
-    margin-left: auto;
     margin-right: auto;
     margin-bottom: 2rem;
+    margin-left: auto;
     font-size: 1.25rem;
     color: #fff;
   }
index 87e87586c2b021b91d8a9d0d51ce55bf2ebe2720..7b9edefea99c5c9ef9e77c13c00eed1eb2b11bc2 100644 (file)
@@ -36,8 +36,8 @@
   }
 
   .dropdown-item {
-    padding-left: .75rem;
     padding-right: .75rem;
+    padding-left: .75rem;
 
     &:first-child { margin-top: .25rem; }
     &:last-child { margin-bottom: .25rem; }
index b65e6bd647bb19ac2cae09bea7de5681c869187b..6eb60ffa64e0daabcea8e6173c51dbac56621aed 100644 (file)
@@ -1,3 +1,5 @@
+// scss-lint:disable IdSelector
+
 #skippy {
   display: block;
   padding: 1em;