Skip to content

Commit

Permalink
pkp/pkp-lib#8880 Style adjustments to submissions table to match mockups
Browse files Browse the repository at this point in the history
  • Loading branch information
NateWr authored and Vitaliy-1 committed Aug 10, 2023
1 parent b8be5af commit 42b0e28
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/components/Button/Button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ export default {
text-transform: uppercase;
box-shadow: none;
border-color: transparent;
text-decoration: underline;
background: transparent;
&:hover {
Expand Down
11 changes: 6 additions & 5 deletions src/components/Container/SubmissionsPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ export default {
}
.submissions__views {
justify-self: stretch;
border-inline-end: @bg-border-light;
}
Expand All @@ -339,10 +340,10 @@ export default {
display: flex;
width: 100%;
align-items: center;
gap: 1rem;
gap: 0.75rem;
border: none;
background: transparent;
padding: 1rem;
padding: 0.75rem 1rem;
&:hover {
background: @bg-very-light;
Expand All @@ -356,9 +357,9 @@ export default {
.submissions__view__count {
display: inline-block;
text-align: center;
height: 2rem;
line-height: 2rem;
min-width: 2rem;
height: 1.5rem;
line-height: 1.5rem;
min-width: 1.5rem;
padding-left: 0.4em;
padding-right: 0.4em;
outline: 1px solid;
Expand Down
1 change: 1 addition & 0 deletions src/components/Pagination/Pagination.vue
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ export default {
padding-inline-end: 0.5rem;
text-decoration: none;
color: @text;
font-weight: @normal;
&[aria-current='true'] {
font-weight: @bold;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Table/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
td,
th {
padding: 0.75rem;
padding: 0.5rem 1rem;
font-weight: @normal;
text-align: inherit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</div>
<div class="submissions__list">
<div class="submissions__list__top">
<pkp-button :is-primary="true">Start a New Submission</pkp-button>
<pkp-button>Start a New Submission</pkp-button>
</div>
<h1 class="submissions__list__title" id="table-title">
{{ currentView.name }}
Expand Down Expand Up @@ -106,9 +106,10 @@
<table-cell>
<pkp-button
class="submissions__list__item__view"
:is-link="true"
@click="openSummary(submission)"
>
View Summary
Summary
</pkp-button>
</table-cell>
</tr>
Expand Down Expand Up @@ -320,4 +321,10 @@ export default {

<style lang="less">
@import '../../../../styles/_import';
.component--SubmissionsPage .component__exampleWrapper {
padding-top: 0;
padding-bottom: 0;
padding-left: 0;
}
</style>

0 comments on commit 42b0e28

Please sign in to comment.