created: 20200603190000307 modified: 20200623022617588 tags: $:/tags/CommandPaletteTheme $:/tags/Stylesheet title: $:/plugins/souk21/commandpalette/Compact.css type: text/vnd.tiddlywiki \rules only filteredtranscludeinline transcludeinline macrodef macrocallinline html :root { --palette-radius: 5px; } .commandpalette { position: fixed; background: <>; z-index: 9999999; left: 50%; top: 10%; transform: translate(-50%, 0%); width: 500px; display: none; flex-direction: column; font-size: 21px; border-radius: var(--palette-radius); box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 14px; border: 2px solid <>; } .inputhintwrapper { display: flex; align-items: center; border-bottom: 1px solid <>; } .commandpalette input { border: 0; background: 0; height: 40px; color: <>; border-radius: var(--palette-radius) var(--palette-radius) 0px 0px; outline: 0; min-width: 50px; flex: 1; padding-left: 7px; } .commandpalettehint { color: <>; font-size: 13px; text-align: right; flex-shrink: 0; padding-right: 7px; opacity: 0.6; } .commandpaletteresultselected>.commandpalettehint { color: <>; opacity: 1; } .commandpalettehintmain { } .commandpaletteresult { background: <>; font-size: 15px; color: <>; display: flex; align-items: center; justify-content: space-between; padding-left: 6px; padding-top: 4px; padding-bottom: 4px; cursor: pointer; } .commandpaletteresult:not(:last-child) { border-bottom: <> solid 1px; } .commandpaletteresult:hover:not(.commandpaletteresultselected) { background: <>; } .commandpaletteresultselected { background: <>; color: <>; } .cp-scroll{ max-height: 50vh; overflow-y: auto; position: relative; border-radius: 0px 0px var(--palette-radius) var(--palette-radius); }