Issue #2866799 by cwells: Update stylelint rule at-rule-empty-line-before to be consistent with Drupal's CSS standards
parent
3b06c57e4f
commit
d540d6426f
|
@ -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,
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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%;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 767px) {
|
||||
.joyride-tip-guide {
|
||||
width: 85%;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
padding: 0 0 0 1em;
|
||||
float: right;
|
||||
}
|
||||
|
||||
@media all and (min-width: 560px) {
|
||||
.node .field--type-image {
|
||||
float: left; /* LTR */
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (min-width: 851px) {
|
||||
.layout-one-sidebar .sidebar {
|
||||
width: 25%;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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%;
|
||||
|
|
|
@ -68,6 +68,7 @@ tr th {
|
|||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 60em) { /* 920px */
|
||||
th.priority-low,
|
||||
td.priority-low {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
margin-right: auto;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@media all and (min-width: 851px) {
|
||||
.layout-container {
|
||||
max-width: 1290px;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
border: solid 1px #ccc;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@media all and (max-width: 48em) { /* 768px */
|
||||
.ui-dialog {
|
||||
width: 92% !important;
|
||||
|
|
|
@ -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; }
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
z-index: 1260;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@media all and (max-width: 48em) { /* 768px */
|
||||
.ui-dialog {
|
||||
min-width: 92%;
|
||||
|
|
|
@ -143,6 +143,7 @@ th.select-all {
|
|||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 60em) { /* 920px */
|
||||
th.priority-low,
|
||||
td.priority-low {
|
||||
|
|
|
@ -110,6 +110,7 @@
|
|||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
@media all and (max-width: 48em) { /* 768px */
|
||||
.layout-container {
|
||||
margin: 1.25em;
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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%;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 767px) {
|
||||
.joyride-tip-guide {
|
||||
width: 85%;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue