mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	refactoring of icon button styles
This commit is contained in:
		
							parent
							
								
									e75b4cd848
								
							
						
					
					
						commit
						c39d0be8cd
					
				@ -383,3 +383,7 @@ div.ui-tooltip {
 | 
			
		||||
#note-path-list .current a {
 | 
			
		||||
    font-weight: bold;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
button.icon-button {
 | 
			
		||||
    padding: 4px;
 | 
			
		||||
}
 | 
			
		||||
@ -76,19 +76,19 @@
 | 
			
		||||
        <div id="search-box" style="display: none; padding: 10px; margin-top: 10px;">
 | 
			
		||||
          <div style="display: flex; align-items: center;">
 | 
			
		||||
            <input name="search-text" placeholder="Search text, labels" style="flex-grow: 100; margin-left: 5px; margin-right: 5px;" autocomplete="off">
 | 
			
		||||
            <button id="do-search-button" class="btn btn-sm" title="Search (enter)" style="padding: 4px;">
 | 
			
		||||
            <button id="do-search-button" class="btn btn-sm icon-button" title="Search (enter)">
 | 
			
		||||
              <img src="/images/icons/search-20.png" alt="Search"/>
 | 
			
		||||
            </button>
 | 
			
		||||
 | 
			
		||||
             
 | 
			
		||||
 | 
			
		||||
            <button id="save-search-button" class="btn btn-sm" title="Save search" style="padding: 4px;">
 | 
			
		||||
            <button id="save-search-button" class="btn btn-sm icon-button" title="Save search">
 | 
			
		||||
              <img src="/images/icons/save-20.png" alt="Save search"/>
 | 
			
		||||
            </button>
 | 
			
		||||
 | 
			
		||||
             
 | 
			
		||||
 | 
			
		||||
            <button id="close-search-button" class="btn btn-sm" title="Close search" style="padding: 4px;">
 | 
			
		||||
            <button id="close-search-button" class="btn btn-sm icon-button" title="Close search">
 | 
			
		||||
              <img src="/images/icons/x-20.png" alt="Close search"/>
 | 
			
		||||
            </button>
 | 
			
		||||
          </div>
 | 
			
		||||
@ -123,45 +123,40 @@
 | 
			
		||||
 | 
			
		||||
          <span id="note-id-display" title="Note ID"></span>
 | 
			
		||||
 | 
			
		||||
          <button class="btn btn-sm"
 | 
			
		||||
                  style="display: none; margin-right: 10px; padding: 4px;"
 | 
			
		||||
          <button class="btn btn-sm icon-button"
 | 
			
		||||
                  style="display: none; margin-right: 10px;"
 | 
			
		||||
                  title="Toggle edit"
 | 
			
		||||
                  id="toggle-edit-button">
 | 
			
		||||
            <img src="/images/icons/edit-20.png" alt="Toggle edit"/>
 | 
			
		||||
          </button>
 | 
			
		||||
 | 
			
		||||
          <button class="btn btn-sm"
 | 
			
		||||
                  style="display: none; margin-right: 10px; padding: 4px;"
 | 
			
		||||
          <button class="btn btn-sm icon-button"
 | 
			
		||||
                  style="display: none; margin-right: 10px;"
 | 
			
		||||
                  title="Render (Ctrl+Enter)"
 | 
			
		||||
                  id="render-button">
 | 
			
		||||
            <img src="/images/icons/play-20.png" alt="Render"/>
 | 
			
		||||
          </button>
 | 
			
		||||
 | 
			
		||||
          <button class="btn btn-sm"
 | 
			
		||||
                  style="display: none; margin-right: 10px; padding: 4px;"
 | 
			
		||||
          <button class="btn btn-sm icon-button"
 | 
			
		||||
                  style="display: none; margin-right: 10px;"
 | 
			
		||||
                  title="Execute (Ctrl+Enter)"
 | 
			
		||||
                  id="execute-script-button">
 | 
			
		||||
            <img src="/images/icons/play-20.png" alt="Render"/>
 | 
			
		||||
          </button>
 | 
			
		||||
 | 
			
		||||
          <div>
 | 
			
		||||
            <div class="btn-group btn-group-sm">
 | 
			
		||||
            <button type="button"
 | 
			
		||||
                      class="btn"
 | 
			
		||||
                    class="btn btn-sm icon-button"
 | 
			
		||||
                    id="protect-button"
 | 
			
		||||
                      title="Protected note can be viewed and edited only after entering password"
 | 
			
		||||
                      style="padding: 4px;">
 | 
			
		||||
                    title="Protected note can be viewed and edited only after entering password">
 | 
			
		||||
              <img src="/images/icons/shield-20.png"/>
 | 
			
		||||
              </button>
 | 
			
		||||
              <button type="button"
 | 
			
		||||
                      class="btn"
 | 
			
		||||
            </button><button type="button"
 | 
			
		||||
                    class="btn btn-sm icon-button"
 | 
			
		||||
                    id="unprotect-button"
 | 
			
		||||
                      title="Not protected note can be viewed without entering password"
 | 
			
		||||
                      style="padding: 4px;">
 | 
			
		||||
                    title="Not protected note can be viewed without entering password">
 | 
			
		||||
              <img src="/images/icons/shield-off-20.png"/>
 | 
			
		||||
            </button>
 | 
			
		||||
          </div>
 | 
			
		||||
          </div>
 | 
			
		||||
 | 
			
		||||
             
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user