Commit f0272d5f authored by alexpott's avatar alexpott

Issue #2866818 by harsha012, BrightBold, brahmjeet789, joelpittet: Update...

Issue #2866818 by harsha012, BrightBold, brahmjeet789, joelpittet: Update stylelint rule number-leading-zero to be consistent with Drupal's CSS standards
parent 19426fd7
......@@ -12,7 +12,7 @@
"function-whitespace-after": null,
"no-empty-source": null,
"no-unknown-animations": true,
"number-leading-zero": null,
"number-leading-zero": "always",
"plugin/no-browser-hacks": [true, {
"browsers": [
"ie >= 9",
......
......@@ -20,7 +20,7 @@
font-weight: normal;
color: #85bef4;
text-decoration: none;
transition: color .5s ease;
transition: color 0.5s ease;
}
#drupal-off-canvas a:focus,
......
......@@ -24,7 +24,7 @@
background: transparent;
font-size: 14px;
color: #85bef4;
transition: color .5s ease;
transition: color 0.5s ease;
}
#drupal-off-canvas button.link:hover,
#drupal-off-canvas button.link:focus {
......@@ -45,7 +45,7 @@
color: #f5f5f5;
text-align: center;
cursor: pointer;
transition: background .5s ease;
transition: background 0.5s ease;
}
#drupal-off-canvas input[type="submit"].button:hover,
#drupal-off-canvas input[type="submit"].button:focus,
......
......@@ -35,7 +35,7 @@
text-shadow: none;
padding: 10px 20px;
font-size: 14px;
transition: all .5s ease;
transition: all 0.5s ease;
}
#drupal-off-canvas summary:hover,
#drupal-off-canvas summary:focus {
......
......@@ -24,7 +24,7 @@
text-align: center;
line-height: normal;
cursor: pointer;
transition: background .5s ease;
transition: background 0.5s ease;
}
#drupal-off-canvas .dropbutton-widget:hover {
background: #2b8bd8;
......
......@@ -84,7 +84,7 @@
#drupal-off-canvas .form-textarea,
#drupal-off-canvas .form-date,
#drupal-off-canvas .form-time {
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .125);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.125);
background-color: #eee;
border-color: #333;
color: #595959;
......@@ -101,7 +101,7 @@
#drupal-off-canvas .form-date:focus,
#drupal-off-canvas .form-time:focus {
border-color: #40b6ff;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .125), 0 0 8px #40b6ff;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.125), 0 0 8px #40b6ff;
background-color: #fff;
}
#drupal-off-canvas td .form-item,
......
......@@ -7,5 +7,5 @@
*/
.dialog-off-canvas-main-canvas {
transition: all .7s ease;
transition: all 0.7s ease;
}
......@@ -53,7 +53,7 @@
text-decoration: none;
}
#drupal-off-canvas tr td {
transition: background .3s ease;
transition: background 0.3s ease;
}
#drupal-off-canvas tr td abbr {
......
......@@ -40,7 +40,7 @@
position: absolute;
top: calc(50% - 6px);
right: 1em;
transition: all .5s ease;
transition: all 0.5s ease;
}
.ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar-close:hover,
.ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar-close:focus {
......
......@@ -180,7 +180,7 @@
padding: 4px 6px;
position: relative;
text-decoration: none;
text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
white-space: nowrap;
}
.ckeditor-toolbar-dividers {
......
......@@ -5,12 +5,12 @@
.dblog-filter-form .form-item-type,
.dblog-filter-form .form-item-severity {
display: inline-block;
margin: .1em .9em .1em .1em; /* LTR */
margin: 0.1em 0.9em 0.1em 0.1em; /* LTR */
max-width: 30%;
}
[dir="rtl"] .dblog-filter-form .form-item-type,
[dir="rtl"] .dblog-filter-form .form-item-severity {
margin: .1em .1em .1em .9em;
margin: 0.1em 0.1em 0.1em 0.9em;
}
.dblog-filter-form .form-actions {
display: inline-block;
......
......@@ -17,7 +17,7 @@
}
.field-ui-overview .field-plugin-summary {
float: left; /* LTR */
font-size: .9em;
font-size: 0.9em;
}
[dir="rtl"] .field-ui-overview .field-plugin-summary {
float: right;
......@@ -25,7 +25,7 @@
.field-ui-overview .field-plugin-summary-cell .warning {
display: block;
float: left; /* LTR */
margin-right: .5em;
margin-right: 0.5em;
}
[dir="rtl"] .field-ui-overview .field-plugin-summary-cell .warning {
float: right;
......
......@@ -5,12 +5,12 @@
.quickedit-image-dropzone {
background: rgba(116, 183, 255, 0.8);
transition: background .2s;
transition: background 0.2s;
}
.quickedit-image-icon {
margin: 0 0 10px 0;
transition: margin .5s;
transition: margin 0.5s;
}
.quickedit-image-dropzone.hover {
......
......@@ -72,12 +72,12 @@
vertical-align: top;
}
.locale-translation-update__wrapper {
background: transparent url(../../../misc/menu-collapsed.png) left .6em no-repeat;
background: transparent url(../../../misc/menu-collapsed.png) left 0.6em no-repeat;
margin-left: -12px;
padding-left: 12px;
}
.expanded .locale-translation-update__wrapper {
background: transparent url(../../../misc/menu-expanded.png) left .6em no-repeat;
background: transparent url(../../../misc/menu-expanded.png) left 0.6em no-repeat;
}
#locale-translation-status-form .description {
cursor: pointer;
......
......@@ -48,7 +48,7 @@
font-size: 1em;
}
.quickedit .icon-pencil {
margin-left: .5em;
margin-left: 0.5em;
padding-left: 1.5em;
}
......
......@@ -45,7 +45,7 @@
margin: 0;
}
.quickedit-form .form-wrapper {
margin: .5em;
margin: 0.5em;
}
/**
......@@ -55,35 +55,35 @@
opacity: 0;
}
.quickedit-animate-default {
-webkit-transition: all .4s ease;
transition: all .4s ease;
-webkit-transition: all 0.4s ease;
transition: all 0.4s ease;
}
.quickedit-animate-slow {
-webkit-transition: all .6s ease;
transition: all .6s ease;
-webkit-transition: all 0.6s ease;
transition: all 0.6s ease;
}
.quickedit-animate-delay-veryfast {
-webkit-transition-delay: .05s;
transition-delay: .05s;
-webkit-transition-delay: 0.05s;
transition-delay: 0.05s;
}
.quickedit-animate-delay-fast {
-webkit-transition-delay: .2s;
transition-delay: .2s;
-webkit-transition-delay: 0.2s;
transition-delay: 0.2s;
}
.quickedit-animate-disable-width {
-webkit-transition: width 0s;
transition: width 0s;
}
.quickedit-animate-only-visibility {
-webkit-transition: opacity .2s ease;
transition: opacity .2s ease;
-webkit-transition: opacity 0.2s ease;
transition: opacity 0.2s ease;
}
/**
* In-place editors that don't use a popup.
*/
.quickedit-validation-errors .messages.error {
box-shadow: 0 0 1px 1px red, 0 0 3px 3px rgba(153, 153, 153, .5);
box-shadow: 0 0 1px 1px red, 0 0 3px 3px rgba(153, 153, 153, 0.5);
background-color: white;
}
......@@ -208,8 +208,8 @@
margin: 0;
opacity: 1;
padding: 0.345em;
-webkit-transition: opacity .1s ease;
transition: opacity .1s ease;
-webkit-transition: opacity 0.1s ease;
transition: opacity 0.1s ease;
}
.quickedit-button[aria-hidden="true"] {
visibility: hidden;
......
......@@ -8,12 +8,12 @@
/* Transition the edit icon in the toolbar. */
#toolbar-bar.button.toolbar-icon.toolbar-icon.toolbar-icon-edit:before {
transition: all .7s ease;
transition: all 0.7s ease;
}
/* Transition the editables on the page, their contextual links and their hover states. */
.dialog-off-canvas-main-canvas .contextual,
.dialog-off-canvas-main-canvas .js-settings-tray-edit-mode .settings-tray-editable,
.dialog-off-canvas-main-canvas.js-off-canvas-dialog-open .js-settings-tray-edit-mode .settings-tray-editable {
transition: all .7s ease;
transition: all 0.7s ease;
}
......@@ -27,7 +27,7 @@
.progress__percentage {
color: #555;
overflow: hidden;
font-size: .875em;
font-size: 0.875em;
margin-top: 0.2em;
}
.progress__description {
......
......@@ -5,11 +5,11 @@
.system-status-report-counters__item {
width: 100%;
padding: .5em 0;
padding: 0.5em 0;
text-align: center;
white-space: nowrap;
background-color: rgba(0, 0, 0, 0.063);
margin-bottom: .5em;
margin-bottom: 0.5em;
}
@media screen and (min-width: 60em) {
......
......@@ -234,7 +234,7 @@ small .admin-link:after {
background-image: url(../../../misc/icons/e29700/warning.svg);
}
.system-status-report__entry__value {
padding: 1em .5em;
padding: 1em 0.5em;
}
/**
......
......@@ -18,5 +18,5 @@
/* Account settings */
.user-admin-settings .details-description {
font-size: 0.85em;
padding-bottom: .5em;
padding-bottom: 0.5em;
}
......@@ -13,8 +13,8 @@
background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #419ff1, #1076d5);
background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #419ff1, #1076d5); /* LTR */
border: 1px solid #0048c8;
border-radius: .4em;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
border-radius: 0.4em;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
color: #fff;
font-size: 0.9em;
line-height: normal;
......@@ -47,7 +47,7 @@
background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, -webkit-linear-gradient(top, #0e69be, #2a93ef);
background: url(../../../../misc/icons/000000/chevron-left.svg) left no-repeat, linear-gradient(to bottom, #0e69be, #2a93ef); /* LTR */
border: 1px solid #0048c8;
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .25);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}
[dir="rtl"] .node-preview-backlink:active {
background: url(../../../../misc/icons/000000/chevron-right.svg) right no-repeat, -webkit-linear-gradient(top, #0e69be, #2a93ef);
......
......@@ -33,7 +33,7 @@
.ui-dialog .ui-dialog-buttonpane {
margin-top: 0;
background: #f3f4ee;
padding: .3em 1em;
padding: 0.3em 1em;
border-width: 1px 0 0 0;
border-color: #ccc;
}
......
......@@ -14,14 +14,14 @@ form .field-multiple-table .field-multiple-drag {
padding-left: 0;
}
form .field-multiple-table .field-multiple-drag .tabledrag-handle {
padding-right: .5em; /* LTR */
padding-right: 0.5em; /* LTR */
}
[dir="rtl"] form .field-multiple-table .field-multiple-drag .tabledrag-handle {
padding-right: 0;
padding-left: .5em;
padding-left: 0.5em;
}
form .field-add-more-submit {
margin: .5em 0 0;
margin: 0.5em 0 0;
}
/**
......
......@@ -148,7 +148,7 @@ ol {
margin-right: 2em;
}
code {
margin: .5em 0;
margin: 0.5em 0;
}
pre {
margin: 0.5em 0;
......
......@@ -84,7 +84,7 @@ label[for] {
.form-disabled textarea.form-textarea,
.form-disabled select.form-select {
border-color: #d4d4d4;
background-color: hsla(0, 0%, 0%, .08);
background-color: hsla(0, 0%, 0%, 0.08);
box-shadow: none;
}
.form-item input.error,
......@@ -105,7 +105,7 @@ label[for] {
.form-item select.error:focus {
border-color: #e62600;
outline: 0;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 0 8px 1px #e62600;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 0 8px 1px #e62600;
background-color: #fcf4f2;
}
.form-required:after {
......@@ -175,7 +175,7 @@ input.form-date,
input.form-time,
textarea.form-textarea {
box-sizing: border-box;
padding: .3em .4em .3em .5em; /* LTR */
padding: 0.3em 0.4em 0.3em 0.5em; /* LTR */
max-width: 100%;
border: 1px solid #b8b8b8;
border-top-color: #999;
......@@ -183,14 +183,14 @@ textarea.form-textarea {
color: #333;
border-radius: 2px;
background: #fcfcfa;
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .125);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.125);
font-size: 1em;
color: #595959;
-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
transition: border linear 0.2s, box-shadow linear 0.2s;
}
[dir="rtl"] textarea.form-textarea {
padding: .3em .5em .3em .4em;
padding: 0.3em 0.5em 0.3em 0.4em;
}
.form-text:focus,
.form-tel:focus,
......@@ -205,7 +205,7 @@ textarea.form-textarea {
.form-time:focus {
border-color: #40b6ff;
outline: 0;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 0 8px #40b6ff;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 0 8px #40b6ff;
background-color: #fff;
}
......
......@@ -42,12 +42,12 @@
}
.ui-state-disabled,
.ui-widget-content .ui-state-disabled {
opacity: .35;
opacity: 0.35;
filter: alpha(Opacity=35);
}
.ui-priority-secondary,
.ui-widget-content .ui-priority-secondary {
opacity: .7;
opacity: 0.7;
filter: alpha(Opacity=70);
}
......@@ -331,7 +331,7 @@
*/
.ui-widget-overlay {
background: #000;
opacity: .7;
opacity: 0.7;
filter: alpha(Opacity=70);
}
......
......@@ -21,12 +21,12 @@
border-right: 1px solid #e6e4df; /* LTR */
border-left: 0; /* LTR */
background-color: #faf9f5;
box-shadow: 0 1px 1px rgba(0, 0, 0, .1) inset;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset;
}
[dir="rtl"] .system-status-counter__status-icon {
border-right: 0;
border-left: 1px solid #e6e4df;
box-shadow: 0 1px 1px rgba(0, 0, 0, .1) inset;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset;
}
.system-status-counter__status-icon:before {
content: "";
......
......@@ -180,7 +180,7 @@
padding: 4px 6px;
position: relative;
text-decoration: none;
text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
white-space: nowrap;
}
.ckeditor-toolbar-dividers {
......
......@@ -20,7 +20,7 @@
font-weight: normal;
color: #85bef4;
text-decoration: none;
transition: color .5s ease;
transition: color 0.5s ease;
}
#drupal-off-canvas a:focus,
......
......@@ -24,7 +24,7 @@
background: transparent;
font-size: 14px;
color: #85bef4;
transition: color .5s ease;
transition: color 0.5s ease;
}
#drupal-off-canvas button.link:hover,
#drupal-off-canvas button.link:focus {
......@@ -45,7 +45,7 @@
color: #f5f5f5;
text-align: center;
cursor: pointer;
transition: background .5s ease;
transition: background 0.5s ease;
}
#drupal-off-canvas input[type="submit"].button:hover,
#drupal-off-canvas input[type="submit"].button:focus,
......
......@@ -35,7 +35,7 @@
text-shadow: none;
padding: 10px 20px;
font-size: 14px;
transition: all .5s ease;
transition: all 0.5s ease;
}
#drupal-off-canvas summary:hover,
#drupal-off-canvas summary:focus {
......
......@@ -24,7 +24,7 @@
text-align: center;
line-height: normal;
cursor: pointer;
transition: background .5s ease;
transition: background 0.5s ease;
}
#drupal-off-canvas .dropbutton-widget:hover {
background: #2b8bd8;
......
......@@ -84,7 +84,7 @@
#drupal-off-canvas .form-textarea,
#drupal-off-canvas .form-date,
#drupal-off-canvas .form-time {
box-shadow: inset 0 1px 2px rgba(0, 0, 0, .125);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.125);
background-color: #eee;
border-color: #333;
color: #595959;
......@@ -101,7 +101,7 @@
#drupal-off-canvas .form-date:focus,
#drupal-off-canvas .form-time:focus {
border-color: #40b6ff;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .125), 0 0 8px #40b6ff;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.125), 0 0 8px #40b6ff;
background-color: #fff;
}
#drupal-off-canvas td .form-item,
......
......@@ -7,5 +7,5 @@
*/
.dialog-off-canvas-main-canvas {
transition: all .7s ease;
transition: all 0.7s ease;
}
......@@ -53,7 +53,7 @@
text-decoration: none;
}
#drupal-off-canvas tr td {
transition: background .3s ease;
transition: background 0.3s ease;
}
#drupal-off-canvas tr td abbr {
......
......@@ -40,7 +40,7 @@
position: absolute;
top: calc(50% - 6px);
right: 1em;
transition: all .5s ease;
transition: all 0.5s ease;
}
.ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar-close:hover,
.ui-dialog.ui-dialog-off-canvas .ui-dialog-titlebar-close:focus {
......
......@@ -5,12 +5,12 @@
.dblog-filter-form .form-item-type,
.dblog-filter-form .form-item-severity {
display: inline-block;
margin: .1em .9em .1em .1em; /* LTR */
margin: 0.1em 0.9em 0.1em 0.1em; /* LTR */
max-width: 30%;
}
[dir="rtl"] .dblog-filter-form .form-item-type,
[dir="rtl"] .dblog-filter-form .form-item-severity {
margin: .1em .1em .1em .9em;
margin: 0.1em 0.1em 0.1em 0.9em;
}
.dblog-filter-form .form-actions {
display: inline-block;
......
......@@ -17,7 +17,7 @@
}
.field-ui-overview .field-plugin-summary {
float: left; /* LTR */
font-size: .9em;
font-size: 0.9em;
}
[dir="rtl"] .field-ui-overview .field-plugin-summary {
float: right;
......@@ -25,7 +25,7 @@
.field-ui-overview .field-plugin-summary-cell .warning {
display: block;
float: left; /* LTR */
margin-right: .5em;
margin-right: 0.5em;
}
[dir="rtl"] .field-ui-overview .field-plugin-summary-cell .warning {
float: right;
......
......@@ -5,12 +5,12 @@
.quickedit-image-dropzone {
background: rgba(116, 183, 255, 0.8);
transition: background .2s;
transition: background 0.2s;
}
.quickedit-image-icon {
margin: 0 0 10px 0;
transition: margin .5s;
transition: margin 0.5s;
}
.quickedit-image-dropzone.hover {
......
......@@ -72,12 +72,12 @@
vertical-align: top;
}
.locale-translation-update__wrapper {
background: transparent url(../../images/core/menu-collapsed.png) left .6em no-repeat;
background: transparent url(../../images/core/menu-collapsed.png) left 0.6em no-repeat;
margin-left: -12px;
padding-left: 12px;
}
.expanded .locale-translation-update__wrapper {
background: transparent url(../../images/core/menu-expanded.png) left .6em no-repeat;
background: transparent url(../../images/core/menu-expanded.png) left 0.6em no-repeat;
}
#locale-translation-status-form .description {
cursor: pointer;
......
......@@ -48,7 +48,7 @@
font-size: 1em;
}
.quickedit .icon-pencil {
margin-left: .5em;
margin-left: 0.5em;
padding-left: 1.5em;
}
......
......@@ -45,7 +45,7 @@
margin: 0;
}
.quickedit-form .form-wrapper {
margin: .5em;
margin: 0.5em;
}
/**
......@@ -55,35 +55,35 @@
opacity: 0;
}
.quickedit-animate-default {
-webkit-transition: all .4s ease;
transition: all .4s ease;
-webkit-transition: all 0.4s ease;
transition: all 0.4s ease;
}
.quickedit-animate-slow {
-webkit-transition: all .6s ease;
transition: all .6s ease;
-webkit-transition: all 0.6s ease;
transition: all 0.6s ease;
}
.quickedit-animate-delay-veryfast {
-webkit-transition-delay: .05s;
transition-delay: .05s;
-webkit-transition-delay: 0.05s;
transition-delay: 0.05s;
}
.quickedit-animate-delay-fast {
-webkit-transition-delay: .2s;
transition-delay: .2s;
-webkit-transition-delay: 0.2s;
transition-delay: 0.2s;
}
.quickedit-animate-disable-width {
-webkit-transition: width 0s;
transition: width 0s;
}
.quickedit-animate-only-visibility {
-webkit-transition: opacity .2s ease;
transition: opacity .2s ease;
-webkit-transition: opacity 0.2s ease;
transition: opacity 0.2s ease;
}
/**
* In-place editors that don't use a popup.
*/
.quickedit-validation-errors .messages.error {
box-shadow: 0 0 1px 1px red, 0 0 3px 3px rgba(153, 153, 153, .5);
box-shadow: 0 0 1px 1px red, 0 0 3px 3px rgba(153, 153, 153, 0.5);
background-color: white;
}
......@@ -208,8 +208,8 @@
margin: 0;
opacity: 1;
padding: 0.345em;
-webkit-transition: opacity .1s ease;
transition: opacity .1s ease;
-webkit-transition: opacity 0.1s ease;