Issue #3024505 by alexpott, markconroy: Add quote standards to Stylelint config

8.7.x
Lauri Eskola 2019-01-14 17:55:33 +02:00
parent 4c9c23c328
commit b3aef2bced
No known key found for this signature in database
GPG Key ID: 37E6EF00B7EEF188
50 changed files with 89 additions and 88 deletions

View File

@ -31,6 +31,7 @@
"rule-empty-line-before": null,
"selector-pseudo-element-colon-notation": null,
"shorthand-property-no-redundant-values": null,
"string-quotes": "double",
"unit-whitelist": ["deg", "em", "ex", "ms", "rem", "%", "s", "px", "vw", "vh"]
},
"ignoreFiles": [

View File

@ -7,7 +7,7 @@
#drupal-off-canvas *,
#drupal-off-canvas *:not(div) {
background: #444;
font-family: "Lucida Grande", 'Lucida Sans Unicode', 'liberation sans', sans-serif;
font-family: "Lucida Grande", "Lucida Sans Unicode", "liberation sans", sans-serif;
color: #ddd;
}
@ -15,7 +15,7 @@
#drupal-off-canvas a,
#drupal-off-canvas .link {
border-bottom: none;
font-family: "Lucida Grande", 'Lucida Sans Unicode', 'liberation sans', sans-serif;
font-family: "Lucida Grande", "Lucida Sans Unicode", "liberation sans", sans-serif;
font-size: inherit;
font-weight: normal;
color: #85bef4;
@ -190,10 +190,10 @@
margin: 0 0 10px 0;
}
#drupal-off-canvas small .admin-link:before {
content: ' [';
content: " [";
}
#drupal-off-canvas small .admin-link:after {
content: ']';
content: "]";
}
/* Override jQuery UI */

View File

@ -13,7 +13,7 @@
padding: 0;
border: 0;
box-shadow: none;
font-family: "Lucida Grande", 'Lucida Sans Unicode', 'liberation sans', sans-serif;
font-family: "Lucida Grande", "Lucida Sans Unicode", "liberation sans", sans-serif;
line-height: normal;
text-transform: none;
text-decoration: none;

View File

@ -6,7 +6,7 @@
#drupal-off-canvas details,
#drupal-off-canvas summary {
display: block;
font-family: "Lucida Grande", 'Lucida Sans Unicode', 'liberation sans', sans-serif;
font-family: "Lucida Grande", "Lucida Sans Unicode", "liberation sans", sans-serif;
}
#drupal-off-canvas details,
#drupal-off-canvas summary,

View File

@ -238,7 +238,7 @@
/* Put pencil icon in place of hidden 'edit' text on single buttons. */
#drupal-off-canvas td .dropbutton-single .edit:before {
content: '.';
content: ".";
display: block;
color: transparent;
background: transparent url(../icons/ffffff/pencil.svg) no-repeat center;

View File

@ -4,7 +4,7 @@
*/
#drupal-off-canvas form {
font-family: "Lucida Grande", 'Lucida Sans Unicode', 'liberation sans', sans-serif;
font-family: "Lucida Grande", "Lucida Sans Unicode", "liberation sans", sans-serif;
color: #ddd;
}
#drupal-off-canvas input[type="checkbox"] {
@ -19,7 +19,7 @@
}
#drupal-off-canvas option {
display: block;
font-family: "Lucida Grande", 'Lucida Sans Unicode', 'liberation sans', sans-serif;
font-family: "Lucida Grande", "Lucida Sans Unicode", "liberation sans", sans-serif;
}
#drupal-off-canvas label {
line-height: normal;

View File

@ -4,7 +4,7 @@
*/
#drupal-off-canvas table * {
font-family: "Lucida Grande", 'Lucida Sans Unicode', 'liberation sans', sans-serif;
font-family: "Lucida Grande", "Lucida Sans Unicode", "liberation sans", sans-serif;
}
#drupal-off-canvas table {
display: table;

View File

@ -61,7 +61,7 @@
/* Ensure that long titles do not overlap the close button. */
max-width: 210px;
font-size: 16px;
font-family: "Lucida Grande", 'Lucida Sans Unicode', 'liberation sans', sans-serif;
font-family: "Lucida Grande", "Lucida Sans Unicode", "liberation sans", sans-serif;
text-align: left; /* LTR */
}
[dir="rtl"] .ui-dialog.ui-dialog-off-canvas .ui-dialog-title {
@ -73,7 +73,7 @@
.ui-dialog.ui-dialog-off-canvas .ui-dialog-title:before {
background: transparent url(../icons/ffffff/pencil.svg) no-repeat scroll center center;
background-size: 100% auto;
content: '';
content: "";
display: block;
height: 100%;
position: absolute;

View File

@ -38,7 +38,7 @@ a.block-demo-backlink:hover {
display: inline;
}
.block-form .form-item-settings-admin-label label:after {
content: ':';
content: ":";
}
.block-disabled:not(:hover) {
background: #fcfcfa;

View File

@ -48,7 +48,7 @@
position: absolute;
top: 0;
right: -20px; /* LTR */
content: '';
content: "";
display: block;
width: 16px;
height: 16px;

View File

@ -22,11 +22,11 @@
}
.quickedit-image-dropzone.upload .quickedit-image-icon {
background-image: url('../../images/upload.svg');
background-image: url("../../images/upload.svg");
}
.quickedit-image-dropzone.error .quickedit-image-icon {
background-image: url('../../images/error.svg');
background-image: url("../../images/error.svg");
}
.quickedit-image-dropzone.loading .quickedit-image-icon {

View File

@ -181,7 +181,7 @@
height: 24px;
margin: 5px;
padding: 0;
background: url('../../../misc/icons/787878/ex.svg') #fff center no-repeat;
background: url("../../../misc/icons/787878/ex.svg") #fff center no-repeat;
background-size: 16px 16px;
border: 2px solid #ccc;
border-radius: 20px;

View File

@ -23,7 +23,7 @@
background-color: transparent;
background-position: center center;
background-repeat: no-repeat;
content: '';
content: "";
display: block;
height: 100%;
left: 0; /* LTR */

View File

@ -99,7 +99,7 @@
* Toolbars.
*/
.quickedit-toolbar-container {
font-family: 'Source Sans Pro', 'Lucida Grande', sans-serif;
font-family: "Source Sans Pro", "Lucida Grande", sans-serif;
padding-bottom: 7px;
padding-top: 7px;
-webkit-transition: all 1s;
@ -159,16 +159,16 @@
white-space: nowrap;
}
.quickedit-toolbar-label .field:after {
content: ' → '; /* LTR */
content: " → "; /* LTR */
}
[dir="rtl"] .quickedit-toolbar-label .field:after {
content: ' ← ';
content: " ← ";
}
/* The toolbar; these are not necessarily visible. */
.quickedit-toolbar {
font-family: 'Droid sans', 'Lucida Grande', sans-serif;
font-family: "Droid sans", "Lucida Grande", sans-serif;
}
.quickedit-toolbar-entity {
padding: 0.1667em 0.2em;

View File

@ -67,10 +67,10 @@
* Quick inline admin links.
*/
small .admin-link:before {
content: ' [';
content: " [";
}
small .admin-link:after {
content: ']';
content: "]";
}
/**

View File

@ -17,7 +17,7 @@
background-position: center center;
background-repeat: no-repeat;
background-size: 100% auto;
content: '';
content: "";
display: block;
height: 100%;
left: 0.6667em; /* LTR */

View File

@ -189,7 +189,7 @@ body.toolbar-tray-open.toolbar-fixed.toolbar-vertical .toolbar-oriented {
}
.toolbar-oriented .toolbar-tray-vertical > .toolbar-lining:before {
bottom: 0;
content: '';
content: "";
display: block;
left: 0; /* LTR */
position: fixed;

View File

@ -148,7 +148,7 @@
#drupal-off-canvas .workspaces__item:before {
background: url("../icons/f0a100/ws_icon.svg") center center no-repeat;
background-size: 100% auto;
content: '';
content: "";
display: block;
height: 20px;
width: 20px;

View File

@ -33,7 +33,7 @@ a:focus {
body {
background: #fbf5ee;
color: #464646;
font-family: 'Open Sans', Verdana, sans-serif;
font-family: "Open Sans", Verdana, sans-serif;
font-size: 1rem;
line-height: 1.5rem;
margin: 0;
@ -46,7 +46,7 @@ blockquote {
}
blockquote > * {
color: #000;
font-family: 'Scope One', Georgia, serif;
font-family: "Scope One", Georgia, serif;
font-size: 1.266rem;
font-weight: 400;
line-height: 1.5;
@ -62,9 +62,9 @@ blockquote a:focus {
button,
.button,
[type='button'],
[type='reset'],
[type='submit'] {
[type="button"],
[type="reset"],
[type="submit"] {
display: inline-block;
padding: 0.7rem 1.3rem;
border: 2px solid #00836d;
@ -74,7 +74,7 @@ button,
cursor: pointer;
text-align: center;
text-decoration: none;
font-family: 'Scope One', Georgia, serif;
font-family: "Scope One", Georgia, serif;
font-size: 1.2rem;
font-weight: 400;
transition: background-color 0.5s ease;
@ -107,7 +107,7 @@ button[disabled],
}
h1 {
font-family: 'Scope One', Georgia, serif;
font-family: "Scope One", Georgia, serif;
font-size: 1.424rem; /* +3 based on 1.125 modular scale (major second) */
font-weight: 400;
line-height: 1.2;
@ -121,7 +121,7 @@ h1 {
}
h2 {
font-family: 'Scope One', Georgia, serif;
font-family: "Scope One", Georgia, serif;
font-size: 1.266rem; /* +2 based on 1.125 modular scale (major second) */
font-weight: 400;
line-height: 1.2;
@ -135,7 +135,7 @@ h2 {
}
h3 {
font-family: 'Scope One', Georgia, serif;
font-family: "Scope One", Georgia, serif;
font-size: 1.125rem;/* +1 based on 1.125 modular scale (major second) */
font-weight: 400;
line-height: 1.2;
@ -149,7 +149,7 @@ h3 {
}
h4 {
font-family: 'Scope One', Georgia, serif;
font-family: "Scope One", Georgia, serif;
font-size: 1rem;
font-weight: 400;
line-height: 1.2;
@ -163,7 +163,7 @@ h4 {
}
h5 {
font-family: 'Scope One', Georgia, serif;
font-family: "Scope One", Georgia, serif;
font-size: 0.889rem; /* -1 based on 1.125 modular scale (major second) */
font-weight: 700;
line-height: 1.2;
@ -178,7 +178,7 @@ h5 {
}
h6 {
font-family: 'Scope One', Georgia, serif;
font-family: "Scope One", Georgia, serif;
font-size: 0.79rem; /* -1 based on 1.125 modular scale (major second) */
font-weight: 700;
line-height: 1.2;
@ -209,7 +209,7 @@ input {
input:focus {
border: 2px solid #00836d;
}
input[type='checkbox'] {
input[type="checkbox"] {
min-width: inherit;
max-width: none;
}

View File

@ -12,7 +12,7 @@
}
.block-type-banner-block .field--name-field-title {
font-family: 'Scope One', Georgia, serif;
font-family: "Scope One", Georgia, serif;
font-size: 1.424rem;
font-weight: 400;
margin: 0 0 1.07em 0;
@ -32,7 +32,7 @@
cursor: pointer;
text-align: center;
text-decoration: none;
font-family: 'Scope One', Georgia, serif;
font-family: "Scope One", Georgia, serif;
font-size: 1.2rem;
font-weight: 400;
transition: background-color 0.5s ease;

View File

@ -49,7 +49,7 @@
right: 10%;
height: 1px;
width: 80%;
content: '';
content: "";
background-color: #e6eee0;
}
.quicklinks__col:last-child::after {
@ -70,7 +70,7 @@
right: 0;
height: 100%;
width: 1px;
content: '';
content: "";
background-color: #e6eee0;
}
.quicklinks__col:nth-child(3)::after {

View File

@ -7,7 +7,7 @@
color: #000;
margin: 0;
list-style-type: none;
font-family: 'Scope One', Georgia, serif;
font-family: "Scope One", Georgia, serif;
font-size: 1.266rem;
font-weight: 400;
line-height: 1.2;

View File

@ -29,8 +29,8 @@
width: 14px;
height: 14px;
margin-top: -7px;
content: '';
background-image: url('../../../../images/svg/pointer.svg');
content: "";
background-image: url("../../../../images/svg/pointer.svg");
background-repeat: no-repeat;
background-position: 0 0;
background-size: contain;

View File

@ -67,7 +67,7 @@
}
.comment__content:before {
content: '';
content: "";
position: absolute;
right: 100%; /* LTR */
top: 20px;
@ -82,7 +82,7 @@
border-left: 20px solid #d3d7d9;
}
.comment__content:after {
content: '';
content: "";
position: absolute;
right: 100%; /* LTR */
top: 20px;

View File

@ -54,12 +54,12 @@
background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, linear-gradient(to bottom, #0e69be, #2a93ef);
}
.node-preview-backlink::before {
content: '';
content: "";
width: 10px;
display: inline-block;
}
[dir="rtl"] .node-preview-backlink::after {
content: '';
content: "";
width: 10px;
display: inline-block;
}

View File

@ -30,7 +30,7 @@
text-decoration: none;
}
.button-action:before {
content: '+';
content: "+";
font-weight: 900;
margin-left: -0.1em; /* LTR */
padding-right: 0.2em; /* LTR */

View File

@ -22,7 +22,7 @@
}
/* IE8 does not support :not() and :last-child. */
.breadcrumb li:before {
content: ' \BB ';
content: " \BB ";
}
.breadcrumb li:first-child:before {
content: none;

View File

@ -5,11 +5,11 @@
.container-inline label:after,
.container-inline .label:after {
content: ':';
content: ":";
}
.form-type-radios .container-inline label:after,
.form-type-checkboxes .container-inline label:after {
content: '';
content: "";
}
.form-type-radios .container-inline .form-type-radio,
.form-type-checkboxes .container-inline .form-type-checkbox {

View File

@ -21,5 +21,5 @@
padding-right: 0;
}
.field--label-inline .field__label::after {
content: ':';
content: ":";
}

View File

@ -71,7 +71,7 @@ label.option {
color: #e00;
}
.form-required:after {
content: '';
content: "";
vertical-align: super;
display: inline-block;
/* Use a background image to prevent screen readers from announcing the text. */
@ -94,7 +94,7 @@ abbr.ajax-changed {
/* Inline error messages. */
.form-item--error-message:before {
content: '';
content: "";
display: inline-block;
height: 14px;
width: 14px;

View File

@ -5,7 +5,7 @@
.container-inline .form-radios label:after,
.container-inline .form-checkboxes label:after {
content: '';
content: "";
}
.container-inline .form-radios .form-type-radio,
.container-inline .form-checkboxes .form-type-checkbox {

View File

@ -117,7 +117,7 @@
@media screen and (min-width: 48em) {
.system-status-report__entry::after {
display: table;
content: '';
content: "";
clear: both;
}
.system-status-report__status-title {

View File

@ -70,7 +70,7 @@ th > a {
/* 1. Must match negative bottom padding of the parent <th> */
th > a:after {
content: '';
content: "";
display: block;
position: absolute;
top: 0;

View File

@ -7,7 +7,7 @@
}
.is-collapse-enabled .tabs:before,
.is-horizontal .tabs:before {
content: '';
content: "";
display: block;
background-color: #a6a6a6;
height: 1px;

View File

@ -7,7 +7,7 @@
display: none;
}
.cke_dialog:before {
content: '';
content: "";
position: fixed;
top: 0;
left: 0;

View File

@ -38,5 +38,5 @@ a.block-demo-backlink:hover {
display: inline;
}
.block-form .form-item-settings-admin-label label:after {
content: ':';
content: ":";
}

View File

@ -7,7 +7,7 @@
#drupal-off-canvas *,
#drupal-off-canvas *:not(div) {
background: #444;
font-family: "Lucida Grande", 'Lucida Sans Unicode', 'liberation sans', sans-serif;
font-family: "Lucida Grande", "Lucida Sans Unicode", "liberation sans", sans-serif;
color: #ddd;
}
@ -15,7 +15,7 @@
#drupal-off-canvas a,
#drupal-off-canvas .link {
border-bottom: none;
font-family: "Lucida Grande", 'Lucida Sans Unicode', 'liberation sans', sans-serif;
font-family: "Lucida Grande", "Lucida Sans Unicode", "liberation sans", sans-serif;
font-size: inherit;
font-weight: normal;
color: #85bef4;
@ -190,10 +190,10 @@
margin: 0 0 10px 0;
}
#drupal-off-canvas small .admin-link:before {
content: ' [';
content: " [";
}
#drupal-off-canvas small .admin-link:after {
content: ']';
content: "]";
}
/* Override jQuery UI */

View File

@ -13,7 +13,7 @@
padding: 0;
border: 0;
box-shadow: none;
font-family: "Lucida Grande", 'Lucida Sans Unicode', 'liberation sans', sans-serif;
font-family: "Lucida Grande", "Lucida Sans Unicode", "liberation sans", sans-serif;
line-height: normal;
text-transform: none;
text-decoration: none;

View File

@ -6,7 +6,7 @@
#drupal-off-canvas details,
#drupal-off-canvas summary {
display: block;
font-family: "Lucida Grande", 'Lucida Sans Unicode', 'liberation sans', sans-serif;
font-family: "Lucida Grande", "Lucida Sans Unicode", "liberation sans", sans-serif;
}
#drupal-off-canvas details,
#drupal-off-canvas summary,

View File

@ -238,7 +238,7 @@
/* Put pencil icon in place of hidden 'edit' text on single buttons. */
#drupal-off-canvas td .dropbutton-single .edit:before {
content: '.';
content: ".";
display: block;
color: transparent;
background: transparent url(../../../images/core/icons/ffffff/pencil.svg) no-repeat center;

View File

@ -4,7 +4,7 @@
*/
#drupal-off-canvas form {
font-family: "Lucida Grande", 'Lucida Sans Unicode', 'liberation sans', sans-serif;
font-family: "Lucida Grande", "Lucida Sans Unicode", "liberation sans", sans-serif;
color: #ddd;
}
#drupal-off-canvas input[type="checkbox"] {
@ -19,7 +19,7 @@
}
#drupal-off-canvas option {
display: block;
font-family: "Lucida Grande", 'Lucida Sans Unicode', 'liberation sans', sans-serif;
font-family: "Lucida Grande", "Lucida Sans Unicode", "liberation sans", sans-serif;
}
#drupal-off-canvas label {
line-height: normal;

View File

@ -4,7 +4,7 @@
*/
#drupal-off-canvas table * {
font-family: "Lucida Grande", 'Lucida Sans Unicode', 'liberation sans', sans-serif;
font-family: "Lucida Grande", "Lucida Sans Unicode", "liberation sans", sans-serif;
}
#drupal-off-canvas table {
display: table;

View File

@ -61,7 +61,7 @@
/* Ensure that long titles do not overlap the close button. */
max-width: 210px;
font-size: 16px;
font-family: "Lucida Grande", 'Lucida Sans Unicode', 'liberation sans', sans-serif;
font-family: "Lucida Grande", "Lucida Sans Unicode", "liberation sans", sans-serif;
text-align: left; /* LTR */
}
[dir="rtl"] .ui-dialog.ui-dialog-off-canvas .ui-dialog-title {
@ -73,7 +73,7 @@
.ui-dialog.ui-dialog-off-canvas .ui-dialog-title:before {
background: transparent url(../../../images/core/icons/ffffff/pencil.svg) no-repeat scroll center center;
background-size: 100% auto;
content: '';
content: "";
display: block;
height: 100%;
position: absolute;

View File

@ -48,7 +48,7 @@
position: absolute;
top: 0;
right: -20px; /* LTR */
content: '';
content: "";
display: block;
width: 16px;
height: 16px;

View File

@ -22,11 +22,11 @@
}
.quickedit-image-dropzone.upload .quickedit-image-icon {
background-image: url('../../../images/image/upload.svg');
background-image: url("../../../images/image/upload.svg");
}
.quickedit-image-dropzone.error .quickedit-image-icon {
background-image: url('../../../images/image/error.svg');
background-image: url("../../../images/image/error.svg");
}
.quickedit-image-dropzone.loading .quickedit-image-icon {

View File

@ -23,7 +23,7 @@
background-color: transparent;
background-position: center center;
background-repeat: no-repeat;
content: '';
content: "";
display: block;
height: 100%;
left: 0; /* LTR */

View File

@ -99,7 +99,7 @@
* Toolbars.
*/
.quickedit-toolbar-container {
font-family: 'Source Sans Pro', 'Lucida Grande', sans-serif;
font-family: "Source Sans Pro", "Lucida Grande", sans-serif;
padding-bottom: 7px;
padding-top: 7px;
-webkit-transition: all 1s;
@ -159,16 +159,16 @@
white-space: nowrap;
}
.quickedit-toolbar-label .field:after {
content: ' → '; /* LTR */
content: " → "; /* LTR */
}
[dir="rtl"] .quickedit-toolbar-label .field:after {
content: ' ← ';
content: " ← ";
}
/* The toolbar; these are not necessarily visible. */
.quickedit-toolbar {
font-family: 'Droid sans', 'Lucida Grande', sans-serif;
font-family: "Droid sans", "Lucida Grande", sans-serif;
}
.quickedit-toolbar-entity {
padding: 0.1667em 0.2em;

View File

@ -67,10 +67,10 @@
* Quick inline admin links.
*/
small .admin-link:before {
content: ' [';
content: " [";
}
small .admin-link:after {
content: ']';
content: "]";
}
/**

View File

@ -17,7 +17,7 @@
background-position: center center;
background-repeat: no-repeat;
background-size: 100% auto;
content: '';
content: "";
display: block;
height: 100%;
left: 0.6667em; /* LTR */

View File

@ -189,7 +189,7 @@ body.toolbar-tray-open.toolbar-fixed.toolbar-vertical .toolbar-oriented {
}
.toolbar-oriented .toolbar-tray-vertical > .toolbar-lining:before {
bottom: 0;
content: '';
content: "";
display: block;
left: 0; /* LTR */
position: fixed;