Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make images sticky by default #904

Open
wants to merge 6 commits into
base: Development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions collections/editor/includes/imgprocessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function anchorImgPanel(){
.ocr-box button{ margin: 5px; }
</style>
<div id="labelProcDiv" style="width:100%;height:1050px;position:relative">
<fieldset id="labelProcFieldset" style="height:95%;background-color:white;">
<fieldset id="labelProcFieldset" class="fieldset-sticky">
<legend><b><?php echo $LANG['LABEL_PROCESSING']; ?></b></legend>
<div id="labelHeaderDiv" style="margin-top:-10px;height:15px;position:relative">
<div style="float:left;margin-top:3px;margin-right:15px"><a id="zoomInfoDiv" href="#"><?php echo $LANG['ZOOM']; ?></a></div>
Expand All @@ -66,8 +66,8 @@ function anchorImgPanel(){
</div>
<div style="float:left;margin-right:15px">
<div id="draggableImgDiv" style="float:left" title="<?php echo $LANG['MAKE_DRAGGABLE']; ?>"><a href="#" onclick="draggableImgPanel()"><img src="../../images/draggable.png" style="width:1.3em" /></a></div>
<div id="floatImgDiv" style="float:left;margin-left:10px" title="<?php echo $LANG['ALLOW_REMAIN_ACTIVE']; ?>"><a href="#" onclick="floatImgPanel()"><img src="../../images/floatdown.png" style="width:1.3em" /></a></div>
<div id="anchorImgDiv" style="float:left;margin-left:10px;display:none" title="<?php echo $LANG['ANCHOR_IMG']; ?>"><a href="#" onclick="anchorImgPanel()"><img src="../../images/anchor.png" style="width:1.3em" /></a></div>
<div id="floatImgDiv" style="float:left;margin-left:10px;display:none" title="<?php echo $LANG['ALLOW_REMAIN_ACTIVE']; ?>"><a href="#" onclick="floatImgPanel()"><img src="../../images/floatdown.png" style="width:1.3em" /></a></div>
<div id="anchorImgDiv" style="float:left;margin-left:10px" title="<?php echo $LANG['ANCHOR_IMG']; ?>"><a href="#" onclick="anchorImgPanel()"><img src="../../images/anchor.png" style="width:1.3em" /></a></div>
</div>
<div style="float:left;;padding-right:10px;margin:2px 20px 0px 0px;"><?php echo $LANG['ROTATE']; ?>: <a href="#" onclick="rotateImage(-90)">&nbsp;L&nbsp;</a> &lt;&gt; <a href="#" onclick="rotateImage(90)">&nbsp;R&nbsp;</a></div>
<div style="float:right;padding:0px 3px;margin:0px 3px;"><input id="imgreslg" name="resradio" type="radio" onchange="changeImgRes('lg')" /><?php echo $LANG['HIGH_RES']; ?>.</div>
Expand Down
8 changes: 8 additions & 0 deletions css/v202209/symbiota/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -935,3 +935,11 @@ button.no-margin-left,
div.no-margin-left {
margin-left: 0;
}

.fieldset-sticky {
position: fixed;
top: 1.25rem;
height:95%;
background-color:white;
left: 53.75rem;
}