top_bar.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. .top-bar {
  2. background-color: var(--top-bar-color);
  3. display: flex;
  4. flex-direction: row;
  5. flex-wrap: nowrap;
  6. justify-content: space-between;
  7. align-items: center;
  8. }
  9. .top-bar .project-name-bar {
  10. margin: 0px 20px;
  11. color: var(--font-color);
  12. }
  13. .top-bar .search-bar {
  14. display: flex;
  15. flex-direction: row;
  16. justify-content: center;
  17. align-items: center;
  18. margin: calc(var(--padding) / 2) var(--padding);
  19. }
  20. .top-bar .search-bar {
  21. --height: calc(var(--font-size) + var(--padding));
  22. }
  23. .top-bar .search-bar input[type="text"] {
  24. box-sizing: border-box;
  25. outline: none !important;
  26. border: 3px solid var(--font-color);
  27. border-right: none;
  28. background-color: transparent;
  29. color: var(--font-color);
  30. font-size: var(--font-size);
  31. padding: calc(var(--padding) / 2) var(--padding);
  32. height: var(--height);
  33. border-radius: calc(var(--height) * 2) 0 0 calc(var(--height) * 2);
  34. }
  35. .top-bar .search-bar button {
  36. box-sizing: border-box;
  37. outline: none !important;
  38. border: 3px solid var(--font-color);
  39. background-color: var(--font-color);
  40. color: var(--top-bar-color);
  41. padding: calc(var(--padding) / 2) var(--padding);
  42. height: var(--height);
  43. border-radius: 0 calc(var(--height) * 2) calc(var(--height) * 2) 0;
  44. display: flex;
  45. align-items: center;
  46. justify-content: center;
  47. }
  48. .top-bar .search-bar button span {
  49. font-size: calc(var(--font-size) * 1.5);
  50. display: block;
  51. }