mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 14:47:41 +02:00
Move help text to above buttons
This commit is contained in:
parent
ecd690e5e9
commit
c7f5115e26
2 changed files with 4 additions and 5 deletions
|
@ -158,7 +158,7 @@ input[type=button].naked:active {
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
width: calc(100% - 60px);
|
width: calc(100% - 60px);
|
||||||
margin-bottom: 25px;
|
margin-bottom: -24px;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
.shareButtons img {
|
.shareButtons img {
|
||||||
|
@ -178,7 +178,7 @@ input[type=button].naked:active {
|
||||||
height: 25px;
|
height: 25px;
|
||||||
line-height: 25px;
|
line-height: 25px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 40px;
|
||||||
left: 73px;
|
left: 73px;
|
||||||
right: 0;
|
right: 0;
|
||||||
font-family: Raleway-Regular;
|
font-family: Raleway-Regular;
|
||||||
|
|
|
@ -134,7 +134,8 @@ function createShareBar(parentID, isGif, blastButtonDisabled, hifiButtonDisabled
|
||||||
|
|
||||||
shareBar.id = parentID + "shareBar";
|
shareBar.id = parentID + "shareBar";
|
||||||
shareBar.className = "shareControls";
|
shareBar.className = "shareControls";
|
||||||
var shareBarInnerHTML = '<div class="showShareButtonsButtonDiv inactive" id="' + showShareButtonsButtonDivID + '" onclick="selectImageToShare(' + parentID + ', true)">' +
|
var shareBarInnerHTML = '<div class="shareControlsHelp" id="' + shareBarHelpID + '" style="visibility:hidden;' + ((canBlast && blastButtonDisabled || !canBlast && hifiButtonDisabled) ? "background-color:#000;opacity:0.5;" : "") + '"></div>' +
|
||||||
|
'<div class="showShareButtonsButtonDiv inactive" id="' + showShareButtonsButtonDivID + '" onclick="selectImageToShare(' + parentID + ', true)">' +
|
||||||
'<label id="' + showShareButtonsLabelID + '">SHARE</label>' +
|
'<label id="' + showShareButtonsLabelID + '">SHARE</label>' +
|
||||||
'<span class="showShareButtonDots">' +
|
'<span class="showShareButtonDots">' +
|
||||||
'' +
|
'' +
|
||||||
|
@ -151,8 +152,6 @@ function createShareBar(parentID, isGif, blastButtonDisabled, hifiButtonDisabled
|
||||||
|
|
||||||
shareBar.innerHTML = shareBarInnerHTML;
|
shareBar.innerHTML = shareBarInnerHTML;
|
||||||
|
|
||||||
shareBar.innerHTML += '<div class="shareControlsHelp" id="' + shareBarHelpID + '" style="visibility:hidden;' + ((canBlast && blastButtonDisabled || !canBlast && hifiButtonDisabled) ? "background-color:#000;opacity:0.5;" : "") + '"></div>';
|
|
||||||
|
|
||||||
// Add onclick handler to parent DIV's img to toggle share buttons
|
// Add onclick handler to parent DIV's img to toggle share buttons
|
||||||
document.getElementById(parentID + 'img').onclick = function () { selectImageToShare(parentID, true); };
|
document.getElementById(parentID + 'img').onclick = function () { selectImageToShare(parentID, true); };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue