app.component.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. @use '_variables' as *;
  2. @use '_mixins' as *;
  3. .peertube-container {
  4. padding-bottom: 20px;
  5. }
  6. .main-row {
  7. min-height: calc(100vh - #{$header-height} - #{$footer-height} - #{$footer-margin});
  8. }
  9. .sub-header-container {
  10. margin-top: $header-height;
  11. background-color: pvar(--mainBackgroundColor);
  12. width: 100%;
  13. }
  14. .root-header {
  15. height: $header-height;
  16. position: fixed;
  17. top: 0;
  18. width: 100%;
  19. background-color: pvar(--mainBackgroundColor);
  20. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
  21. display: flex;
  22. }
  23. .top-left-block {
  24. z-index: 1;
  25. height: $header-height;
  26. display: flex;
  27. align-items: center;
  28. min-width: 0;
  29. .icon {
  30. @include icon(24px);
  31. }
  32. .icon-menu {
  33. mask-image: url('../assets/images/misc/menu.svg');
  34. -webkit-mask-image: url('../assets/images/misc/menu.svg');
  35. background-color: pvar(--mainForegroundColor);
  36. margin: 0 18px 0 20px;
  37. @media screen and (max-width: $mobile-view) {
  38. margin: 0 10px;
  39. }
  40. }
  41. }
  42. .root-header-right {
  43. height: $header-height;
  44. display: flex;
  45. align-items: center;
  46. justify-content: flex-end;
  47. white-space: nowrap;
  48. flex: 1;
  49. }
  50. .peertube-title {
  51. @include disable-default-a-behaviour;
  52. font-size: 20px;
  53. font-weight: $font-bold;
  54. color: inherit !important;
  55. display: flex;
  56. align-items: center;
  57. overflow: hidden;
  58. padding: 0 0 0 10px;
  59. .instance-name {
  60. @include ellipsis;
  61. width: 100%;
  62. @media screen and (max-width: $mobile-view) {
  63. display: none;
  64. }
  65. }
  66. .icon.icon-logo {
  67. @include margin-right(0.5rem);
  68. display: inline-block;
  69. width: 23px;
  70. height: 24px;
  71. }
  72. }
  73. .broadcast-message {
  74. min-height: 50px;
  75. text-align: center;
  76. margin-bottom: 0;
  77. border-radius: 0;
  78. display: grid;
  79. grid-template-columns: 1fr 30px;
  80. column-gap: 10px;
  81. my-global-icon {
  82. justify-self: center;
  83. align-self: center;
  84. cursor: pointer;
  85. width: 20px;
  86. }
  87. }