mirror of
				https://github.com/Frooodle/Stirling-PDF.git
				synced 2025-11-01 01:21:18 +01:00 
			
		
		
		
	Add tooltip to sign add to all pages feature (#2325)
This commit is contained in:
		
							parent
							
								
									5936e856f0
								
							
						
					
					
						commit
						da46d942ba
					
				@ -818,7 +818,7 @@ sign.save=Save Signature
 | 
				
			|||||||
sign.personalSigs=Personal Signatures
 | 
					sign.personalSigs=Personal Signatures
 | 
				
			||||||
sign.sharedSigs=Shared Signatures
 | 
					sign.sharedSigs=Shared Signatures
 | 
				
			||||||
sign.noSavedSigs=No saved signatures found
 | 
					sign.noSavedSigs=No saved signatures found
 | 
				
			||||||
 | 
					sign.addToAll=Add to all pages
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#repair
 | 
					#repair
 | 
				
			||||||
repair.title=Repair
 | 
					repair.title=Repair
 | 
				
			||||||
 | 
				
			|||||||
@ -100,3 +100,30 @@ input:-webkit-autofill:focus {
 | 
				
			|||||||
input[data-autocompleted] {
 | 
					input[data-autocompleted] {
 | 
				
			||||||
    background-color: transparent !important;
 | 
					    background-color: transparent !important;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					.btn-tooltip {
 | 
				
			||||||
 | 
					  position: absolute;
 | 
				
			||||||
 | 
					  display: none;
 | 
				
			||||||
 | 
					  bottom: 3.2rem;
 | 
				
			||||||
 | 
					  white-space: nowrap;
 | 
				
			||||||
 | 
					  flex-wrap: nowrap;
 | 
				
			||||||
 | 
					  width: fit-content;
 | 
				
			||||||
 | 
					  padding: 7px;
 | 
				
			||||||
 | 
					  background-color: rgba(0, 29, 41, 0.9);
 | 
				
			||||||
 | 
					  border-radius: 3px;
 | 
				
			||||||
 | 
					  font-size: 12px;
 | 
				
			||||||
 | 
					  color: whitesmoke;
 | 
				
			||||||
 | 
					  animation: fadeup 0.15s linear;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					@keyframes fadeup {
 | 
				
			||||||
 | 
					  0% {
 | 
				
			||||||
 | 
					    transform: translateY(10px);
 | 
				
			||||||
 | 
					    opacity: 0;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					  100% {
 | 
				
			||||||
 | 
					    transform: translateY(0);
 | 
				
			||||||
 | 
					    opacity: 1;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					.btn:hover .btn-tooltip {
 | 
				
			||||||
 | 
					  display: block;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
				
			|||||||
@ -286,34 +286,6 @@ label {
 | 
				
			|||||||
.checkbox-label {
 | 
					.checkbox-label {
 | 
				
			||||||
  font-size: medium;
 | 
					  font-size: medium;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					 | 
				
			||||||
.btn-tooltip {
 | 
					 | 
				
			||||||
  position: absolute;
 | 
					 | 
				
			||||||
  display: none;
 | 
					 | 
				
			||||||
  bottom: 3.2rem;
 | 
					 | 
				
			||||||
  white-space: nowrap;
 | 
					 | 
				
			||||||
  flex-wrap: nowrap;
 | 
					 | 
				
			||||||
  width: fit-content;
 | 
					 | 
				
			||||||
  padding: 7px;
 | 
					 | 
				
			||||||
  background-color: rgba(0, 29, 41, 0.9);
 | 
					 | 
				
			||||||
  border-radius: 3px;
 | 
					 | 
				
			||||||
  font-size: 12px;
 | 
					 | 
				
			||||||
  color: whitesmoke;
 | 
					 | 
				
			||||||
  animation: fadeup 0.15s linear;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
.btn {
 | 
					.btn {
 | 
				
			||||||
  position: relative; /* Ensure the button is the positioning context for its children */
 | 
					  position: relative;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@keyframes fadeup {
 | 
					 | 
				
			||||||
  0% {
 | 
					 | 
				
			||||||
    transform: translateY(10px);
 | 
					 | 
				
			||||||
    opacity: 0;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  100% {
 | 
					 | 
				
			||||||
    transform: translateY(0);
 | 
					 | 
				
			||||||
    opacity: 1;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
.btn:hover .btn-tooltip {
 | 
					 | 
				
			||||||
  display: block;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
 | 
				
			|||||||
@ -375,6 +375,7 @@
 | 
				
			|||||||
                  <span class="material-symbols-rounded">
 | 
					                  <span class="material-symbols-rounded">
 | 
				
			||||||
                    content_copy
 | 
					                    content_copy
 | 
				
			||||||
                  </span>
 | 
					                  </span>
 | 
				
			||||||
 | 
					                  <span class="btn-tooltip" th:text="#{sign.addToAll}"></span>
 | 
				
			||||||
                </button>
 | 
					                </button>
 | 
				
			||||||
                <button class="btn btn-outline-secondary" onclick="goToFirstOrLastPage(false)" style="margin-left:auto">
 | 
					                <button class="btn btn-outline-secondary" onclick="goToFirstOrLastPage(false)" style="margin-left:auto">
 | 
				
			||||||
                  <span class="material-symbols-rounded">
 | 
					                  <span class="material-symbols-rounded">
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user