You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

187 lines
2.9 KiB

  1. :root {
  2. --m-s: 0.1s;
  3. --h-s: 0.3s;
  4. --d: calc(var(--h-s) - var(--m-s));
  5. }
  6. html,
  7. body,
  8. #__nuxt,
  9. #__layout,
  10. .page-container,
  11. main {
  12. height: 100%;
  13. }
  14. html {
  15. font-size: min(3vmin, 18px);
  16. }
  17. header {
  18. position: fixed;
  19. top: 0;
  20. width: 100vw;
  21. z-index: 403;
  22. display: grid;
  23. grid-template-columns: 1fr 1fr 1fr;
  24. padding: 1rem 1rem 0.75rem 1rem;
  25. pointer-events: none;
  26. }
  27. .white-bkg header {
  28. background-color: white;
  29. }
  30. header button {
  31. pointer-events: all;
  32. }
  33. .header__col:nth-child(2) {
  34. display: flex;
  35. justify-content: center;
  36. align-items: flex-start;
  37. }
  38. .header__col:nth-child(3) {
  39. text-align: right;
  40. }
  41. main {
  42. display: flex;
  43. flex-direction: column;
  44. }
  45. .nav {
  46. flex: 0 0 auto;
  47. background: white;
  48. display: flex;
  49. flex-direction: row;
  50. justify-content: center;
  51. align-items: flex-end;
  52. flex-wrap: wrap;
  53. overflow: hidden;
  54. }
  55. .nav--hide {
  56. transition: padding-top var(--m-s) linear var(--h-s), max-height var(--h-s) linear 0s;
  57. padding-top: 0;
  58. max-height: 0;
  59. overflow: hidden;
  60. }
  61. .nav--show {
  62. padding-top: 3.5rem;
  63. max-height: 18rem;
  64. transition: padding-top var(--m-s) linear 0s, max-height var(--h-s) linear var(--m-s);
  65. overflow: visible;
  66. }
  67. .btn {
  68. border-radius: 999px;
  69. padding: 0.5em 0.8em;
  70. font-size: min(1rem, 18px);
  71. white-space: nowrap;
  72. transition: 0.2s all;
  73. display: flex;
  74. align-items: center;
  75. /* justify-content: space-around; what was this for? */
  76. justify-content: center;
  77. gap: 0.25rem;
  78. line-height: 1;
  79. min-height: 1em;
  80. }
  81. .btn svg {
  82. height: min(1rem, 18px);
  83. display: inline-block;
  84. aspect-ratio: 1;
  85. transition: 0.2s all;
  86. }
  87. .btn.btn--primary {
  88. background: #007fff;
  89. color: #fff;
  90. }
  91. .btn.btn--primary:hover {
  92. background: #00ca00;
  93. color: #fff;
  94. }
  95. .btn.btn--primary:hover svg {
  96. stroke: #ffffff;
  97. }
  98. .btn.btn--cancel {
  99. background: red;
  100. color: #fff;
  101. }
  102. .btn.btn--cancel:hover {
  103. background: rgb(255, 83, 83);
  104. color: #fff;
  105. }
  106. .btn.btn--secondary {
  107. background: #ccc;
  108. color: #000;
  109. }
  110. .btn.btn--secondary:hover {
  111. background: rgb(151, 151, 151);
  112. color: #000;
  113. }
  114. .btn--nav-open {
  115. padding: 1rem;
  116. display: block;
  117. }
  118. .flyout-container {
  119. z-index: 1001;
  120. position: fixed;
  121. bottom: 0;
  122. display: flex;
  123. justify-content: center;
  124. width: 100vw;
  125. transition: all 0.3s;
  126. pointer-events: none;
  127. }
  128. .flyout-container.flyout-container--hide {
  129. transform: translateY(200px);
  130. }
  131. .flyout-container.flyout-container--show {
  132. transform: translateY(0);
  133. }
  134. .flyout .v-select {
  135. font-size: 1.5rem;
  136. }
  137. .flyout .vs__dropdown-menu {
  138. display: flex;
  139. flex-direction: row;
  140. flex-wrap: wrap;
  141. }
  142. .flyout .vs__dropdown-menu li {
  143. border-radius: 999px;
  144. transition: 0.3 all;
  145. }
  146. .flyout .vs__dropdown-menu li:hover {
  147. border-radius: 999px;
  148. background-color: #007fff;
  149. }
  150. .flyout .vs__dropdown-toggle {
  151. background: #eee;
  152. border-radius: 1.2rem 1.2rem 1.2rem 1.2rem;
  153. padding: 0;
  154. }
  155. .flyout .vs--open .vs__dropdown-toggle {
  156. background: #eee;
  157. border-radius: 1.2rem 1.2rem 0 0;
  158. }