diff --git a/lib/docs/index.html b/lib/docs/index.html index 5db9a2c694..7e7536a052 100644 --- a/lib/docs/index.html +++ b/lib/docs/index.html @@ -27,6 +27,7 @@ --search-other-results-color: rgb(100, 100, 100); --modal-sh-color: rgba(0, 0, 0, 0.75); --modal-bg-color: #aaa; + --warning-popover-bg-color: #ff4747; } html, body { margin: 0; padding: 0; height: 100%; } @@ -249,6 +250,57 @@ top: 5px; left: 5px; } + + #dotsPopover:before { + position: absolute; + content: ""; + left: 20px; + top: -8px; + border-style: solid; + border-width: 0 10px 10px 10px; + border-color: transparent transparent var(--warning-popover-bg-color) transparent; + transition-duration: 0.3s; + transition-property: transform; + z-index: 10; + } + + #dotsPopover { + position: absolute; + opacity: 0; + visibility: hidden; + background-color: var(--warning-popover-bg-color); + border-radius: 10px; + left: 10px; + transform: translate(0, -20px); + padding: 0.5rem 1rem; + box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26); + transition: all 0.5s cubic-bezier(0.75, -0.02, 0.2, 0.97); + z-index: 20; + } + + #dotsPopover.active { + opacity: 1; + visibility: visible; + transform: translate(0, 0); + } + + #searchHelp { + } + + #searchHelp summary { + color: red; + list-style-position: outside; + } + + #searchHelp summary.normal { + color: var(--search-other-results-color); + transition: all 0.5s cubic-bezier(0.75, -0.02, 0.2, 0.97); + } + + #searchHelp div { + background-color: var(--modal-bg-color); + padding: 0.5rem 1rem; + } .other-results { line-height: 1em; @@ -555,6 +607,7 @@ --search-other-results-color: rgba(255, 255, 255, 0.28); --modal-sh-color: rgba(142, 142, 142, 0.5); --modal-bg-color: #333; + --warning-popover-bg-color: #600000; } .docs pre { @@ -892,10 +945,60 @@
+
+ Use spaces instead of dots. See $resource for more info. +