GlobalSearch.module.scss 880 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. @use '@growi/core/scss/bootstrap/init' as bs;
  2. // input styles
  3. .grw-global-search :global {
  4. .dropdown-toggle {
  5. min-width: 95px;
  6. padding-left: 1.5rem;
  7. }
  8. .search-typeahead {
  9. .rbt-menu {
  10. right: 0;
  11. left: auto;
  12. @include bs.media-breakpoint-up(md) {
  13. right: auto;
  14. left: 0;
  15. }
  16. @include bs.media-breakpoint-down(sm) {
  17. left: auto !important;
  18. width: 90vw;
  19. }
  20. }
  21. }
  22. // using react-bootstrap-typeahead
  23. // see: https://github.com/ericgio/react-bootstrap-typeahead
  24. .rbt-input.form-control {
  25. height: 30px;
  26. .rbt-input-wrapper {
  27. margin-left: 8px;
  28. }
  29. }
  30. .grw-shortcut-key-indicator {
  31. position: absolute;
  32. top: 0;
  33. right: 4px;
  34. display: flex;
  35. align-items: center;
  36. height: 30px;
  37. code {
  38. padding-right: 0.4rem;
  39. padding-left: 0.4rem;
  40. }
  41. }
  42. }