NIHVIVO-1316: Adding navigational control for accessing property groups menu from property groups. When users click on the arrow located at the top right part of a property group, this will scroll up to the property groups menu.
This commit is contained in:
parent
07972a7826
commit
0e64d6a0e3
3 changed files with 10 additions and 1 deletions
|
@ -294,6 +294,7 @@ p.view-all-coauthors{
|
||||||
}
|
}
|
||||||
/* PROPERTY GROUP------> */
|
/* PROPERTY GROUP------> */
|
||||||
.property-group{
|
.property-group{
|
||||||
|
position: relative;
|
||||||
clear: both;
|
clear: both;
|
||||||
width: 920px;
|
width: 920px;
|
||||||
border: 1px solid #dfebe5;
|
border: 1px solid #dfebe5;
|
||||||
|
@ -301,7 +302,13 @@ p.view-all-coauthors{
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
overflow: hidden;
|
}
|
||||||
|
.scroll-up{
|
||||||
|
position: absolute;
|
||||||
|
width: 21px;
|
||||||
|
height: 30px;
|
||||||
|
top: 0;
|
||||||
|
right: -21px;
|
||||||
}
|
}
|
||||||
section.property-group h2{
|
section.property-group h2{
|
||||||
padding: 20px 25px 12px 35px;
|
padding: 20px 25px 12px 35px;
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
<#assign groupname = group.name(nameForOtherGroup)>
|
<#assign groupname = group.name(nameForOtherGroup)>
|
||||||
|
|
||||||
<section class="property-group" role="region">
|
<section class="property-group" role="region">
|
||||||
|
<nav class="scroll-up" role="navigation"><a href="#property-nav"><img src="${urls.images}/scroll-up.png" alt="scroll-up" /></a></nav>
|
||||||
|
|
||||||
<#-- Display the group heading -->
|
<#-- Display the group heading -->
|
||||||
<#if groupname?has_content>
|
<#if groupname?has_content>
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
<#-- Template for property group menu on individual profile page -->
|
<#-- Template for property group menu on individual profile page -->
|
||||||
|
|
||||||
<#assign nameForOtherGroup = nameForOtherGroup!"other">
|
<#assign nameForOtherGroup = nameForOtherGroup!"other">
|
||||||
|
<a name="property-nav"></a>
|
||||||
<nav id="property-group-menus" role="navigation">
|
<nav id="property-group-menus" role="navigation">
|
||||||
<ul role="list">
|
<ul role="list">
|
||||||
<#list propertyGroups as group>
|
<#list propertyGroups as group>
|
||||||
|
|
Loading…
Add table
Reference in a new issue