From 080d873b9e363c6abce9f943bd3709d6ee6773a2 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Wed, 12 Jun 2024 13:32:19 +1200 Subject: [PATCH] MNT Fix scss lint warnings --- client/dist/styles/advancedworkflow.css | 2 +- client/src/styles/AdvancedWorkflowAdmin.scss | 1 - client/src/styles/WorkflowField.scss | 16 +++------------- client/src/styles/WorkflowGridField.scss | 2 +- client/src/styles/bundle.scss | 2 -- package.json | 4 ++-- yarn.lock | 8 ++++---- 7 files changed, 11 insertions(+), 24 deletions(-) diff --git a/client/dist/styles/advancedworkflow.css b/client/dist/styles/advancedworkflow.css index 1bd9be2e..5aa0ed0e 100644 --- a/client/dist/styles/advancedworkflow.css +++ b/client/dist/styles/advancedworkflow.css @@ -1 +1 @@ -.field.date .message.required,.field.datetime .message.required{position:relative;top:10px}.cms-tree.jstree span.badge.status-embargo,.cms-tree.jstree span.badge.status-expiry,.cms-tree.jstree span.badge.status-embargo_expiry{background-color:#ebfbff;color:#3fa142}#cms-content-tools-CMSMain .cms-tree.jstree span.badge.status-embargo,#cms-content-tools-CMSMain .cms-tree.jstree span.badge.status-expiry,#cms-content-tools-CMSMain .cms-tree.jstree span.badge.status-embargo_expiry{box-shadow:0 0 6px 2px #ebfbff}.workflow-field-diff del{background-color:#fdd;color:#d40404;padding:2px}.workflow-field-diff del p{background-color:inherit}.workflow-field-diff ins{background-color:#dfd;padding:2px;text-decoration:none}.workflow-field-diff ins p{background-color:inherit}.workflow-field{position:relative;padding-bottom:0}.workflow-field .workflow-field-header{background:#95a5ab;border:1px solid rgba(0,0,0,.1);border-radius:3px 3px 0 0}.workflow-field .workflow-field-header h3{background:#7f9198;border-bottom:1px solid rgba(0,0,0,.1);color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.1);margin:0;padding:8px}.workflow-field .workflow-field-header .workflow-field-do-create{margin-left:4px}.workflow-field .workflow-field-create{padding:4px 8px}.workflow-field .workflow-field-actions{background:#fff;border:1px solid rgba(0,0,0,.2);border-top:0;border-radius:0 0 3px 3px;padding:8px}.workflow-field .workflow-field-actions .workflow-field-action{margin-bottom:4px}.workflow-field .workflow-field-actions .workflow-field-action:last-child{margin-bottom:0}.workflow-field .workflow-field-actions .workflow-field-action .workflow-field-action-disabled{opacity:.35;filter:Alpha(Opacity=35);cursor:default}.workflow-field .workflow-field-actions .workflow-field-action .workflow-field-action-disabled.ui-state-hover,.workflow-field .workflow-field-actions .workflow-field-action .workflow-field-action-disabled.ui-state-focus{text-decoration:none;background-color:#e6e6e6;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2Q5ZDlkOSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==);background:linear-gradient(#fff, #d9d9d9);text-shadow:#fff 0 1px 1px;box-shadow:none}.workflow-field .workflow-field-actions .workflow-field-action-header{background:#d7dde0;border:1px solid #95a5ab;border-left:0;overflow:auto;padding:2px 8px 2px 0}.workflow-field .workflow-field-actions .workflow-field-action-header .workflow-field-action-icon,.workflow-field .workflow-field-actions .workflow-field-action-header .workflow-field-action-drag{display:block;float:left}.workflow-field .workflow-field-actions .workflow-field-action-header .workflow-field-action-drag{background:#95a5ab;cursor:move;margin:-2px 0;width:4px;height:36px}.workflow-field .workflow-field-actions .workflow-field-action-header .workflow-field-action-icon{width:16px;height:16px;margin:7px 8px 0 8px}.workflow-field .workflow-field-actions .workflow-field-action-header h4{float:left;margin:7px 8px 0 0;min-width:360px;text-shadow:0 1px 0 rgba(255,255,255,.4)}.workflow-field .workflow-field-actions .workflow-field-action-transitions{padding-left:0}.workflow-field .workflow-field-actions .workflow-field-action-transitions li{background:#f8f8f8;border:1px solid #d7dde0;border-left:0;border-top:0;overflow:auto;padding:4px 4px 4px 0}.workflow-field .workflow-field-actions .workflow-field-action-transitions li .workflow-field-action-drag{background:#d7dde0;cursor:move;float:left;margin:-4px 0;width:4px;height:41px}.workflow-field .workflow-field-actions .workflow-field-action-transitions li .workflow-field-transition-title{float:left;min-width:390px;overflow:auto}.workflow-field .workflow-field-actions .workflow-field-action-transitions li .workflow-field-transition-text{margin-top:6px}.workflow-field .workflow-field-actions .workflow-field-action-transitions li span{float:left}.workflow-field .workflow-field-actions .workflow-field-action-transitions li .workflow-transition-actions{display:inline;float:none}.workflow-field .workflow-placeholder{margin-bottom:4px;height:32px}.workflow-field .workflow-field-loading{background:rgba(0,0,0,.15) url(data:image/gif;base64,R0lGODlhKwArAKIHAOvt7rS8wdLW2EB9ogBakqysrP///////yH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE0IDc5LjE1Njc5NywgMjAxNC8wOC8yMC0wOTo1MzowMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcm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eBwW/YsOyIkgQAIfkEBQAABwAsBwAPAAgADAAAAx54cNwXjolSYqC1YSrYLsvxdc8GHdM2DOLWpJnDNgkAIfkEBQAABwAsCAAUABEACQAAAyl4unwSLSoQShGygGOEtVhWfeBWNCS5rUv6QYznWoERUa5gSxwgCBtJAgAh+QQFAAAHACwVAA8ACwAKAAADIni6IHFmGVFqGTJYu/SuCvBx03gdzSYsYRUArGIUayzZSgIAIfkEBQAABwAsHQAPAAgADAAAAyAocNxXJSwHi6D1sgpN4NAFgAEjgMzIbSgzvEfpHISQAAAh+QQFAAAHACwZABgACwALAAADIXi6sq6iSLlAmBPiGeyewPAV3SFuzYKVjygYj0Kk8QHXCQA7) no-repeat center center;border-radius:0 0 3px 3px;bottom:0;display:none;left:0;position:absolute;right:0;top:0;z-index:999}.cms table.ss-gridfield-table .btn-icon-download-csv{display:inline-block;vertical-align:middle;width:16px;height:16px;margin:-2px 0 0 10px}.cms .workflow-field-editor-dialog .tab-content{clear:both}.ss-gridfield .ss-gridfield-item .disabled a.action{opacity:.35;filter:Alpha(Opacity=35);cursor:default} +.field.date .message.required,.field.datetime .message.required{position:relative;top:10px}.cms-tree.jstree span.badge.status-embargo,.cms-tree.jstree span.badge.status-expiry,.cms-tree.jstree span.badge.status-embargo_expiry{background-color:#ebfbff;color:#3fa142}#cms-content-tools-CMSMain .cms-tree.jstree span.badge.status-embargo,#cms-content-tools-CMSMain .cms-tree.jstree span.badge.status-expiry,#cms-content-tools-CMSMain .cms-tree.jstree span.badge.status-embargo_expiry{box-shadow:0 0 6px 2px #ebfbff}.workflow-field-diff del{background-color:#fdd;color:#d40404;padding:2px}.workflow-field-diff del p{background-color:inherit}.workflow-field-diff ins{background-color:#dfd;padding:2px;text-decoration:none}.workflow-field-diff ins p{background-color:inherit}.workflow-field{position:relative;padding-bottom:0}.workflow-field .workflow-field-header{background:#95a5ab;border:1px solid rgba(0,0,0,.1);border-radius:3px 3px 0 0}.workflow-field .workflow-field-header h3{background:#7f9198;border-bottom:1px solid rgba(0,0,0,.1);color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.1);margin:0;padding:8px}.workflow-field .workflow-field-header .workflow-field-do-create{margin-left:4px}.workflow-field .workflow-field-create{padding:4px 8px}.workflow-field .workflow-field-actions{background:#fff;border:1px solid rgba(0,0,0,.2);border-top:0;border-radius:0 0 3px 3px;padding:8px}.workflow-field .workflow-field-actions .workflow-field-action{margin-bottom:4px}.workflow-field .workflow-field-actions .workflow-field-action:last-child{margin-bottom:0}.workflow-field .workflow-field-actions .workflow-field-action .workflow-field-action-disabled{opacity:.35;filter:alpha(Opacity=35);cursor:default}.workflow-field .workflow-field-actions .workflow-field-action .workflow-field-action-disabled.ui-state-hover,.workflow-field .workflow-field-actions .workflow-field-action .workflow-field-action-disabled.ui-state-focus{text-decoration:none;background:linear-gradient(#fff, #d9d9d9);text-shadow:#fff 0 1px 1px;box-shadow:none}.workflow-field .workflow-field-actions .workflow-field-action-header{background:#d7dde0;border:1px solid #95a5ab;border-left:0;overflow:auto;padding:2px 8px 2px 0}.workflow-field .workflow-field-actions .workflow-field-action-header .workflow-field-action-icon,.workflow-field .workflow-field-actions .workflow-field-action-header .workflow-field-action-drag{display:block;float:left}.workflow-field .workflow-field-actions .workflow-field-action-header .workflow-field-action-drag{background:#95a5ab;cursor:move;margin:-2px 0;width:4px;height:36px}.workflow-field .workflow-field-actions .workflow-field-action-header .workflow-field-action-icon{width:16px;height:16px;margin:7px 8px 0}.workflow-field .workflow-field-actions .workflow-field-action-header h4{float:left;margin:7px 8px 0 0;min-width:360px;text-shadow:0 1px 0 rgba(255,255,255,.4)}.workflow-field .workflow-field-actions .workflow-field-action-transitions{padding-left:0}.workflow-field .workflow-field-actions .workflow-field-action-transitions li{background:#f8f8f8;border:1px solid #d7dde0;border-left:0;border-top:0;overflow:auto;padding:4px 4px 4px 0}.workflow-field .workflow-field-actions .workflow-field-action-transitions li .workflow-field-action-drag{background:#d7dde0;cursor:move;float:left;margin:-4px 0;width:4px;height:41px}.workflow-field .workflow-field-actions .workflow-field-action-transitions li .workflow-field-transition-title{float:left;min-width:390px;overflow:auto}.workflow-field .workflow-field-actions .workflow-field-action-transitions li .workflow-field-transition-text{margin-top:6px}.workflow-field .workflow-field-actions .workflow-field-action-transitions li span{float:left}.workflow-field .workflow-field-actions .workflow-field-action-transitions li .workflow-transition-actions{display:inline;float:none}.workflow-field .workflow-placeholder{margin-bottom:4px;height:32px}.workflow-field .workflow-field-loading{background:rgba(0,0,0,.15) url(data:image/gif;base64,R0lGODlhKwArAKIHAOvt7rS8wdLW2EB9ogBakqysrP///////yH/C05FVFNDQVBFMi4wAwEAAAAh/wtYTVAgRGF0YVhNUDw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE0IDc5LjE1Njc5NywgMjAxNC8wOC8yMC0wOTo1MzowMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo1NWQ2NWU5Yy1iZjAwLTRmNjktODVlNS03NDQ4ODZiM2E1MDEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MjRFNkFDN0EwNjZDMTF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:0 0 3px 3px;inset:0;display:none;position:absolute;z-index:999}.cms table.ss-gridfield-table .btn-icon-download-csv{display:inline-block;vertical-align:middle;width:16px;height:16px;margin:-2px 0 0 10px}.cms .workflow-field-editor-dialog .tab-content{clear:both}.ss-gridfield .ss-gridfield-item .disabled a.action{opacity:.35;filter:alpha(Opacity=35);cursor:default} diff --git a/client/src/styles/AdvancedWorkflowAdmin.scss b/client/src/styles/AdvancedWorkflowAdmin.scss index cf235721..344c0bae 100644 --- a/client/src/styles/AdvancedWorkflowAdmin.scss +++ b/client/src/styles/AdvancedWorkflowAdmin.scss @@ -9,7 +9,6 @@ } // Embargo & expiry badge styling -// // 3 different statuses - embargo, expiry, embargo & expiry (both assigned) // Note: CSS nesting convention based on SilverStripe admin styling .cms-tree.jstree { diff --git a/client/src/styles/WorkflowField.scss b/client/src/styles/WorkflowField.scss index da512558..3c9014e0 100644 --- a/client/src/styles/WorkflowField.scss +++ b/client/src/styles/WorkflowField.scss @@ -41,7 +41,7 @@ .workflow-field-action-disabled { opacity: 0.35; - filter: Alpha(Opacity=35); + filter: alpha(Opacity=35); cursor: default; // These default styles are taken from .ss-ui-button (_forms.scss) so we don't end up with mousover/focus states on disabled buttons. @@ -49,13 +49,6 @@ &.ui-state-hover, &.ui-state-focus { text-decoration: none; - background-color: #e6e6e6; - background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2Q5ZDlkOSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=="); - background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, $white), color-stop(100%, $grey-lightish)); - background: -webkit-linear-gradient($white, $grey-lightish); - background: -moz-linear-gradient($white, $grey-lightish); - background: -o-linear-gradient($white, $grey-lightish); - background: -ms-linear-gradient($white, $grey-lightish); background: linear-gradient($white, $grey-lightish); text-shadow: $white 0 1px 1px; -webkit-box-shadow: none; @@ -89,7 +82,7 @@ .workflow-field-action-icon { width: 16px; height: 16px; - margin: calc($wf-height / 4) $wf-grid 0 $wf-grid; + margin: calc($wf-height / 4) $wf-grid 0; } h4 { @@ -150,12 +143,9 @@ .workflow-field-loading { background: rgba(0, 0, 0, .15) url("../images/spinner.gif") no-repeat center center; border-radius: 0 0 $wf-radius $wf-radius; - bottom: 0; + inset: 0; display: none; - left: 0; position: absolute; - right: 0; - top: 0; z-index: 999; } } diff --git a/client/src/styles/WorkflowGridField.scss b/client/src/styles/WorkflowGridField.scss index 8c0cc019..165474d3 100644 --- a/client/src/styles/WorkflowGridField.scss +++ b/client/src/styles/WorkflowGridField.scss @@ -3,7 +3,7 @@ .disabled { a.action { opacity: 0.35; - filter: Alpha(Opacity=35); + filter: alpha(Opacity=35); cursor: default; } } diff --git a/client/src/styles/bundle.scss b/client/src/styles/bundle.scss index 35342d9a..73be36f5 100644 --- a/client/src/styles/bundle.scss +++ b/client/src/styles/bundle.scss @@ -1,8 +1,6 @@ // See includePaths in webpack.config.js @import "variables"; - @import "workflow-variables"; - @import "AdvancedWorkflowAdmin"; @import "WorkflowField"; @import "WorkflowGridField"; diff --git a/package.json b/package.json index c0fe951a..2d5238ce 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "dev": "NODE_ENV=development webpack --progress", "watch": "yarn && NODE_ENV=development webpack --watch --progress", "css": "WEBPACK_CHILD=css npm run build", - "lint": "eslint client/src; stylelint client/src/**/*.scss" + "lint": "eslint client/src; stylelint client/src" }, "repository": { "type": "git", @@ -25,7 +25,7 @@ "homepage": "https://github.com/symbiote/silverstripe-advancedworkflow#readme", "dependencies": {}, "devDependencies": { - "@silverstripe/eslint-config": "^1.2.1", + "@silverstripe/eslint-config": "^1.3.0", "@silverstripe/webpack-config": "^2.1.0", "webpack": "^5.74.0", "webpack-cli": "^5.0.0" diff --git a/yarn.lock b/yarn.lock index d2f017ff..cc0f53d7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1354,10 +1354,10 @@ resolved "https://registry.yarnpkg.com/@sect/modernizr-loader/-/modernizr-loader-1.0.5.tgz#512afc60c715cd658fdffab244123661e1339083" integrity sha512-L8y2BTVeLtdSe1XzBcD2DOlc+7fR7Z/uNdhsKvf3d3x3gmEKz9sfl2wJ3VzFhEd+a/O6qgacuhbziphG2p4s8g== -"@silverstripe/eslint-config@^1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@silverstripe/eslint-config/-/eslint-config-1.2.1.tgz#17ed5e955308a4a89e87f5090df66ca1e8ea462d" - integrity sha512-T4Lz1aZEDLxRpSNe4EgEmLKPfofxba0p0+YkL/AOD8VM/sng7VM9vKwMoqICbsUGvNoymHfeWtARlCa575O4PA== +"@silverstripe/eslint-config@^1.3.0": + version "1.3.0" + resolved "https://registry.yarnpkg.com/@silverstripe/eslint-config/-/eslint-config-1.3.0.tgz#fa88f47cacd6103f6b759d81e1d86f9e93799413" + integrity sha512-Q3+sQKO1ysyMLhJ91kOl2LqJhQICfHFeqMx09EH0xx3dRHgjsQvqHIzVWEzPkM/l7D79m+Ma/WBnon30S7TVlA== dependencies: eslint "^8.26.0" eslint-config-airbnb "^19.0.4"