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