Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH Update status flag styling #562

Merged
merged 1 commit into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/dist/styles/advancedworkflow.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 15 additions & 10 deletions client/src/styles/AdvancedWorkflowAdmin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,25 @@
// 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 {
span.badge.status-embargo,
span.badge.status-expiry,
span.badge.status-embargo_expiry {// sass-lint:disable-line class-name-format
background-color: $grey-light;
color: $brand-success;
.badge.status-embargo,
.badge.status-expiry,
.badge.status-embargo_expiry {// sass-lint:disable-line class-name-format
background-color: $grey-light;
border-color: $brand-success;
color: $brand-success;

#cms-content-tools-CMSMain & {// sass-lint:disable-line no-ids
-webkit-box-shadow: 0 0 6px 2px $grey-light;
box-shadow: 0 0 6px 2px $grey-light;
}
#cms-content-tools-CMSMain & {// sass-lint:disable-line no-ids
-webkit-box-shadow: 0 0 6px 2px $grey-light;
box-shadow: 0 0 6px 2px $grey-light;
}
}

.badge.status-workflow-approval {
background-color: #E8FAFF;
border-color: #0070B4;
color: #0070B4;
}
Comment on lines +27 to +31
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bit used to be in silverstripe/admin for some reason.


.workflow-field-diff {
del {
background-color: $pale-red;
Expand Down