]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/app.component.scss
Merge remote-tracking branch 'weblate/develop' into develop
[github/Chocobozzz/PeerTube.git] / client / src / app / app.component.scss
CommitLineData
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;
3daf4002 73
266947e5
C
74 .instance-name {
75 @include ellipsis;
76
77 width: 100%;
ea9f487b 78 }
ea9f487b 79
266947e5
C
80 .icon.icon-logo {
81 display: inline-block;
82 width: 23px;
83 height: 24px;
931d3430 84 margin-right: 0.5rem;
266947e5
C
85 }
86
87 @media screen and (max-width: $mobile-view) {
88 display: none;
67167390 89 }
897ec54d 90}
72c33e71
C
91
92.broadcast-message {
93 min-height: 50px;
94 text-align: center;
95 margin-bottom: 0;
96 border-radius: 0;
97 display: grid;
98 grid-template-columns: 1fr 30px;
99 column-gap: 10px;
100
101 my-global-icon {
102 justify-self: center;
103 align-self: center;
104 cursor: pointer;
72c33e71
C
105 width: 20px;
106 }
107
72c33e71
C
108 ::ng-deep {
109 p {
110 font-size: 16px;
111 }
112
113 p:last-child {
114 margin-bottom: 0;
115 }
116 }
117}