]>
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; | |
e66883b3 | 16 | background-color: pvar(--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%; |
e66883b3 | 25 | background-color: pvar(--mainBackgroundColor); |
36f2981f | 26 | z-index: z(header); |
b33f657c C |
27 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16); |
28 | display: flex; | |
266947e5 | 29 | } |
ea9f487b | 30 | |
266947e5 C |
31 | .top-left-block { |
32 | z-index: 1; | |
33 | height: $header-height; | |
34 | display: flex; | |
35 | align-items: center; | |
36 | min-width: 0; | |
67167390 | 37 | |
266947e5 C |
38 | .icon { |
39 | @include icon(24px); | |
40 | } | |
f0c5e8b6 | 41 | |
266947e5 | 42 | .icon-menu { |
266947e5 | 43 | mask-image: url('../assets/images/misc/menu.svg'); |
bc4c9cc1 C |
44 | -webkit-mask-image: url('../assets/images/misc/menu.svg'); |
45 | ||
46 | background-color: pvar(--mainForegroundColor); | |
266947e5 | 47 | margin: 0 18px 0 20px; |
26c6ee80 | 48 | |
266947e5 C |
49 | @media screen and (max-width: $mobile-view) { |
50 | margin: 0 10px; | |
51 | } | |
52 | } | |
53 | } | |
ef80c66c | 54 | |
266947e5 C |
55 | .header-right { |
56 | height: $header-height; | |
57 | display: flex; | |
58 | align-items: center; | |
59 | justify-content: flex-end; | |
60 | white-space: nowrap; | |
61 | flex: 1; | |
62 | } | |
26c6ee80 | 63 | |
266947e5 C |
64 | .peertube-title { |
65 | @include disable-default-a-behaviour; | |
3eeeb87f | 66 | |
266947e5 C |
67 | font-size: 20px; |
68 | font-weight: $font-bold; | |
69 | color: inherit !important; | |
70 | display: flex; | |
71 | align-items: center; | |
72 | overflow: hidden; | |
732c95cc | 73 | padding: 0 0 0 10px; |
3daf4002 | 74 | |
266947e5 C |
75 | .instance-name { |
76 | @include ellipsis; | |
77 | ||
78 | width: 100%; | |
732c95cc | 79 | |
80 | @media screen and (max-width: $mobile-view) { | |
81 | display: none; | |
82 | } | |
ea9f487b | 83 | } |
ea9f487b | 84 | |
266947e5 C |
85 | .icon.icon-logo { |
86 | display: inline-block; | |
87 | width: 23px; | |
88 | height: 24px; | |
931d3430 | 89 | margin-right: 0.5rem; |
266947e5 | 90 | } |
897ec54d | 91 | } |
72c33e71 C |
92 | |
93 | .broadcast-message { | |
94 | min-height: 50px; | |
95 | text-align: center; | |
96 | margin-bottom: 0; | |
97 | border-radius: 0; | |
98 | display: grid; | |
99 | grid-template-columns: 1fr 30px; | |
100 | column-gap: 10px; | |
101 | ||
102 | my-global-icon { | |
103 | justify-self: center; | |
104 | align-self: center; | |
105 | cursor: pointer; | |
72c33e71 C |
106 | width: 20px; |
107 | } | |
108 | ||
72c33e71 C |
109 | ::ng-deep { |
110 | p { | |
111 | font-size: 16px; | |
112 | } | |
113 | ||
114 | p:last-child { | |
115 | margin-bottom: 0; | |
116 | } | |
117 | } | |
118 | } |