diff --git a/wagtail/admin/static_src/wagtailadmin/scss/layouts/workflow-progress.scss b/wagtail/admin/static_src/wagtailadmin/scss/layouts/workflow-progress.scss new file mode 100644 index 0000000000..61627ab6f3 --- /dev/null +++ b/wagtail/admin/static_src/wagtailadmin/scss/layouts/workflow-progress.scss @@ -0,0 +1,53 @@ +/* + * Styling for the workflow progress view + * See: wagtail/wagtail/admin/templates/wagtailadmin/pages/workflow_history/detail.html + */ + +.tab-buttons { + margin-top: 30px; + + button { + background: none; + border: none; + padding-bottom: 5px; + font-weight: bold; + + &.active { + border-bottom: 3px solid #007d7e; + } + } +} + +.workflow-tasks-table, +.workflow-timeline-table { + width: 100%; + border-top: 1px solid rgb(229, 229, 229); + border-bottom: 1px solid rgb(229, 229, 229); + font-size: 0.8em; + + td, th { + padding: 20px; + } + + th { + font-size: 1.2em; + } + + .left-column { + font-size: 1.2em; + font-weight: bold; + color: #555; + } +} + +.workflow-tasks-table { + background-color: rgb(250, 250, 250); + + .left-column { + background-color: rgb(245, 245, 245); + } +} + +.workflow-timeline-table tr { + border-bottom: 1px solid rgb(229, 229, 229); +} diff --git a/wagtail/admin/templates/wagtailadmin/pages/workflow_history/detail.html b/wagtail/admin/templates/wagtailadmin/pages/workflow_history/detail.html index 9f3bded0b6..c9b966bade 100644 --- a/wagtail/admin/templates/wagtailadmin/pages/workflow_history/detail.html +++ b/wagtail/admin/templates/wagtailadmin/pages/workflow_history/detail.html @@ -9,7 +9,7 @@

{{ page.get_admin_display_title }}

-

+

{% trans "Edit / Review" %} {% trans "Workflow history" %}

@@ -29,7 +29,7 @@ {% blocktrans with workflow_state.get_status_display as status %}Status {{ status }}{% endblocktrans %}

-
+
@@ -136,56 +136,11 @@ }); }); - - +{% endblock %} + + +{% block extra_css %} + {{ block.super }} + + {% endblock %}