Issue #2866799 by cwells: Update stylelint rule at-rule-empty-line-before to be consistent with Drupal's CSS standards

8.5.x
Alex Pott 2018-01-05 09:37:45 +00:00
parent 3b06c57e4f
commit d540d6426f
26 changed files with 39 additions and 1 deletions

View File

@ -4,7 +4,6 @@
"stylelint-no-browser-hacks/lib"
],
"rules": {
"at-rule-empty-line-before": null,
"block-no-empty": null,
"color-hex-case": null,
"color-hex-length": null,

View File

@ -143,6 +143,7 @@ button.is-unlocked,
.js[dir="rtl"] .color-preview {
float: right;
}
@media screen and (max-width: 30em) { /* 480px */
.color-form .color-preview-sidebar,
.color-form .color-preview-content {

View File

@ -125,6 +125,7 @@
margin: 0 0 0.25em 1.5em;
padding: 0;
}
@media screen and (max-width: 40em) {
#locale-translation-status-form th.title {
width: 20%;

View File

@ -16,6 +16,7 @@
padding: 0;
vertical-align: baseline;
}
@media print {
#toolbar-administration {
display: none;
@ -238,6 +239,7 @@ body.toolbar-tray-open.toolbar-vertical.toolbar-fixed {
margin-left: 240px; /* LTR */
margin-left: 15rem; /* LTR */
}
@media print {
body.toolbar-tray-open.toolbar-vertical.toolbar-fixed {
margin-left: 0;
@ -249,6 +251,7 @@ body.toolbar-tray-open.toolbar-vertical.toolbar-fixed {
margin-right: 240px;
margin-right: 15rem;
}
@media print {
[dir="rtl"] body.toolbar-tray-open.toolbar-vertical.toolbar-fixed {
margin-right: 0;

View File

@ -32,6 +32,7 @@
top: 0;
left: 0;
}
@media only screen and (max-width: 767px) {
.joyride-tip-guide {
width: 85%;

View File

@ -483,6 +483,7 @@ td.group-title {
.view-preview-form .form-actions {
vertical-align: top;
}
@media screen and (min-width: 45em) { /* 720px */
.view-preview-form .form-type-textfield .description {
white-space: nowrap;

View File

@ -10,6 +10,7 @@
.featured-bottom .region {
padding: 0 20px;
}
@media all and (min-width: 560px) {
.featured-bottom .region {
float: left; /* LTR */
@ -22,6 +23,7 @@
float: right;
}
}
@media all and (min-width: 851px) {
.featured-bottom .region {
padding: 0 20px;

View File

@ -42,6 +42,7 @@
padding: 0 0 0 1em;
float: right;
}
@media all and (min-width: 560px) {
.node .field--type-image {
float: left; /* LTR */

View File

@ -11,6 +11,7 @@
.region-header .site-branding {
margin-top: 0.429em;
}
@media all and (min-width: 461px) {
.region-header .block {
float: right; /* LTR */
@ -27,6 +28,7 @@
float: right;
}
}
@media screen and (max-width: 460px) {
.region-header {
padding-bottom: 0.357em;
@ -38,6 +40,7 @@
margin: 0 0 1em;
clear: right;
}
@media all and (min-width: 901px) {
.region-header .block:not(.site-branding) {
margin: 1.167em 0 1em;

View File

@ -13,6 +13,7 @@
width: 100%;
}
}
@media all and (min-width: 851px) {
.layout-one-sidebar .sidebar {
width: 25%;

View File

@ -16,11 +16,13 @@
display: inline-block;
vertical-align: top;
}
@media all and (min-width: 461px) {
.site-branding__text {
margin-bottom: 1.857em;
}
}
@media all and (min-width: 901px) {
.site-branding__text {
padding: 1.286em 0 0;
@ -31,6 +33,7 @@
color: #686868;
line-height: 1;
}
@media all and (min-width: 901px) {
.site-branding__name {
font-size: 1.821em;

View File

@ -10,6 +10,7 @@
.site-footer .layout-container {
padding: 0 15px;
}
@media all and (min-width: 560px) {
.site-footer__top .region {
float: left; /* LTR */
@ -20,6 +21,7 @@
float: right;
}
}
@media all and (min-width: 560px) and (max-width: 850px) {
.site-footer .region {
box-sizing: border-box;
@ -42,6 +44,7 @@
clear: both;
}
}
@media all and (min-width: 851px) {
.site-footer__top .region {
width: 24%;

View File

@ -68,6 +68,7 @@ tr th {
display: none;
}
}
@media screen and (max-width: 60em) { /* 920px */
th.priority-low,
td.priority-low {

View File

@ -24,6 +24,7 @@ div.tabs {
background-color: #ffffff;
border: 1px solid #bbb;
}
@media screen and (max-width: 37.5em) { /* 600px */
.tabs ul.primary {
border-bottom: 1px solid #bbb;
@ -39,6 +40,7 @@ div.tabs {
border-bottom: none;
}
}
@media screen and (min-width: 37.5em) { /* 600px */
.tabs ul.primary {
border-collapse: collapse;

View File

@ -12,6 +12,7 @@
margin-right: auto;
box-sizing: border-box;
}
@media all and (min-width: 851px) {
.layout-container {
max-width: 1290px;

View File

@ -53,6 +53,7 @@ body.maintenance-page {
line-height: 1em;
margin-top: 0;
}
@media all and (min-width: 800px) {
.maintenance-page #page-wrapper {
width: 800px;
@ -62,6 +63,7 @@ body.maintenance-page {
width: 700px;
}
}
@media all and (min-width: 600px) { /* @TODO find the proper breakpoint */
.maintenance-page #page {
margin: 20px 40px 40px;

View File

@ -12,6 +12,7 @@
border: solid 1px #ccc;
padding: 0;
}
@media all and (max-width: 48em) { /* 768px */
.ui-dialog {
width: 92% !important;

View File

@ -51,10 +51,12 @@
0% { background-position: 0 0, 0 0; }
100% { background-position: 0 0, -80px 0; }
}
@-ms-keyframes animate-stripes {
0% { background-position: 0 0, 0 0; }
100% { background-position: 0 0, -80px 0; }
}
@keyframes animate-stripes {
0% { background-position: 0 0, 0 0; }
100% { background-position: 0 0, -80px 0; }

View File

@ -9,6 +9,7 @@
z-index: 1260;
padding: 0;
}
@media all and (max-width: 48em) { /* 768px */
.ui-dialog {
min-width: 92%;

View File

@ -143,6 +143,7 @@ th.select-all {
display: none;
}
}
@media screen and (max-width: 60em) { /* 920px */
th.priority-low,
td.priority-low {

View File

@ -110,6 +110,7 @@
display: table;
clear: both;
}
@media all and (max-width: 48em) { /* 768px */
.layout-container {
margin: 1.25em;

View File

@ -143,6 +143,7 @@ button.is-unlocked,
.js[dir="rtl"] .color-preview {
float: right;
}
@media screen and (max-width: 30em) { /* 480px */
.color-form .color-preview-sidebar,
.color-form .color-preview-content {

View File

@ -125,6 +125,7 @@
margin: 0 0 0.25em 1.5em;
padding: 0;
}
@media screen and (max-width: 40em) {
#locale-translation-status-form th.title {
width: 20%;

View File

@ -16,6 +16,7 @@
padding: 0;
vertical-align: baseline;
}
@media print {
#toolbar-administration {
display: none;
@ -238,6 +239,7 @@ body.toolbar-tray-open.toolbar-vertical.toolbar-fixed {
margin-left: 240px; /* LTR */
margin-left: 15rem; /* LTR */
}
@media print {
body.toolbar-tray-open.toolbar-vertical.toolbar-fixed {
margin-left: 0;
@ -249,6 +251,7 @@ body.toolbar-tray-open.toolbar-vertical.toolbar-fixed {
margin-right: 240px;
margin-right: 15rem;
}
@media print {
[dir="rtl"] body.toolbar-tray-open.toolbar-vertical.toolbar-fixed {
margin-right: 0;

View File

@ -32,6 +32,7 @@
top: 0;
left: 0;
}
@media only screen and (max-width: 767px) {
.joyride-tip-guide {
width: 85%;

View File

@ -483,6 +483,7 @@ td.group-title {
.view-preview-form .form-actions {
vertical-align: top;
}
@media screen and (min-width: 45em) { /* 720px */
.view-preview-form .form-type-textfield .description {
white-space: nowrap;