mirror of
				https://github.com/Frooodle/Stirling-PDF.git
				synced 2025-11-01 01:21:18 +01:00 
			
		
		
		
	Green buttons (#2597)
# Description Making buttons green Closes #()  ## Checklist - [X ] I have read the [Contribution Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md) - [ X] I have performed a self-review of my own code - [X ] I have attached images of the change if it is UI based - [ X] I have commented my code, particularly in hard-to-understand areas - [ X] If my code has heavily changed functionality I have updated relevant docs on [Stirling-PDFs doc repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/) - [ X] My changes generate no new warnings - [ X] I have read the section [Add New Translation Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/HowToAddNewLanguage.md#add-new-translation-tags) (for new translation tags only) Co-authored-by: Reece Browne <reece@stirling.pdf>
This commit is contained in:
		
							parent
							
								
									0ff45c656a
								
							
						
					
					
						commit
						38633d4db1
					
				@ -100,7 +100,7 @@
 | 
				
			|||||||
                <span class="btn-tooltip" th:text="#{sign.last}"></span>
 | 
					                <span class="btn-tooltip" th:text="#{sign.last}"></span>
 | 
				
			||||||
              </button>
 | 
					              </button>
 | 
				
			||||||
              <button id="download-pdf" class="btn btn-outline-secondary"
 | 
					              <button id="download-pdf" class="btn btn-outline-secondary"
 | 
				
			||||||
                style="color: green; border-color: green; background: rgba(0, 128, 0, 0.2)">
 | 
					                style="border-color: green; color:#b2e3a8; background: rgba(24, 122, 5, 1)">
 | 
				
			||||||
                <span class="material-symbols-rounded">
 | 
					                <span class="material-symbols-rounded">
 | 
				
			||||||
                  download
 | 
					                  download
 | 
				
			||||||
                </span>
 | 
					                </span>
 | 
				
			||||||
 | 
				
			|||||||
@ -93,8 +93,7 @@
 | 
				
			|||||||
                  </button>
 | 
					                  </button>
 | 
				
			||||||
                  <button id="select-All-Container" class="btn btn-secondary enable-on-file hidden"
 | 
					                  <button id="select-All-Container" class="btn btn-secondary enable-on-file hidden"
 | 
				
			||||||
                    onclick="toggleSelectAll()" disabled>
 | 
					                    onclick="toggleSelectAll()" disabled>
 | 
				
			||||||
                  <span  class="material-symbols-rounded"
 | 
					                    <span class="material-symbols-rounded" id="select-icon">select_all</span>
 | 
				
			||||||
                    id="select-icon">select_all</span>
 | 
					 | 
				
			||||||
                    <span class="btn-tooltip" th:text="#{multiTool.selectAll}"></span>
 | 
					                    <span class="btn-tooltip" th:text="#{multiTool.selectAll}"></span>
 | 
				
			||||||
                  </button>
 | 
					                  </button>
 | 
				
			||||||
                  <div class="button-container">
 | 
					                  <div class="button-container">
 | 
				
			||||||
@ -104,15 +103,16 @@
 | 
				
			|||||||
                    </button>
 | 
					                    </button>
 | 
				
			||||||
                  </div>
 | 
					                  </div>
 | 
				
			||||||
                  <div style="margin-left:auto">
 | 
					                  <div style="margin-left:auto">
 | 
				
			||||||
                    <button id="export-selected-button" class="btn btn-primary enable-on-file hidden"
 | 
					                    <button id="export-selected-button"
 | 
				
			||||||
                      onclick="exportPdf(true)" disabled>
 | 
					                      style="border-color: green; color:#b2e3a8; background: rgba(24, 122, 5, 1)"
 | 
				
			||||||
 | 
					                      class="btn btn-primary enable-on-file hidden" onclick="exportPdf(true)" disabled>
 | 
				
			||||||
                      <span class="btn-tooltip" th:text="#{multiTool.downloadSelected}"></span>
 | 
					                      <span class="btn-tooltip" th:text="#{multiTool.downloadSelected}"></span>
 | 
				
			||||||
                      <span class="material-symbols-rounded">
 | 
					                      <span class="material-symbols-rounded">
 | 
				
			||||||
                        file_save
 | 
					                        file_save
 | 
				
			||||||
                      </span>
 | 
					                      </span>
 | 
				
			||||||
                    </button>
 | 
					                    </button>
 | 
				
			||||||
                    <button id="export-button" class="btn btn-primary enable-on-file" onclick="exportPdf(false)"
 | 
					                    <button style="border-color: green; color:#b2e3a8; background: rgba(24, 122, 5, 1)"
 | 
				
			||||||
                      disabled>
 | 
					                      id="export-button" class="btn btn-primary enable-on-file" onclick="exportPdf(false)" disabled>
 | 
				
			||||||
                      <span class="material-symbols-rounded">
 | 
					                      <span class="material-symbols-rounded">
 | 
				
			||||||
                        download
 | 
					                        download
 | 
				
			||||||
                      </span>
 | 
					                      </span>
 | 
				
			||||||
@ -124,7 +124,8 @@
 | 
				
			|||||||
                  <div style="display:flex; height:3rem; margin-right:1rem">
 | 
					                  <div style="display:flex; height:3rem; margin-right:1rem">
 | 
				
			||||||
                    <h5 th:text="#{multiTool.selectedPages}" style="white-space: nowrap; margin-right: 1rem;">Selected
 | 
					                    <h5 th:text="#{multiTool.selectedPages}" style="white-space: nowrap; margin-right: 1rem;">Selected
 | 
				
			||||||
                      Pages</h5>
 | 
					                      Pages</h5>
 | 
				
			||||||
                    <input type="text" id="csv-input" class="form-control" style="height:2.5rem" placeholder="1,3,5-10"  value="">
 | 
					                    <input type="text" id="csv-input" class="form-control" style="height:2.5rem" placeholder="1,3,5-10"
 | 
				
			||||||
 | 
					                      value="">
 | 
				
			||||||
                  </div>
 | 
					                  </div>
 | 
				
			||||||
                  <ul id="selected-pages-list" class="pages-list"></ul>
 | 
					                  <ul id="selected-pages-list" class="pages-list"></ul>
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
 | 
				
			|||||||
@ -212,7 +212,7 @@
 | 
				
			|||||||
                <span class="btn-tooltip" th:text="#{sign.last}"></span>
 | 
					                <span class="btn-tooltip" th:text="#{sign.last}"></span>
 | 
				
			||||||
              </button>
 | 
					              </button>
 | 
				
			||||||
              <button id="download-pdf" class="btn btn-outline-secondary"
 | 
					              <button id="download-pdf" class="btn btn-outline-secondary"
 | 
				
			||||||
                style="color: green;border-color: green; background: rgba(0, 128, 0, 0.2);">
 | 
					                style="border-color: green; color:#b2e3a8; background: rgba(24, 122, 5, 1)">
 | 
				
			||||||
                <span class="material-symbols-rounded">
 | 
					                <span class="material-symbols-rounded">
 | 
				
			||||||
                  download
 | 
					                  download
 | 
				
			||||||
                </span>
 | 
					                </span>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user