Commit f0272d5f authored by alexpott's avatar alexpott
Browse files

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;
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment