playlist.less 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. .playlist-search-container {
  2. margin: 15px;
  3. z-index: 1000;
  4. position: relative;
  5. width: 700px;
  6. box-shadow: 0px 0px 55px 0px black;
  7. background-color: @grafanaPanelBackground;
  8. .label-tag {
  9. margin-left: 6px;
  10. font-size: 11px;
  11. padding: 2px 6px;
  12. }
  13. }
  14. .playlist-search-switches {
  15. position: relative;
  16. top: -39px;
  17. left: 260px;
  18. }
  19. .playlist-search-field-wrapper {
  20. input {
  21. width: 100%;
  22. padding: 8px 8px;
  23. height: 100%;
  24. box-sizing: border-box;
  25. }
  26. button {
  27. margin: 0 4px 0 0;
  28. }
  29. > span {
  30. display: block;
  31. overflow: hidden;
  32. }
  33. }
  34. .playlist-search-results-container {
  35. min-height: 100px;
  36. overflow: auto;
  37. display: block;
  38. line-height: 28px;
  39. .search-item:hover, .search-item.selected {
  40. background-color: @grafanaListHighlight;
  41. }
  42. .selected {
  43. .search-result-tag {
  44. opacity: 0.70;
  45. color: white;
  46. }
  47. }
  48. .fa-star, .fa-star-o {
  49. padding-left: 13px;
  50. }
  51. .fa-star {
  52. color: @orange;
  53. }
  54. .search-result-link {
  55. color: @grafanaListMainLinkColor;
  56. .fa {
  57. padding-right: 10px;
  58. }
  59. }
  60. .search-item {
  61. display: block;
  62. padding: 3px 10px;
  63. white-space: nowrap;
  64. background-color: @grafanaListBackground;
  65. margin-bottom: 4px;
  66. .search-result-icon:before {
  67. content: "\f009";
  68. }
  69. &.search-item-dash-home .search-result-icon:before {
  70. content: "\f015";
  71. }
  72. }
  73. .search-result-tags {
  74. float: right;
  75. }
  76. .search-result-actions {
  77. float: right;
  78. padding-left: 20px;
  79. }
  80. }