]>
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; | |
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 { | |
e66883b3 | 41 | background-color: pvar(--mainForegroundColor); |
9a0fc840 | 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; |
e66883b3 | 68 | margin-right: .5rem; |
ea9f487b C |
69 | } |
70 | } | |
3eeeb87f | 71 | |
ece3029b | 72 | @media screen and (max-width: $mobile-view) { |
3daf4002 C |
73 | width: 70px; |
74 | ||
f0c5e8b6 | 75 | .peertube-title { |
3eeeb87f C |
76 | display: none; |
77 | } | |
3eeeb87f | 78 | } |
07fa4c97 C |
79 | |
80 | @media screen and (max-width: 350px) { | |
81 | flex: auto; | |
82 | } | |
ea9f487b | 83 | } |
ea9f487b | 84 | |
b33f657c | 85 | .header-right { |
b33f657c | 86 | height: $header-height; |
26c6ee80 C |
87 | display: flex; |
88 | align-items: center; | |
26c6ee80 | 89 | justify-content: flex-end; |
8a44f835 | 90 | white-space: nowrap; |
5dfb7c1d | 91 | flex: 1; |
67167390 | 92 | } |
897ec54d | 93 | } |
72c33e71 C |
94 | |
95 | .broadcast-message { | |
96 | min-height: 50px; | |
97 | text-align: center; | |
98 | margin-bottom: 0; | |
99 | border-radius: 0; | |
100 | display: grid; | |
101 | grid-template-columns: 1fr 30px; | |
102 | column-gap: 10px; | |
103 | ||
104 | my-global-icon { | |
105 | justify-self: center; | |
106 | align-self: center; | |
107 | cursor: pointer; | |
108 | ||
109 | width: 20px; | |
110 | } | |
111 | ||
112 | @each $color, $value in $theme-colors { | |
113 | &.alert-#{$color} { | |
114 | my-global-icon { | |
115 | @include apply-svg-color(theme-color-level($color, $alert-color-level)); | |
116 | } | |
117 | } | |
118 | } | |
119 | ||
120 | ::ng-deep { | |
121 | p { | |
122 | font-size: 16px; | |
123 | } | |
124 | ||
125 | p:last-child { | |
126 | margin-bottom: 0; | |
127 | } | |
128 | } | |
129 | } |