Commit 0013e901 authored by alexpott's avatar alexpott
Browse files

Issue #2866810 by BrightBold, harsha012, joelpittet: Update stylelint rule...

Issue #2866810 by BrightBold, harsha012, joelpittet: Update stylelint rule function-comma-space-after to be consistent with Drupal's CSS standards
parent 6abe25ed
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
"comment-empty-line-before": null, "comment-empty-line-before": null,
"declaration-block-no-duplicate-properties": null, "declaration-block-no-duplicate-properties": null,
"declaration-block-no-shorthand-property-overrides": null, "declaration-block-no-shorthand-property-overrides": null,
"function-comma-space-after": null,
"function-linear-gradient-no-nonstandard-direction": null, "function-linear-gradient-no-nonstandard-direction": null,
"function-whitespace-after": null, "function-whitespace-after": null,
"length-zero-no-unit": null, "length-zero-no-unit": null,
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
} }
#drupal-off-canvas input[type="submit"].button:focus, #drupal-off-canvas input[type="submit"].button:focus,
#drupal-off-canvas input[type="submit"].button:active { #drupal-off-canvas input[type="submit"].button:active {
box-shadow: 0 3px 3px 2px rgba(0,0,0,0.1); box-shadow: 0 3px 3px 2px rgba(0, 0, 0, 0.1);
} }
#drupal-off-canvas input[type="submit"].button--primary { #drupal-off-canvas input[type="submit"].button--primary {
border: 0; border: 0;
......
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
/* Create visual separation if there is an adjacent button. */ /* Create visual separation if there is an adjacent button. */
#drupal-off-canvas .dropbutton-multiple.open .dropbutton-widget { #drupal-off-canvas .dropbutton-multiple.open .dropbutton-widget {
box-shadow: 0 3px 3px 2px rgba(0,0,0,0.5); box-shadow: 0 3px 3px 2px rgba(0, 0, 0, 0.5);
} }
/* Triggered dropbutton expands to show secondary items. */ /* Triggered dropbutton expands to show secondary items. */
......
...@@ -383,6 +383,6 @@ ...@@ -383,6 +383,6 @@
/* To standardize off-canvas selection color. */ /* To standardize off-canvas selection color. */
#drupal-off-canvas ::-moz-selection, #drupal-off-canvas ::-moz-selection,
#drupal-off-canvas ::selection { #drupal-off-canvas ::selection {
background-color: rgba(175,175,175,0.5); background-color: rgba(175, 175, 175, 0.5);
color: inherit; color: inherit;
} }
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
*/ */
.block-place-region { .block-place-region {
outline: 1px dashed rgba(0,0,0,0.5); outline: 1px dashed rgba(0, 0, 0, 0.5);
box-shadow: 0 0 0 1px rgba(255,255,255,0.7); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7);
margin: 1em 0; margin: 1em 0;
padding: 5px; padding: 5px;
text-align: center; text-align: center;
......
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
padding: 4px 6px; padding: 4px 6px;
position: relative; position: relative;
text-decoration: none; text-decoration: none;
text-shadow: 0 1px 0 rgba(255,255,255,.5); text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
white-space: nowrap; white-space: nowrap;
} }
.ckeditor-toolbar-dividers { .ckeditor-toolbar-dividers {
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
margin: 0; margin: 0;
} }
.toolbar .toolbar-bar .contextual-toolbar-tab .toolbar-item.is-active { .toolbar .toolbar-bar .contextual-toolbar-tab .toolbar-item.is-active {
background-image: -webkit-linear-gradient(rgb(78,159,234) 0%, rgb(69,132,221) 100%); background-image: -webkit-linear-gradient(rgb(78, 159, 234) 0%, rgb(69, 132, 221) 100%);
background-image: linear-gradient(rgb(78,159,234) 0%, rgb(69,132,221) 100%); background-image: linear-gradient(rgb(78, 159, 234) 0%, rgb(69, 132, 221) 100%);
} }
/* @todo get rid of this declaration by making toolbar.module's CSS less specific */ /* @todo get rid of this declaration by making toolbar.module's CSS less specific */
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
/* Style the edit mode toolbar and tabs. */ /* Style the edit mode toolbar and tabs. */
#toolbar-bar.js-settings-tray-edit-mode { #toolbar-bar.js-settings-tray-edit-mode {
background-image: linear-gradient(to bottom,#0c97ed,#1f86c7); background-image: linear-gradient(to bottom, #0c97ed, #1f86c7);
} }
.js-settings-tray-edit-mode .toolbar-item:not(.toolbar-icon-edit) { .js-settings-tray-edit-mode .toolbar-item:not(.toolbar-icon-edit) {
color: #999; color: #999;
...@@ -61,10 +61,10 @@ ...@@ -61,10 +61,10 @@
/* Style the editables while in edit mode. */ /* Style the editables while in edit mode. */
.dialog-off-canvas-main-canvas.js-settings-tray-edit-mode .settings-tray-editable { .dialog-off-canvas-main-canvas.js-settings-tray-edit-mode .settings-tray-editable {
outline: 1px dashed rgba(0,0,0,0.5); outline: 1px dashed rgba(0, 0, 0, 0.5);
box-shadow: 0 0 0 1px rgba(255,255,255,0.7); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.7);
} }
.dialog-off-canvas-main-canvas.js-settings-tray-edit-mode .settings-tray-editable:hover, .dialog-off-canvas-main-canvas.js-settings-tray-edit-mode .settings-tray-editable:hover,
.dialog-off-canvas-main-canvas.js-settings-tray-edit-mode .settings-tray-editable.settings-tray-active-editable { .dialog-off-canvas-main-canvas.js-settings-tray-edit-mode .settings-tray-editable.settings-tray-active-editable {
background-color: rgba(0,0,0,0.2); background-color: rgba(0, 0, 0, 0.2);
} }
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
font-family: "Source Sans Pro", "Lucida Grande", Verdana, sans-serif; font-family: "Source Sans Pro", "Lucida Grande", Verdana, sans-serif;
/* Set base font size to 13px based on root ems. */ /* Set base font size to 13px based on root ems. */
font-size: 0.8125rem; font-size: 0.8125rem;
-moz-tap-highlight-color: rgba(0,0,0,0); -moz-tap-highlight-color: rgba(0, 0, 0, 0);
-o-tap-highlight-color: rgba(0,0,0,0); -o-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
tap-highlight-color: rgba(0,0,0,0); tap-highlight-color: rgba(0, 0, 0, 0);
-moz-touch-callout: none; -moz-touch-callout: none;
-o-touch-callout: none; -o-touch-callout: none;
-webkit-touch-callout: none; -webkit-touch-callout: none;
......
...@@ -37,11 +37,11 @@ ...@@ -37,11 +37,11 @@
background: linear-gradient(-90deg, #fff 0, #e8e8e8 100%) no-repeat, repeat-y; background: linear-gradient(-90deg, #fff 0, #e8e8e8 100%) no-repeat, repeat-y;
border: 1px solid #ddd; border: 1px solid #ddd;
border-radius: 4px; border-radius: 4px;
box-shadow: 0 0 0 rgba(0,0,0,0.3333) inset; box-shadow: 0 0 0 rgba(0, 0, 0, 0.3333) inset;
} }
.views-admin a.icon:hover { .views-admin a.icon:hover {
border-color: #d0d0d0; border-color: #d0d0d0;
box-shadow: 0 0 1px rgba(0,0,0,0.3333) inset; box-shadow: 0 0 1px rgba(0, 0, 0, 0.3333) inset;
} }
.views-admin a.icon:active { .views-admin a.icon:active {
border-color: #c0c0c0; border-color: #c0c0c0;
......
...@@ -18,8 +18,8 @@ ...@@ -18,8 +18,8 @@
} }
.ui-dialog .button { .ui-dialog .button {
background-color: #fff; background-color: #fff;
background-image: -webkit-linear-gradient(top,#f3f3f3,#e8e8e8); background-image: -webkit-linear-gradient(top, #f3f3f3, #e8e8e8);
background-image: linear-gradient(to bottom,#f3f3f3,#e8e8e8); background-image: linear-gradient(to bottom, #f3f3f3, #e8e8e8);
border: 1px solid #e4e4e4; border: 1px solid #e4e4e4;
border-bottom-color: #b4b4b4; border-bottom-color: #b4b4b4;
border-left-color: #d2d2d2; border-left-color: #d2d2d2;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
/* Default styles for the container */ /* Default styles for the container */
.joyride-tip-guide { .joyride-tip-guide {
background: #000; background: #000;
background: rgba(0,0,0, 0.8); background: rgba(0, 0, 0, 0.8);
color: #fff; color: #fff;
border-radius: 5px; border-radius: 5px;
} }
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
/* Add a little css triangle pip, older browser just miss out on the fanciness of it. */ /* Add a little css triangle pip, older browser just miss out on the fanciness of it. */
.joyride-tip-guide .joyride-nub { .joyride-tip-guide .joyride-nub {
border: solid 14px rgba(0,0,0, 0.8); border: solid 14px rgba(0, 0, 0, 0.8);
} }
.joyride-tip-guide .joyride-nub.top { .joyride-tip-guide .joyride-nub.top {
border-top-color: transparent; border-top-color: transparent;
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
} }
[dir="rtl"] .joyride-tip-guide .joyride-nub.right { [dir="rtl"] .joyride-tip-guide .joyride-nub.right {
border-left-color: transparent; border-left-color: transparent;
border-right-color: rgba(0,0,0, 0.8); border-right-color: rgba(0, 0, 0, 0.8);
} }
.joyride-tip-guide .joyride-nub.left { .joyride-tip-guide .joyride-nub.left {
border-top-color: transparent; border-top-color: transparent;
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
border-bottom-color: transparent; border-bottom-color: transparent;
} }
[dir="rtl"] .joyride-tip-guide .joyride-nub.left { [dir="rtl"] .joyride-tip-guide .joyride-nub.left {
border-left-color: rgba(0,0,0, 0.8); border-left-color: rgba(0, 0, 0, 0.8);
border-right-color: transparent; border-right-color: transparent;
} }
.joyride-tip-guide .joyride-nub.top-right { .joyride-tip-guide .joyride-nub.top-right {
...@@ -72,26 +72,26 @@ ...@@ -72,26 +72,26 @@
margin: 0; margin: 0;
} }
.joyride-timer-indicator-wrap { .joyride-timer-indicator-wrap {
border: solid 1px rgba(255,255,255, 0.1); border: solid 1px rgba(255, 255, 255, 0.1);
} }
.joyride-timer-indicator { .joyride-timer-indicator {
background: rgba(255,255,255, 0.25); background: rgba(255, 255, 255, 0.25);
} }
.joyride-close-tip { .joyride-close-tip {
color: rgba(255,255,255, 0.4); color: rgba(255, 255, 255, 0.4);
text-decoration: none; text-decoration: none;
font-size: 1.4em; font-size: 1.4em;
font-weight: bold; font-weight: bold;
} }
.joyride-close-tip:hover, .joyride-close-tip:hover,
.joyride-close-tip:focus { .joyride-close-tip:focus {
color: rgba(255,255,255, 0.9); color: rgba(255, 255, 255, 0.9);
text-decoration: none; text-decoration: none;
} }
.joyride-modal-bg { .joyride-modal-bg {
background: rgba(0,0,0, 0.5); background: rgba(0, 0, 0, 0.5);
} }
.joyride-expose-wrapper { .joyride-expose-wrapper {
......
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
padding: 4px 6px; padding: 4px 6px;
position: relative; position: relative;
text-decoration: none; text-decoration: none;
text-shadow: 0 1px 0 rgba(255,255,255,.5); text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
white-space: nowrap; white-space: nowrap;
} }
.ckeditor-toolbar-dividers { .ckeditor-toolbar-dividers {
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
margin: 0; margin: 0;
} }
.toolbar .toolbar-bar .contextual-toolbar-tab .toolbar-item.is-active { .toolbar .toolbar-bar .contextual-toolbar-tab .toolbar-item.is-active {
background-image: -webkit-linear-gradient(rgb(78,159,234) 0%, rgb(69,132,221) 100%); background-image: -webkit-linear-gradient(rgb(78, 159, 234) 0%, rgb(69, 132, 221) 100%);
background-image: linear-gradient(rgb(78,159,234) 0%, rgb(69,132,221) 100%); background-image: linear-gradient(rgb(78, 159, 234) 0%, rgb(69, 132, 221) 100%);
} }
/* @todo get rid of this declaration by making toolbar.module's CSS less specific */ /* @todo get rid of this declaration by making toolbar.module's CSS less specific */
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
} }
#drupal-off-canvas input[type="submit"].button:focus, #drupal-off-canvas input[type="submit"].button:focus,
#drupal-off-canvas input[type="submit"].button:active { #drupal-off-canvas input[type="submit"].button:active {
box-shadow: 0 3px 3px 2px rgba(0,0,0,0.1); box-shadow: 0 3px 3px 2px rgba(0, 0, 0, 0.1);
} }
#drupal-off-canvas input[type="submit"].button--primary { #drupal-off-canvas input[type="submit"].button--primary {
border: 0; border: 0;
......
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
/* Create visual separation if there is an adjacent button. */ /* Create visual separation if there is an adjacent button. */
#drupal-off-canvas .dropbutton-multiple.open .dropbutton-widget { #drupal-off-canvas .dropbutton-multiple.open .dropbutton-widget {
box-shadow: 0 3px 3px 2px rgba(0,0,0,0.5); box-shadow: 0 3px 3px 2px rgba(0, 0, 0, 0.5);
} }
/* Triggered dropbutton expands to show secondary items. */ /* Triggered dropbutton expands to show secondary items. */
......
...@@ -383,6 +383,6 @@ ...@@ -383,6 +383,6 @@
/* To standardize off-canvas selection color. */ /* To standardize off-canvas selection color. */
#drupal-off-canvas ::-moz-selection, #drupal-off-canvas ::-moz-selection,
#drupal-off-canvas ::selection { #drupal-off-canvas ::selection {
background-color: rgba(175,175,175,0.5); background-color: rgba(175, 175, 175, 0.5);
color: inherit; color: inherit;
} }
...@@ -5,10 +5,10 @@ ...@@ -5,10 +5,10 @@
font-family: "Source Sans Pro", "Lucida Grande", Verdana, sans-serif; font-family: "Source Sans Pro", "Lucida Grande", Verdana, sans-serif;
/* Set base font size to 13px based on root ems. */ /* Set base font size to 13px based on root ems. */
font-size: 0.8125rem; font-size: 0.8125rem;
-moz-tap-highlight-color: rgba(0,0,0,0); -moz-tap-highlight-color: rgba(0, 0, 0, 0);
-o-tap-highlight-color: rgba(0,0,0,0); -o-tap-highlight-color: rgba(0, 0, 0, 0);
-webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
tap-highlight-color: rgba(0,0,0,0); tap-highlight-color: rgba(0, 0, 0, 0);
-moz-touch-callout: none; -moz-touch-callout: none;
-o-touch-callout: none; -o-touch-callout: none;
-webkit-touch-callout: none; -webkit-touch-callout: none;
......
...@@ -37,11 +37,11 @@ ...@@ -37,11 +37,11 @@
background: linear-gradient(-90deg, #fff 0, #e8e8e8 100%) no-repeat, repeat-y; background: linear-gradient(-90deg, #fff 0, #e8e8e8 100%) no-repeat, repeat-y;
border: 1px solid #ddd; border: 1px solid #ddd;
border-radius: 4px; border-radius: 4px;
box-shadow: 0 0 0 rgba(0,0,0,0.3333) inset; box-shadow: 0 0 0 rgba(0, 0, 0, 0.3333) inset;
} }
.views-admin a.icon:hover { .views-admin a.icon:hover {
border-color: #d0d0d0; border-color: #d0d0d0;
box-shadow: 0 0 1px rgba(0,0,0,0.3333) inset; box-shadow: 0 0 1px rgba(0, 0, 0, 0.3333) inset;
} }
.views-admin a.icon:active { .views-admin a.icon:active {
border-color: #c0c0c0; border-color: #c0c0c0;
......
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