]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix majority of scss linter errors
authorMark Otto <markdotto@gmail.com>
Sun, 23 Aug 2015 08:00:22 +0000 (01:00 -0700)
committerMark Otto <markdotto@gmail.com>
Sun, 23 Aug 2015 08:00:22 +0000 (01:00 -0700)
scss/.scsslint.yml
scss/_custom-forms.scss
scss/_forms.scss
scss/_labels.scss
scss/_list-group.scss
scss/_modal.scss
scss/_navbar.scss
scss/_type.scss
scss/_utilities-spacing.scss

index 3b24eeb3aa78b7868c7643ed6692471dc8c610e7..7c5573f744a435bd95ca0a4fc4b376053171af0d 100644 (file)
@@ -12,6 +12,9 @@ linters:
   ColorKeyword:
     enabled: true
 
+  ColorVariable:
+    enabled: false
+
   Comment:
     enabled: true
     exclude: ['_normalize.scss', 'bootstrap.scss']
@@ -55,6 +58,9 @@ linters:
   IdSelector:
     enabled: true
 
+  ImportantRule:
+    enabled: false
+
   ImportPath:
     enabled: true
     leading_underscore: false
index bc36013e9db31c1cff1f66d3a7c29dd6e3efebb1..5cdf45e204074cfcf44adb095d1f65d421314f7a 100644 (file)
   max-width: 100%;
   padding: .375rem 1.75rem .375rem .75rem;
   vertical-align: middle;
-       background: #fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAMAAACzvE1FAAAADFBMVEUzMzMzMzMzMzMzMzMKAG/3AAAAA3RSTlMAf4C/aSLHAAAAPElEQVR42q3NMQ4AIAgEQTn//2cLdRKppSGzBYwzVXvznNWs8C58CiussPJj8h6NwgorrKRdTvuV9v16Afn0AYFOB7aYAAAAAElFTkSuQmCC) no-repeat right .75rem center;
+  background: #fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAMAAACzvE1FAAAADFBMVEUzMzMzMzMzMzMzMzMKAG/3AAAAA3RSTlMAf4C/aSLHAAAAPElEQVR42q3NMQ4AIAgEQTn//2cLdRKppSGzBYwzVXvznNWs8C58CiussPJj8h6NwgorrKRdTvuV9v16Afn0AYFOB7aYAAAAAElFTkSuQmCC) no-repeat right .75rem center;
   background-size: 8px 10px;
   border: 1px solid $input-border;
 
   background-image: none \9;
 
   &:focus {
-    outline: none;
     border-color: #51a7e8;
+    outline: none;
     box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075), 0 0 5px rgba(81, 167, 232, 0.5);
   }
 
index 6eafd53ca5eed33fa60eaf75151a25e1c4a3e0a3..72ec9b03f99800d33ba4469e1fef0c95f289701f 100644 (file)
@@ -266,9 +266,9 @@ input[type="checkbox"] {
 .form-control-warning,
 .form-control-error {
   padding-right: ($input-padding-x * 3);
+  background-repeat: no-repeat;
   background-position: center right ($input-height * .25);
   background-size: ($input-height * .65) ($input-height * .65);
-  background-repeat: no-repeat;
 }
 
 // Form validation states
index 599f3355828a1f933f7e0f15a3b25e541434486a..403504b864f1e9d6b179ec645b9b7b1e3902bcb9 100644 (file)
@@ -41,8 +41,8 @@ a.label {
 // Make them extra rounded with a modifier to replace v3's badges.
 
 .label-pill {
-  padding-left: .6em;
   padding-right: .6em;
+  padding-left: .6em;
   border-radius: 1rem;
 }
 
index d909022900df225158b6c42333caad41452aec15..4e3d73cc5ab2dfe94741bc0ae24cee1e40edb882 100644 (file)
@@ -48,8 +48,8 @@
 a.list-group-item,
 button.list-group-item {
   width: 100%;
-  text-align: inherit;
   color: $list-group-link-color;
+  text-align: inherit;
 
   .list-group-item-heading {
     color: $list-group-link-heading-color;
index f034c77c8351d0b57b3ac58302e105b02fc446c5..046810f5f4826ecf82fb9595283b42ea7acf8475 100644 (file)
@@ -26,8 +26,8 @@
 
   // When fading in the modal, animate it to slide down
   &.fade .modal-dialog {
-    transform: translate(0, -25%);
     transition: transform .3s ease-out;
+    transform: translate(0, -25%);
   }
   &.in .modal-dialog { transform: translate(0, 0); }
 }
index 36d9abf039e165a124ffa232b71ba1197f77e97e..f196b8c7e838576e3454055a6f876131d75ebfe9 100644 (file)
@@ -69,9 +69,9 @@
 
 .navbar-brand {
   float: left;
-  margin-right: 1rem;
   padding-top:    .25rem;
   padding-bottom: .25rem;
+  margin-right: 1rem;
   font-size: $font-size-lg;
 
   @include hover-focus {
   width: 1px;
   padding-top: .425rem;
   padding-bottom: .425rem;
-  overflow: hidden;
   margin-left:  $navbar-padding-horizontal;
   margin-right: $navbar-padding-horizontal;
+  overflow: hidden;
 
   &:before {
-    content: '\00a0';
+    content: "\00a0";
   }
 }
 
index 2f5cdb4f953e3e58b91170d7e009199ff039568b..3d349e644208c8d235369425b5c2439b9b81101b 100644 (file)
@@ -176,8 +176,8 @@ mark,
 
   > img {
     @extend .img-responsive;
-    line-height: 1;
     margin-bottom: ($spacer-y / 2);
+    line-height: 1;
   }
 }
 
index 547bea70183a312e4a671fabb9c3988adbafd03b..1c2cca468b8060923ca9d8f751d761a30ff437c0 100644 (file)
@@ -40,7 +40,7 @@
 .p-r-0 { padding-right:  0 !important; }
 .p-b-0 { padding-bottom: 0 !important; }
 .p-l-0 { padding-left:   0 !important; }
-.p-x-0 { padding-left:   0 !important; padding-right: 0 !important; }
+.p-x-0 { padding-right:  0 !important; padding-left:   0 !important; }
 .p-y-0 { padding-top:    0 !important; padding-bottom: 0 !important; }
 
 .p-a { padding:        $spacer !important; }