styles.css 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. html, body {
  2. margin: 0;
  3. padding: 0;
  4. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  5. }
  6. body.embedded-mode,
  7. body.embedded-mode html {
  8. background: transparent;
  9. }
  10. .graphiql-container {
  11. height: calc(100vh - 40px);
  12. }
  13. .vendure-header {
  14. background-color: #13b7f3;
  15. color: white;
  16. height: 40px;
  17. padding: 0 8px;
  18. display: flex;
  19. justify-content: space-between;
  20. align-items: center;
  21. }
  22. .vendure-header h1 {
  23. margin: 0;
  24. font-size: 18px;
  25. font-weight: 500;
  26. }
  27. .switch-api {
  28. display: flex;
  29. align-items: center;
  30. gap: 8px;
  31. }
  32. .switch-api a {
  33. color: white;
  34. text-decoration: none;
  35. padding: 4px 12px;
  36. border-radius: 4px;
  37. transition: background-color 0.2s;
  38. }
  39. .switch-api a.active {
  40. background-color: rgba(255, 255, 255, 0.2);
  41. font-weight: bold;
  42. }
  43. .switch-api a:hover:not(.active) {
  44. background-color: rgba(255, 255, 255, 0.1);
  45. }
  46. .graphiql-wrapper {
  47. height: calc(100vh - 40px);
  48. }
  49. body.embedded-mode .graphiql-wrapper {
  50. height: 100vh;
  51. }
  52. body.embedded-mode .graphiql-container {
  53. height: 100vh;
  54. }