]>
Commit | Line | Data |
---|---|---|
63c4db6d C |
1 | @import '_variables'; |
2 | @import '_mixins'; | |
72c33e71 C |
3 | @import '~bootstrap/scss/functions'; |
4 | @import '~bootstrap/scss/variables'; | |
63c4db6d | 5 | |
fad0759c C |
6 | .peertube-container { |
7 | padding-bottom: 20px; | |
8 | } | |
9 | ||
67167390 C |
10 | .main-row { |
11 | min-height: calc(100vh - #{$header-height} - #{$footer-height} - #{$footer-margin}); | |
12 | } | |
13 | ||
b33f657c C |
14 | .sub-header-container { |
15 | margin-top: $header-height; | |
9a0fc840 | 16 | background-color: var(--mainBackgroundColor); |
c4741804 | 17 | width: 100%; |
b33f657c C |
18 | } |
19 | ||
67167390 C |
20 | .header { |
21 | height: $header-height; | |
b33f657c | 22 | position: fixed; |
26c6ee80 | 23 | top: 0; |
b33f657c | 24 | width: 100%; |
9a0fc840 | 25 | background-color: var(--mainBackgroundColor); |
36f2981f | 26 | z-index: z(header); |
b33f657c C |
27 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16); |
28 | display: flex; | |
ea9f487b | 29 | |
67167390 | 30 | .top-left-block { |
555fdc8c | 31 | z-index: 1; |
0d7d2ad9 | 32 | height: $header-height; |
d7c152a4 | 33 | display: flex; |
26c6ee80 | 34 | align-items: center; |
8a44f835 | 35 | min-width: 0; |
26c6ee80 C |
36 | |
37 | .icon { | |
7797350a | 38 | @include icon(24px); |
26c6ee80 C |
39 | |
40 | &.icon-menu { | |
9a0fc840 RK |
41 | background-color: var(--mainForegroundColor); |
42 | mask-image: url('../assets/images/header/menu.svg'); | |
1f788f20 | 43 | margin: 0 18px 0 20px; |
67167390 C |
44 | } |
45 | } | |
46 | ||
f0c5e8b6 | 47 | .peertube-title { |
8a44f835 | 48 | @include disable-default-a-behaviour; |
f0c5e8b6 | 49 | |
26c6ee80 C |
50 | font-size: 20px; |
51 | font-weight: $font-bold; | |
52 | color: inherit !important; | |
53 | display: flex; | |
54 | align-items: center; | |
8a44f835 | 55 | overflow: hidden; |
26c6ee80 | 56 | |
8a44f835 | 57 | .instance-name { |
ef80c66c C |
58 | @include ellipsis; |
59 | ||
8a44f835 C |
60 | width: 100%; |
61 | } | |
26c6ee80 C |
62 | |
63 | .icon.icon-logo { | |
64 | display: inline-block; | |
d2cc03aa | 65 | background: url('../assets/images/logo.svg') no-repeat; |
0727cab0 | 66 | width: 23px; |
b33f657c | 67 | height: 24px; |
ea9f487b C |
68 | } |
69 | } | |
3eeeb87f | 70 | |
ece3029b | 71 | @media screen and (max-width: $mobile-view) { |
3daf4002 C |
72 | width: 70px; |
73 | ||
f0c5e8b6 | 74 | .peertube-title { |
3eeeb87f C |
75 | display: none; |
76 | } | |
3eeeb87f | 77 | } |
07fa4c97 C |
78 | |
79 | @media screen and (max-width: 350px) { | |
80 | flex: auto; | |
81 | } | |
ea9f487b | 82 | } |
ea9f487b | 83 | |
b33f657c | 84 | .header-right { |
b33f657c | 85 | height: $header-height; |
26c6ee80 C |
86 | display: flex; |
87 | align-items: center; | |
26c6ee80 | 88 | justify-content: flex-end; |
8a44f835 | 89 | white-space: nowrap; |
5dfb7c1d | 90 | flex: 1; |
67167390 | 91 | } |
897ec54d | 92 | } |
72c33e71 C |
93 | |
94 | .broadcast-message { | |
95 | min-height: 50px; | |
96 | text-align: center; | |
97 | margin-bottom: 0; | |
98 | border-radius: 0; | |
99 | display: grid; | |
100 | grid-template-columns: 1fr 30px; | |
101 | column-gap: 10px; | |
102 | ||
103 | my-global-icon { | |
104 | justify-self: center; | |
105 | align-self: center; | |
106 | cursor: pointer; | |
107 | ||
108 | width: 20px; | |
109 | } | |
110 | ||
111 | @each $color, $value in $theme-colors { | |
112 | &.alert-#{$color} { | |
113 | my-global-icon { | |
114 | @include apply-svg-color(theme-color-level($color, $alert-color-level)); | |
115 | } | |
116 | } | |
117 | } | |
118 | ||
119 | ::ng-deep { | |
120 | p { | |
121 | font-size: 16px; | |
122 | } | |
123 | ||
124 | p:last-child { | |
125 | margin-bottom: 0; | |
126 | } | |
127 | } | |
128 | } |