d78cf5974051daa4a48a8195c8aaf754d4757edb jnavarr5 Tue Dec 2 16:11:49 2025 -0800 Adding a new style of button for loading the examples in the hgCustom tutorial. Making it so the button does nothing after clicking it the first time. refs #34354 diff --git src/hg/htdocs/style/shepherd.css src/hg/htdocs/style/shepherd.css index d348710ddc8..8e5b81a6514 100644 --- src/hg/htdocs/style/shepherd.css +++ src/hg/htdocs/style/shepherd.css @@ -13,30 +13,35 @@ .shepherd-button:not(:disabled):hover { background: #196fcc; color: hsla(0, 0%, 100%, .75); } .shepherd-button.shepherd-button-secondary { background: #f1f2f3; color: rgba(0, 0, 0, .75); } .shepherd-button.shepherd-button-secondary:not(:disabled):hover { background: #d6d9db; color: rgba(0, 0, 0, .75); } +.shepherd-button.shepherd-button-optional { + background: #4682B4; + color: hsla(0, 0%, 100%, .75); +} + .shepherd-button:disabled { cursor: not-allowed; } /* Footer */ .shepherd-footer { border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; display: flex; justify-content: flex-end; padding: 0 .75rem .75rem; } .shepherd-footer .shepherd-button:last-child { margin-right: 0;