symbol-palette.less 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. .symbol-palette-container {
  2. height: 100%;
  3. }
  4. .symbol-palette {
  5. display: flex;
  6. flex-direction: column;
  7. background: @symbol-palette-bg;
  8. color: @symbol-palette-color;
  9. width: 100%;
  10. height: 100%;
  11. }
  12. .symbol-palette-header {
  13. flex-shrink: 0;
  14. display: flex;
  15. flex-wrap: wrap;
  16. justify-content: space-between;
  17. align-items: center;
  18. font-family: @font-family-sans-serif;
  19. font-size: 16px;
  20. background: @symbol-palette-header-background;
  21. box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  22. }
  23. .symbol-palette-header .beta-badge {
  24. margin-right: @margin-xs;
  25. margin-left: @margin-xs;
  26. }
  27. .symbol-palette-search-hint {
  28. padding-left: @padding-xs;
  29. margin-left: @margin-xs;
  30. }
  31. .symbol-palette-tab-list[data-reach-tab-list] {
  32. background: none;
  33. border-bottom: none;
  34. flex-wrap: wrap;
  35. }
  36. .symbol-palette-tab[data-reach-tab][data-selected] {
  37. background: @symbol-palette-selected-tab-bg;
  38. color: @symbol-palette-selected-tab-color;
  39. border-bottom-color: transparent;
  40. }
  41. .symbol-palette-body {
  42. flex: 1;
  43. overflow-y: auto;
  44. }
  45. .symbol-palette-items {
  46. display: flex;
  47. flex-wrap: wrap;
  48. padding: @padding-xs;
  49. }
  50. .symbol-palette-item {
  51. font-family: 'Stix Two Math', serif;
  52. font-size: 24px;
  53. line-height: 42px;
  54. height: 42px;
  55. width: 42px;
  56. margin: @margin-xs;
  57. color: @symbol-palette-item-color;
  58. background: @symbol-palette-item-bg;
  59. border: 1px solid transparent;
  60. border-radius: @border-radius-base;
  61. display: inline-flex;
  62. align-items: center;
  63. justify-content: center;
  64. }
  65. .symbol-palette-item-command {
  66. font-family: monospace;
  67. font-weight: bold;
  68. }
  69. .symbol-palette-item-notes {
  70. margin-top: @margin-xs;
  71. }
  72. .symbol-palette-empty {
  73. display: flex;
  74. align-items: center;
  75. justify-content: center;
  76. padding: @padding-sm;
  77. }
  78. .symbol-palette-search {
  79. padding: 2px @padding-sm;
  80. margin: @margin-xs;
  81. line-height: 1;
  82. height: auto;
  83. width: auto;
  84. }
  85. .symbol-palette-header-group {
  86. display: flex;
  87. align-items: center;
  88. white-space: nowrap;
  89. margin-left: @margin-xs;
  90. }
  91. .symbol-palette-info-link,
  92. .symbol-palette-info-link:focus,
  93. .symbol-palette-info-link:hover {
  94. color: inherit;
  95. }