/**
 * @file plugins/themes/default/styles/pages/submissions.less
 *
 * Copyright (c) 2014-2019 Simon Fraser University
 * Copyright (c) 2003-2019 John Willinsky
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * @brief Styles applying to submissions page
 * @link templates/frontend/pages/submissions.tpl
 */
.page_submissions {

	.submission_sections, .submission_checklist {

		ul {
			margin: @double 0 0;
			padding: 0;
			list-style: none;
			font-size: @font-sml;
			border: @bg-border;
			border-bottom: none;
		}

		li {
			position: relative;
			padding: @base;
			border-bottom: @bg-border;

			&:before {
				.fa();
			}
		}
	}

	.submission_sections {
		h3 {
			margin-top: 0;
		}

		.cmp_notification {
			margin-bottom: 0;
		}
	}

	@media(min-width: @screen-phone) {

		.submission_sections, .submission_checklist {

			li {
				padding: @double @double @double (@double * 2);

				&:before {
					position: absolute;
					font-size: @font-lead;
					color: @yes;
				}
			}
		}

		.submission_sections {
			li {
				&:before {
					content: @fa-var-chevron-right;
					top: 22px;
					left: @double - 3;
				}
			}
		}

		.submission_checklist {
			li {
				&:before {
					content: @fa-var-check;
					top: 50%;
					left: @double;
					-webkit-transform: translate(-50%, -50%);
					-moz-transform: translate(-50%, -50%);
					-ms-transform: translate(-50%, -50%);
					-o-transform: translate(-50%, -50%);
					transform: translate(-50%, -50%);
				}
			}
		}
	}

}
