464 lines
7.4 KiB
Plaintext
464 lines
7.4 KiB
Plaintext
/**
|
|
* @file styles/pages/workflow.less
|
|
*
|
|
* Copyright (c) 2014-2021 Simon Fraser University
|
|
* Copyright (c) 2003-2021 John Willinsky
|
|
* Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
|
|
*
|
|
* @brief Styles for the workflow pages
|
|
*
|
|
*/
|
|
|
|
|
|
.pkp_page_workflow .pkp_submission_workflow,
|
|
.pkp_page_workflow #informationCenterDiv,
|
|
.pkp_page_authorDashboard #informationCenterDiv,
|
|
.pkp_page_authorDashboard #stageTabs {
|
|
margin-left: -2rem;
|
|
margin-right: -2rem;
|
|
}
|
|
|
|
.pkp_page_workflow,
|
|
.pkp_page_authorDashboard {
|
|
|
|
.pkpTab {
|
|
|
|
.ui-tabs-nav {
|
|
background: transparent;
|
|
padding-left: 1rem;
|
|
border-bottom: @bg-border-light;
|
|
|
|
a {
|
|
position: relative;
|
|
top: 1px;
|
|
border-left: 1px solid transparent;
|
|
border-right: 1px solid transparent;
|
|
}
|
|
|
|
.ui-tabs-active a {
|
|
border-color: @bg-border-color-light;
|
|
background: #fff;
|
|
}
|
|
}
|
|
|
|
.ui-tabs-panel .pkp_help_tab {
|
|
border: @bg-border-light;
|
|
border-bottom: none;
|
|
margin-top: -1px;
|
|
}
|
|
}
|
|
|
|
#queriesGrid {
|
|
margin-top: 1rem;
|
|
}
|
|
}
|
|
|
|
.pkp_submission_workflow {
|
|
|
|
.ui-tabs-nav {
|
|
|
|
// Stage currently initiated
|
|
.initiated a:before,
|
|
.initiated:focus a:before,
|
|
.initiated a:hover:before,
|
|
.initiated a:focus:before {
|
|
width: 100%;
|
|
background: @offset;
|
|
}
|
|
|
|
.initiated:not(.ui-state-active) a:before {
|
|
top: calc(~"3rem - 2px");
|
|
}
|
|
}
|
|
}
|
|
|
|
#submissionProgressBarDiv > .pkp_loading {
|
|
text-align: center;
|
|
}
|
|
|
|
#stageTabs {
|
|
&:extend(.pkp_helpers_clear all);
|
|
|
|
.pkp_workflow_sidebar {
|
|
float: right;
|
|
width: 25%;
|
|
padding-left: 1rem;
|
|
}
|
|
|
|
.pkp_workflow_content {
|
|
float: left;
|
|
width: 75%;
|
|
}
|
|
}
|
|
|
|
.pkp_workflow_decisions {
|
|
margin-bottom: 1rem;
|
|
|
|
> * + * {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
li + li {
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.pkp_button {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.pkp_workflow_last_decision,
|
|
.pkp_workflow_recommendations,
|
|
.pkp_no_workflow_decisions {
|
|
margin-bottom: 1rem;
|
|
border: @bg-border-light;
|
|
border-radius: @radius;
|
|
padding: 1rem;
|
|
font-size: @font-sml;
|
|
line-height: @line-sml;
|
|
}
|
|
|
|
.pkp_workflow_change_decision {
|
|
display: block;
|
|
padding: 0.5rem 0;
|
|
margin-top: 0.5rem;
|
|
background: transparent;
|
|
border: none;
|
|
box-shadow: none;
|
|
font-size: @font-tiny;
|
|
line-height: 1em;
|
|
font-weight: @normal;
|
|
color: @primary;
|
|
text-decoration: underline;
|
|
text-align: left;
|
|
}
|
|
|
|
.pkp_workflow_decisions_options_hidden {
|
|
display: none;
|
|
}
|
|
|
|
.export_actions {
|
|
padding-left: 2rem;
|
|
padding-right: 2rem;
|
|
|
|
.export_action {
|
|
padding-right: 1rem;
|
|
display: inline-block;
|
|
|
|
.deposit {
|
|
&:extend(.pkp_button_primary all);
|
|
&:extend(.pkp_button all);
|
|
}
|
|
}
|
|
}
|
|
|
|
[id^="reviewDecisionsDiv"] .pkp_linkaction_accept {
|
|
&:extend(.pkp_button_primary all);
|
|
}
|
|
|
|
.pkp_participants_grid {
|
|
margin-bottom: 2rem;
|
|
|
|
.pkp_controllers_grid {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.gridRow:not(.category) td {
|
|
padding-left: 2rem; // make room for the drop-down caret
|
|
}
|
|
|
|
thead,
|
|
thead tr,
|
|
thead th {
|
|
border: none;
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
//
|
|
// Hacky workarounds for targetting specific things that aren't that well
|
|
// marked up, or otherwise cause complications
|
|
//
|
|
|
|
// Style reviewer's grid
|
|
[id^="reviewersGrid"] {
|
|
|
|
// Hide the table headers
|
|
thead {
|
|
&:extend(.pkp_screen_reader);
|
|
}
|
|
|
|
.first_column,
|
|
th:first-child {
|
|
width: 40%;
|
|
}
|
|
|
|
tbody td:not(.first_column) {
|
|
font-size: @font-sml;
|
|
line-height: @line-sml;
|
|
}
|
|
|
|
tbody td:nth-child(2) {
|
|
font-weight: @bold;
|
|
|
|
.details {
|
|
display: block;
|
|
font-size: @font-tiny;
|
|
font-weight: @normal;
|
|
line-height: @line-tiny;
|
|
color: @text-light;
|
|
}
|
|
}
|
|
|
|
.overdue {
|
|
color: @no;
|
|
}
|
|
|
|
td:last-child a {
|
|
&:extend(.pkp_button_link all);
|
|
}
|
|
}
|
|
|
|
// Style review display/confirm form
|
|
#readReviewForm {
|
|
|
|
.pkp_controllers_informationCenter_itemLastEvent {
|
|
position: relative;
|
|
display: block;
|
|
padding: 1rem;
|
|
padding-left: 1.5rem;
|
|
border: @bg-border;
|
|
border-left: none;
|
|
font-size: @font-sml;
|
|
line-height: @line-sml;
|
|
|
|
&:before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -1px;
|
|
left: 0;
|
|
bottom: -1px;
|
|
width: 0.5rem;
|
|
background: @primary;
|
|
}
|
|
}
|
|
|
|
.pkp_controllers_grid {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
// Adjust display of selected reviewer in add reviewer form
|
|
.pkp_reviewer_form .selected_reviewer {
|
|
&:extend(.pkp_form .section);
|
|
|
|
.label {
|
|
font-weight: @bold;
|
|
}
|
|
|
|
.name {
|
|
font-style: italic;
|
|
color: @text-light;
|
|
color: @text-light-rgba;
|
|
}
|
|
|
|
.actions a {
|
|
font-size: @font-tiny;
|
|
margin-left: 1em;
|
|
}
|
|
}
|
|
|
|
// Email messages in author review stage
|
|
.pkp_submission_emails {
|
|
margin-bottom: 4rem;
|
|
|
|
h3 {
|
|
&:extend(.pkp_controllers_grid .header h4 all);
|
|
}
|
|
|
|
ul {
|
|
&:extend(.pkp_unstyled_list all);
|
|
border: @bg-border-light;
|
|
}
|
|
|
|
li {
|
|
&:extend(.pkp_helpers_clear all);
|
|
&:extend(.pkp_controllers_grid td);
|
|
border-bottom: @bg-border-light;
|
|
|
|
&:last-child {
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
|
|
.message,
|
|
.date {
|
|
display: block;
|
|
float: left;
|
|
width: 50%;
|
|
}
|
|
|
|
.message {
|
|
white-space: nowrap;
|
|
overflow-x: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.date {
|
|
font-size: @font-sml;
|
|
color: @text-light;
|
|
text-align: right;
|
|
}
|
|
|
|
@media(min-width: 992px) {
|
|
|
|
.message {
|
|
width: 60%;
|
|
}
|
|
|
|
.date {
|
|
width: 40%;
|
|
}
|
|
}
|
|
|
|
@media(min-width: 1200px) {
|
|
|
|
.message {
|
|
width: 75%;
|
|
}
|
|
|
|
.date {
|
|
width: 25%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.pkp_submission_email {
|
|
font-size: @font-sml;
|
|
line-height: @line-sml;
|
|
|
|
h2 {
|
|
margin: 0;
|
|
font-size: @font-lead;
|
|
line-height: @line-lead;
|
|
}
|
|
|
|
.date {
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.email_entry {
|
|
margin-top: 2rem;
|
|
padding: 1rem;
|
|
background: @bg-light;
|
|
border: @bg-border-light;
|
|
}
|
|
}
|
|
|
|
// Discussions grids
|
|
#queriesGrid .pkp_controllers_grid {
|
|
|
|
td:not(:first-child) {
|
|
font-size: @font-sml;
|
|
line-height: @line-sml;
|
|
}
|
|
}
|
|
|
|
// View of a sent email opened from the activity log
|
|
.pkp_workflow_email_log_view {
|
|
font-size: @font-sml;
|
|
line-height: @line-sml;
|
|
}
|
|
|
|
// @todo
|
|
.pkp_page_header {
|
|
|
|
.submission_progress {
|
|
overflow: hidden;
|
|
display: table;
|
|
width: 100%;
|
|
position: relative;
|
|
}
|
|
|
|
.submission_progress li {
|
|
height:37px;
|
|
line-height:0.75rem;
|
|
width: 19.5%;
|
|
background-image:url('@{baseUrl}/lib/pkp/templates/images/structure/workflow_inactive.png');
|
|
text-align: center;
|
|
color: #ffffff;
|
|
float: none;
|
|
vertical-align: middle;
|
|
display: table-cell;
|
|
}
|
|
|
|
.submission_progress li a {
|
|
text-decoration:none;
|
|
font-size: 0.75rem;
|
|
text-transform: uppercase;
|
|
color:#ffffff;
|
|
padding-left: 5px;
|
|
padding-right: 5px;
|
|
}
|
|
|
|
.submission_progress li.actionNeeded {
|
|
background-image:url('@{baseUrl}/lib/pkp/templates/images/structure/workflow_actionNeeded.png');
|
|
}
|
|
|
|
.submission_progress li.stageDisabled {
|
|
background-image:none;
|
|
background-color:#E5E1DD;
|
|
}
|
|
|
|
.submission_progress li.stageDisabled a {
|
|
color:#999999;
|
|
}
|
|
|
|
.submission_progress li.productionReady {
|
|
background-image:url('@{baseUrl}/lib/pkp/templates/images/structure/workflow_productionReady.png');
|
|
}
|
|
|
|
.submission_progress li.current {
|
|
background-image:url('@{baseUrl}/lib/pkp/templates/images/structure/workflow_current.png');
|
|
|
|
a {
|
|
font-size: 13px;
|
|
}
|
|
|
|
&.productionReady {
|
|
background-image:url('@{baseUrl}/lib/pkp/templates/images/structure/workflow_productionReadyCurrent.png') !important;
|
|
}
|
|
}
|
|
|
|
.submission_progress li.complete a:after {
|
|
background-color: #e5f4e5;
|
|
}
|
|
|
|
.submission_progress li.current a:after {
|
|
background-color: #EAF3F8;
|
|
}
|
|
|
|
.submission_progress li:before {
|
|
margin-left: 2px;
|
|
left: 100%;
|
|
z-index: 1;
|
|
}
|
|
|
|
.submission_progress li a:after {
|
|
background-color: white;
|
|
content: " ";
|
|
display: block;
|
|
width: 1px;
|
|
top: 0;
|
|
height: 37px;
|
|
position: absolute;
|
|
}
|
|
}
|