mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +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;
|
||||
height: 40px;
|
||||
width: calc(100% - 60px);
|
||||
margin-bottom: 25px;
|
||||
margin-bottom: -24px;
|
||||
margin-left: 0;
|
||||
}
|
||||
.shareButtons img {
|
||||
|
@ -178,7 +178,7 @@ input[type=button].naked:active {
|
|||
height: 25px;
|
||||
line-height: 25px;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
bottom: 40px;
|
||||
left: 73px;
|
||||
right: 0;
|
||||
font-family: Raleway-Regular;
|
||||
|
|
|
@ -134,7 +134,8 @@ function createShareBar(parentID, isGif, blastButtonDisabled, hifiButtonDisabled
|
|||
|
||||
shareBar.id = parentID + "shareBar";
|
||||
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>' +
|
||||
'<span class="showShareButtonDots">' +
|
||||
'' +
|
||||
|
@ -151,8 +152,6 @@ function createShareBar(parentID, isGif, blastButtonDisabled, hifiButtonDisabled
|
|||
|
||||
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
|
||||
document.getElementById(parentID + 'img').onclick = function () { selectImageToShare(parentID, true); };
|
||||
|
||||
|
|
Loading…
Reference in a new issue