-
Notifications
You must be signed in to change notification settings - Fork 916
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2276 from NateWr/i4446_stable
STABLE: pkp/pkp-lib#4446 Improve appearance of category pages on the frontend
- Loading branch information
Showing
8 changed files
with
123 additions
and
96 deletions.
There are no files selected for viewing
Submodule pkp
updated
2 files
+2 −2 | locale/en_US/submission.xml | |
+1 −2 | pages/catalog/PKPCatalogHandler.inc.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
/** | ||
* @file plugins/themes/default/styles/pages/contact.less | ||
* | ||
* Copyright (c) 2014-2018 Simon Fraser University | ||
* Copyright (c) 2003-2018 John Willinsky | ||
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. | ||
* | ||
* @brief Styles applying to the contact page | ||
* @link templates/frontend/pages/contact.tpl | ||
*/ | ||
.page_catalog_category { | ||
|
||
.article_count { | ||
float: right; | ||
padding: @base 0; | ||
font-size: @font-sml; | ||
color: @text-light; | ||
} | ||
|
||
.about_section .cover { | ||
float: right; | ||
width: 20%; | ||
margin-left: 10%; | ||
margin-right: 10%; | ||
} | ||
|
||
.subcategories { | ||
|
||
ul { | ||
&:extend(.pkp_unstyled_list); | ||
} | ||
|
||
li { | ||
padding-top: @half; | ||
padding-bottom: @half; | ||
} | ||
|
||
a { | ||
text-decoration: none; | ||
} | ||
|
||
@media(min-width: @screen-tablet) { | ||
position: relative; | ||
margin-top: @triple * 2; | ||
margin-left: -@double; | ||
margin-right: -@double; | ||
padding: @triple; | ||
border-top: @bg-border; | ||
border-bottom: @bg-border; | ||
|
||
h2 { | ||
position: absolute; | ||
top: -15px; | ||
left: @double; | ||
margin: 0; | ||
padding-left: @base; | ||
padding-right: @base; | ||
line-height: @triple; | ||
background: @bg; | ||
color: @text-light; | ||
} | ||
} | ||
|
||
@media(min-width: @screen-desktop) { | ||
margin-left: -@triple; | ||
margin-right: -@triple; | ||
} | ||
} | ||
|
||
@media(min-width: @screen-tablet) { | ||
|
||
.cmp_article_list { | ||
padding-top: @double; | ||
} | ||
|
||
h2.title { | ||
.pkp_screen_reader(); | ||
} | ||
} | ||
|
||
@media(min-width: @screen-desktop) { | ||
|
||
.cmp_article_list { | ||
padding-top: @triple; | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters