dev-toolbar.less 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. .dev-toolbar {
  2. position: fixed;
  3. bottom: 0;
  4. left: 0;
  5. right: 0;
  6. z-index: 100;
  7. height: 40px;
  8. background-color: @neutral-90;
  9. padding: 5px 12px;
  10. button.widget {
  11. color: @neutral-10;
  12. margin: 0 4px;
  13. padding: 0 4px;
  14. border: none;
  15. text-decoration: none;
  16. }
  17. .collapse-button {
  18. position: absolute;
  19. padding: 0;
  20. margin-top: -2px;
  21. color: @neutral-50;
  22. span {
  23. font-size: 28px;
  24. }
  25. &:hover {
  26. color: @neutral-30;
  27. }
  28. }
  29. }
  30. .dev-tool-bar-open-button {
  31. position: fixed;
  32. bottom: -2px;
  33. left: 6px;
  34. color: @neutral-50;
  35. span {
  36. font-size: 28px;
  37. }
  38. &:hover {
  39. color: @neutral-30;
  40. }
  41. }
  42. .dev-toolbar-tooltip {
  43. a {
  44. color: @blue-20;
  45. &.btn {
  46. color: @neutral-10;
  47. }
  48. }
  49. &.tooltip.top {
  50. margin-top: -10px;
  51. opacity: 1;
  52. }
  53. .tooltip-inner {
  54. padding: 2px 8px 8px 8px;
  55. text-align: left;
  56. min-width: 300px;
  57. max-height: 800px;
  58. overflow-y: auto;
  59. }
  60. .title {
  61. margin-top: 4px;
  62. }
  63. .test-card {
  64. text-align: left;
  65. color: @neutral-10;
  66. padding: 6px;
  67. border: 2px solid @neutral-70;
  68. background-color: @neutral-80;
  69. border-radius: 4px;
  70. margin-top: 8px;
  71. &.override {
  72. border-color: @blue-40;
  73. }
  74. .test-name {
  75. font-family: monospace;
  76. font-size: @font-size-extra-small;
  77. font-weight: bold;
  78. }
  79. ul {
  80. li.variant-row {
  81. line-height: 24px;
  82. display: flex;
  83. justify-content: space-between;
  84. align-items: center;
  85. padding: 2px 0;
  86. .btn {
  87. color: @white;
  88. }
  89. .material-symbols {
  90. vertical-align: text-top;
  91. font-weight: 400;
  92. }
  93. }
  94. }
  95. }
  96. .actions {
  97. margin-top: 8px;
  98. text-align: right;
  99. }
  100. ul {
  101. margin-bottom: 0;
  102. }
  103. }