github.com/choria-io/go-choria@v0.28.1-0.20240416190746-b3bf9c7d5a45/docs/themes/hugo-theme-relearn/static/css/auto-complete.css (about)

     1  .autocomplete-suggestions {
     2      text-align: start;
     3      color-scheme: only light; /* set browser scrollbar color */
     4      cursor: default;
     5      border: 1px solid rgba( 204, 204, 204, 1 );
     6      border-top: 0;
     7      background: rgba( 255, 255, 255, 1 );
     8      box-shadow: -1px 1px 3px rgba( 0, 0, 0, .1 );
     9      width: calc( 100% - 2rem );
    10  
    11      /* core styles should not be changed */
    12      position: absolute;
    13      display: none;
    14      z-index: 9999;
    15      max-height: 10em;
    16      max-height: calc( 100vh - 10em );
    17      overflow: hidden;
    18      overflow-y: auto;
    19      box-sizing: border-box;
    20  }
    21  .autocomplete-suggestion {
    22      position: relative;
    23      cursor: pointer;
    24      padding: .46em;
    25      line-height: 1.5em;
    26      white-space: nowrap;
    27      overflow: hidden;
    28      text-overflow: ellipsis;
    29      color: rgba( 40, 40, 40, 1 );
    30  }
    31  
    32  .autocomplete-suggestion b {
    33      font-weight: normal;
    34      color: rgba( 31, 141, 214, 1 );
    35  }
    36  
    37  .autocomplete-suggestion.selected {
    38      background: rgba( 40, 40, 40, 1 );
    39      color: rgba( 255, 255, 255, 1 );
    40  }
    41  
    42  .autocomplete-suggestion:hover,
    43  .autocomplete-suggestion:focus,
    44  .autocomplete-suggestion:active,
    45  .autocomplete-suggestion:hover > .context,
    46  .autocomplete-suggestion:focus > .context,
    47  .autocomplete-suggestion:active > .context,
    48  #R-searchresults .autocomplete-suggestion:hover > .context,
    49  #R-searchresults .autocomplete-suggestion:focus > .context,
    50  #R-searchresults .autocomplete-suggestion:active > .context {
    51      background: rgba( 56, 56, 56, 1 );
    52      color: rgba( 255, 255, 255, 1 );
    53  }
    54  
    55  .autocomplete-suggestion > .breadcrumbs {
    56      font-size: .7869em;
    57      margin-inline-start: 1em;
    58      overflow: hidden;
    59      text-overflow: ellipsis;
    60  }
    61  
    62  .autocomplete-suggestion > .context {
    63      font-size: .7869em;
    64      margin-inline-start: 1em;
    65      overflow: hidden;
    66      text-overflow: ellipsis;
    67  }