[BUGFIX] Correct stylelint violations in scss files 84/52384/2
authorBenjamin Kott <benjamin.kott@wfp2.com>
Fri, 7 Apr 2017 11:50:00 +0000 (13:50 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Mon, 10 Apr 2017 06:04:25 +0000 (08:04 +0200)
Resolves: #80747
Releases: master
Change-Id: Ifdf78f52dcbdb349c1a507d0e3324fa482cc0862
Reviewed-on: https://review.typo3.org/52384
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Build/Resources/Public/Sass/component/_panel.scss
Build/Resources/Public/Sass/install.scss
Build/Resources/Public/Sass/libs/chosen.scss

index 6631a56..f942c91 100644 (file)
@@ -99,6 +99,7 @@ $panel-active-heading-bg: #666;
         margin-bottom: 0;
     }
 }
+
 // $TODO workaround to make links visible
 .panel-body-highlightlinks {
     > p > a {
@@ -126,4 +127,4 @@ $panel-active-heading-bg: #666;
 //
 .panel-active {
     @include panel-variant($panel-active-border, $panel-active-text, $panel-active-heading-bg, $panel-active-border);
-}
\ No newline at end of file
+}
index a8077a1..de601e9 100644 (file)
@@ -214,15 +214,18 @@ hr {
 #install-menu-button {
     float: right;
     margin-bottom: 20px;
+
     .navbar-toggle {
         border: 0;
         background: #fff;
+
         .icon-bar {
             display: block;
             width: 22px;
             height: 2px;
             border-radius: 1px;
             background-color: black;
+
             & + .icon-bar {
                 margin-top: 4px;
             }
@@ -230,7 +233,6 @@ hr {
     }
 }
 
-
 //
 // Styles for the "clearable" jquery plugin.
 //
@@ -270,24 +272,23 @@ hr {
         background: $high-color;
         color: $gray-lighter;
     }
+
     &.risk-medium > .panel-heading {
         background: $medium-color;
         color: $gray-darker;
     }
+
     &.risk-low > .panel-heading {
         background: white;
         color: $gray-darker;
     }
 }
 
-
 a[data-toggle="collapse"] {
     text-decoration: none;
 }
 
-
 .panel-group-rst {
-
     .panel-body {
         padding-right: 0;
     }
@@ -305,22 +306,22 @@ a[data-toggle="collapse"] {
 
         &.panel-breaking {
             @include panel-variant($brand-danger, #fff, $brand-danger, $brand-danger);
-            @include panel-risk-levels($brand-danger, lighten($brand-danger,40) );
+            @include panel-risk-levels($brand-danger, lighten($brand-danger, 40));
         }
 
         &.panel-deprecation {
             @include panel-variant($brand-warning, #fff, $brand-warning, $brand-warning);
-            @include panel-risk-levels($brand-warning, lighten($brand-warning,30));
+            @include panel-risk-levels($brand-warning, lighten($brand-warning, 30));
         }
 
         &.panel-feature {
             @include panel-variant($brand-success, #fff, $brand-success, $brand-success);
-            @include panel-risk-levels($brand-success, lighten($brand-success,40));
+            @include panel-risk-levels($brand-success, lighten($brand-success, 40));
         }
 
         &.panel-important {
             @include panel-variant($brand-info, #fff, $brand-info, $brand-info);
-            @include panel-risk-levels($brand-info, lighten($brand-info,30));
+            @include panel-risk-levels($brand-info, lighten($brand-info, 30));
         }
 
         .panel-heading {
@@ -347,7 +348,6 @@ a[data-toggle="collapse"] {
     }
 }
 
-
 .upgrade_analysis_item_to_filter pre a {
     text-decoration: underline;
 }
index 047deb4..e1cc231 100644 (file)
@@ -1,14 +1,17 @@
-
-/* @group Base */
+//
+// Base
+//
 .chosen-container {
     position: relative;
     display: inline-block;
     vertical-align: middle;
     font-size: 13px;
     user-select: none;
+
     * {
         box-sizing: border-box;
     }
+
     .chosen-drop {
         position: absolute;
         top: 100%;
         border: 1px solid #aaa;
         border-top: 0;
         background: #fff;
-        box-shadow: 0 4px 5px rgba(#000,.15);
-        clip: rect(0,0,0,0);
+        box-shadow: 0 4px 5px rgba(#000, 0.15);
+        clip: rect(0, 0, 0, 0);
     }
+
     &.chosen-with-drop .chosen-drop {
         clip: auto;
     }
-    a{
+
+    a {
         cursor: pointer;
     }
 
     .search-choice,
-    .chosen-single{
-        .group-name{
+    .chosen-single {
+        .group-name {
             margin-right: 4px;
             overflow: hidden;
             white-space: nowrap;
             text-overflow: ellipsis;
             font-weight: normal;
-            color: #999999;
+            color: #999;
         }
     }
 }
-/* @end */
 
-/* @group Single Chosen */
-.chosen-container-single{
+//
+// Single Chosen
+//
+.chosen-container-single {
     .chosen-single {
         position: relative;
         display: block;
         border-radius: 2px;
         background-color: #fff;
         background-clip: padding-box;
-        box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(#000,.1);
+        box-shadow: 0 0 3px #fff inset, 0 1px 1px rgba(#000, 0.1);
         color: #444;
         text-decoration: none;
         white-space: nowrap;
         line-height: 24px;
     }
+
     .chosen-default {
         color: #999;
     }
+
     .chosen-single span {
         display: block;
         overflow: hidden;
         text-overflow: ellipsis;
         white-space: nowrap;
     }
+
     .chosen-single-with-deselect span {
         margin-right: 38px;
     }
+
     .chosen-single abbr {
         position: absolute;
         top: 6px;
         width: 12px;
         height: 12px;
         font-size: 1px;
+
         &:hover {
             background-position: -42px -10px;
         }
     }
+
     &.chosen-disabled .chosen-single abbr:hover {
         background-position: -42px -10px;
     }
+
     .chosen-single div {
         position: absolute;
         top: 0;
         display: block;
         width: 18px;
         height: 100%;
+
         b {
             display: block;
             width: 100%;
             height: 100%;
         }
     }
+
     .chosen-search {
         position: relative;
         z-index: 1010;
             line-height: normal;
         }
     }
+
     .chosen-drop {
         margin-top: -1px;
         background-clip: padding-box;
     }
+
     &.chosen-container-single-nosearch .chosen-search {
         position: absolute;
-        clip: rect(0,0,0,0);
+        clip: rect(0, 0, 0, 0);
     }
 }
-/* @end */
 
-/* @group Results */
+//
+// Results
+//
 .chosen-container .chosen-results {
     color: #444;
     position: relative;
     padding: 0 0 0 4px;
     max-height: 240px;
     -webkit-overflow-scrolling: touch;
+
     li {
         display: none;
         margin: 0;
         line-height: 15px;
         word-wrap: break-word;
         -webkit-touch-callout: none;
+
         &.active-result {
             display: list-item;
             cursor: pointer;
         }
+
         &.disabled-result {
             display: list-item;
             color: #ccc;
             cursor: default;
         }
+
         &.highlighted {
             background-color: $brand-warning;
             color: #fff;
         }
+
         &.no-results {
             color: #777;
             display: list-item;
             background: #f4f4f4;
         }
+
         &.group-result {
             display: list-item;
             font-weight: bold;
             cursor: default;
         }
+
         &.group-option {
             padding-left: 15px;
         }
+
         em {
             font-style: normal;
             text-decoration: underline;
         }
     }
 }
-/* @end */
 
-/* @group Multi Chosen */
-.chosen-container-multi{
+//
+// Multi Chosen
+//
+.chosen-container-multi {
     .chosen-choices {
         position: relative;
         overflow: hidden;
         background-color: #fff;
         cursor: text;
     }
+
     .chosen-choices li {
         float: left;
         list-style: none;
+
         &.search-field {
             margin: 0;
             padding: 0;
             white-space: nowrap;
+
             input[type="text"] {
                 margin: 1px 0;
                 padding: 0;
                 width: 25px;
             }
         }
+
         &.search-choice {
             position: relative;
             margin: 3px 5px 3px 0;
             color: #fff;
             line-height: 13px;
             cursor: default;
+
             span {
                 word-wrap: break-word;
             }
+
             .search-choice-close {
                 position: absolute;
                 top: 4px;
                 display: block;
                 width: 12px;
                 height: 12px;
+
                 &:hover {
                     text-decoration: none;
                 }
+
                 &:after {
                     content: $fa-var-times;
                     font-family: FontAwesome;
                 }
             }
         }
+
         &.search-choice-disabled {
             padding-right: 5px;
             border: 1px solid #ccc;
             background-color: #e4e4e4;
             color: #666;
         }
+
         &.search-choice-focus {
             background: #d4d4d4;
+
             .search-choice-close {
                 background-position: -42px -10px;
             }
         }
     }
+
     .chosen-results {
         margin: 0;
         padding: 0;
     }
+
     .chosen-drop .result-selected {
         display: list-item;
         color: #ccc;
         cursor: default;
     }
 }
-/* @end */
 
-/* @group Active  */
-.chosen-container-active{
+//
+// Active
+//
+.chosen-container-active {
     .chosen-single {
         border: 1px solid #5897fb;
-        box-shadow: 0 0 5px rgba(#000,.3);
+        box-shadow: 0 0 5px rgba(#000, 0.3);
     }
-    &.chosen-with-drop{
+
+    &.chosen-with-drop {
         .chosen-single div {
             border-left: none;
             background: transparent;
+
             b {
                 background-position: -18px 2px;
             }
         }
     }
+
     .chosen-choices {
         border: 1px solid #5897fb;
-        box-shadow: 0 0 5px rgba(#000,.3);
+        box-shadow: 0 0 5px rgba(#000, 0.3);
+
         li.search-field input[type="text"] {
             color: #222 !important;
         }
     }
 }
-/* @end */
 
-/* @group Disabled Support */
+//
+// Disabled Support
+//
 .chosen-disabled {
     opacity: 0.5 !important;
     cursor: default;
+
     .chosen-single {
         cursor: default;
     }
+
     .chosen-choices .search-choice .search-choice-close {
         cursor: default;
     }
 }
-/* @end */
 
-/* @group Right to Left */
+//
+// Right to Left
+//
 .chosen-rtl {
     text-align: right;
+
     .chosen-single {
         overflow: visible;
         padding: 0 8px 0 0;
     }
+
     .chosen-single span {
         margin-right: 0;
         margin-left: 26px;
         direction: rtl;
     }
+
     .chosen-single-with-deselect span {
         margin-left: 38px;
     }
+
     .chosen-single div {
         right: auto;
         left: 3px;
     }
+
     .chosen-single abbr {
         right: auto;
         left: 26px;
     }
+
     .chosen-choices li {
         float: right;
+
         &.search-field input[type="text"] {
             direction: rtl;
         }
+
         &.search-choice {
             margin: 3px 5px 3px 0;
             padding: 3px 5px 3px 19px;
+
             .search-choice-close {
                 right: auto;
                 left: 4px;
             }
         }
     }
+
     &.chosen-container-single .chosen-results {
         margin: 0 0 4px 4px;
         padding: 0 4px 0 0;
     }
+
     .chosen-results li.group-option {
         padding-right: 15px;
         padding-left: 0;
     }
+
     &.chosen-container-active.chosen-with-drop .chosen-single div {
         border-right: none;
     }
+
     .chosen-search input[type="text"] {
         padding: 4px 5px 4px 20px;
         direction: rtl;
     }
-    &.chosen-container-single{
+
+    &.chosen-container-single {
         .chosen-single div b {
             background-position: 6px 2px;
         }
-        &.chosen-with-drop{
+
+        &.chosen-with-drop {
             .chosen-single div b {
                 background-position: -12px 2px;
             }