]>
Commit | Line | Data |
---|---|---|
1 | @import '_variables'; | |
2 | @import '_mixins'; | |
3 | @import '~bootstrap/scss/functions'; | |
4 | @import '~bootstrap/scss/variables'; | |
5 | ||
6 | $assets-path: '../assets'; | |
7 | ||
8 | .peertube-container { | |
9 | padding-bottom: 20px; | |
10 | } | |
11 | ||
12 | .main-row { | |
13 | min-height: calc(100vh - #{$header-height} - #{$footer-height} - #{$footer-margin}); | |
14 | } | |
15 | ||
16 | .sub-header-container { | |
17 | margin-top: $header-height; | |
18 | background-color: pvar(--mainBackgroundColor); | |
19 | width: 100%; | |
20 | } | |
21 | ||
22 | .header { | |
23 | height: $header-height; | |
24 | position: fixed; | |
25 | top: 0; | |
26 | width: 100%; | |
27 | background-color: pvar(--mainBackgroundColor); | |
28 | z-index: z(header); | |
29 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16); | |
30 | display: flex; | |
31 | ||
32 | .top-left-block { | |
33 | z-index: 1; | |
34 | height: $header-height; | |
35 | display: flex; | |
36 | align-items: center; | |
37 | min-width: 0; | |
38 | ||
39 | .icon { | |
40 | @include icon(24px); | |
41 | ||
42 | &.icon-menu { | |
43 | background-color: pvar(--mainForegroundColor); | |
44 | mask-image: url('#{$assets-path}/images/misc/menu.svg'); | |
45 | margin: 0 18px 0 20px; | |
46 | ||
47 | @media screen and (max-width: $mobile-view) { | |
48 | margin: 0 10px; | |
49 | } | |
50 | } | |
51 | } | |
52 | ||
53 | .peertube-title { | |
54 | @include disable-default-a-behaviour; | |
55 | ||
56 | font-size: 20px; | |
57 | font-weight: $font-bold; | |
58 | color: inherit !important; | |
59 | display: flex; | |
60 | align-items: center; | |
61 | overflow: hidden; | |
62 | ||
63 | .instance-name { | |
64 | @include ellipsis; | |
65 | ||
66 | width: 100%; | |
67 | } | |
68 | ||
69 | .icon.icon-logo { | |
70 | display: inline-block; | |
71 | width: 23px; | |
72 | height: 24px; | |
73 | margin-right: .5rem; | |
74 | } | |
75 | } | |
76 | ||
77 | @media screen and (max-width: $mobile-view) { | |
78 | ||
79 | .peertube-title { | |
80 | display: none; | |
81 | } | |
82 | } | |
83 | } | |
84 | ||
85 | .header-right { | |
86 | height: $header-height; | |
87 | display: flex; | |
88 | align-items: center; | |
89 | justify-content: flex-end; | |
90 | white-space: nowrap; | |
91 | flex: 1; | |
92 | } | |
93 | } | |
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 | } |