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