main-layout.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. /* NOTE: This is used for the admin only! */
  2. .app-container .side-nav {
  3. position: fixed;
  4. height: 100vh;
  5. overflow: auto;
  6. z-index: 10;
  7. background-color: var(--theme-color-palette-1);
  8. }
  9. .app-container .menu-container {
  10. border-color: transparent;
  11. background-color: unset;
  12. color: var(--theme-color-components-text-on-dark);
  13. }
  14. .app-container .menu-container .ant-menu-item-selected:not(.ant-menu-item-only-child),
  15. .ant-menu-item a:hover,
  16. .ant-menu-item a::before {
  17. color: var(--theme-color-palette-12);
  18. }
  19. .app-container h1.owncast-title {
  20. padding: 1rem;
  21. padding-bottom: 4px;
  22. display: flex;
  23. flex-direction: row;
  24. justify-content: center;
  25. align-items: center;
  26. margin-top: unset;
  27. }
  28. .app-container h1.owncast-title .logo-container {
  29. background-color: var(--theme-color-palette-4);
  30. padding-top: 4px;
  31. padding-right: 6px;
  32. padding-left: 6px;
  33. border-radius: 9999px;
  34. width: 60px;
  35. height: 60px;
  36. }
  37. .app-container h1.owncast-title .title-label {
  38. display: inline-block;
  39. margin-left: 1rem;
  40. color: var(--theme-color-palette-4);
  41. font-size: 1.15rem;
  42. font-weight: 200;
  43. text-transform: uppercase;
  44. line-height: normal;
  45. letter-spacing: 0.05em;
  46. }
  47. .app-container .layout-main {
  48. margin-left: 240px;
  49. }
  50. .app-container .layout-header {
  51. display: flex;
  52. flex-direction: row;
  53. justify-content: flex-end;
  54. padding-right: 1rem;
  55. padding-left: 1rem;
  56. background-color: var(--theme-color-background-main);
  57. }
  58. .app-container .main-content-container {
  59. background-color: var(--theme-color-palette-3);
  60. padding: 2em 3em 3em;
  61. min-width: 50vw;
  62. }
  63. .app-container .footer-container {
  64. text-align: center;
  65. }
  66. .app-container .online-status-indicator {
  67. display: flex;
  68. flex-direction: row;
  69. justify-content: center;
  70. align-items: center;
  71. }
  72. .app-container .online-status-indicator .online-thumbnail {
  73. width: 12.5rem;
  74. }
  75. .app-container .online-status-indicator .status-label {
  76. color: var(--theme-color-palette-4);
  77. text-transform: uppercase;
  78. font-size: 0.75rem;
  79. display: inline-block;
  80. margin-right: 0.5rem;
  81. color: var(--offline-color);
  82. }
  83. .app-container .online-status-indicator .status-icon {
  84. font-size: 1.5rem;
  85. }
  86. .app-container .online-status-indicator .status-icon svg {
  87. fill: var(--offline-color);
  88. }
  89. .app-container.online .online-status-indicator .status-icon svg {
  90. fill: var(--online-color);
  91. }
  92. .status-container .status-icon {
  93. padding: 5px;
  94. }
  95. .app-container.online .online-status-indicator .status-label {
  96. white-space: nowrap;
  97. color: var(--online-color);
  98. }
  99. .global-stream-title-container {
  100. display: flex;
  101. justify-content: center;
  102. align-items: center;
  103. width: 100%;
  104. padding-top: 1em;
  105. box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  106. }
  107. .global-stream-title-container ::placeholder {
  108. color: #696767;
  109. }
  110. .global-stream-title-container .textfield-with-submit-container {
  111. flex-direction: row;
  112. justify-content: center;
  113. align-items: center;
  114. margin-bottom: 0;
  115. }
  116. .global-stream-title-container .textfield-with-submit-container .input-side {
  117. width: 400px;
  118. border: 1px solid rgba(120, 113, 255, 0.5);
  119. border-radius: 0.75rem;
  120. }
  121. @media (max-width: 800px) {
  122. .global-stream-title-container .textfield-with-submit-container .input-side {
  123. width: auto;
  124. }
  125. }
  126. .global-stream-title-container .textfield-with-submit-container .label-side {
  127. display: none;
  128. }
  129. .global-stream-title-container .textfield-with-submit-container .lower-container {
  130. width: auto;
  131. }
  132. .global-stream-title-container .textfield-with-submit-container .lower-container .lower-content {
  133. flex-direction: column-reverse;
  134. position: relative;
  135. }
  136. .global-stream-title-container .textfield-with-submit-container .lower-container .label-spacer,
  137. .global-stream-title-container .textfield-with-submit-container .lower-container .field-tip {
  138. display: none;
  139. }
  140. .global-stream-title-container .textfield-with-submit-container .lower-container .status-container {
  141. line-height: 1;
  142. position: absolute;
  143. bottom: -2em;
  144. }
  145. .global-stream-title-container
  146. .textfield-with-submit-container
  147. .lower-container
  148. .update-button-container {
  149. margin: 0;
  150. margin-left: 0.5em;
  151. line-height: 1;
  152. }
  153. .ant-select:not(.ant-select-customize-input) .ant-select-selector {
  154. background-color: var(--theme-color-components-form-field-background);
  155. }
  156. .ant-menu-item a,
  157. .ant-menu-submenu-expand-icon,
  158. .ant-menu-submenu-arrow {
  159. color: unset;
  160. }
  161. .ant-modal-title {
  162. color: var(--theme-color-components-modal-header-text);
  163. }